IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft)
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
{
"resourceType" : "Bundle",
"id" : "fi-to-ie-neps-dispensation",
"type" : "collection",
"timestamp" : "2025-08-01T14:30:00+01:00",
"entry" : [
{
"fullUrl" : "urn:uuid:9c0fc75e-f162-5b77-884e-fcfd665ae2c7",
"resource" : {
"resourceType" : "Patient",
"id" : "patient-mikko-korhonen",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_patient-mikko-korhonen\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-mikko-korhonen</b></p><a name=\"patient-mikko-korhonen\"> </a><a name=\"hcpatient-mikko-korhonen\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Mikko Tapani Korhonen (official) Male, DoB: 1982-07-20 ( National unique individual identifier: FI-123456-7890)</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 Id (see the one above)\">Other Id:</td><td colspan=\"3\"><code>http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier</code>/FI/IE/123456-7890</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">null Helsinki Helsinki FI (home)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{urn:ietf:bcp:47 fi}\">Finnish</span> (preferred)</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" : [
{
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
"code" : "NI",
"display" : "National unique individual identifier"
}
]
},
"value" : "FI-123456-7890",
"assigner" : {
"display" : "Issuing authority in Finland (illustrative)"
}
},
{
"system" : "http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier",
"value" : "FI/IE/123456-7890"
}
],
"active" : true,
"name" : [
{
"use" : "official",
"family" : "Korhonen",
"given" : [
"Mikko",
"Tapani"
]
}
],
"gender" : "male",
"birthDate" : "1982-07-20",
"address" : [
{
"use" : "home",
"_line" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode" : "unknown"
}
]
}
],
"city" : "Helsinki",
"state" : "Helsinki",
"country" : "FI"
}
],
"communication" : [
{
"language" : {
"coding" : [
{
"system" : "urn:ietf:bcp:47",
"code" : "fi",
"display" : "Finnish"
}
]
},
"preferred" : true
}
]
}
},
{
"fullUrl" : "urn:uuid:131782fc-52b0-5e90-aff5-0452b4237653",
"resource" : {
"resourceType" : "Practitioner",
"id" : "org-fi-practitioner",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_org-fi-practitioner\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner org-fi-practitioner</b></p><a name=\"org-fi-practitioner\"> </a><a name=\"hcorg-fi-practitioner\"> </a><p><b>identifier</b>: FI-DR-001234</p><p><b>active</b>: true</p><p><b>name</b>: Erika Virtanen (Official)</p></div>"
},
"identifier" : [
{
"value" : "FI-DR-001234",
"assigner" : {
"display" : "Issuing authority in Finland (illustrative)"
}
}
],
"active" : true,
"name" : [
{
"use" : "official",
"family" : "Virtanen",
"given" : [
"Erika"
],
"prefix" : [
"Dr."
]
}
]
}
},
{
"fullUrl" : "urn:uuid:e9a467c2-26d3-565b-b397-b5e1ebab2d80",
"resource" : {
"resourceType" : "Organization",
"id" : "org-ie-hickeys",
"meta" : {
"profile" : [
🔗 "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-organization"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_org-ie-hickeys\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization org-ie-hickeys</b></p><a name=\"org-ie-hickeys\"> </a><a name=\"hcorg-ie-hickeys\"> </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-organization.html\">IE MPD Organization</a></p></div><p><b>active</b>: true</p><p><b>name</b>: Hickey's Pharmacy</p><p><b>address</b>: O'Connell Street Dublin IE (work)</p></div>"
},
"active" : true,
"name" : "Hickey's Pharmacy",
"address" : [
{
"use" : "work",
"line" : [
"O'Connell Street"
],
"city" : "Dublin",
"country" : "IE"
}
]
}
},
{
"fullUrl" : "urn:uuid:ed1c73da-6ab4-5f8f-ae01-a875c2a28c78",
"resource" : {
"resourceType" : "MedicationRequest",
"id" : "fi-original-rx",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_fi-original-rx\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest fi-original-rx</b></p><a name=\"fi-original-rx\"> </a><a name=\"hcfi-original-rx\"> </a><p><b>identifier</b>: FI-RX-2025-NEPS-001, <code>http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier</code>/FI/IE/123456-7890</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"Bundle-fi-to-ie-neps-dispensation.html#urn-uuid-7d57c2a4-0b49-5200-bb9e-aa4c575fe370\">Metformin 500mg tablets (FI → IE mapping via NePS)</a></p><p><b>subject</b>: <a href=\"Bundle-fi-to-ie-neps-dispensation.html#urn-uuid-9c0fc75e-f162-5b77-884e-fcfd665ae2c7\">Mikko Korhonen</a></p><p><b>authoredOn</b>: 2025-07-25</p><p><b>requester</b>: <a href=\"Bundle-fi-to-ie-neps-dispensation.html#urn-uuid-131782fc-52b0-5e90-aff5-0452b4237653\">Dr. Erika Virtanen</a></p><p><b>note</b>: </p><blockquote><div><p>Inbound cross-border prescription via MyHealth@EU/NePS. Finnish prescription (FI-RX-2025-NEPS-001) received and mapped to Irish formulary product.</p>\n</div></blockquote><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>Take one 500mg tablet twice daily with meals</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-07-25 --> 2025-10-25</td><td>60 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" : [
{
"value" : "FI-RX-2025-NEPS-001",
"assigner" : {
"display" : "Issuing authority in Finland (illustrative)"
}
},
{
"system" : "http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier",
"value" : "FI/IE/123456-7890"
}
],
"status" : "active",
"intent" : "order",
"medicationReference" : {
"reference" : "urn:uuid:7d57c2a4-0b49-5200-bb9e-aa4c575fe370",
"display" : "Metformin 500mg tablets (FI → IE mapping via NePS)"
},
"subject" : {
"reference" : "urn:uuid:9c0fc75e-f162-5b77-884e-fcfd665ae2c7",
"display" : "Mikko Korhonen"
},
"authoredOn" : "2025-07-25",
"requester" : {
"reference" : "urn:uuid:131782fc-52b0-5e90-aff5-0452b4237653",
"display" : "Dr. Erika Virtanen"
},
"note" : [
{
"text" : "Inbound cross-border prescription via MyHealth@EU/NePS. Finnish prescription (FI-RX-2025-NEPS-001) received and mapped to Irish formulary product."
}
],
"dosageInstruction" : [
{
"text" : "Take one 500mg tablet twice daily with meals"
}
],
"dispenseRequest" : {
"validityPeriod" : {
"start" : "2025-07-25",
"end" : "2025-10-25"
},
"quantity" : {
"value" : 60,
"unit" : "tablets",
"system" : "http://unitsofmeasure.org",
"code" : "{tablet}"
}
},
"substitution" : {
"allowedBoolean" : false,
"reason" : {
"text" : "Reason not stated in the source example"
}
}
}
},
{
"fullUrl" : "urn:uuid:00c30b90-728b-5f50-8ddb-823161bc605c",
"resource" : {
"resourceType" : "MedicationDispense",
"id" : "ie-dispense-fi-rx",
"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\"><a name=\"MedicationDispense_ie-dispense-fi-rx\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense ie-dispense-fi-rx</b></p><a name=\"ie-dispense-fi-rx\"> </a><a name=\"hcie-dispense-fi-rx\"> </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>: 2025-08-01 14:00: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:e4ab1574-b3d5-539e-b57f-38b598a60419, FI-RX-2025-NEPS-001</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Bundle-fi-to-ie-neps-dispensation.html#urn-uuid-c8ecad95-cec8-56b9-82ed-2292c322b017\">Metformin 500mg tablets</a></p><p><b>subject</b>: <a href=\"Bundle-fi-to-ie-neps-dispensation.html#urn-uuid-9c0fc75e-f162-5b77-884e-fcfd665ae2c7\">Mikko Korhonen</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=\"Bundle-fi-to-ie-neps-dispensation.html#urn-uuid-e9a467c2-26d3-565b-b397-b5e1ebab2d80\">Hickey's Pharmacy</a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"Bundle-fi-to-ie-neps-dispensation.html#urn-uuid-ed1c73da-6ab4-5f8f-ae01-a875c2a28c78\">FI-RX-2025-NEPS-001</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>: 60 tablets<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code{tablet} = '{tablet}')</span></p><p><b>daysSupply</b>: 30 days<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM coded = 'd')</span></p><p><b>whenHandedOver</b>: 2025-08-01 14:00:00+0100</p><p><b>note</b>: </p><blockquote><div><p>NePS routed dispensation — Finnish prescription mapped to HPRA product. Dispensed as per original Finnish prescription requirements.</p>\n</div></blockquote><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>Take one 500mg tablet twice daily with meals</td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td></tr></table></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded",
"valueDateTime" : "2025-08-01T14:00:00+01:00"
}
],
"identifier" : [
{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:uuid:e4ab1574-b3d5-539e-b57f-38b598a60419"
},
{
"value" : "FI-RX-2025-NEPS-001",
"assigner" : {
"display" : "Issuing authority in Finland (illustrative)"
}
}
],
"status" : "completed",
"medicationReference" : {
"reference" : "urn:uuid:c8ecad95-cec8-56b9-82ed-2292c322b017",
"display" : "Metformin 500mg tablets"
},
"subject" : {
"reference" : "urn:uuid:9c0fc75e-f162-5b77-884e-fcfd665ae2c7",
"display" : "Mikko Korhonen"
},
"performer" : [
{
"actor" : {
"reference" : "urn:uuid:e9a467c2-26d3-565b-b397-b5e1ebab2d80",
"display" : "Hickey's Pharmacy"
}
}
],
"authorizingPrescription" : [
{
"reference" : "urn:uuid:ed1c73da-6ab4-5f8f-ae01-a875c2a28c78",
"display" : "FI-RX-2025-NEPS-001"
}
],
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "DF",
"display" : "Daily Fill"
}
]
},
"quantity" : {
"value" : 60,
"unit" : "tablets",
"system" : "http://unitsofmeasure.org",
"code" : "{tablet}"
},
"daysSupply" : {
"value" : 30,
"unit" : "days",
"system" : "http://unitsofmeasure.org",
"code" : "d"
},
"whenHandedOver" : "2025-08-01T14:00:00+01:00",
"note" : [
{
"text" : "NePS routed dispensation — Finnish prescription mapped to HPRA product. Dispensed as per original Finnish prescription requirements."
}
],
"dosageInstruction" : [
{
"text" : "Take one 500mg tablet twice daily with meals"
}
],
"substitution" : {
"wasSubstituted" : false
}
}
},
{
"fullUrl" : "urn:uuid:c8ecad95-cec8-56b9-82ed-2292c322b017",
"resource" : {
"resourceType" : "Medication",
"id" : "med-ie-dispense-fi-rx",
"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-ie-dispense-fi-rx\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication med-ie-dispense-fi-rx</b></p><a name=\"med-ie-dispense-fi-rx\"> </a><a name=\"hcmed-ie-dispense-fi-rx\"> </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 372567009}\">Metformin 500mg tablets</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 372567009}\">Metformin</span></td><td>true</td></tr></table></div>"
},
"code" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "372567009",
"display" : "Metformin"
}
],
"text" : "Metformin 500mg tablets"
},
"ingredient" : [
{
"itemCodeableConcept" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "372567009",
"display" : "Metformin"
}
]
},
"isActive" : true
}
]
}
},
{
"fullUrl" : "urn:uuid:7d57c2a4-0b49-5200-bb9e-aa4c575fe370",
"resource" : {
"resourceType" : "Medication",
"id" : "med-fi-original-rx",
"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-fi-original-rx\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication med-fi-original-rx</b></p><a name=\"med-fi-original-rx\"> </a><a name=\"hcmed-fi-original-rx\"> </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 372567009}, {http://www.whocc.no/atc A10BA02}\">Metformin 500mg tablets (FI → IE mapping via NePS)</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 372567009}\">Metformin</span></td><td>true</td></tr></table></div>"
},
"code" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "372567009",
"display" : "Metformin"
},
{
"system" : "http://www.whocc.no/atc",
"code" : "A10BA02",
"display" : "Metformin"
}
],
"text" : "Metformin 500mg tablets (FI → IE mapping via NePS)"
},
"ingredient" : [
{
"itemCodeableConcept" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "372567009",
"display" : "Metformin"
}
]
},
"isActive" : true
}
]
}
}
]
}