{
  "resourceType" : "MedicationRequest",
  "id" : "example-medicationrequest-amina-azithromycin",
  "meta" : {
    "profile" : ["https://nshr-uat.sha.go.ke/StructureDefinition/ke-medication-request"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest example-medicationrequest-amina-azithromycin</b></p><a name=\"example-medicationrequest-amina-azithromycin\"> </a><a name=\"hcexample-medicationrequest-amina-azithromycin\"> </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-medication-request.html\">Kenya eRx MedicationRequest</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-ns-prescription-identifier.html\" title=\"System-generated prescription number that uniquely identifies a MedicationRequest across all dispensing points. Format: RX-{YYYY}-{SITE}-{SEQ}.\">KenyaPrescriptionIdentifier</a>/RX-2025-OPD-00789</p><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 outpatient}\">Outpatient</span></p><p><b>priority</b>: Routine</p><p><b>medication</b>: <span title=\"Codes:{https://ilm-hie.dha.go.ke/fhir/CodeSystem/generic-products-cs GE10015}\">Azithromycin 500 mg Oral Tablet</span></p><p><b>subject</b>: <a href=\"Patient-example-patient-amina.html\">Amina Hassan (official) Female, DoB: 1988-04-15 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#29834765)</a></p><p><b>encounter</b>: <a href=\"Encounter-example-encounter-amina-outpatient.html\">Encounter: identifier = https://ilm-hie.dha.go.ke/fhir/NamingSystem/encounter-identifier#KenyaEncounterIdentifier#ENC-2025-OPD-00123; status = finished; class = ambulatory (ActCode#AMB); serviceType = General Practice; priority = Routine; period = 2025-06-15 09:00:00+0300 --&gt; 2025-06-15 10:30:00+0300</a></p><p><b>authoredOn</b>: 2025-06-15</p><p><b>requester</b>: <a href=\"Practitioner-example-practitioner-njoroge.html\">Practitioner Sarah Njoroge (official)</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 1 tablet (500 mg) by mouth once daily for 3 days</p><p><b>timing</b>: Duration 3days , Once per 1 day</p><p><b>route</b>: <span title=\"Codes:{https://ilm-hie.dha.go.ke/fhir/CodeSystem/route-of-administration-cs RT10025}\">Oral</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>500 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span></td></tr></table></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>2025-06-15 --&gt; 2025-07-15</td><td>0</td><td>3 tablet<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{tablet} = '{tablet}')</span></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>true</td></tr></table></div>"
  },
  "identifier" : [{
    "system" : "https://ilm-hie.dha.go.ke/fhir/NamingSystem/prescription-identifier",
    "value" : "RX-2025-OPD-00789"
  }],
  "status" : "active",
  "intent" : "order",
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
      "code" : "outpatient",
      "display" : "Outpatient"
    }]
  }],
  "priority" : "routine",
  "medicationCodeableConcept" : {
    "coding" : [{
      "system" : "https://ilm-hie.dha.go.ke/fhir/CodeSystem/generic-products-cs",
      "code" : "GE10015",
      "display" : "Azithromycin 500 mg Oral Tablet"
    }]
  },
  "subject" : {
    "reference" : "Patient/example-patient-amina"
  },
  "encounter" : {
    "reference" : "Encounter/example-encounter-amina-outpatient"
  },
  "authoredOn" : "2025-06-15",
  "requester" : {
    "reference" : "Practitioner/example-practitioner-njoroge"
  },
  "dosageInstruction" : [{
    "text" : "Take 1 tablet (500 mg) by mouth once daily for 3 days",
    "timing" : {
      "repeat" : {
        "duration" : 3,
        "durationUnit" : "d",
        "frequency" : 1,
        "period" : 1,
        "periodUnit" : "d"
      }
    },
    "route" : {
      "coding" : [{
        "system" : "https://ilm-hie.dha.go.ke/fhir/CodeSystem/route-of-administration-cs",
        "code" : "RT10025",
        "display" : "Oral"
      }]
    },
    "doseAndRate" : [{
      "doseQuantity" : {
        "value" : 500,
        "unit" : "mg",
        "system" : "http://unitsofmeasure.org",
        "code" : "mg"
      }
    }]
  }],
  "dispenseRequest" : {
    "validityPeriod" : {
      "start" : "2025-06-15",
      "end" : "2025-07-15"
    },
    "numberOfRepeatsAllowed" : 0,
    "quantity" : {
      "value" : 3,
      "unit" : "tablet",
      "system" : "http://unitsofmeasure.org",
      "code" : "{tablet}"
    }
  },
  "substitution" : {
    "allowedBoolean" : true
  }
}