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 5 – Non-dispensation: declined because of a recorded penicillin allergy - JSON Representation

Raw json | Download

{
  "resourceType" : "MedicationDispense",
  "id" : "hiqa-md-s5-declined",
  "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 hiqa-md-s5-declined</b></p><a name=\"hiqa-md-s5-declined\"> </a><a name=\"hchiqa-md-s5-declined\"> </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-22 12: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 \r\n\r\nThis 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: \r\n\r\nNote 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.\r\n\r\nThis OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:2df5c229-1bc6-55d4-aa2e-7fa0b6ae1adf</p><p><b>status</b>: Declined</p><p><b>statusReason</b>: <span title=\"Codes:\">Not dispensed: the patient has a confirmed penicillin allergy (anaphylaxis). Prescriber contacted to cancel and review.</span></p><p><b>medication</b>: <a href=\"Medication-hiqa-med-amoxicillin-500-caps.html\">Medication Amoxicillin 500 mg oral capsule</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-s5-amoxicillin.html\">MedicationRequest: identifier = https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps#IEMpdNamingSystemNePSPrescription#9-RX-2026-000005-1; status = active; intent = order; medication[x] = -&gt;Medication Amoxicillin 500 mg oral capsule; authoredOn = 2026-09-22 09:30:00+0100; reasonCode = Acute sinusitis; groupIdentifier = https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps#IEMpdNamingSystemNePSPrescription#9-RX-2026-000005; courseOfTherapyType = Short course (acute) therapy</a></p><p><b>quantity</b>: 0 capsules<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{capsule} = '{capsule}')</span></p></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded",
      "valueDateTime" : "2026-09-22T12:10:00+01:00"
    }
  ],
  "identifier" : [
    {
      "system" : "urn:ietf:rfc:3986",
      "value" : "urn:uuid:2df5c229-1bc6-55d4-aa2e-7fa0b6ae1adf"
    }
  ],
  "status" : "declined",
  "statusReasonCodeableConcept" : {
    "text" : "Not dispensed: the patient has a confirmed penicillin allergy (anaphylaxis). Prescriber contacted to cancel and review."
  },
  "medicationReference" : {
    🔗 "reference" : "Medication/hiqa-med-amoxicillin-500-caps"
  },
  "subject" : {
    🔗 "reference" : "Patient/hiqa-patient-niamh-keane"
  },
  "performer" : [
    {
      "actor" : {
        🔗 "reference" : "Practitioner/hiqa-prac-pharmacist-farrell"
      }
    }
  ],
  "authorizingPrescription" : [
    {
      🔗 "reference" : "MedicationRequest/hiqa-rx-s5-amoxicillin"
    }
  ],
  "quantity" : {
    "value" : 0,
    "unit" : "capsules",
    "system" : "http://unitsofmeasure.org",
    "code" : "{capsule}"
  }
}