{
  "resourceType" : "MedicationDispense",
  "id" : "ie-dispense-scenario4-es-pharmacy",
  "meta" : {
    "profile" : ["https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationdispense-edispensation"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense ie-dispense-scenario4-es-pharmacy</b></p><a name=\"ie-dispense-scenario4-es-pharmacy\"> </a><a name=\"hcie-dispense-scenario4-es-pharmacy\"> </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-28 11:45:00+0200</p><p><b>identifier</b>: ES-DISP-2024-XB-004001</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication-ie-mpd-medication-amlodipine-5.html\">Medication Amlodipine 5 mg oral tablet</a></p><p><b>subject</b>: <a href=\"Patient-ie-mpd-patient-ciaran-walsh.html\">Ciarán Walsh</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-es-pharmacist.html\">Dra. Carmen Vega Soto</a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-ie-prescription-scenario4-ie-to-es.html\">PCRS-RX-2024-004001</a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode DF}\">Daily 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-28 11:30:00+0200</p><p><b>whenHandedOver</b>: 2024-07-28 11:45:00+0200</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>Tomar un comprimido de 5mg una vez al día (Take one 5mg tablet once daily)</td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td><td><b>Reason</b></td><td><b>ResponsibleParty</b></td></tr><tr><td style=\"display: none\">*</td><td>true</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution G}\">Generic composition</span></td><td><span title=\"Codes:{http://snomed.info/sct 373873005}\">Pharmaceutical / biologic product</span></td><td><a href=\"Practitioner-ie-mpd-practitioner-es-pharmacist.html\">Dra. Carmen Vega Soto</a></td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded",
    "valueDateTime" : "2024-07-28T11:45:00+02:00"
  }],
  "identifier" : [{
    "value" : "ES-DISP-2024-XB-004001",
    "assigner" : {
      "display" : "Issuing authority in Spain (illustrative)"
    }
  }],
  "status" : "completed",
  "medicationReference" : {
    "reference" : "Medication/ie-mpd-medication-amlodipine-5"
  },
  "subject" : {
    "reference" : "Patient/ie-mpd-patient-ciaran-walsh",
    "display" : "Ciarán Walsh"
  },
  "performer" : [{
    "actor" : {
      "reference" : "Practitioner/ie-mpd-practitioner-es-pharmacist",
      "display" : "Dra. Carmen Vega Soto"
    }
  }],
  "authorizingPrescription" : [{
    "reference" : "MedicationRequest/ie-prescription-scenario4-ie-to-es",
    "display" : "PCRS-RX-2024-004001"
  }],
  "type" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "DF",
      "display" : "Daily Fill"
    }]
  },
  "quantity" : {
    "value" : 30,
    "unit" : "Tablet",
    "system" : "http://snomed.info/sct",
    "code" : "732936001"
  },
  "daysSupply" : {
    "value" : 30,
    "unit" : "days",
    "system" : "http://unitsofmeasure.org",
    "code" : "d"
  },
  "whenPrepared" : "2024-07-28T11:30:00+02:00",
  "whenHandedOver" : "2024-07-28T11:45:00+02:00",
  "dosageInstruction" : [{
    "text" : "Tomar un comprimido de 5mg una vez al día (Take one 5mg tablet once daily)"
  }],
  "substitution" : {
    "wasSubstituted" : true,
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution",
        "code" : "G",
        "display" : "Generic composition"
      }]
    },
    "reason" : [{
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "version" : "http://snomed.info/sct/1601000220105",
        "code" : "373873005",
        "display" : "Pharmaceutical / biologic product"
      }]
    }],
    "responsibleParty" : [{
      "reference" : "Practitioner/ie-mpd-practitioner-es-pharmacist",
      "display" : "Dra. Carmen Vega Soto"
    }]
  }
}