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

Resource Profile: IE MPD Bundle (ePrescription, cross-border)

Official URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-bundle-eprescription-crossborder Version: 0.1.0
Draft as of 2026-09-28 Computable Name: IEMpdBundleEPrescriptionCrossBorder

An ePrescription issued in Ireland to be dispensed in another EU Member State, or issued in another Member State to be dispensed in Ireland. A sender (NePS or the National Contact Point for eHealth) marks a cross-border prescription by claiming this profile in Bundle.meta.profile. No invented tag is used (IE Core ADR-003). It adds the legal requirements HIQA cites for cross-border prescriptions: patient date of birth (EP 1.4.1), prescriber telephone and secure email (EP 2.10.1, 2.10.2), and an electronic signature (EP 2.13).

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* IEMpdBundleEPrescription(0.1.0) Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, ie-bnd-rx-1, ie-bnd-rx-2, ie-bnd-rx-3, ie-bnd-rx-4, ie-bnd-rx-5, ie-bnd-rx-6, ie-bnd-xb-1, ie-bnd-xb-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Persistent identifier for the bundle
... type Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Required Pattern: collection
... Slices for entry SΣC 4..* BackboneElement Entry in the bundle - will have a resource or information
Slice: Unordered, Open by type:resource
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
.... entry:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 1..1 Resource A resource in the bundle
.... entry:patient SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPatientEPrescription(0.1.0) Information about an individual or animal receiving health care services
.... entry:prescriptionItem SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationRequestEPrescription(0.1.0) Ordering of medication for patient or group
.... entry:allergyStatement SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdListAllergiesAtPrescribing(0.1.0) A list is a curated collection of resources
.... entry:allergy SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdAllergyIntolerance(0.1.0) Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
.... entry:practitioner SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitioner(0.1.0) A person with a formal responsibility in the provisioning of healthcare or related services
.... entry:practitionerRole SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitionerRole(0.1.0) Roles/organizations the practitioner is associated with
.... entry:organization SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdOrganization(0.1.0) A grouping of people or organizations with a common purpose
.... entry:medication SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationEPrescription(0.1.0) Definition of a Medication
.... entry:signature SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdProvenanceEPrescriptionSignature(0.1.0) Who, What, When for a set of resources

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Bundle.type Base required BundleType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10 error Bundle A document must have a date type = 'document' implies (timestamp.hasValue())
bdl-11 error Bundle A document must have a Composition as the first resource type = 'document' implies entry.first().resource.is(Composition)
bdl-12 error Bundle A message must have a MessageHeader as the first resource type = 'message' implies entry.first().resource.is(MessageHeader)
ele-1 error Bundle.implicitRules, Bundle.identifier, Bundle.type, Bundle.timestamp, Bundle.entry, Bundle.entry.modifierExtension, Bundle.entry.fullUrl, Bundle.entry:patient, Bundle.entry:patient.modifierExtension, Bundle.entry:patient.fullUrl, Bundle.entry:prescriptionItem, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:prescriptionItem.fullUrl, Bundle.entry:allergyStatement, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergyStatement.fullUrl, Bundle.entry:allergy, Bundle.entry:allergy.modifierExtension, Bundle.entry:allergy.fullUrl, Bundle.entry:practitioner, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitioner.fullUrl, Bundle.entry:practitionerRole, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:practitionerRole.fullUrl, Bundle.entry:organization, Bundle.entry:organization.modifierExtension, Bundle.entry:organization.fullUrl, Bundle.entry:medication, Bundle.entry:medication.modifierExtension, Bundle.entry:medication.fullUrl, Bundle.entry:signature, Bundle.entry:signature.modifierExtension, Bundle.entry:signature.fullUrl All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Bundle.entry.modifierExtension, Bundle.entry:patient.modifierExtension, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergy.modifierExtension, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:organization.modifierExtension, Bundle.entry:medication.modifierExtension, Bundle.entry:signature.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
ie-bnd-rx-1 error Bundle A multi-item prescription SHALL share one group identifier (system and value) across all its items (HIQA EP 3.1) entry.resource.ofType(MedicationRequest).count() <= 1 or (entry.resource.ofType(MedicationRequest).all(groupIdentifier.exists()) and entry.resource.ofType(MedicationRequest).select(groupIdentifier.system + '|' + groupIdentifier.value).distinct().count() = 1)
ie-bnd-rx-2 error Bundle Every prescription item SHALL reference the allergy statement (a List coded LOINC 48765-2) in supportingInformation (HIQA EP 1.6.1 / 1.6.2) entry.resource.ofType(MedicationRequest).all(supportingInformation.where(resolve() is List and resolve().code.coding.where(system = 'http://loinc.org' and code = '48765-2').exists()).exists())
ie-bnd-rx-3 error Bundle If the patient is under 12 years old at the date of prescribing, or the date of birth is not a full date, every prescription item SHALL record the patient's age (HIQA EP 1.4.2; a legal requirement) entry.resource.ofType(MedicationRequest).all(extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing').exists() or ((%resource.entry.resource.ofType(Patient).first().birthDate.toString().length() = 10) and ((%resource.entry.resource.ofType(Patient).first().birthDate + 12 years).toString() <= authoredOn.toString().substring(0,10))))
ie-bnd-rx-4 error Bundle The prescriber (the requester, its practitioner, or its organisation) SHALL have a telephone number (HIQA EP 2.10 / 2.10.1, Mandatory) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'phone').exists())
ie-bnd-rx-5 error Bundle Every prescription item, the allergy statement and every allergy SHALL be about the one Patient in the Bundle (patient safety: the allergy statement must be the patient's own) (entry.resource.ofType(MedicationRequest).subject.reference | entry.resource.ofType(List).subject.reference | entry.resource.ofType(AllergyIntolerance).patient.reference).all(($this = %resource.entry.where(resource is Patient).fullUrl) or ($this = ('Patient/' + %resource.entry.resource.ofType(Patient).id)))
ie-bnd-rx-6 error Bundle Every allergy listed in the allergy statement SHALL be included in the Bundle (HIQA EP 1.6.2) entry.resource.ofType(List).entry.item.reference.all(($this in %resource.entry.fullUrl) or ($this.replace('AllergyIntolerance/', '') in %resource.entry.resource.ofType(AllergyIntolerance).id))
ie-bnd-xb-1 error Bundle A cross-border prescription SHALL give a secure contact email for the prescriber (the requester, its practitioner, or its organisation) (HIQA EP 2.10.2; a legal requirement cross-border) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'email').exists())
ie-bnd-xb-2 error Bundle A cross-border prescription SHALL carry a prescriber signature covering every prescription item, referenced by fullUrl or by relative reference (HIQA EP 2.13; a legal requirement) entry.where(resource is MedicationRequest).all((fullUrl in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference) or (('MedicationRequest/' + resource.id) in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference))

