{
  "resourceType" : "Bundle",
  "id" : "ie-bundle-scenario4-ie-to-es-crossborder",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/StructureDefinition/Bundle"]
  },
  "type" : "collection",
  "timestamp" : "2024-07-28T11:45:00+02:00",
  "entry" : [{
    "fullUrl" : "urn:uuid:5128c91f-9848-524c-8050-006241d8508b",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "patient-ciaran-walsh",
      "meta" : {
        "profile" : ["https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-eprescription"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_patient-ciaran-walsh\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-ciaran-walsh</b></p><a name=\"patient-ciaran-walsh\"> </a><a name=\"hcpatient-ciaran-walsh\"> </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-patient-eprescription.html\">IE MPD Patient (ePrescription/eDispensation)</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Ciarán Seamus Walsh (official) Male, DoB: 1968-11-03 ( National unique individual identifier: IEMpdNamingSystemIHI#210000000055667788)</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\">Patient's Medicare number/8765432C</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+353876543210\">+353 87 654 3210</a></li><li>22 Clontarf Road Dublin Dublin D03 YP78 IE (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{urn:ietf:bcp:47 en}\">English</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"
          }]
        },
        "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/ihi",
        "value" : "210000000055667788"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MC"
          }]
        },
        "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/gms",
        "value" : "8765432C"
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "family" : "Walsh",
        "given" : ["Ciarán",
        "Seamus"],
        "prefix" : ["Mr."]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "+353 87 654 3210",
        "use" : "mobile"
      }],
      "gender" : "male",
      "birthDate" : "1968-11-03",
      "address" : [{
        "use" : "home",
        "line" : ["22 Clontarf Road"],
        "city" : "Dublin",
        "state" : "Dublin",
        "postalCode" : "D03 YP78",
        "country" : "IE"
      }],
      "communication" : [{
        "language" : {
          "coding" : [{
            "system" : "urn:ietf:bcp:47",
            "code" : "en",
            "display" : "English"
          }]
        },
        "preferred" : true
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:30f2ac6d-a312-55a8-8960-b779170c7460",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "practitioner-sarah-obrien",
      "meta" : {
        "profile" : ["https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitioner"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_practitioner-sarah-obrien\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner practitioner-sarah-obrien</b></p><a name=\"practitioner-sarah-obrien\"> </a><a name=\"hcpractitioner-sarah-obrien\"> </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-practitioner.html\">IE MPD Practitioner</a></p></div><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>/IMC-12345</p><p><b>active</b>: true</p><p><b>name</b>: Sarah O'Brien (Official)</p><p><b>address</b>: James's Street Dublin IE (work)</p><p><b>gender</b>: Female</p></div>"
      },
      "identifier" : [{
        "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/imc",
        "value" : "IMC-12345"
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "family" : "O'Brien",
        "given" : ["Sarah"],
        "prefix" : ["Dr."]
      }],
      "address" : [{
        "use" : "work",
        "line" : ["James's Street"],
        "city" : "Dublin",
        "country" : "IE"
      }],
      "gender" : "female"
    }
  },
  {
    "fullUrl" : "urn:uuid:047be684-9ddc-56f3-8488-3894438cbecb",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "org-ie-sjh",
      "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-sjh\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization org-ie-sjh</b></p><a name=\"org-ie-sjh\"> </a><a name=\"hcorg-ie-sjh\"> </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>: St. James's Hospital</p><p><b>address</b>: James's Street Dublin IE (work)</p></div>"
      },
      "active" : true,
      "name" : "St. James's Hospital",
      "address" : [{
        "use" : "work",
        "line" : ["James's Street"],
        "city" : "Dublin",
        "country" : "IE"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:2fe0f44e-0668-55af-8a5b-c2de75bca61b",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "org-es-farmacia-america",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_org-es-farmacia-america\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization org-es-farmacia-america</b></p><a name=\"org-es-farmacia-america\"> </a><a name=\"hcorg-es-farmacia-america\"> </a><p><b>identifier</b>: ES-OF-28-009876</p><p><b>active</b>: true</p><p><b>name</b>: Farmacia Avenida de América</p><p><b>telecom</b>: <a href=\"tel:+34915553456\">+34 91 555 3456</a></p><p><b>address</b>: Avenida de América 34 Madrid 28028 ES (work)</p></div>"
      },
      "identifier" : [{
        "value" : "ES-OF-28-009876",
        "assigner" : {
          "display" : "Issuing authority in Spain (illustrative)"
        }
      }],
      "active" : true,
      "name" : "Farmacia Avenida de América",
      "telecom" : [{
        "system" : "phone",
        "value" : "+34 91 555 3456",
        "use" : "work"
      }],
      "address" : [{
        "use" : "work",
        "line" : ["Avenida de América 34"],
        "city" : "Madrid",
        "postalCode" : "28028",
        "country" : "ES"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:22f7b54c-f251-52fa-a537-2f210b14bac6",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "practitioner-es-pharmacist-vega",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_practitioner-es-pharmacist-vega\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner practitioner-es-pharmacist-vega</b></p><a name=\"practitioner-es-pharmacist-vega\"> </a><a name=\"hcpractitioner-es-pharmacist-vega\"> </a><p><b>identifier</b>: ES-CF-28-005678</p><p><b>active</b>: true</p><p><b>name</b>: Carmen Vega Soto (Official)</p><p><b>address</b>: Avenida de América 34 Madrid ES (work)</p><p><b>gender</b>: Female</p></div>"
      },
      "identifier" : [{
        "value" : "ES-CF-28-005678",
        "assigner" : {
          "display" : "Issuing authority in Spain (illustrative)"
        }
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "family" : "Vega Soto",
        "given" : ["Carmen"],
        "prefix" : ["Dra."]
      }],
      "address" : [{
        "use" : "work",
        "line" : ["Avenida de América 34"],
        "city" : "Madrid",
        "country" : "ES"
      }],
      "gender" : "female"
    }
  },
  {
    "fullUrl" : "urn:uuid:163dc720-e227-50da-9071-5caed63e9759",
    "resource" : {
      "resourceType" : "Medication",
      "id" : "medication-amlodipine-5",
      "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_medication-amlodipine-5\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication medication-amlodipine-5</b></p><a name=\"medication-amlodipine-5\"> </a><a name=\"hcmedication-amlodipine-5\"> </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 386864001}\">Amlodipine 5mg tablets</span></p><p><b>form</b>: <span title=\"Codes:{http://snomed.info/sct 385055001}\">Tablet</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><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 386864001}\">Amlodipine</span></td><td>true</td><td>5 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 tablet<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{tablet} = '{tablet}')</span></td></tr></table></div>"
      },
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "386864001",
          "display" : "Amlodipine"
        }],
        "text" : "Amlodipine 5mg tablets"
      },
      "form" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "385055001",
          "display" : "Tablet"
        }]
      },
      "ingredient" : [{
        "itemCodeableConcept" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "386864001",
            "display" : "Amlodipine"
          }]
        },
        "isActive" : true,
        "strength" : {
          "numerator" : {
            "value" : 5,
            "unit" : "mg",
            "system" : "http://unitsofmeasure.org",
            "code" : "mg"
          },
          "denominator" : {
            "value" : 1,
            "unit" : "tablet",
            "system" : "http://unitsofmeasure.org",
            "code" : "{tablet}"
          }
        }
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:9922954c-8e42-596b-92fc-429233948c71",
    "resource" : {
      "resourceType" : "MedicationRequest",
      "id" : "prescription-ie-to-es",
      "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_prescription-ie-to-es\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest prescription-ie-to-es</b></p><a name=\"prescription-ie-to-es\"> </a><a name=\"hcprescription-ie-to-es\"> </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-2024-004001, <code>urn:oid:2.16.840.1.113883.19.1.4.1</code>/IE-EHIC-XB-2024-004001</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category community}\">Community</span></p><p><b>medication</b>: <a href=\"Bundle-ie-bundle-scenario4-ie-to-es-crossborder.html#urn-uuid-163dc720-e227-50da-9071-5caed63e9759\">Medication Amlodipine</a></p><p><b>subject</b>: <a href=\"Bundle-ie-bundle-scenario4-ie-to-es-crossborder.html#urn-uuid-5128c91f-9848-524c-8050-006241d8508b\">Ciarán Walsh</a></p><p><b>authoredOn</b>: 2024-07-10</p><p><b>requester</b>: <a href=\"Bundle-ie-bundle-scenario1-full-dispense.html#urn-uuid-30f2ac6d-a312-55a8-8960-b779170c7460\">Dr. Sarah O'Brien</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 38341003}\">Hypertensive disorder</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take one 5mg tablet once daily</p><p><b>timing</b>: Once 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>5 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span></td></tr></table></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: 2024-07-10 --&gt; 2024-10-10</p><p><b>numberOfRepeatsAllowed</b>: 2</p><p><b>quantity</b>: 30 tablets<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{tablet} = '{tablet}')</span></p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>30</td><td>days</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-v3-ucum.html\">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote><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" : "PCRS-RX-2024-004001"
      },
      {
        "system" : "urn:oid:2.16.840.1.113883.19.1.4.1",
        "value" : "IE-EHIC-XB-2024-004001"
      }],
      "status" : "active",
      "intent" : "order",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
          "code" : "community",
          "display" : "Community"
        }]
      }],
      "medicationReference" : {
        "reference" : "urn:uuid:163dc720-e227-50da-9071-5caed63e9759"
      },
      "subject" : {
        "reference" : "urn:uuid:5128c91f-9848-524c-8050-006241d8508b",
        "display" : "Ciarán Walsh"
      },
      "authoredOn" : "2024-07-10",
      "requester" : {
        "reference" : "urn:uuid:30f2ac6d-a312-55a8-8960-b779170c7460",
        "display" : "Dr. Sarah O'Brien"
      },
      "reasonCode" : [{
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "38341003",
          "display" : "Hypertensive disorder"
        }]
      }],
      "dosageInstruction" : [{
        "text" : "Take one 5mg tablet once daily",
        "timing" : {
          "repeat" : {
            "frequency" : 1,
            "period" : 1,
            "periodUnit" : "d"
          }
        },
        "route" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "26643006",
            "display" : "Oral route"
          }]
        },
        "doseAndRate" : [{
          "doseQuantity" : {
            "value" : 5,
            "unit" : "mg",
            "system" : "http://unitsofmeasure.org",
            "code" : "mg"
          }
        }]
      }],
      "dispenseRequest" : {
        "validityPeriod" : {
          "start" : "2024-07-10",
          "end" : "2024-10-10"
        },
        "numberOfRepeatsAllowed" : 2,
        "quantity" : {
          "value" : 30,
          "unit" : "tablets",
          "system" : "http://unitsofmeasure.org",
          "code" : "{tablet}"
        },
        "expectedSupplyDuration" : {
          "value" : 30,
          "unit" : "days",
          "system" : "http://unitsofmeasure.org",
          "code" : "d"
        }
      },
      "substitution" : {
        "allowedBoolean" : true
      }
    }
  },
  {
    "fullUrl" : "urn:uuid:7376a65d-9562-58b7-a3b6-a82ecd112d81",
    "resource" : {
      "resourceType" : "MedicationDispense",
      "id" : "dispense-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\"><a name=\"MedicationDispense_dispense-es-pharmacy\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense dispense-es-pharmacy</b></p><a name=\"dispense-es-pharmacy\"> </a><a name=\"hcdispense-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=\"Bundle-ie-bundle-scenario4-ie-to-es-crossborder.html#urn-uuid-163dc720-e227-50da-9071-5caed63e9759\">Medication Amlodipine</a></p><p><b>subject</b>: <a href=\"Bundle-ie-bundle-scenario4-ie-to-es-crossborder.html#urn-uuid-5128c91f-9848-524c-8050-006241d8508b\">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=\"Bundle-ie-bundle-scenario4-ie-to-es-crossborder.html#urn-uuid-22f7b54c-f251-52fa-a537-2f210b14bac6\">Dra. Carmen Vega Soto</a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"Bundle-ie-bundle-scenario4-ie-to-es-crossborder.html#urn-uuid-9922954c-8e42-596b-92fc-429233948c71\">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 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>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=\"Bundle-ie-bundle-scenario4-ie-to-es-crossborder.html#urn-uuid-22f7b54c-f251-52fa-a537-2f210b14bac6\">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" : "urn:uuid:163dc720-e227-50da-9071-5caed63e9759"
      },
      "subject" : {
        "reference" : "urn:uuid:5128c91f-9848-524c-8050-006241d8508b",
        "display" : "Ciarán Walsh"
      },
      "performer" : [{
        "actor" : {
          "reference" : "urn:uuid:22f7b54c-f251-52fa-a537-2f210b14bac6",
          "display" : "Dra. Carmen Vega Soto"
        }
      }],
      "authorizingPrescription" : [{
        "reference" : "urn:uuid:9922954c-8e42-596b-92fc-429233948c71",
        "display" : "PCRS-RX-2024-004001"
      }],
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "DF",
          "display" : "Daily Fill"
        }]
      },
      "quantity" : {
        "value" : 30,
        "unit" : "tablets",
        "system" : "http://unitsofmeasure.org",
        "code" : "{tablet}"
      },
      "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",
            "code" : "373873005",
            "display" : "Pharmaceutical / biologic product"
          }]
        }],
        "responsibleParty" : [{
          "reference" : "urn:uuid:22f7b54c-f251-52fa-a537-2f210b14bac6",
          "display" : "Dra. Carmen Vega Soto"
        }]
      }
    }
  }]
}