SIL HIE Implementation Guide
0.1.0 - sil-hie-active

SIL HIE Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/hie-fhir-ig-profile/ and changes regularly. See the Directory of published versions

: Example HIE MedicationDispense - XML Representation

Raw xml | Download


<MedicationDispense xmlns="http://hl7.org/fhir">
  <id value="HIEMedicationDispense-example"/>
  <meta>
    <profile
             value="https://nshr.dha.go.ke/fhir/StructureDefinition/hie-medicationdispense"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>MedicationDispense Summary</b></p><table><tbody><tr><td><b>Status</b></td><td>completed</td></tr><tr><td><b>Category</b></td><td>Outpatient</td></tr><tr><td><b>Medication</b></td><td>Amoxicillin 500 mg capsule</td></tr><tr><td><b>Subject</b></td><td>Jane Patient (Patient/p-001)</td></tr><tr><td><b>Context</b></td><td>Encounter/enc-001</td></tr><tr><td><b>Quantity</b></td><td>30 {capsule}</td></tr><tr><td><b>Days supply</b></td><td>10 d</td></tr><tr><td><b>When prepared</b></td><td>2025-11-16T09:10:00+03:00</td></tr><tr><td><b>When handed over</b></td><td>2025-11-16T09:20:00+03:00</td></tr><tr><td><b>Performer</b></td><td>Acme Community Pharmacy (Organization/pharm-001)</td></tr><tr><td><b>Authorizing prescription</b></td><td>MedicationRequest/mr-001</td></tr></tbody></table><p><b>Dosage</b></p><ul><li>Take 1 capsule by mouth every 8 hours for 10 days</li></ul><p><b>Receiver</b></p><ul><li>Patient received medication at counter</li></ul><p><b>Notes</b></p><ul><li>Counselled on adherence and GI upset advice</li></ul></div>
  </text>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="ACSN"/>
        <display value="Accession ID"/>
      </coding>
    </type>
    <system value="http://pharmacy.example.org/dispenses"/>
    <value value="DISP-2025-000045"/>
  </identifier>
  <status value="completed"/>
  <category>
    <coding>
      <system
              value="http://terminology.hl7.org/CodeSystem/medicationdispense-category"/>
      <code value="outpatient"/>
      <display value="Outpatient"/>
    </coding>
  </category>
  <medicationCodeableConcept>
    <coding>
      <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
      <code value="308189"/>
      <display value="Amoxicillin 500 MG Oral Capsule"/>
    </coding>
  </medicationCodeableConcept>
  <subject>
    <reference value="Patient/p-001"/>
    <display value="Jane Patient"/>
  </subject>
  <context>
    <reference value="Encounter/enc-001"/>
    <display value="OP visit 2025-11-16"/>
  </context>
  <performer>
    <function>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function"/>
        <code value="packager"/>
        <display value="Packager"/>
      </coding>
    </function>
    <actor>
      <reference value="Organization/pharm-001"/>
      <display value="Acme Community Pharmacy"/>
    </actor>
  </performer>
  <authorizingPrescription>
    <reference value="MedicationRequest/mr-001"/>
    <display value="Amoxicillin 500 mg TID x10d"/>
  </authorizingPrescription>
  <quantity>
    <value value="30"/>
    <unit value="capsule"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="{capsule}"/>
  </quantity>
  <daysSupply>
    <value value="10"/>
    <unit value="day"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="d"/>
  </daysSupply>
  <whenPrepared value="2025-11-16T09:10:00+03:00"/>
  <whenHandedOver value="2025-11-16T09:20:00+03:00"/>
  <receiver>
    <reference value="Patient/p-001"/>
    <display value="Jane Patient"/>
  </receiver>
  <note>
    <authorReference>
      <reference value="Practitioner/pr-001"/>
    </authorReference>
    <time value="2025-11-16T09:22:00+03:00"/>
    <text
          value="Patient counselled on adherence and to take with food if GI upset occurs."/>
  </note>
  <dosageInstruction>
    <text value="Take 1 capsule by mouth every 8 hours for 10 days"/>
    <timing>
      <repeat>
        <frequency value="3"/>
        <period value="1"/>
        <periodUnit value="d"/>
      </repeat>
    </timing>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="26643006"/>
        <display value="Oral route"/>
      </coding>
    </route>
    <doseAndRate>
      <doseQuantity>
        <value value="1"/>
        <unit value="capsule"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="{capsule}"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <substitution>
    <wasSubstituted value="false"/>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/v3-ActSubstanceAdminSubstitutionCode"/>
        <code value="E"/>
        <display value="equivalent"/>
      </coding>
    </type>
    <responsibleParty>
      <reference value="Practitioner/pr-001"/>
      <display value="Dr. John Clinician"/>
    </responsibleParty>
  </substitution>
</MedicationDispense>