Medication Request (Resep)
Endpoint
method: post
endpoint: {{base_url}}/MedicationRequest
json
{
"resourceType": "MedicationRequest",
"identifier": [
{
"system": "http://sys-ids.kemkes.go.id/prescription/{{Org_ID}}",
"use": "official",
"value": "123456788"
},
{
"system": "http://sys-ids.kemkes.go.id/prescription-item/{{Org_ID}}",
"use": "official",
"value": "123456788-1"
}
],
"status": "completed",
"intent": "order",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
"code": "outpatient",
"display": "Outpatient"
}
]
}
],
"priority": "routine",
"medicationReference": {
"reference": "Medication/{{Medication_ForRequest}}",
"display": "{{Medication_Name}}"
},
"subject": {
"reference": "Patient/{{Patient_ID}}",
"display": "{{Patient_Name}}"
},
"encounter": {
"reference": "Encounter/{{Encounter_id}}"
},
"authoredOn": "2023-08-31T03:27:00+00:00",
"requester": {
"reference": "Practitioner/{{Practitioner_ID}}",
"display": "{{Practitioner_Name}}"
},
"reasonReference": [
{
"reference": "Condition/{{Diagnosis_Primer}}",
"display": "{{DiagnosisPrimer_Text}}"
}
],
"courseOfTherapyType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
"code": "continuous",
"display": "Continuing long term therapy"
}
]
},
"dosageInstruction": [
{
"sequence": 1,
"additionalInstruction": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "418577003",
"display": "Take at regular intervals. Complete the prescribed course unless otherwise directed"
}
]
}
],
"patientInstruction": "4 tablet perhari, diminum setiap hari tanpa jeda sampai prose pengobatan berakhir",
"timing": {
"repeat": {
"frequency": 1,
"period": 1,
"periodUnit": "d"
}
},
"route": {
"coding": [
{
"system": "http://www.whocc.no/atc",
"code": "O",
"display": "Oral"
}
]
},
"doseAndRate": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
"code": "ordered",
"display": "Ordered"
}
]
},
"doseQuantity": {
"value": 4,
"unit": "TAB",
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
"code": "TAB"
}
}
]
}
],
"dispenseRequest": {
"dispenseInterval": {
"value": 1,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"validityPeriod": {
"start": "2023-08-31T03:27:00+00:00",
"end": "2024-07-22T14:27:00+00:00"
},
"numberOfRepeatsAllowed": 0,
"quantity": {
"value": 120,
"unit": "TAB",
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
"code": "TAB"
},
"expectedSupplyDuration": {
"value": 30,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"performer": {
"reference": "Organization/{{Org_ID}}"
}
}
}