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

<MedicationDispense xmlns="http://hl7.org/fhir">
  <id value="ie-dispense-scenario2-partial-2"/>
  <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 ie-dispense-scenario2-partial-2</b></p><a name="ie-dispense-scenario2-partial-2"> </a><a name="hcie-dispense-scenario2-partial-2"> </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>: 2024-07-15 10:10: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:b7060eb6-2321-5acb-8a54-2e7b5cc24e9e</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href="Medication-ie-mpd-medication-atorvastatin-20.html">Medication Atorvastatin 20 mg oral tablet</a></p><p><b>subject</b>: <a href="Patient-ie-mpd-patient-example.html">John Murphy</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-ie-mpd-practitioner-pharmacist-example.html">Niamh Brennan</a></td></tr></table><p><b>authorizingPrescription</b>: <a href="MedicationRequest-ie-prescription-scenario2-partial.html">PCRS-RX-2024-002001</a></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode FFP}">First Fill - Part Fill</span></p><p><b>quantity</b>: 30 Tablet<span style="background: LightGoldenRodYellow"> (Details: SNOMED CT  code732936001 = 'Tablet')</span></p><p><b>daysSupply</b>: 30 days<span style="background: LightGoldenRodYellow"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2024-07-15 10:00:00+0100</p><p><b>whenHandedOver</b>: 2024-07-15 10:10: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>Take one 20mg tablet once daily at night</td></tr></table><h3>Substitutions</h3><table class="grid"><tr><td style="display: none">-</td><td><b>WasSubstituted</b></td></tr><tr><td style="display: none">*</td><td>false</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded">
    <valueDateTime value="2024-07-15T10:10:00+01:00"/>
  </extension>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:b7060eb6-2321-5acb-8a54-2e7b5cc24e9e"/>
  </identifier>
  <status value="completed"/>
  <medicationReference>
    <reference value="Medication/ie-mpd-medication-atorvastatin-20"/>
  </medicationReference>
  <subject>
    <reference value="Patient/ie-mpd-patient-example"/>
    <display value="John Murphy"/>
  </subject>
  <performer>
    <actor>
      <reference value="Practitioner/ie-mpd-practitioner-pharmacist-example"/>
      <display value="Niamh Brennan"/>
    </actor>
  </performer>
  <authorizingPrescription>
    <reference value="MedicationRequest/ie-prescription-scenario2-partial"/>
    <display value="PCRS-RX-2024-002001"/>
  </authorizingPrescription>
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="FFP"/>
      <display value="First Fill - Part Fill"/>
    </coding>
  </type>
  <quantity>
    <value value="30"/>
    <unit value="Tablet"/>
    <system value="http://snomed.info/sct"/>
    <code value="732936001"/>
  </quantity>
  <daysSupply>
    <value value="30"/>
    <unit value="days"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="d"/>
  </daysSupply>
  <whenPrepared value="2024-07-15T10:00:00+01:00"/>
  <whenHandedOver value="2024-07-15T10:10:00+01:00"/>
  <dosageInstruction>
    <text value="Take one 20mg tablet once daily at night"/>
  </dosageInstruction>
  <substitution>
    <wasSubstituted value="false"/>
  </substitution>
</MedicationDispense>