Prescription API
Get Prescription details
Connect
- Webhooks
General Tools
- Self Assessments
- Medical Document Parsing
- Medical Speech Understanding
Doctor Tool
- Actors
- Instructions
- Patient Registration API
- Doctor and clinic API
- Appointment API
- Payments API
- Prescription API
- Notify
- Webhooks
ABDM Connect
- Create and Login
- User Session
- Patient Requests
- Consents
- Care Contexts
- Providers
- Profile
- Scan & Share
- Errors
Medical Records
- Create
- Read
- Update
- Delete
- Webhooks
User App
- Notifications
- Vital
- Webhooks
- Privacy
Release Notes
- ABDM Connect
Prescription API
Get Prescription details
This API retrieves comprehensive details of a prescription created by a doctor. It provides a rich set of data encompassing patient history, diagnosis, medications, lab tests, and various other clinical elements. The response includes:
GET
/
dr
/
v1
/
prescription
/
{prescription_id}
curl --request GET \
--url https://api.eka.care/dr/v1/prescription/{prescription_id} \
--header 'auth: <auth>'
{
"prescription_id": "{{prescription_id}}",
"doctor_id": "171266028552522",
"partner_doctor_id": "1712660285igfewifwe",
"doctor_name": "Sanjana",
"patient_name": "Sanjana",
"patient_id": "161435344380774",
"partner_patient_id": "ghjkf9e",
"appointment_id": "V-DW-1730717340935-171266028552522-8JR9",
"partner_appointment_id": "guyfwe8f34ni34o",
"clinic_id": "6615195c289dd3001d3c0b31",
"partner_clinic_id": "07528934jferiugh",
"prescription_details": [
{
"resource_type": "appointment",
"follow_up": "2024-11-10T18:30:00+00:00",
"note": []
},
{
"resource_type": "condition_history",
"condition": {
"code": "38341003",
"display": "High blood pressure"
},
"note": [],
"severity": null,
"onset": null,
"clinical_status": {
"code": "active",
"display": "active"
},
"verification_status": {
"code": "confirmed",
"display": "confirmed"
}
},
{
"resource_type": "condition",
"condition": {
"code": "194828000",
"display": "Angina"
},
"note": [],
"severity": null,
"onset": null,
"clinical_status": {
"code": "active",
"display": "active"
},
"verification_status": {
"code": "confirmed",
"display": "confirmed"
}
},
{
"resource_type": "advices",
"advices": "Need to consider further treatment of AS > TAVR or Surgical AVR",
"status": "active",
"intent": "plan"
},
{
"resource_type": "inpatient_encounter",
"status": "planned",
"notes": "Bone facture"
},
{
"resource_type": "custom_section",
"title": "{custom_title}",
"note": [
{
"name": "{custom_name}",
"value": "{custom_value}"
}
]
},
{
"resource_type": "servicerequest",
"lab_id": "medanta2958577545",
"status": "active",
"lab_name": "ECG",
"note": []
},
{
"resource_type": "observation",
"status": "final",
"observation": {
"code": "29857009",
"display": "chest pain"
},
"since": {},
"severity": {
"code": "",
"display": ""
},
"category": {
"code": "symptom",
"display": "symptom"
},
"note": []
},
{
"resource_type": "vitals",
"status": "final",
"observation": {
"code": "lb-1201285132",
"display": "Pulse rate"
},
"since": {
"type": "datetime",
"start": "2024-11-04T10:49:00.936000+00:00"
},
"severity": {
"code": "",
"display": ""
},
"category": {
"code": "vital-signs",
"display": "Vital Signs"
},
"note": [],
"valueQuantity": {
"system": "http://eka.care/mdb/technical",
"unit": "/min",
"value": 45
},
"component": []
},
{
"resource_type": "lifestyle",
"status": "Active",
"observation": {
"code": "3",
"display": "Alcohol"
},
"since": {},
"severity": {
"code": "status",
"display": "Active"
},
"category": {
"code": "social-history",
"display": "Social History"
},
"note": []
},
{
"resource_type": "medicationrequest",
"drug_id": "medanta3806727491",
"drug_status": "active",
"med_name": "Olmezest 40 Tablet",
"dose": {
"id": "du-5550260779",
"value": 1,
"unit": "tablet",
"custom": "1.0 tablet"
},
"additional_instructions": [
{
"custom": null,
"type": "timing"
}
],
"duration": {
"unit": null,
"value": null,
"custom": null
},
"dosage_instruction": {
"custom": "1-0-0",
"when": null,
"period": null,
"period_unit": null,
"frequency": null
},
"note": null
}
]
}
Headers
Authentication token
Path Parameters
Prescription ID
Response
200
application/json
OK
curl --request GET \
--url https://api.eka.care/dr/v1/prescription/{prescription_id} \
--header 'auth: <auth>'
{
"prescription_id": "{{prescription_id}}",
"doctor_id": "171266028552522",
"partner_doctor_id": "1712660285igfewifwe",
"doctor_name": "Sanjana",
"patient_name": "Sanjana",
"patient_id": "161435344380774",
"partner_patient_id": "ghjkf9e",
"appointment_id": "V-DW-1730717340935-171266028552522-8JR9",
"partner_appointment_id": "guyfwe8f34ni34o",
"clinic_id": "6615195c289dd3001d3c0b31",
"partner_clinic_id": "07528934jferiugh",
"prescription_details": [
{
"resource_type": "appointment",
"follow_up": "2024-11-10T18:30:00+00:00",
"note": []
},
{
"resource_type": "condition_history",
"condition": {
"code": "38341003",
"display": "High blood pressure"
},
"note": [],
"severity": null,
"onset": null,
"clinical_status": {
"code": "active",
"display": "active"
},
"verification_status": {
"code": "confirmed",
"display": "confirmed"
}
},
{
"resource_type": "condition",
"condition": {
"code": "194828000",
"display": "Angina"
},
"note": [],
"severity": null,
"onset": null,
"clinical_status": {
"code": "active",
"display": "active"
},
"verification_status": {
"code": "confirmed",
"display": "confirmed"
}
},
{
"resource_type": "advices",
"advices": "Need to consider further treatment of AS > TAVR or Surgical AVR",
"status": "active",
"intent": "plan"
},
{
"resource_type": "inpatient_encounter",
"status": "planned",
"notes": "Bone facture"
},
{
"resource_type": "custom_section",
"title": "{custom_title}",
"note": [
{
"name": "{custom_name}",
"value": "{custom_value}"
}
]
},
{
"resource_type": "servicerequest",
"lab_id": "medanta2958577545",
"status": "active",
"lab_name": "ECG",
"note": []
},
{
"resource_type": "observation",
"status": "final",
"observation": {
"code": "29857009",
"display": "chest pain"
},
"since": {},
"severity": {
"code": "",
"display": ""
},
"category": {
"code": "symptom",
"display": "symptom"
},
"note": []
},
{
"resource_type": "vitals",
"status": "final",
"observation": {
"code": "lb-1201285132",
"display": "Pulse rate"
},
"since": {
"type": "datetime",
"start": "2024-11-04T10:49:00.936000+00:00"
},
"severity": {
"code": "",
"display": ""
},
"category": {
"code": "vital-signs",
"display": "Vital Signs"
},
"note": [],
"valueQuantity": {
"system": "http://eka.care/mdb/technical",
"unit": "/min",
"value": 45
},
"component": []
},
{
"resource_type": "lifestyle",
"status": "Active",
"observation": {
"code": "3",
"display": "Alcohol"
},
"since": {},
"severity": {
"code": "status",
"display": "Active"
},
"category": {
"code": "social-history",
"display": "Social History"
},
"note": []
},
{
"resource_type": "medicationrequest",
"drug_id": "medanta3806727491",
"drug_status": "active",
"med_name": "Olmezest 40 Tablet",
"dose": {
"id": "du-5550260779",
"value": 1,
"unit": "tablet",
"custom": "1.0 tablet"
},
"additional_instructions": [
{
"custom": null,
"type": "timing"
}
],
"duration": {
"unit": null,
"value": null,
"custom": null
},
"dosage_instruction": {
"custom": "1-0-0",
"when": null,
"period": null,
"period_unit": null,
"frequency": null
},
"note": null
}
]
}