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

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="ie-prescription-scenario2-partial"/>
  <meta>
    <profile value="https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MedicationRequest ie-prescription-scenario2-partial</b></p><a name="ie-prescription-scenario2-partial"> </a><a name="hcie-prescription-scenario2-partial"> </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-medicationrequest-eprescription.html">IE MPD MedicationRequest (ePrescription)</a></p></div><p><b>identifier</b>: <a href="NamingSystem-ie-mpd-ns-neps.html" title="PLACEHOLDER URI, pending a URI published by the issuing authority (Requires Clarification, IE Core OI-003). HIQA EP 3.1: the NePS electronic prescription (group) identifier used throughout the prescription and dispensation life cycle.">IEMpdNamingSystemNePSPrescription</a>/PCRS-RX-2024-002001</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 community}">Community</span></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><p><b>encounter</b>: <a href="Encounter-ie-mpd-encounter-example.html">Ambulatory encounter 2024-06-15</a></p><p><b>authoredOn</b>: 2024-06-15</p><p><b>requester</b>: <a href="Practitioner-ie-mpd-practitioner-example.html">Dr. Sarah O'Brien</a></p><p><b>reasonCode</b>: <span title="Codes:{http://snomed.info/sct 55822004}">Hyperlipidemia</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: Take one 20mg tablet once daily at night</p><p><b>timing</b>: at dinner, Once per 1 day</p><p><b>route</b>: <span title="Codes:{http://snomed.info/sct 26643006}">Oral route</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>20 mg<span style="background: LightGoldenRodYellow"> (Details: UCUM  codemg = 'mg')</span></td></tr></table></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: 2024-06-15 --&gt; 2024-09-15</p><p><b>numberOfRepeatsAllowed</b>: 2</p><p><b>quantity</b>: 90 Tablet<span style="background: LightGoldenRodYellow"> (Details: SNOMED CT  code732936001 = 'Tablet')</span></p><h3>ExpectedSupplyDurations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style="display: none">*</td><td>90</td><td>days</td><td><a href="http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-v3-ucum.html">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote><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>
  <identifier>
    <system value="https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps"/>
    <value value="PCRS-RX-2024-002001"/>
  </identifier>
  <status value="active"/>
  <intent value="order"/>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category"/>
      <code value="community"/>
      <display value="Community"/>
    </coding>
  </category>
  <medicationReference>
    <reference value="Medication/ie-mpd-medication-atorvastatin-20"/>
  </medicationReference>
  <subject>
    <reference value="Patient/ie-mpd-patient-example"/>
    <display value="John Murphy"/>
  </subject>
  <encounter>
    <reference value="Encounter/ie-mpd-encounter-example"/>
    <display value="Ambulatory encounter 2024-06-15"/>
  </encounter>
  <authoredOn value="2024-06-15"/>
  <requester>
    <reference value="Practitioner/ie-mpd-practitioner-example"/>
    <display value="Dr. Sarah O'Brien"/>
  </requester>
  <reasonCode>
    <coding>
      <system value="http://snomed.info/sct"/>
      <version value="http://snomed.info/sct/1601000220105"/>
      <code value="55822004"/>
      <display value="Hyperlipidemia"/>
    </coding>
  </reasonCode>
  <dosageInstruction>
    <sequence value="1"/>
    <text value="Take one 20mg tablet once daily at night"/>
    <timing>
      <repeat>
        <frequency value="1"/>
        <period value="1"/>
        <periodUnit value="d"/>
        <when value="CV"/>
      </repeat>
    </timing>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <version value="http://snomed.info/sct/1601000220105"/>
        <code value="26643006"/>
        <display value="Oral route"/>
      </coding>
    </route>
    <doseAndRate>
      <doseQuantity>
        <value value="20"/>
        <unit value="mg"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="mg"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <validityPeriod>
      <start value="2024-06-15"/>
      <end value="2024-09-15"/>
    </validityPeriod>
    <numberOfRepeatsAllowed value="2"/>
    <quantity>
      <value value="90"/>
      <unit value="Tablet"/>
      <system value="http://snomed.info/sct"/>
      <code value="732936001"/>
    </quantity>
    <expectedSupplyDuration>
      <value value="90"/>
      <unit value="days"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="d"/>
    </expectedSupplyDuration>
  </dispenseRequest>
  <substitution>
    <allowedBoolean value="true"/>
  </substitution>
</MedicationRequest>