{
  "resourceType" : "MedicationRequest",
  "id" : "ECLM-MR-001",
  "meta" : {
    "profile" : ["https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-eclaims-medicationrequest"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest ECLM-MR-001</b></p><a name=\"ECLM-MR-001\"> </a><a name=\"hcECLM-MR-001\"> </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-eclaims-medicationrequest.html\">eClaims Medication Request Profile</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 inpatient}\">Inpatient</span></p><p><b>medication</b>: <span title=\"Codes:{https://nshr-uat.sha.go.ke/fhir/CodeSystem/eclaims-generic-products-cs GE10002}\">Metformin 500 mg Oral Tablet</span></p><p><b>subject</b>: <a href=\"Patient-ECLM-PT-001.html\">John Mwangi Kamau</a></p><p><b>authoredOn</b>: 2025-11-02</p><p><b>requester</b>: <a href=\"Practitioner-ECLM-PRA-001.html\">Dr. James Ochieng</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/icd-10 E11.9}\">Type 2 diabetes mellitus : Without complications</span></p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>Take one tablet twice daily with meals</td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">none</span></td></tr></table></div>"
  },
  "status" : "active",
  "intent" : "order",
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
      "code" : "inpatient",
      "display" : "Inpatient"
    }]
  }],
  "medicationCodeableConcept" : {
    "coding" : [{
      "system" : "https://nshr-uat.sha.go.ke/fhir/CodeSystem/eclaims-generic-products-cs",
      "code" : "GE10002",
      "display" : "Metformin 500 mg Oral Tablet"
    }]
  },
  "subject" : {
    "reference" : "Patient/ECLM-PT-001",
    "display" : "John Mwangi Kamau"
  },
  "authoredOn" : "2025-11-02",
  "requester" : {
    "reference" : "Practitioner/ECLM-PRA-001",
    "display" : "Dr. James Ochieng"
  },
  "reasonCode" : [{
    "coding" : [{
      "system" : "http://hl7.org/fhir/sid/icd-10",
      "code" : "E11.9",
      "display" : "Type 2 diabetes mellitus : Without complications"
    }]
  }],
  "dosageInstruction" : [{
    "text" : "Take one tablet twice daily with meals"
  }],
  "substitution" : {
    "allowedCodeableConcept" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution",
        "code" : "N",
        "display" : "none"
      }]
    }
  }
}