{
  "resourceType" : "MedicationRequest",
  "id" : "MedicationRequestKPS",
  "meta" : {
    "profile" : ["http://localhost:8085/fhir/StructureDefinition/ke-kps-medication-request"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest MedicationRequestKPS</b></p><a name=\"MedicationRequestKPS\"> </a><a name=\"hcMedicationRequestKPS\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ke-kps-medication-request.html\">MediacationRequest Profile - KPS</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category community}\">Community</span></p><p><b>medication</b>: <a href=\"Medication-MedicationKPS.html\">Medication A01AB03</a></p><p><b>subject</b>: <a href=\"Patient-PatientKPS.html\">Amina Mohamed  Female, DoB: 1992-03-25 ( http://moh.kenya/identifier/nationalID-no#12345678)</a></p><p><b>authoredOn</b>: 2026-05-20</p></div>"
  },
  "status" : "active",
  "intent" : "order",
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
      "code" : "community",
      "display" : "Community"
    }]
  }],
  "medicationReference" : {
    "reference" : "Medication/MedicationKPS"
  },
  "subject" : {
    "reference" : "Patient/PatientKPS"
  },
  "authoredOn" : "2026-05-20"
}