<?xml version="1.0" encoding="UTF-8"?>

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="example-medicationrequest-invalid"/>
  <meta>
    <profile value="https://nshr-uat.sha.go.ke/StructureDefinition/ke-medication-request"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MedicationRequest example-medicationrequest-invalid</b></p><a name="example-medicationrequest-invalid"> </a><a name="hcexample-medicationrequest-invalid"> </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-INVALID-001</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>medication</b>: <span title="Codes:{http://hl7.org/fhir/sid/icd-10 J06.9}">Acute upper respiratory infection</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>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>timing</b>: Once per 1 day</p><p><b>route</b>: <span title="Codes:{http://example.org/wrong-routes by-mouth}">By Mouth</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></div>
  </text>
  <identifier>
    <system value="https://ilm-hie.dha.go.ke/fhir/NamingSystem/prescription-identifier"/>
    <value value="RX-INVALID-001"/>
  </identifier>
  <status value="active"/>
  <intent value="order"/>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category"/>
      <code value="outpatient"/>
      <display value="Outpatient"/>
    </coding>
  </category>
  <medicationCodeableConcept>
    <coding>
      <system value="http://hl7.org/fhir/sid/icd-10"/>
      <code value="J06.9"/>
      <display value="Acute upper respiratory infection"/>
    </coding>
  </medicationCodeableConcept>
  <subject>
    <reference value="Patient/example-patient-amina"/>
  </subject>
  <authoredOn value="2025-06-15"/>
  <requester>
    <reference value="Practitioner/example-practitioner-njoroge"/>
  </requester>
  <dosageInstruction>
    <timing>
      <repeat>
        <frequency value="1"/>
        <period value="1"/>
        <periodUnit value="d"/>
      </repeat>
    </timing>
    <route>
      <coding>
        <system value="http://example.org/wrong-routes"/>
        <code value="by-mouth"/>
        <display value="By Mouth"/>
      </coding>
    </route>
    <doseAndRate>
      <doseQuantity>
        <value value="500"/>
        <unit value="mg"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="mg"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
</MedicationRequest>