This structure is derived from IEMpdBundleEPrescription

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* IEMpdBundleEPrescription(0.1.0) Contains a collection of resources
... entry 4..* BackboneElement Entry in the bundle - will have a resource or information
... Slices for entry Content/Rules for all slices
.... entry:signature 1..* BackboneElement Entry in the bundle - will have a resource or information

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ie-bnd-xb-1 error Bundle A cross-border prescription SHALL give a secure contact email for the prescriber (the requester, its practitioner, or its organisation) (HIQA EP 2.10.2; a legal requirement cross-border) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'email').exists())
ie-bnd-xb-2 error Bundle A cross-border prescription SHALL carry a prescriber signature covering every prescription item, referenced by fullUrl or by relative reference (HIQA EP 2.13; a legal requirement) entry.where(resource is MedicationRequest).all((fullUrl in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference) or (('MedicationRequest/' + resource.id) in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference))
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* IEMpdBundleEPrescription(0.1.0) Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, ie-bnd-rx-1, ie-bnd-rx-2, ie-bnd-rx-3, ie-bnd-rx-4, ie-bnd-rx-5, ie-bnd-rx-6, ie-bnd-xb-1, ie-bnd-xb-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Persistent identifier for the bundle
... type Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Required Pattern: collection
... timestamp SΣ 1..1 instant When the bundle was assembled
... total ΣC 0..1 unsignedInt If search, the total number of matches
... link Σ 0..* BackboneElement Links related to this Bundle
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... relation Σ 1..1 string See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
.... url Σ 1..1 uri Reference details for the link
... Slices for entry SΣC 4..* BackboneElement Entry in the bundle - will have a resource or information
Slice: Unordered, Open by type:resource
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
.... entry:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 1..1 Resource A resource in the bundle
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:patient SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPatientEPrescription(0.1.0) Information about an individual or animal receiving health care services
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:prescriptionItem SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationRequestEPrescription(0.1.0) Ordering of medication for patient or group
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:allergyStatement SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdListAllergiesAtPrescribing(0.1.0) A list is a curated collection of resources
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:allergy SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdAllergyIntolerance(0.1.0) Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:practitioner SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitioner(0.1.0) A person with a formal responsibility in the provisioning of healthcare or related services
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:practitionerRole SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitionerRole(0.1.0) Roles/organizations the practitioner is associated with
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:organization SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdOrganization(0.1.0) A grouping of people or organizations with a common purpose
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:medication SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationEPrescription(0.1.0) Definition of a Medication
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:signature SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdProvenanceEPrescriptionSignature(0.1.0) Who, What, When for a set of resources
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
... signature Σ 0..1 Signature Digital Signature

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Bundle.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Bundle.type Base required BundleType 📍4.0.1 FHIR Std.
Bundle.entry.search.​mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:patient.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:patient.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:prescriptionItem.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:prescriptionItem.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:allergyStatement.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:allergyStatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:allergy.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:allergy.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitioner.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:practitioner.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitionerRole.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:practitionerRole.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:organization.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:organization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medication.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:medication.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:signature.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:signature.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10 error Bundle A document must have a date type = 'document' implies (timestamp.hasValue())
bdl-11 error Bundle A document must have a Composition as the first resource type = 'document' implies entry.first().resource.is(Composition)
bdl-12 error Bundle A message must have a MessageHeader as the first resource type = 'message' implies entry.first().resource.is(MessageHeader)
ele-1 error Bundle.meta, Bundle.implicitRules, Bundle.language, Bundle.identifier, Bundle.type, Bundle.timestamp, Bundle.total, Bundle.link, Bundle.link.extension, Bundle.link.modifierExtension, Bundle.link.relation, Bundle.link.url, Bundle.entry, Bundle.entry.extension, Bundle.entry.modifierExtension, Bundle.entry.link, Bundle.entry.fullUrl, Bundle.entry.search, Bundle.entry.search.extension, Bundle.entry.search.modifierExtension, Bundle.entry.search.mode, Bundle.entry.search.score, Bundle.entry.request, Bundle.entry.request.extension, Bundle.entry.request.modifierExtension, Bundle.entry.request.method, Bundle.entry.request.url, Bundle.entry.request.ifNoneMatch, Bundle.entry.request.ifModifiedSince, Bundle.entry.request.ifMatch, Bundle.entry.request.ifNoneExist, Bundle.entry.response, Bundle.entry.response.extension, Bundle.entry.response.modifierExtension, Bundle.entry.response.status, Bundle.entry.response.location, Bundle.entry.response.etag, Bundle.entry.response.lastModified, Bundle.entry:patient, Bundle.entry:patient.extension, Bundle.entry:patient.modifierExtension, Bundle.entry:patient.link, Bundle.entry:patient.fullUrl, Bundle.entry:patient.search, Bundle.entry:patient.search.extension, Bundle.entry:patient.search.modifierExtension, Bundle.entry:patient.search.mode, Bundle.entry:patient.search.score, Bundle.entry:patient.request, Bundle.entry:patient.request.extension, Bundle.entry:patient.request.modifierExtension, Bundle.entry:patient.request.method, Bundle.entry:patient.request.url, Bundle.entry:patient.request.ifNoneMatch, Bundle.entry:patient.request.ifModifiedSince, Bundle.entry:patient.request.ifMatch, Bundle.entry:patient.request.ifNoneExist, Bundle.entry:patient.response, Bundle.entry:patient.response.extension, Bundle.entry:patient.response.modifierExtension, Bundle.entry:patient.response.status, Bundle.entry:patient.response.location, Bundle.entry:patient.response.etag, Bundle.entry:patient.response.lastModified, Bundle.entry:prescriptionItem, Bundle.entry:prescriptionItem.extension, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:prescriptionItem.link, Bundle.entry:prescriptionItem.fullUrl, Bundle.entry:prescriptionItem.search, Bundle.entry:prescriptionItem.search.extension, Bundle.entry:prescriptionItem.search.modifierExtension, Bundle.entry:prescriptionItem.search.mode, Bundle.entry:prescriptionItem.search.score, Bundle.entry:prescriptionItem.request, Bundle.entry:prescriptionItem.request.extension, Bundle.entry:prescriptionItem.request.modifierExtension, Bundle.entry:prescriptionItem.request.method, Bundle.entry:prescriptionItem.request.url, Bundle.entry:prescriptionItem.request.ifNoneMatch, Bundle.entry:prescriptionItem.request.ifModifiedSince, Bundle.entry:prescriptionItem.request.ifMatch, Bundle.entry:prescriptionItem.request.ifNoneExist, Bundle.entry:prescriptionItem.response, Bundle.entry:prescriptionItem.response.extension, Bundle.entry:prescriptionItem.response.modifierExtension, Bundle.entry:prescriptionItem.response.status, Bundle.entry:prescriptionItem.response.location, Bundle.entry:prescriptionItem.response.etag, Bundle.entry:prescriptionItem.response.lastModified, Bundle.entry:allergyStatement, Bundle.entry:allergyStatement.extension, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergyStatement.link, Bundle.entry:allergyStatement.fullUrl, Bundle.entry:allergyStatement.search, Bundle.entry:allergyStatement.search.extension, Bundle.entry:allergyStatement.search.modifierExtension, Bundle.entry:allergyStatement.search.mode, Bundle.entry:allergyStatement.search.score, Bundle.entry:allergyStatement.request, Bundle.entry:allergyStatement.request.extension, Bundle.entry:allergyStatement.request.modifierExtension, Bundle.entry:allergyStatement.request.method, Bundle.entry:allergyStatement.request.url, Bundle.entry:allergyStatement.request.ifNoneMatch, Bundle.entry:allergyStatement.request.ifModifiedSince, Bundle.entry:allergyStatement.request.ifMatch, Bundle.entry:allergyStatement.request.ifNoneExist, Bundle.entry:allergyStatement.response, Bundle.entry:allergyStatement.response.extension, Bundle.entry:allergyStatement.response.modifierExtension, Bundle.entry:allergyStatement.response.status, Bundle.entry:allergyStatement.response.location, Bundle.entry:allergyStatement.response.etag, Bundle.entry:allergyStatement.response.lastModified, Bundle.entry:allergy, Bundle.entry:allergy.extension, Bundle.entry:allergy.modifierExtension, Bundle.entry:allergy.link, Bundle.entry:allergy.fullUrl, Bundle.entry:allergy.search, Bundle.entry:allergy.search.extension, Bundle.entry:allergy.search.modifierExtension, Bundle.entry:allergy.search.mode, Bundle.entry:allergy.search.score, Bundle.entry:allergy.request, Bundle.entry:allergy.request.extension, Bundle.entry:allergy.request.modifierExtension, Bundle.entry:allergy.request.method, Bundle.entry:allergy.request.url, Bundle.entry:allergy.request.ifNoneMatch, Bundle.entry:allergy.request.ifModifiedSince, Bundle.entry:allergy.request.ifMatch, Bundle.entry:allergy.request.ifNoneExist, Bundle.entry:allergy.response, Bundle.entry:allergy.response.extension, Bundle.entry:allergy.response.modifierExtension, Bundle.entry:allergy.response.status, Bundle.entry:allergy.response.location, Bundle.entry:allergy.response.etag, Bundle.entry:allergy.response.lastModified, Bundle.entry:practitioner, Bundle.entry:practitioner.extension, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitioner.link, Bundle.entry:practitioner.fullUrl, Bundle.entry:practitioner.search, Bundle.entry:practitioner.search.extension, Bundle.entry:practitioner.search.modifierExtension, Bundle.entry:practitioner.search.mode, Bundle.entry:practitioner.search.score, Bundle.entry:practitioner.request, Bundle.entry:practitioner.request.extension, Bundle.entry:practitioner.request.modifierExtension, Bundle.entry:practitioner.request.method, Bundle.entry:practitioner.request.url, Bundle.entry:practitioner.request.ifNoneMatch, Bundle.entry:practitioner.request.ifModifiedSince, Bundle.entry:practitioner.request.ifMatch, Bundle.entry:practitioner.request.ifNoneExist, Bundle.entry:practitioner.response, Bundle.entry:practitioner.response.extension, Bundle.entry:practitioner.response.modifierExtension, Bundle.entry:practitioner.response.status, Bundle.entry:practitioner.response.location, Bundle.entry:practitioner.response.etag, Bundle.entry:practitioner.response.lastModified, Bundle.entry:practitionerRole, Bundle.entry:practitionerRole.extension, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:practitionerRole.link, Bundle.entry:practitionerRole.fullUrl, Bundle.entry:practitionerRole.search, Bundle.entry:practitionerRole.search.extension, Bundle.entry:practitionerRole.search.modifierExtension, Bundle.entry:practitionerRole.search.mode, Bundle.entry:practitionerRole.search.score, Bundle.entry:practitionerRole.request, Bundle.entry:practitionerRole.request.extension, Bundle.entry:practitionerRole.request.modifierExtension, Bundle.entry:practitionerRole.request.method, Bundle.entry:practitionerRole.request.url, Bundle.entry:practitionerRole.request.ifNoneMatch, Bundle.entry:practitionerRole.request.ifModifiedSince, Bundle.entry:practitionerRole.request.ifMatch, Bundle.entry:practitionerRole.request.ifNoneExist, Bundle.entry:practitionerRole.response, Bundle.entry:practitionerRole.response.extension, Bundle.entry:practitionerRole.response.modifierExtension, Bundle.entry:practitionerRole.response.status, Bundle.entry:practitionerRole.response.location, Bundle.entry:practitionerRole.response.etag, Bundle.entry:practitionerRole.response.lastModified, Bundle.entry:organization, Bundle.entry:organization.extension, Bundle.entry:organization.modifierExtension, Bundle.entry:organization.link, Bundle.entry:organization.fullUrl, Bundle.entry:organization.search, Bundle.entry:organization.search.extension, Bundle.entry:organization.search.modifierExtension, Bundle.entry:organization.search.mode, Bundle.entry:organization.search.score, Bundle.entry:organization.request, Bundle.entry:organization.request.extension, Bundle.entry:organization.request.modifierExtension, Bundle.entry:organization.request.method, Bundle.entry:organization.request.url, Bundle.entry:organization.request.ifNoneMatch, Bundle.entry:organization.request.ifModifiedSince, Bundle.entry:organization.request.ifMatch, Bundle.entry:organization.request.ifNoneExist, Bundle.entry:organization.response, Bundle.entry:organization.response.extension, Bundle.entry:organization.response.modifierExtension, Bundle.entry:organization.response.status, Bundle.entry:organization.response.location, Bundle.entry:organization.response.etag, Bundle.entry:organization.response.lastModified, Bundle.entry:medication, Bundle.entry:medication.extension, Bundle.entry:medication.modifierExtension, Bundle.entry:medication.link, Bundle.entry:medication.fullUrl, Bundle.entry:medication.search, Bundle.entry:medication.search.extension, Bundle.entry:medication.search.modifierExtension, Bundle.entry:medication.search.mode, Bundle.entry:medication.search.score, Bundle.entry:medication.request, Bundle.entry:medication.request.extension, Bundle.entry:medication.request.modifierExtension, Bundle.entry:medication.request.method, Bundle.entry:medication.request.url, Bundle.entry:medication.request.ifNoneMatch, Bundle.entry:medication.request.ifModifiedSince, Bundle.entry:medication.request.ifMatch, Bundle.entry:medication.request.ifNoneExist, Bundle.entry:medication.response, Bundle.entry:medication.response.extension, Bundle.entry:medication.response.modifierExtension, Bundle.entry:medication.response.status, Bundle.entry:medication.response.location, Bundle.entry:medication.response.etag, Bundle.entry:medication.response.lastModified, Bundle.entry:signature, Bundle.entry:signature.extension, Bundle.entry:signature.modifierExtension, Bundle.entry:signature.link, Bundle.entry:signature.fullUrl, Bundle.entry:signature.search, Bundle.entry:signature.search.extension, Bundle.entry:signature.search.modifierExtension, Bundle.entry:signature.search.mode, Bundle.entry:signature.search.score, Bundle.entry:signature.request, Bundle.entry:signature.request.extension, Bundle.entry:signature.request.modifierExtension, Bundle.entry:signature.request.method, Bundle.entry:signature.request.url, Bundle.entry:signature.request.ifNoneMatch, Bundle.entry:signature.request.ifModifiedSince, Bundle.entry:signature.request.ifMatch, Bundle.entry:signature.request.ifNoneExist, Bundle.entry:signature.response, Bundle.entry:signature.response.extension, Bundle.entry:signature.response.modifierExtension, Bundle.entry:signature.response.status, Bundle.entry:signature.response.location, Bundle.entry:signature.response.etag, Bundle.entry:signature.response.lastModified, Bundle.signature All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Bundle.link.extension, Bundle.link.modifierExtension, Bundle.entry.extension, Bundle.entry.modifierExtension, Bundle.entry.search.extension, Bundle.entry.search.modifierExtension, Bundle.entry.request.extension, Bundle.entry.request.modifierExtension, Bundle.entry.response.extension, Bundle.entry.response.modifierExtension, Bundle.entry:patient.extension, Bundle.entry:patient.modifierExtension, Bundle.entry:patient.search.extension, Bundle.entry:patient.search.modifierExtension, Bundle.entry:patient.request.extension, Bundle.entry:patient.request.modifierExtension, Bundle.entry:patient.response.extension, Bundle.entry:patient.response.modifierExtension, Bundle.entry:prescriptionItem.extension, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:prescriptionItem.search.extension, Bundle.entry:prescriptionItem.search.modifierExtension, Bundle.entry:prescriptionItem.request.extension, Bundle.entry:prescriptionItem.request.modifierExtension, Bundle.entry:prescriptionItem.response.extension, Bundle.entry:prescriptionItem.response.modifierExtension, Bundle.entry:allergyStatement.extension, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergyStatement.search.extension, Bundle.entry:allergyStatement.search.modifierExtension, Bundle.entry:allergyStatement.request.extension, Bundle.entry:allergyStatement.request.modifierExtension, Bundle.entry:allergyStatement.response.extension, Bundle.entry:allergyStatement.response.modifierExtension, Bundle.entry:allergy.extension, Bundle.entry:allergy.modifierExtension, Bundle.entry:allergy.search.extension, Bundle.entry:allergy.search.modifierExtension, Bundle.entry:allergy.request.extension, Bundle.entry:allergy.request.modifierExtension, Bundle.entry:allergy.response.extension, Bundle.entry:allergy.response.modifierExtension, Bundle.entry:practitioner.extension, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitioner.search.extension, Bundle.entry:practitioner.search.modifierExtension, Bundle.entry:practitioner.request.extension, Bundle.entry:practitioner.request.modifierExtension, Bundle.entry:practitioner.response.extension, Bundle.entry:practitioner.response.modifierExtension, Bundle.entry:practitionerRole.extension, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:practitionerRole.search.extension, Bundle.entry:practitionerRole.search.modifierExtension, Bundle.entry:practitionerRole.request.extension, Bundle.entry:practitionerRole.request.modifierExtension, Bundle.entry:practitionerRole.response.extension, Bundle.entry:practitionerRole.response.modifierExtension, Bundle.entry:organization.extension, Bundle.entry:organization.modifierExtension, Bundle.entry:organization.search.extension, Bundle.entry:organization.search.modifierExtension, Bundle.entry:organization.request.extension, Bundle.entry:organization.request.modifierExtension, Bundle.entry:organization.response.extension, Bundle.entry:organization.response.modifierExtension, Bundle.entry:medication.extension, Bundle.entry:medication.modifierExtension, Bundle.entry:medication.search.extension, Bundle.entry:medication.search.modifierExtension, Bundle.entry:medication.request.extension, Bundle.entry:medication.request.modifierExtension, Bundle.entry:medication.response.extension, Bundle.entry:medication.response.modifierExtension, Bundle.entry:signature.extension, Bundle.entry:signature.modifierExtension, Bundle.entry:signature.search.extension, Bundle.entry:signature.search.modifierExtension, Bundle.entry:signature.request.extension, Bundle.entry:signature.request.modifierExtension, Bundle.entry:signature.response.extension, Bundle.entry:signature.response.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
ie-bnd-rx-1 error Bundle A multi-item prescription SHALL share one group identifier (system and value) across all its items (HIQA EP 3.1) entry.resource.ofType(MedicationRequest).count() <= 1 or (entry.resource.ofType(MedicationRequest).all(groupIdentifier.exists()) and entry.resource.ofType(MedicationRequest).select(groupIdentifier.system + '|' + groupIdentifier.value).distinct().count() = 1)
ie-bnd-rx-2 error Bundle Every prescription item SHALL reference the allergy statement (a List coded LOINC 48765-2) in supportingInformation (HIQA EP 1.6.1 / 1.6.2) entry.resource.ofType(MedicationRequest).all(supportingInformation.where(resolve() is List and resolve().code.coding.where(system = 'http://loinc.org' and code = '48765-2').exists()).exists())
ie-bnd-rx-3 error Bundle If the patient is under 12 years old at the date of prescribing, or the date of birth is not a full date, every prescription item SHALL record the patient's age (HIQA EP 1.4.2; a legal requirement) entry.resource.ofType(MedicationRequest).all(extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing').exists() or ((%resource.entry.resource.ofType(Patient).first().birthDate.toString().length() = 10) and ((%resource.entry.resource.ofType(Patient).first().birthDate + 12 years).toString() <= authoredOn.toString().substring(0,10))))
ie-bnd-rx-4 error Bundle The prescriber (the requester, its practitioner, or its organisation) SHALL have a telephone number (HIQA EP 2.10 / 2.10.1, Mandatory) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'phone').exists())
ie-bnd-rx-5 error Bundle Every prescription item, the allergy statement and every allergy SHALL be about the one Patient in the Bundle (patient safety: the allergy statement must be the patient's own) (entry.resource.ofType(MedicationRequest).subject.reference | entry.resource.ofType(List).subject.reference | entry.resource.ofType(AllergyIntolerance).patient.reference).all(($this = %resource.entry.where(resource is Patient).fullUrl) or ($this = ('Patient/' + %resource.entry.resource.ofType(Patient).id)))
ie-bnd-rx-6 error Bundle Every allergy listed in the allergy statement SHALL be included in the Bundle (HIQA EP 1.6.2) entry.resource.ofType(List).entry.item.reference.all(($this in %resource.entry.fullUrl) or ($this.replace('AllergyIntolerance/', '') in %resource.entry.resource.ofType(AllergyIntolerance).id))
ie-bnd-xb-1 error Bundle A cross-border prescription SHALL give a secure contact email for the prescriber (the requester, its practitioner, or its organisation) (HIQA EP 2.10.2; a legal requirement cross-border) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'email').exists())
ie-bnd-xb-2 error Bundle A cross-border prescription SHALL carry a prescriber signature covering every prescription item, referenced by fullUrl or by relative reference (HIQA EP 2.13; a legal requirement) entry.where(resource is MedicationRequest).all((fullUrl in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference) or (('MedicationRequest/' + resource.id) in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference))

