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 – Prescription the pharmacist declines: amoxicillin for a patient with penicillin allergy - JSON Representation

Raw json | Download

{
  "resourceType" : "MedicationRequest",
  "id" : "hiqa-rx-s5-amoxicillin",
  "meta" : {
    "profile" : [
      🔗 "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest hiqa-rx-s5-amoxicillin</b></p><a name=\"hiqa-rx-s5-amoxicillin\"> </a><a name=\"hchiqa-rx-s5-amoxicillin\"> </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>/9-RX-2026-000005-1</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</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><p><b>supportingInformation</b>: <a href=\"List-hiqa-allergies-niamh.html\">List for 'Allergies and adverse reactions Document' for '-&gt;Niamh Keane (official) Female, DoB: 1990-11-08 ( National unique individual identifier: IEMpdNamingSystemIHI#999000000000000003)'</a></p><p><b>authoredOn</b>: 2026-09-22 09:30:00+0100</p><p><b>requester</b>: <a href=\"PractitionerRole-hiqa-role-gp-nolan.html\">PractitionerRole: telecom = ph: +353 90 000 0001(Work),clodagh.nolan@riverside-practice.example.org(Work)</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 15805002}\">Acute sinusitis</span></p><p><b>groupIdentifier</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>/9-RX-2026-000005</p><p><b>courseOfTherapyType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy acute}\">Short course (acute) therapy</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take one capsule three times a day for 7 days</p><p><b>timing</b>: 3 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>1 capsule<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{capsule} = '{capsule}')</span></td></tr></table></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ValidityPeriod</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>2026-09-22 --&gt; 2026-10-22</td><td>21 capsules<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{capsule} = '{capsule}')</span></td></tr></table><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>"
  },
  "identifier" : [
    {
      "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps",
      "value" : "9-RX-2026-000005-1"
    }
  ],
  "status" : "active",
  "intent" : "order",
  "medicationReference" : {
    🔗 "reference" : "Medication/hiqa-med-amoxicillin-500-caps"
  },
  "subject" : {
    🔗 "reference" : "Patient/hiqa-patient-niamh-keane"
  },
  "supportingInformation" : [
    {
      🔗 "reference" : "List/hiqa-allergies-niamh"
    }
  ],
  "authoredOn" : "2026-09-22T09:30:00+01:00",
  "requester" : {
    🔗 "reference" : "PractitionerRole/hiqa-role-gp-nolan"
  },
  "reasonCode" : [
    {
      "coding" : [
        {
          "system" : "http://snomed.info/sct",
          "code" : "15805002",
          "display" : "Acute sinusitis"
        }
      ]
    }
  ],
  "groupIdentifier" : {
    "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps",
    "value" : "9-RX-2026-000005"
  },
  "courseOfTherapyType" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
        "code" : "acute",
        "display" : "Short course (acute) therapy"
      }
    ]
  },
  "dosageInstruction" : [
    {
      "text" : "Take one capsule three times a day for 7 days",
      "timing" : {
        "repeat" : {
          "frequency" : 3,
          "period" : 1,
          "periodUnit" : "d"
        }
      },
      "route" : {
        "coding" : [
          {
            "system" : "http://snomed.info/sct",
            "code" : "26643006",
            "display" : "Oral route"
          }
        ]
      },
      "doseAndRate" : [
        {
          "doseQuantity" : {
            "value" : 1,
            "unit" : "capsule",
            "system" : "http://unitsofmeasure.org",
            "code" : "{capsule}"
          }
        }
      ]
    }
  ],
  "dispenseRequest" : {
    "validityPeriod" : {
      "start" : "2026-09-22",
      "end" : "2026-10-22"
    },
    "quantity" : {
      "value" : 21,
      "unit" : "capsules",
      "system" : "http://unitsofmeasure.org",
      "code" : "{capsule}"
    }
  },
  "substitution" : {
    "allowedBoolean" : true
  }
}