{
    "authoredOn": "2023-11-13T03:50:00+00:00",
    "category": [
        {
            "coding": [
                {
                    "code": "community",
                    "display": "Community",
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category"
                }
            ]
        }
    ],
    "contained": [
        {
            "extension": [
                {
                    "url": "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType",
                    "valueCodeableConcept": {
                        "coding": [
                            {
                                "code": "EP",
                                "display": "Divide into equal parts",
                                "system": "http://terminology.kemkes.go.id/CodeSystem/medication-type"
                            }
                        ]
                    }
                }
            ],
            "form": {
                "coding": [
                    {
                        "code": "BS019",
                        "display": "Kapsul",
                        "system": "http://terminology.kemkes.go.id/CodeSystem/medication-form"
                    }
                ]
            },
            "id": "2024120387418-006",
            "identifier": [
                {
                    "system": "http://sys-ids.kemkes.go.id/medication/10000005",
                    "use": "official",
                    "value": "AB001"
                }
            ],
            "ingredient": [
                {
                    "isActive": true,
                    "itemCodeableConcept": {
                        "coding": [
                            {
                                "code": "91000101",
                                "display": "Paracetamol",
                                "system": "http://sys-ids.kemkes.go.id/kfa"
                            }
                        ]
                    },
                    "strength": {
                        "denominator": {
                            "code": "CAP",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
                            "value": 10
                        },
                        "numerator": {
                            "code": "mg",
                            "system": "http://unitsofmeasure.org",
                            "value": 5000
                        }
                    }
                },
                {
                    "isActive": true,
                    "itemCodeableConcept": {
                        "coding": [
                            {
                                "code": "91000861",
                                "display": "Chlorphenamine Maleate",
                                "system": "http://sys-ids.kemkes.go.id/kfa"
                            }
                        ]
                    },
                    "strength": {
                        "denominator": {
                            "code": "CAP",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
                            "value": 10
                        },
                        "numerator": {
                            "code": "mg",
                            "system": "http://unitsofmeasure.org",
                            "value": 40
                        }
                    }
                }
            ],
            "meta": {
                "profile": [
                    "https://fhir.kemkes.go.id/r4/StructureDefinition/Medication"
                ]
            },
            "resourceType": "Medication",
            "status": "active"
        }
    ],
    "dispenseRequest": {
        "dispenseInterval": {
            "code": "d",
            "system": "http://unitsofmeasure.org",
            "unit": "days",
            "value": 1
        },
        "expectedSupplyDuration": {
            "code": "d",
            "system": "http://unitsofmeasure.org",
            "unit": "days",
            "value": 5
        },
        "numberOfRepeatsAllowed": 1,
        "performer": {
            "reference": "Organization/10000005"
        },
        "quantity": {
            "code": "CAP",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "unit": "CAP",
            "value": 10
        },
        "validityPeriod": {
            "end": "2023-11-15T04:01:00+00:00",
            "start": "2023-11-15T04:01:00+00:00"
        }
    },
    "dosageInstruction": [
        {
            "additionalInstruction": [
                {
                    "coding": [
                        {
                            "code": "418639000",
                            "display": "Warning. May cause drowsiness",
                            "system": "http://snomed.info/sct"
                        }
                    ]
                },
                {
                    "coding": [
                        {
                            "code": "418637003",
                            "display": "Do not take with any other paracetamol products",
                            "system": "http://snomed.info/sct"
                        }
                    ]
                }
            ],
            "doseAndRate": [
                {
                    "doseQuantity": {
                        "code": "CAP",
                        "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
                        "unit": "CAP",
                        "value": 1
                    },
                    "type": {
                        "coding": [
                            {
                                "code": "ordered",
                                "display": "Ordered",
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type"
                            }
                        ]
                    }
                }
            ],
            "patientInstruction": "Diminum 2x sehari selama 5 hari, jika sakit kepala",
            "route": {
                "coding": [
                    {
                        "code": "O",
                        "display": "Oral",
                        "system": "http://www.whocc.no/atc"
                    }
                ]
            },
            "sequence": 1,
            "timing": {
                "repeat": {
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d",
                    "when": [
                        "PC"
                    ]
                }
            }
        }
    ],
    "encounter": {
        "reference": "Encounter/2cf6e058-51d2-4cb2-a353-de9d3b032931"
    },
    "id": "a37db74c-5546-470b-b0e6-d80d5da303a2",
    "identifier": [
        {
            "system": "http://sys-ids.kemkes.go.id/prescription/10000005",
            "use": "official",
            "value": "A00000111111-2"
        },
        {
            "system": "http://sys-ids.kemkes.go.id/prescription-item/10000005",
            "use": "official",
            "value": "A00000111111-2"
        }
    ],
    "intent": "order",
    "medicationReference": {
        "reference": "#2024120387418-006"
    },
    "meta": {
        "lastUpdated": "2024-12-03T09:50:39.401699+00:00",
        "versionId": "MTczMzIxOTQzOTQwMTY5OTAwMA"
    },
    "priority": "routine",
    "reasonReference": [
        {
            "display": "Demam Tifoid",
            "reference": "Condition/d4265ba3-91ff-4a44-bfb7-ebf31c78efb3"
        }
    ],
    "requester": {
        "display": "dr. Alexander",
        "reference": "Practitioner/10009880728"
    },
    "resourceType": "MedicationRequest",
    "status": "completed",
    "subject": {
        "display": "Ghina Assyifa",
        "reference": "Patient/P01654557057"
    }
}