This structure is derived from IEMpdBundleEPrescription

Summary

Mandatory: 1 element

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* IEMpdBundleEPrescription(0.1.0) Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, ie-bnd-rx-1, ie-bnd-rx-2, ie-bnd-rx-3, ie-bnd-rx-4, ie-bnd-rx-5, ie-bnd-rx-6, ie-bnd-xb-1, ie-bnd-xb-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Persistent identifier for the bundle
... type Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Required Pattern: collection
... Slices for entry SΣC 4..* BackboneElement Entry in the bundle - will have a resource or information
Slice: Unordered, Open by type:resource
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
.... entry:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 1..1 Resource A resource in the bundle
.... entry:patient SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPatientEPrescription(0.1.0) Information about an individual or animal receiving health care services
.... entry:prescriptionItem SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationRequestEPrescription(0.1.0) Ordering of medication for patient or group
.... entry:allergyStatement SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdListAllergiesAtPrescribing(0.1.0) A list is a curated collection of resources
.... entry:allergy SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdAllergyIntolerance(0.1.0) Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
.... entry:practitioner SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitioner(0.1.0) A person with a formal responsibility in the provisioning of healthcare or related services
.... entry:practitionerRole SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitionerRole(0.1.0) Roles/organizations the practitioner is associated with
.... entry:organization SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdOrganization(0.1.0) A grouping of people or organizations with a common purpose
.... entry:medication SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationEPrescription(0.1.0) Definition of a Medication
.... entry:signature SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdProvenanceEPrescriptionSignature(0.1.0) Who, What, When for a set of resources

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Bundle.type Base required BundleType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10 error Bundle A document must have a date type = 'document' implies (timestamp.hasValue())
bdl-11 error Bundle A document must have a Composition as the first resource type = 'document' implies entry.first().resource.is(Composition)
bdl-12 error Bundle A message must have a MessageHeader as the first resource type = 'message' implies entry.first().resource.is(MessageHeader)
ele-1 error Bundle.implicitRules, Bundle.identifier, Bundle.type, Bundle.timestamp, Bundle.entry, Bundle.entry.modifierExtension, Bundle.entry.fullUrl, Bundle.entry:patient, Bundle.entry:patient.modifierExtension, Bundle.entry:patient.fullUrl, Bundle.entry:prescriptionItem, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:prescriptionItem.fullUrl, Bundle.entry:allergyStatement, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergyStatement.fullUrl, Bundle.entry:allergy, Bundle.entry:allergy.modifierExtension, Bundle.entry:allergy.fullUrl, Bundle.entry:practitioner, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitioner.fullUrl, Bundle.entry:practitionerRole, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:practitionerRole.fullUrl, Bundle.entry:organization, Bundle.entry:organization.modifierExtension, Bundle.entry:organization.fullUrl, Bundle.entry:medication, Bundle.entry:medication.modifierExtension, Bundle.entry:medication.fullUrl, Bundle.entry:signature, Bundle.entry:signature.modifierExtension, Bundle.entry:signature.fullUrl All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Bundle.entry.modifierExtension, Bundle.entry:patient.modifierExtension, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergy.modifierExtension, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:organization.modifierExtension, Bundle.entry:medication.modifierExtension, Bundle.entry:signature.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
ie-bnd-rx-1 error Bundle A multi-item prescription SHALL share one group identifier (system and value) across all its items (HIQA EP 3.1) entry.resource.ofType(MedicationRequest).count() <= 1 or (entry.resource.ofType(MedicationRequest).all(groupIdentifier.exists()) and entry.resource.ofType(MedicationRequest).select(groupIdentifier.system + '|' + groupIdentifier.value).distinct().count() = 1)
ie-bnd-rx-2 error Bundle Every prescription item SHALL reference the allergy statement (a List coded LOINC 48765-2) in supportingInformation (HIQA EP 1.6.1 / 1.6.2) entry.resource.ofType(MedicationRequest).all(supportingInformation.where(resolve() is List and resolve().code.coding.where(system = 'http://loinc.org' and code = '48765-2').exists()).exists())
ie-bnd-rx-3 error Bundle If the patient is under 12 years old at the date of prescribing, or the date of birth is not a full date, every prescription item SHALL record the patient's age (HIQA EP 1.4.2; a legal requirement) entry.resource.ofType(MedicationRequest).all(extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing').exists() or ((%resource.entry.resource.ofType(Patient).first().birthDate.toString().length() = 10) and ((%resource.entry.resource.ofType(Patient).first().birthDate + 12 years).toString() <= authoredOn.toString().substring(0,10))))
ie-bnd-rx-4 error Bundle The prescriber (the requester, its practitioner, or its organisation) SHALL have a telephone number (HIQA EP 2.10 / 2.10.1, Mandatory) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'phone').exists())
ie-bnd-rx-5 error Bundle Every prescription item, the allergy statement and every allergy SHALL be about the one Patient in the Bundle (patient safety: the allergy statement must be the patient's own) (entry.resource.ofType(MedicationRequest).subject.reference | entry.resource.ofType(List).subject.reference | entry.resource.ofType(AllergyIntolerance).patient.reference).all(($this = %resource.entry.where(resource is Patient).fullUrl) or ($this = ('Patient/' + %resource.entry.resource.ofType(Patient).id)))
ie-bnd-rx-6 error Bundle Every allergy listed in the allergy statement SHALL be included in the Bundle (HIQA EP 1.6.2) entry.resource.ofType(List).entry.item.reference.all(($this in %resource.entry.fullUrl) or ($this.replace('AllergyIntolerance/', '') in %resource.entry.resource.ofType(AllergyIntolerance).id))
ie-bnd-xb-1 error Bundle A cross-border prescription SHALL give a secure contact email for the prescriber (the requester, its practitioner, or its organisation) (HIQA EP 2.10.2; a legal requirement cross-border) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'email').exists())
ie-bnd-xb-2 error Bundle A cross-border prescription SHALL carry a prescriber signature covering every prescription item, referenced by fullUrl or by relative reference (HIQA EP 2.13; a legal requirement) entry.where(resource is MedicationRequest).all((fullUrl in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference) or (('MedicationRequest/' + resource.id) in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference))

