API Docs//
API Reference
/- Create Prescription with Patient
Get Prescriber's Pharmacies List
Create Pharmacy
Create a Prescription
Get a Prescription
List Prescriptions
Get Prescriber
Create Prescription with...
Creates a new prescription and associates it with a patient.
Security
apiKeyAuth and practiceGroupId
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v2/prescriptions
- Staginghttps://api.staging.htech.app/v2/prescriptions
- Productionhttps://api.herohealth.net/v2/prescriptions
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v2/prescriptions \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"patient": {
"id": "string",
"first_name": "string",
"last_name": "string",
"sex": "Not known",
"title": "Baron",
"dob": "2019-08-24T14:15:22Z",
"nhs_number": "string",
"email": "user@example.com",
"mobile": "string",
"address": {
"line1": "string",
"line2": "string",
"line3": "string",
"town": "string",
"county": "string",
"country": "string",
"postcode": "string"
}
},
"prescriber": {
"name": "string",
"code": "string",
"contact_number": "string",
"prescriber_id": "string"
},
"medicines": [
{
"name": "string",
"quantity": "string",
"directions": "string",
"snomed_code": "string"
}
],
"delivery": {
"issue_method": "messaging",
"send_sms": false,
"pharmacy_id": "string",
"invoice_clinic": true,
"delivery_address": {
"line1": "string",
"line2": "string",
"line3": "string",
"town": "string",
"county": "string",
"country": "string",
"postcode": "string"
}
},
"secure_pin": "string",
"notes": "string"
}'Response
{ "prescription_id": "string" }