{
  "resourceType" : "Bundle",
  "id" : "ie-bundle-to-dk-eprescription",
  "type" : "collection",
  "timestamp" : "2025-07-01T09:00:00+02:00",
  "entry" : [{
    "fullUrl" : "urn:uuid:80858291-1d72-5f01-b5bf-3a1427320ba9",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "patient-sean-murphy",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_patient-sean-murphy\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-sean-murphy</b></p><a name=\"patient-sean-murphy\"> </a><a name=\"hcpatient-sean-murphy\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Seán Patrick Murphy (official) Male, DoB: 1975-03-15 ( https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/ihi#IEMpdNamingSystemIHI#210000000099887766)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li><a href=\"NamingSystem-ie-mpd-ns-ppsn.html\" title=\"PLACEHOLDER URI, pending a URI published by the issuing authority (Requires Clarification, IE Core OI-003). HIQA EP/PS 1.3.2. Use as a health identifier is Requires Clarification (IE Core OI-008).\">IEMpdNamingSystemPPSN</a>/1234567T</li><li><code>http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier</code>/IE/DK/1234567T</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">14 Grafton Street Dublin 2 Dublin D02 XY45 IE (home)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Recorded sex or gender (RSG) information includes the various sex and gender concepts that are often used in existing systems but are known NOT to represent a gender identity, sex parameter for clinical use, or attributes related to sexuality, such as sexual orientation, sexual activity, or sexual attraction. Examples of recorded sex or gender concepts include administrative gender, administrative sex, and sex assigned at birth.  When exchanging this concept, refer to the guidance in the [Gender Harmony Implementation Guide](http://hl7.org/xprod/ig/uv/gender-harmony/).\">Person Recorded Sex Or Gender:</td><td colspan=\"3\"><ul><li>value: <span title=\"Codes:{http://hl7.org/fhir/administrative-gender male}\">Male</span></li><li>type: <span title=\"Codes:{http://loinc.org 76689-9}\">Sex assigned at birth</span></li></ul></td></tr></table></div>"
      },
      "extension" : [{
        "extension" : [{
          "url" : "value",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/administrative-gender",
              "code" : "male",
              "display" : "Male"
            }]
          }
        },
        {
          "url" : "type",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "76689-9",
              "display" : "Sex assigned at birth"
            }]
          }
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"
      }],
      "identifier" : [{
        "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/ihi",
        "value" : "210000000099887766"
      },
      {
        "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/pps",
        "value" : "1234567T"
      },
      {
        "system" : "http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier",
        "value" : "IE/DK/1234567T"
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "family" : "Murphy",
        "given" : ["Seán",
        "Patrick"],
        "prefix" : ["Mr."]
      }],
      "gender" : "male",
      "birthDate" : "1975-03-15",
      "address" : [{
        "use" : "home",
        "line" : ["14 Grafton Street"],
        "city" : "Dublin 2",
        "state" : "Dublin",
        "postalCode" : "D02 XY45",
        "country" : "IE"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:f6ae4c82-db5b-5024-b472-a1582886e3ce",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "practitioner-aoife-obrien",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_practitioner-aoife-obrien\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner practitioner-aoife-obrien</b></p><a name=\"practitioner-aoife-obrien\"> </a><a name=\"hcpractitioner-aoife-obrien\"> </a><p><b>identifier</b>: <a href=\"NamingSystem-ie-mpd-ns-imc.html\" title=\"PLACEHOLDER URI, pending a URI published by the issuing authority (Requires Clarification, IE Core OI-003). HIQA EP/PS 2.6.2.\">IEMpdNamingSystemIMC</a>/GP-IE-12345</p><p><b>active</b>: true</p><p><b>name</b>: Aoife O'Brien (Official)</p></div>"
      },
      "identifier" : [{
        "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/imc",
        "value" : "GP-IE-12345"
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "family" : "O'Brien",
        "given" : ["Aoife"],
        "prefix" : ["Dr."]
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:3ab51105-7364-58f5-a3d6-f9bc50690c12",
    "resource" : {
      "resourceType" : "AllergyIntolerance",
      "id" : "allergy-penicillin",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"AllergyIntolerance_allergy-penicillin\"> </a><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance allergy-penicillin</b></p><a name=\"allergy-penicillin\"> </a><a name=\"hcallergy-penicillin\"> </a><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification confirmed}\">Confirmed</span></p><p><b>type</b>: Allergy</p><p><b>category</b>: Medication</p><p><b>criticality</b>: High Risk</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 372687004}\">Penicillin / Amoxicillin — ALL penicillin-class antibiotics</span></p><p><b>patient</b>: <a href=\"Bundle-ie-bundle-to-at-eprescription.html#urn-uuid-80858291-1d72-5f01-b5bf-3a1427320ba9\">Seán Patrick Murphy (official) Male, DoB: 1975-03-15 ( https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/ihi#IEMpdNamingSystemIHI#210000000099887766)</a></p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td><td><b>Severity</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 39579001}\">Anaphylaxis</span></td><td>Severe</td></tr></table></div>"
      },
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
          "code" : "active"
        }]
      },
      "verificationStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
          "code" : "confirmed"
        }]
      },
      "type" : "allergy",
      "category" : ["medication"],
      "criticality" : "high",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "372687004",
          "display" : "Amoxicillin"
        }],
        "text" : "Penicillin / Amoxicillin — ALL penicillin-class antibiotics"
      },
      "patient" : {
        "reference" : "urn:uuid:80858291-1d72-5f01-b5bf-3a1427320ba9"
      },
      "reaction" : [{
        "manifestation" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "39579001",
            "display" : "Anaphylaxis"
          }]
        }],
        "severity" : "severe"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:1df6570a-9d77-5b10-b4bd-be737614edd8",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "org-dk-apoteket-cph",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_org-dk-apoteket-cph\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization org-dk-apoteket-cph</b></p><a name=\"org-dk-apoteket-cph\"> </a><a name=\"hcorg-dk-apoteket-cph\"> </a><p><b>identifier</b>: DK-APO-CPH-001</p><p><b>active</b>: true</p><p><b>name</b>: Apoteket</p><p><b>address</b>: Copenhagen DK </p></div>"
      },
      "identifier" : [{
        "value" : "DK-APO-CPH-001",
        "assigner" : {
          "display" : "Issuing authority in Denmark (illustrative)"
        }
      }],
      "active" : true,
      "name" : "Apoteket",
      "address" : [{
        "city" : "Copenhagen",
        "country" : "DK"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:b92c754d-faf3-5d6d-931d-26512dc9981c",
    "resource" : {
      "resourceType" : "MedicationRequest",
      "id" : "rx-ie-dk-warfarin",
      "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\"><a name=\"MedicationRequest_rx-ie-dk-warfarin\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest rx-ie-dk-warfarin</b></p><a name=\"rx-ie-dk-warfarin\"> </a><a name=\"hcrx-ie-dk-warfarin\"> </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-2025-IE-DK-001, <code>http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier</code>/IE/DK/1234567T</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"Bundle-ie-bundle-to-dk-eprescription.html#urn-uuid-adab699a-7d19-5e5c-9869-cab4d94e8eaa\">Warfarin 5mg tablets → DK: Warfarin 5mg Tabletter</a></p><p><b>subject</b>: <a href=\"Bundle-ie-bundle-to-at-eprescription.html#urn-uuid-80858291-1d72-5f01-b5bf-3a1427320ba9\">Seán Murphy</a></p><p><b>authoredOn</b>: 2025-06-25</p><p><b>requester</b>: <a href=\"Bundle-ie-bundle-to-at-eprescription.html#urn-uuid-f6ae4c82-db5b-5024-b472-a1582886e3ce\">Dr. Aoife O'Brien</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 49436004}\">Atrial fibrillation</span></p><p><b>note</b>: , </p><blockquote><div><p>Cross-border ePrescription via MyHealth@EU (MPD). Valid 90 days (Danish Medicines Agency rules).</p>\n</div></blockquote><blockquote><div><p>⚠️ ANTICOAGULANT: No substitution. INR monitoring mandatory. Current INR: 2.4 (checked 2025-06-24).</p>\n</div></blockquote><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td><td><b>PatientInstruction</b></td><td><b>Timing</b></td><td><b>Route</b></td></tr><tr><td style=\"display: none\">*</td><td>Tag én 5mg tablet én gang dagligt. INR-mål 2,0-3,0. Kræver INR-monitorering (Take one 5mg tablet once daily. INR target 2.0-3.0. Requires INR monitoring).</td><td>⚠️ Anticoagulant — requires regular INR blood tests. Target INR 2.0–3.0. Contact local anticoagulation service.</td><td>Once per 1 day</td><td><span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></td></tr></table><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>2025-06-25 --&gt; 2025-09-25</td><td>28 tablets<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{tablet} = '{tablet}')</span></td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td><td><b>Reason</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td><td><span title=\"Codes:\">Reason not stated in the source example</span></td></tr></table></div>"
      },
      "identifier" : [{
        "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps",
        "value" : "PCRS-RX-2025-IE-DK-001"
      },
      {
        "system" : "http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier",
        "value" : "IE/DK/1234567T"
      }],
      "status" : "active",
      "intent" : "order",
      "medicationReference" : {
        "reference" : "urn:uuid:adab699a-7d19-5e5c-9869-cab4d94e8eaa",
        "display" : "Warfarin 5mg tablets → DK: Warfarin 5mg Tabletter"
      },
      "subject" : {
        "reference" : "urn:uuid:80858291-1d72-5f01-b5bf-3a1427320ba9",
        "display" : "Seán Murphy"
      },
      "authoredOn" : "2025-06-25",
      "requester" : {
        "reference" : "urn:uuid:f6ae4c82-db5b-5024-b472-a1582886e3ce",
        "display" : "Dr. Aoife O'Brien"
      },
      "reasonCode" : [{
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "49436004",
          "display" : "Atrial fibrillation"
        }]
      }],
      "note" : [{
        "text" : "Cross-border ePrescription via MyHealth@EU (MPD). Valid 90 days (Danish Medicines Agency rules)."
      },
      {
        "text" : "⚠️ ANTICOAGULANT: No substitution. INR monitoring mandatory. Current INR: 2.4 (checked 2025-06-24)."
      }],
      "dosageInstruction" : [{
        "text" : "Tag én 5mg tablet én gang dagligt. INR-mål 2,0-3,0. Kræver INR-monitorering (Take one 5mg tablet once daily. INR target 2.0-3.0. Requires INR monitoring).",
        "patientInstruction" : "⚠️ Anticoagulant — requires regular INR blood tests. Target INR 2.0–3.0. Contact local anticoagulation service.",
        "timing" : {
          "repeat" : {
            "frequency" : 1,
            "period" : 1,
            "periodUnit" : "d"
          }
        },
        "route" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "26643006",
            "display" : "Oral route"
          }]
        }
      }],
      "dispenseRequest" : {
        "validityPeriod" : {
          "start" : "2025-06-25",
          "end" : "2025-09-25"
        },
        "quantity" : {
          "value" : 28,
          "unit" : "tablets",
          "system" : "http://unitsofmeasure.org",
          "code" : "{tablet}"
        }
      },
      "substitution" : {
        "allowedBoolean" : false,
        "reason" : {
          "text" : "Reason not stated in the source example"
        }
      }
    }
  },
  {
    "fullUrl" : "urn:uuid:adab699a-7d19-5e5c-9869-cab4d94e8eaa",
    "resource" : {
      "resourceType" : "Medication",
      "id" : "med-rx-ie-dk-warfarin",
      "meta" : {
        "profile" : ["https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_med-rx-ie-dk-warfarin\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication med-rx-ie-dk-warfarin</b></p><a name=\"med-rx-ie-dk-warfarin\"> </a><a name=\"hcmed-rx-ie-dk-warfarin\"> </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-medication-eprescription.html\">IE MPD Medication (ePrescription/eDispensation)</a></p></div><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 372756006}, {http://www.whocc.no/atc B01AA03}\">Warfarin 5mg tablets → DK: Warfarin 5mg Tabletter</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>IsActive</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 372756006}\">Warfarin</span></td><td>true</td></tr></table></div>"
      },
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "372756006",
          "display" : "Warfarin"
        },
        {
          "system" : "http://www.whocc.no/atc",
          "code" : "B01AA03",
          "display" : "Warfarin"
        }],
        "text" : "Warfarin 5mg tablets → DK: Warfarin 5mg Tabletter"
      },
      "ingredient" : [{
        "itemCodeableConcept" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "372756006",
            "display" : "Warfarin"
          }]
        },
        "isActive" : true
      }]
    }
  }]
}