Kenya ePrescription FHIR Implementation Guide
0.1.0 - ci-build KE

Kenya ePrescription FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: MedicationRequest – Extensions: Digital Signature, Refill, Controlled Substance, Insurance Auth - XML Representation

Raw xml | Download


<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="example-medicationrequest-with-extensions"/>
  <meta>
    <profile
             value="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-medication-request"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MedicationRequest example-medicationrequest-with-extensions</b></p><a name="example-medicationrequest-with-extensions"> </a><a name="hcexample-medicationrequest-with-extensions"> </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><blockquote><p><b>Prescription Digital Signature</b></p><ul><li>signatureType: <a href="http://hl7.org/fhir/R4/codesystem-signature-type.html#signature-type-1.462.46840.4610065.461.4612.461.461">Signature Type Codes: 1.2.840.10065.1.12.1.1</a> (Author's Signature)</li><li>signatureValue: <code>U0lHTkFUVVJFX1BMQUNFSE9MREVS</code></li><li>signedBy: <a href="Practitioner-example-practitioner-njoroge.html">Practitioner Sarah Njoroge (official)</a></li><li>signedOn: 2025-06-15 09:30:00+0300</li></ul></blockquote><blockquote><p><b>Refill Authorization</b></p><ul><li>authorizedRefills: 3</li><li>remainingRefills: 3</li><li>earliestRefillDate: 2025-07-15</li></ul></blockquote><blockquote><p><b>Controlled Substance Schedule</b></p><ul><li>isControlled: false</li></ul></blockquote><blockquote><p><b>Insurance Pre-Authorization</b></p><ul><li>authorizationNumber: SHA-2025-AUTH-001234</li><li>insurerName: Social Health Authority (SHA)</li><li>validFrom: 2025-06-15</li><li>validTo: 2025-09-15</li></ul></blockquote><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-EXT-00001</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:{https://nshr-uat.sha.go.ke/fhir/CodeSystem/generic-products-cs GE10002}">Metformin 500 mg Oral Tablet</span></p><p><b>subject</b>: <a href="Patient-example-patient-otieno.html">James Otieno (official) Male, DoB: 1968-09-20 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#10293847)</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 twice daily with meals</p><p><b>timing</b>: 2 per 1 day</p><p><b>route</b>: <span title="Codes:{https://nshr-uat.sha.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>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td style="display: none">*</td><td>3</td><td>60 tablet<span style="background: LightGoldenRodYellow"> (Details: UCUM  code1 = '1')</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>
  </text>
  <extension
             url="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/prescription-digital-signature">
    <extension url="signatureType">
      <valueCoding>
        <system value="urn:iso-astm:E1762-95:2013"/>
        <code value="1.2.840.10065.1.12.1.1"/>
        <display value="Author's Signature"/>
      </valueCoding>
    </extension>
    <extension url="signatureValue">
      <valueBase64Binary value="U0lHTkFUVVJFX1BMQUNFSE9MREVS"/>
    </extension>
    <extension url="signedBy">
      <valueReference>🔗 
        <reference value="Practitioner/example-practitioner-njoroge"/>
      </valueReference>
    </extension>
    <extension url="signedOn">
      <valueInstant value="2025-06-15T09:30:00+03:00"/>
    </extension>
  </extension>
  <extension
             url="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/refill-authorization">
    <extension url="authorizedRefills">
      <valueUnsignedInt value="3"/>
    </extension>
    <extension url="remainingRefills">
      <valueUnsignedInt value="3"/>
    </extension>
    <extension url="earliestRefillDate">
      <valueDate value="2025-07-15"/>
    </extension>
  </extension>
  <extension
             url="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/controlled-substance-schedule">
    <extension url="isControlled">
      <valueBoolean value="false"/>
    </extension>
  </extension>
  <extension
             url="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/insurance-pre-authorization">
    <extension url="authorizationNumber">
      <valueString value="SHA-2025-AUTH-001234"/>
    </extension>
    <extension url="insurerName">
      <valueString value="Social Health Authority (SHA)"/>
    </extension>
    <extension url="validFrom">
      <valueDate value="2025-06-15"/>
    </extension>
    <extension url="validTo">
      <valueDate value="2025-09-15"/>
    </extension>
  </extension>
  <identifier>
    <system
            value="https://ilm-hie.dha.go.ke/fhir/NamingSystem/prescription-identifier"/>
    <value value="RX-2025-EXT-00001"/>
  </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="https://nshr-uat.sha.go.ke/fhir/CodeSystem/generic-products-cs"/>
      <code value="GE10002"/>
      <display value="Metformin 500 mg Oral Tablet"/>
    </coding>
  </medicationCodeableConcept>
  <subject>🔗 
    <reference value="Patient/example-patient-otieno"/>
  </subject>
  <authoredOn value="2025-06-15"/>
  <requester>🔗 
    <reference value="Practitioner/example-practitioner-njoroge"/>
  </requester>
  <dosageInstruction>
    <text value="Take 1 tablet (500 mg) by mouth twice daily with meals"/>
    <timing>
      <repeat>
        <frequency value="2"/>
        <period value="1"/>
        <periodUnit value="d"/>
      </repeat>
    </timing>
    <route>
      <coding>
        <system
                value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/route-of-administration-cs"/>
        <code value="RT10025"/>
        <display value="Oral"/>
      </coding>
    </route>
    <doseAndRate>
      <doseQuantity>
        <value value="500"/>
        <unit value="mg"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="mg"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <numberOfRepeatsAllowed value="3"/>
    <quantity>
      <value value="60"/>
      <unit value="tablet"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="1"/>
    </quantity>
  </dispenseRequest>
  <substitution>
    <allowedBoolean value="true"/>
  </substitution>
</MedicationRequest>