IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft) Ireland flag

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

: Scenario 3 – Dispense 3: first repeat - XML Representation

Raw xml | Download


<MedicationDispense xmlns="http://hl7.org/fhir">
  <id value="hiqa-md-s3-repeat-1"/>
  <meta>
    <profile
             value="https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationdispense-edispensation"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MedicationDispense hiqa-md-s3-repeat-1</b></p><a name="hiqa-md-s3-repeat-1"> </a><a name="hchiqa-md-s3-repeat-1"> </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-ie-mpd-medicationdispense-edispensation.html">IE MPD MedicationDispense (eDispensation)</a></p></div><p><b>R5: When the recording of the dispense started (new)</b>: 2026-09-23 12:00:00+0100</p><p><b>identifier</b>: <a href="http://terminology.hl7.org/6.3.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:uuid:18dc416f-384b-51b4-a91d-b688c67c9840</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href="Medication-hiqa-med-salbutamol-inhaler.html">Medication Salbutamol 100 microgram/actuation pressurised suspension for inhalation</a></p><p><b>subject</b>: <a href="Patient-hiqa-patient-niamh-keane.html">Niamh Keane (official) Female, DoB: 1990-11-08 ( National unique individual identifier: IEMpdNamingSystemIHI#999000000000000003)</a></p><h3>Performers</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Actor</b></td></tr><tr><td style="display: none">*</td><td><a href="Practitioner-hiqa-prac-pharmacist-farrell.html">Practitioner Eoin Farrell (official)</a></td></tr></table><p><b>authorizingPrescription</b>: <a href="MedicationRequest-hiqa-rx-s3-salbutamol-repeat.html">MedicationRequest: extension = 2026-09-01 --&gt; 2027-02-28; identifier = https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps#IEMpdNamingSystemNePSPrescription#9-RX-2026-000003-1; status = active; intent = order; medication[x] = -&gt;Medication Salbutamol 100 microgram/actuation pressurised suspension for inhalation; authoredOn = 2026-09-01 11:05:00+0100; reasonCode = Asthma; groupIdentifier = https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps#IEMpdNamingSystemNePSPrescription#9-RX-2026-000003; courseOfTherapyType = Continuous long term therapy</a></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode RF}">Refill</span></p><p><b>quantity</b>: 2 inhalers<span style="background: LightGoldenRodYellow"> (Details: UCUM  code{inhaler} = '{inhaler}')</span></p><p><b>whenHandedOver</b>: 2026-09-23 11:55:00+0100</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>Inhale two puffs when required for breathlessness. Maximum 8 puffs in 24 hours</td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded">
    <valueDateTime value="2026-09-23T12:00:00+01:00"/>
  </extension>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:18dc416f-384b-51b4-a91d-b688c67c9840"/>
  </identifier>
  <status value="completed"/>
  <medicationReference>🔗 
    <reference value="Medication/hiqa-med-salbutamol-inhaler"/>
  </medicationReference>
  <subject>🔗 
    <reference value="Patient/hiqa-patient-niamh-keane"/>
  </subject>
  <performer>
    <actor>🔗 
      <reference value="Practitioner/hiqa-prac-pharmacist-farrell"/>
    </actor>
  </performer>
  <authorizingPrescription>🔗 
    <reference value="MedicationRequest/hiqa-rx-s3-salbutamol-repeat"/>
  </authorizingPrescription>
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="RF"/>
      <display value="Refill"/>
    </coding>
  </type>
  <quantity>
    <value value="2"/>
    <unit value="inhalers"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="{inhaler}"/>
  </quantity>
  <whenHandedOver value="2026-09-23T11:55:00+01:00"/>
  <dosageInstruction>
    <text
          value="Inhale two puffs when required for breathlessness. Maximum 8 puffs in 24 hours"/>
  </dosageInstruction>
</MedicationDispense>