Differential View

This structure is derived from IEMpdBundleEPrescription

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* IEMpdBundleEPrescription(0.1.0) Contains a collection of resources
... entry 4..* BackboneElement Entry in the bundle - will have a resource or information
... Slices for entry Content/Rules for all slices
.... entry:signature 1..* BackboneElement Entry in the bundle - will have a resource or information

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ie-bnd-xb-1 error Bundle A cross-border prescription SHALL give a secure contact email for the prescriber (the requester, its practitioner, or its organisation) (HIQA EP 2.10.2; a legal requirement cross-border) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'email').exists())
ie-bnd-xb-2 error Bundle A cross-border prescription SHALL carry a prescriber signature covering every prescription item, referenced by fullUrl or by relative reference (HIQA EP 2.13; a legal requirement) entry.where(resource is MedicationRequest).all((fullUrl in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference) or (('MedicationRequest/' + resource.id) in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference))

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* IEMpdBundleEPrescription(0.1.0) Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, ie-bnd-rx-1, ie-bnd-rx-2, ie-bnd-rx-3, ie-bnd-rx-4, ie-bnd-rx-5, ie-bnd-rx-6, ie-bnd-xb-1, ie-bnd-xb-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Persistent identifier for the bundle
... type Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Required Pattern: collection
... timestamp SΣ 1..1 instant When the bundle was assembled
... total ΣC 0..1 unsignedInt If search, the total number of matches
... link Σ 0..* BackboneElement Links related to this Bundle
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... relation Σ 1..1 string See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
.... url Σ 1..1 uri Reference details for the link
... Slices for entry SΣC 4..* BackboneElement Entry in the bundle - will have a resource or information
Slice: Unordered, Open by type:resource
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
.... entry:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 1..1 Resource A resource in the bundle
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:patient SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPatientEPrescription(0.1.0) Information about an individual or animal receiving health care services
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:prescriptionItem SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationRequestEPrescription(0.1.0) Ordering of medication for patient or group
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:allergyStatement SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdListAllergiesAtPrescribing(0.1.0) A list is a curated collection of resources
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:allergy SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdAllergyIntolerance(0.1.0) Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:practitioner SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitioner(0.1.0) A person with a formal responsibility in the provisioning of healthcare or related services
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:practitionerRole SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdPractitionerRole(0.1.0) Roles/organizations the practitioner is associated with
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:organization SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdOrganization(0.1.0) A grouping of people or organizations with a common purpose
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:medication SΣC 0..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdMedicationEPrescription(0.1.0) Definition of a Medication
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
.... entry:signature SΣC 1..* BackboneElement Entry in the bundle - will have a resource or information
Constraints: bdl-5, bdl-8
This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl Σ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 IEMpdProvenanceEPrescriptionSignature(0.1.0) Who, What, When for a set of resources
..... search ΣC 0..1 BackboneElement Search related information
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... mode Σ 0..1 code match | include | outcome - why this is in the result set
Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
...... score Σ 0..1 decimal Search ranking (between 0 and 1)
..... request ΣC 0..1 BackboneElement Additional execution information (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
...... url Σ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
..... response ΣC 0..1 BackboneElement Results of execution (transaction/batch/history)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
...... status Σ 1..1 string Status response code (text optional)
...... location Σ 0..1 uri The location (if the operation returns a location)
...... etag Σ 0..1 string The Etag for the resource (if relevant)
...... lastModified Σ 0..1 instant Server's date time modified
...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
... signature Σ 0..1 Signature Digital Signature

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Bundle.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Bundle.type Base required BundleType 📍4.0.1 FHIR Std.
Bundle.entry.search.​mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:patient.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:patient.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:prescriptionItem.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:prescriptionItem.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:allergyStatement.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:allergyStatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:allergy.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:allergy.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitioner.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:practitioner.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitionerRole.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:practitionerRole.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:organization.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:organization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medication.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:medication.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:signature.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:signature.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:patient, Bundle.entry:prescriptionItem, Bundle.entry:allergyStatement, Bundle.entry:allergy, Bundle.entry:practitioner, Bundle.entry:practitionerRole, Bundle.entry:organization, Bundle.entry:medication, Bundle.entry:signature fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10 error Bundle A document must have a date type = 'document' implies (timestamp.hasValue())
bdl-11 error Bundle A document must have a Composition as the first resource type = 'document' implies entry.first().resource.is(Composition)
bdl-12 error Bundle A message must have a MessageHeader as the first resource type = 'message' implies entry.first().resource.is(MessageHeader)
ele-1 error Bundle.meta, Bundle.implicitRules, Bundle.language, Bundle.identifier, Bundle.type, Bundle.timestamp, Bundle.total, Bundle.link, Bundle.link.extension, Bundle.link.modifierExtension, Bundle.link.relation, Bundle.link.url, Bundle.entry, Bundle.entry.extension, Bundle.entry.modifierExtension, Bundle.entry.link, Bundle.entry.fullUrl, Bundle.entry.search, Bundle.entry.search.extension, Bundle.entry.search.modifierExtension, Bundle.entry.search.mode, Bundle.entry.search.score, Bundle.entry.request, Bundle.entry.request.extension, Bundle.entry.request.modifierExtension, Bundle.entry.request.method, Bundle.entry.request.url, Bundle.entry.request.ifNoneMatch, Bundle.entry.request.ifModifiedSince, Bundle.entry.request.ifMatch, Bundle.entry.request.ifNoneExist, Bundle.entry.response, Bundle.entry.response.extension, Bundle.entry.response.modifierExtension, Bundle.entry.response.status, Bundle.entry.response.location, Bundle.entry.response.etag, Bundle.entry.response.lastModified, Bundle.entry:patient, Bundle.entry:patient.extension, Bundle.entry:patient.modifierExtension, Bundle.entry:patient.link, Bundle.entry:patient.fullUrl, Bundle.entry:patient.search, Bundle.entry:patient.search.extension, Bundle.entry:patient.search.modifierExtension, Bundle.entry:patient.search.mode, Bundle.entry:patient.search.score, Bundle.entry:patient.request, Bundle.entry:patient.request.extension, Bundle.entry:patient.request.modifierExtension, Bundle.entry:patient.request.method, Bundle.entry:patient.request.url, Bundle.entry:patient.request.ifNoneMatch, Bundle.entry:patient.request.ifModifiedSince, Bundle.entry:patient.request.ifMatch, Bundle.entry:patient.request.ifNoneExist, Bundle.entry:patient.response, Bundle.entry:patient.response.extension, Bundle.entry:patient.response.modifierExtension, Bundle.entry:patient.response.status, Bundle.entry:patient.response.location, Bundle.entry:patient.response.etag, Bundle.entry:patient.response.lastModified, Bundle.entry:prescriptionItem, Bundle.entry:prescriptionItem.extension, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:prescriptionItem.link, Bundle.entry:prescriptionItem.fullUrl, Bundle.entry:prescriptionItem.search, Bundle.entry:prescriptionItem.search.extension, Bundle.entry:prescriptionItem.search.modifierExtension, Bundle.entry:prescriptionItem.search.mode, Bundle.entry:prescriptionItem.search.score, Bundle.entry:prescriptionItem.request, Bundle.entry:prescriptionItem.request.extension, Bundle.entry:prescriptionItem.request.modifierExtension, Bundle.entry:prescriptionItem.request.method, Bundle.entry:prescriptionItem.request.url, Bundle.entry:prescriptionItem.request.ifNoneMatch, Bundle.entry:prescriptionItem.request.ifModifiedSince, Bundle.entry:prescriptionItem.request.ifMatch, Bundle.entry:prescriptionItem.request.ifNoneExist, Bundle.entry:prescriptionItem.response, Bundle.entry:prescriptionItem.response.extension, Bundle.entry:prescriptionItem.response.modifierExtension, Bundle.entry:prescriptionItem.response.status, Bundle.entry:prescriptionItem.response.location, Bundle.entry:prescriptionItem.response.etag, Bundle.entry:prescriptionItem.response.lastModified, Bundle.entry:allergyStatement, Bundle.entry:allergyStatement.extension, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergyStatement.link, Bundle.entry:allergyStatement.fullUrl, Bundle.entry:allergyStatement.search, Bundle.entry:allergyStatement.search.extension, Bundle.entry:allergyStatement.search.modifierExtension, Bundle.entry:allergyStatement.search.mode, Bundle.entry:allergyStatement.search.score, Bundle.entry:allergyStatement.request, Bundle.entry:allergyStatement.request.extension, Bundle.entry:allergyStatement.request.modifierExtension, Bundle.entry:allergyStatement.request.method, Bundle.entry:allergyStatement.request.url, Bundle.entry:allergyStatement.request.ifNoneMatch, Bundle.entry:allergyStatement.request.ifModifiedSince, Bundle.entry:allergyStatement.request.ifMatch, Bundle.entry:allergyStatement.request.ifNoneExist, Bundle.entry:allergyStatement.response, Bundle.entry:allergyStatement.response.extension, Bundle.entry:allergyStatement.response.modifierExtension, Bundle.entry:allergyStatement.response.status, Bundle.entry:allergyStatement.response.location, Bundle.entry:allergyStatement.response.etag, Bundle.entry:allergyStatement.response.lastModified, Bundle.entry:allergy, Bundle.entry:allergy.extension, Bundle.entry:allergy.modifierExtension, Bundle.entry:allergy.link, Bundle.entry:allergy.fullUrl, Bundle.entry:allergy.search, Bundle.entry:allergy.search.extension, Bundle.entry:allergy.search.modifierExtension, Bundle.entry:allergy.search.mode, Bundle.entry:allergy.search.score, Bundle.entry:allergy.request, Bundle.entry:allergy.request.extension, Bundle.entry:allergy.request.modifierExtension, Bundle.entry:allergy.request.method, Bundle.entry:allergy.request.url, Bundle.entry:allergy.request.ifNoneMatch, Bundle.entry:allergy.request.ifModifiedSince, Bundle.entry:allergy.request.ifMatch, Bundle.entry:allergy.request.ifNoneExist, Bundle.entry:allergy.response, Bundle.entry:allergy.response.extension, Bundle.entry:allergy.response.modifierExtension, Bundle.entry:allergy.response.status, Bundle.entry:allergy.response.location, Bundle.entry:allergy.response.etag, Bundle.entry:allergy.response.lastModified, Bundle.entry:practitioner, Bundle.entry:practitioner.extension, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitioner.link, Bundle.entry:practitioner.fullUrl, Bundle.entry:practitioner.search, Bundle.entry:practitioner.search.extension, Bundle.entry:practitioner.search.modifierExtension, Bundle.entry:practitioner.search.mode, Bundle.entry:practitioner.search.score, Bundle.entry:practitioner.request, Bundle.entry:practitioner.request.extension, Bundle.entry:practitioner.request.modifierExtension, Bundle.entry:practitioner.request.method, Bundle.entry:practitioner.request.url, Bundle.entry:practitioner.request.ifNoneMatch, Bundle.entry:practitioner.request.ifModifiedSince, Bundle.entry:practitioner.request.ifMatch, Bundle.entry:practitioner.request.ifNoneExist, Bundle.entry:practitioner.response, Bundle.entry:practitioner.response.extension, Bundle.entry:practitioner.response.modifierExtension, Bundle.entry:practitioner.response.status, Bundle.entry:practitioner.response.location, Bundle.entry:practitioner.response.etag, Bundle.entry:practitioner.response.lastModified, Bundle.entry:practitionerRole, Bundle.entry:practitionerRole.extension, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:practitionerRole.link, Bundle.entry:practitionerRole.fullUrl, Bundle.entry:practitionerRole.search, Bundle.entry:practitionerRole.search.extension, Bundle.entry:practitionerRole.search.modifierExtension, Bundle.entry:practitionerRole.search.mode, Bundle.entry:practitionerRole.search.score, Bundle.entry:practitionerRole.request, Bundle.entry:practitionerRole.request.extension, Bundle.entry:practitionerRole.request.modifierExtension, Bundle.entry:practitionerRole.request.method, Bundle.entry:practitionerRole.request.url, Bundle.entry:practitionerRole.request.ifNoneMatch, Bundle.entry:practitionerRole.request.ifModifiedSince, Bundle.entry:practitionerRole.request.ifMatch, Bundle.entry:practitionerRole.request.ifNoneExist, Bundle.entry:practitionerRole.response, Bundle.entry:practitionerRole.response.extension, Bundle.entry:practitionerRole.response.modifierExtension, Bundle.entry:practitionerRole.response.status, Bundle.entry:practitionerRole.response.location, Bundle.entry:practitionerRole.response.etag, Bundle.entry:practitionerRole.response.lastModified, Bundle.entry:organization, Bundle.entry:organization.extension, Bundle.entry:organization.modifierExtension, Bundle.entry:organization.link, Bundle.entry:organization.fullUrl, Bundle.entry:organization.search, Bundle.entry:organization.search.extension, Bundle.entry:organization.search.modifierExtension, Bundle.entry:organization.search.mode, Bundle.entry:organization.search.score, Bundle.entry:organization.request, Bundle.entry:organization.request.extension, Bundle.entry:organization.request.modifierExtension, Bundle.entry:organization.request.method, Bundle.entry:organization.request.url, Bundle.entry:organization.request.ifNoneMatch, Bundle.entry:organization.request.ifModifiedSince, Bundle.entry:organization.request.ifMatch, Bundle.entry:organization.request.ifNoneExist, Bundle.entry:organization.response, Bundle.entry:organization.response.extension, Bundle.entry:organization.response.modifierExtension, Bundle.entry:organization.response.status, Bundle.entry:organization.response.location, Bundle.entry:organization.response.etag, Bundle.entry:organization.response.lastModified, Bundle.entry:medication, Bundle.entry:medication.extension, Bundle.entry:medication.modifierExtension, Bundle.entry:medication.link, Bundle.entry:medication.fullUrl, Bundle.entry:medication.search, Bundle.entry:medication.search.extension, Bundle.entry:medication.search.modifierExtension, Bundle.entry:medication.search.mode, Bundle.entry:medication.search.score, Bundle.entry:medication.request, Bundle.entry:medication.request.extension, Bundle.entry:medication.request.modifierExtension, Bundle.entry:medication.request.method, Bundle.entry:medication.request.url, Bundle.entry:medication.request.ifNoneMatch, Bundle.entry:medication.request.ifModifiedSince, Bundle.entry:medication.request.ifMatch, Bundle.entry:medication.request.ifNoneExist, Bundle.entry:medication.response, Bundle.entry:medication.response.extension, Bundle.entry:medication.response.modifierExtension, Bundle.entry:medication.response.status, Bundle.entry:medication.response.location, Bundle.entry:medication.response.etag, Bundle.entry:medication.response.lastModified, Bundle.entry:signature, Bundle.entry:signature.extension, Bundle.entry:signature.modifierExtension, Bundle.entry:signature.link, Bundle.entry:signature.fullUrl, Bundle.entry:signature.search, Bundle.entry:signature.search.extension, Bundle.entry:signature.search.modifierExtension, Bundle.entry:signature.search.mode, Bundle.entry:signature.search.score, Bundle.entry:signature.request, Bundle.entry:signature.request.extension, Bundle.entry:signature.request.modifierExtension, Bundle.entry:signature.request.method, Bundle.entry:signature.request.url, Bundle.entry:signature.request.ifNoneMatch, Bundle.entry:signature.request.ifModifiedSince, Bundle.entry:signature.request.ifMatch, Bundle.entry:signature.request.ifNoneExist, Bundle.entry:signature.response, Bundle.entry:signature.response.extension, Bundle.entry:signature.response.modifierExtension, Bundle.entry:signature.response.status, Bundle.entry:signature.response.location, Bundle.entry:signature.response.etag, Bundle.entry:signature.response.lastModified, Bundle.signature All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Bundle.link.extension, Bundle.link.modifierExtension, Bundle.entry.extension, Bundle.entry.modifierExtension, Bundle.entry.search.extension, Bundle.entry.search.modifierExtension, Bundle.entry.request.extension, Bundle.entry.request.modifierExtension, Bundle.entry.response.extension, Bundle.entry.response.modifierExtension, Bundle.entry:patient.extension, Bundle.entry:patient.modifierExtension, Bundle.entry:patient.search.extension, Bundle.entry:patient.search.modifierExtension, Bundle.entry:patient.request.extension, Bundle.entry:patient.request.modifierExtension, Bundle.entry:patient.response.extension, Bundle.entry:patient.response.modifierExtension, Bundle.entry:prescriptionItem.extension, Bundle.entry:prescriptionItem.modifierExtension, Bundle.entry:prescriptionItem.search.extension, Bundle.entry:prescriptionItem.search.modifierExtension, Bundle.entry:prescriptionItem.request.extension, Bundle.entry:prescriptionItem.request.modifierExtension, Bundle.entry:prescriptionItem.response.extension, Bundle.entry:prescriptionItem.response.modifierExtension, Bundle.entry:allergyStatement.extension, Bundle.entry:allergyStatement.modifierExtension, Bundle.entry:allergyStatement.search.extension, Bundle.entry:allergyStatement.search.modifierExtension, Bundle.entry:allergyStatement.request.extension, Bundle.entry:allergyStatement.request.modifierExtension, Bundle.entry:allergyStatement.response.extension, Bundle.entry:allergyStatement.response.modifierExtension, Bundle.entry:allergy.extension, Bundle.entry:allergy.modifierExtension, Bundle.entry:allergy.search.extension, Bundle.entry:allergy.search.modifierExtension, Bundle.entry:allergy.request.extension, Bundle.entry:allergy.request.modifierExtension, Bundle.entry:allergy.response.extension, Bundle.entry:allergy.response.modifierExtension, Bundle.entry:practitioner.extension, Bundle.entry:practitioner.modifierExtension, Bundle.entry:practitioner.search.extension, Bundle.entry:practitioner.search.modifierExtension, Bundle.entry:practitioner.request.extension, Bundle.entry:practitioner.request.modifierExtension, Bundle.entry:practitioner.response.extension, Bundle.entry:practitioner.response.modifierExtension, Bundle.entry:practitionerRole.extension, Bundle.entry:practitionerRole.modifierExtension, Bundle.entry:practitionerRole.search.extension, Bundle.entry:practitionerRole.search.modifierExtension, Bundle.entry:practitionerRole.request.extension, Bundle.entry:practitionerRole.request.modifierExtension, Bundle.entry:practitionerRole.response.extension, Bundle.entry:practitionerRole.response.modifierExtension, Bundle.entry:organization.extension, Bundle.entry:organization.modifierExtension, Bundle.entry:organization.search.extension, Bundle.entry:organization.search.modifierExtension, Bundle.entry:organization.request.extension, Bundle.entry:organization.request.modifierExtension, Bundle.entry:organization.response.extension, Bundle.entry:organization.response.modifierExtension, Bundle.entry:medication.extension, Bundle.entry:medication.modifierExtension, Bundle.entry:medication.search.extension, Bundle.entry:medication.search.modifierExtension, Bundle.entry:medication.request.extension, Bundle.entry:medication.request.modifierExtension, Bundle.entry:medication.response.extension, Bundle.entry:medication.response.modifierExtension, Bundle.entry:signature.extension, Bundle.entry:signature.modifierExtension, Bundle.entry:signature.search.extension, Bundle.entry:signature.search.modifierExtension, Bundle.entry:signature.request.extension, Bundle.entry:signature.request.modifierExtension, Bundle.entry:signature.response.extension, Bundle.entry:signature.response.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
ie-bnd-rx-1 error Bundle A multi-item prescription SHALL share one group identifier (system and value) across all its items (HIQA EP 3.1) entry.resource.ofType(MedicationRequest).count() <= 1 or (entry.resource.ofType(MedicationRequest).all(groupIdentifier.exists()) and entry.resource.ofType(MedicationRequest).select(groupIdentifier.system + '|' + groupIdentifier.value).distinct().count() = 1)
ie-bnd-rx-2 error Bundle Every prescription item SHALL reference the allergy statement (a List coded LOINC 48765-2) in supportingInformation (HIQA EP 1.6.1 / 1.6.2) entry.resource.ofType(MedicationRequest).all(supportingInformation.where(resolve() is List and resolve().code.coding.where(system = 'http://loinc.org' and code = '48765-2').exists()).exists())
ie-bnd-rx-3 error Bundle If the patient is under 12 years old at the date of prescribing, or the date of birth is not a full date, every prescription item SHALL record the patient's age (HIQA EP 1.4.2; a legal requirement) entry.resource.ofType(MedicationRequest).all(extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing').exists() or ((%resource.entry.resource.ofType(Patient).first().birthDate.toString().length() = 10) and ((%resource.entry.resource.ofType(Patient).first().birthDate + 12 years).toString() <= authoredOn.toString().substring(0,10))))
ie-bnd-rx-4 error Bundle The prescriber (the requester, its practitioner, or its organisation) SHALL have a telephone number (HIQA EP 2.10 / 2.10.1, Mandatory) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'phone').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'phone').exists())
ie-bnd-rx-5 error Bundle Every prescription item, the allergy statement and every allergy SHALL be about the one Patient in the Bundle (patient safety: the allergy statement must be the patient's own) (entry.resource.ofType(MedicationRequest).subject.reference | entry.resource.ofType(List).subject.reference | entry.resource.ofType(AllergyIntolerance).patient.reference).all(($this = %resource.entry.where(resource is Patient).fullUrl) or ($this = ('Patient/' + %resource.entry.resource.ofType(Patient).id)))
ie-bnd-rx-6 error Bundle Every allergy listed in the allergy statement SHALL be included in the Bundle (HIQA EP 1.6.2) entry.resource.ofType(List).entry.item.reference.all(($this in %resource.entry.fullUrl) or ($this.replace('AllergyIntolerance/', '') in %resource.entry.resource.ofType(AllergyIntolerance).id))
ie-bnd-xb-1 error Bundle A cross-border prescription SHALL give a secure contact email for the prescriber (the requester, its practitioner, or its organisation) (HIQA EP 2.10.2; a legal requirement cross-border) entry.resource.ofType(MedicationRequest).all(requester.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).practitioner.resolve().telecom.where(system = 'email').exists() or requester.resolve().ofType(PractitionerRole).organization.resolve().telecom.where(system = 'email').exists())
ie-bnd-xb-2 error Bundle A cross-border prescription SHALL carry a prescriber signature covering every prescription item, referenced by fullUrl or by relative reference (HIQA EP 2.13; a legal requirement) entry.where(resource is MedicationRequest).all((fullUrl in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference) or (('MedicationRequest/' + resource.id) in %resource.entry.resource.ofType(Provenance).where(signature.exists()).target.reference))

This structure is derived from IEMpdBundleEPrescription

Summary

Mandatory: 1 element

 

Other representations of profile: CSV, Excel, Schematron