Skip to content
MD Live logoMD Live logoMD Live Developer API

Prescriptions

Retrieve the details of a prescription for the patient. You need supply the unique patient and prescription identifiers.

GET {server_url}/api/v1/patients/{patient_id}/prescriptions/{prescription_id}

This request must include a valid User JWT token, please see our documentation.

Parameter Default
Content-type application/json
Authorization Bearer {jwt_token}

The following parameters need to be included in the URL of the request:

Attribute Required Description
patient_id true ID of the patient to be retrieved
prescription_id true ID of the prescription to be retrieved
Terminal window
curl {server_url}/api/v1/patients/{patient_id}/prescriptions/{prescription_id}
-H "Content-type: application/json"
-H "Authorization: Bearer 34a2sample-user-token"
{
"prescription": {
"id": 1,
"patient_name": "Test Isle",
"patient_id": 3,
"provider_name": "Travis Stork",
"provider_id": 4,
"pharmacy_name": "CVS 17070 IN TARGET",
"pharmacy_id": 94877,
"medication_name": "Ibuprofen IB 200 mg tablet",
"appointment_id": 43,
"prescribed_at": "2018-06-23T02:33:13+00:00"
}
}