SMART PH4H
0.9.9 - release

This page is part of the PH4H (v0.9.9: Releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: SMART Bundle (IPS)

Official URL: http://smart.who.int/ph4h/StructureDefinition/SmartIPS Version: 0.9.9
Draft as of 2026-07-09 Computable Name: SmartIPS

This profile represents the constraints applied to the Bundle resource by the International Patient Summary (IPS) for use within the SMART Guidelines.

Note: The profile expects atleast one SMART Consent entry to be present.

Usages:

  • This Profile is not used by any profiles in this Specification

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..* BundleUvIps International Patient Summary Bundle
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-ips-1, containsSmartConsent, containsSmartConsent-cmp
... 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.
Fixed Value: document
... Slices for entry SΣC 3..* BackboneElement Entry resource in the patient summary bundle
Slice: Unordered, Open by type:resource, profile: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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
.... entry:composition Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 CompositionUvIps International Patient Summary composition
.... entry:patient Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PatientUvIps Information about an individual or animal receiving health care services
.... entry:allergyintolerance Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 AllergyIntoleranceUvIps Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
.... entry:condition Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ConditionUvIps Documentation of a health problem of the patient
Constraints: con-3, con-4, con-5
.... entry:device Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 Device Item used in healthcare
.... entry:deviceusestatement Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DeviceUseStatementUvIps Record of use of a device
.... entry:diagnosticreport Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DiagnosticReportUvIps A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
.... entry:imagingstudy Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImagingStudyUvIps A set of images produced in single study (one or more series of references images)
.... entry:immunization Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImmunizationUvIps Immunization event information
.... entry:media Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MediaObservationUvIps A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
.... entry:medication Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationIPS Definition of a Medication
.... entry:medicationrequest Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationRequestIPS Ordering of medication for patient or group
.... entry:medicationstatement Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationStatementIPS Record of medication being taken by a patient
.... entry:practitioner Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerUvIps A person with a formal responsibility in the provisioning of healthcare or related services
.... entry:practitionerrole Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerRoleUvIps Roles/organizations the practitioner is associated with
.... entry:procedure Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ProcedureUvIps An action that is being or was performed on a patient
.... entry:organization Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 OrganizationUvIps A grouping of people or organizations with a common purpose
Constraints: org-1
.... entry:observation-pregnancy-edd Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyEddUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-outcome Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyOutcomeUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-status Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyStatusUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-alcohol-use Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationAlcoholUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-tobacco-use Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationTobaccoUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-results Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationResultsUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:specimen Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 SpecimenUvIps Sample for analysis
.... entry:consent SΣC 1..* BackboneElement Entry resource in the patient summary bundle
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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 0..1 Consent A resource in the bundle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Bundle.type Base required BundleType 📍4.0.1 FHIR Std.
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:composition.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:patient.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:allergyintolerance.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:condition.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:device.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:deviceusestatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:diagnosticreport.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:imagingstudy.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:immunization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:media.request.​method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medication.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medicationrequest.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medicationstatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitioner.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitionerrole.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:procedure.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:organization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-edd.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-outcome.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-status.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-alcohol-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-tobacco-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-results.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:specimen.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:consent.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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)
bdl-ips-1 error Bundle An IPS document must have no additional Composition (including Composition subclass) resources besides the first. entry.tail().where(resource is Composition).empty()
con-3 best practice Bundle.entry:condition.resource Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Bundle.entry:condition.resource If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Bundle.entry:condition.resource Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
containsSmartConsent error Bundle At least one entry in the Bundle must be SmartConsent Bundle.entry.resource.ofType(Consent).where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
containsSmartConsent-cmp error Bundle At least one consent in the Advanced Directives section must be SmartConsent Bundle.entry.resource.ofType(Composition).section.where(title='Advance Directives').entry.resolve().where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
dom-2 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
org-1 error Bundle.entry:organization.resource The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0

This structure is derived from BundleUvIps

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* BundleUvIps International Patient Summary Bundle
Constraints: containsSmartConsent, containsSmartConsent-cmp
... entry 3..* BackboneElement Entry resource in the patient summary bundle
... Slices for entry Content/Rules for all slices
.... entry:composition 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:patient 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:allergyintolerance 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:condition 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:device 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:deviceusestatement 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:diagnosticreport 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:imagingstudy 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:immunization 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:media 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:medication 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:medicationrequest 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:medicationstatement 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:practitioner 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:practitionerrole 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:procedure 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:organization 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-pregnancy-edd 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-pregnancy-outcome 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-pregnancy-status 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-alcohol-use 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-tobacco-use 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-results 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:specimen 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:consent 1..* BackboneElement Entry resource in the patient summary bundle
..... resource 0..1 Consent A resource in the bundle

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
containsSmartConsent error Bundle At least one entry in the Bundle must be SmartConsent Bundle.entry.resource.ofType(Consent).where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
containsSmartConsent-cmp error Bundle At least one consent in the Advanced Directives section must be SmartConsent Bundle.entry.resource.ofType(Composition).section.where(title='Advance Directives').entry.resolve().where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* BundleUvIps International Patient Summary Bundle
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-ips-1, containsSmartConsent, containsSmartConsent-cmp
... 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.
Fixed Value: document
... timestamp SΣ 1..1 instant When the bundle was assembled
... total ΣC 0..1 unsignedInt If search, the total number of matches
... Slices for entry SΣC 3..* BackboneElement Entry resource in the patient summary bundle
Slice: Unordered, Open by type:resource, profile: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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 0..1 Resource A resource in the bundle
.... entry:composition Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 CompositionUvIps International Patient Summary composition
.... entry:patient Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PatientUvIps Information about an individual or animal receiving health care services
.... entry:allergyintolerance Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 AllergyIntoleranceUvIps Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
.... entry:condition Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ConditionUvIps Documentation of a health problem of the patient
Constraints: con-3, con-4, con-5
.... entry:device Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 Device Item used in healthcare
.... entry:deviceusestatement Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DeviceUseStatementUvIps Record of use of a device
.... entry:diagnosticreport Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DiagnosticReportUvIps A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
.... entry:imagingstudy Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImagingStudyUvIps A set of images produced in single study (one or more series of references images)
.... entry:immunization Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImmunizationUvIps Immunization event information
.... entry:media Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MediaObservationUvIps A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
.... entry:medication Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationIPS Definition of a Medication
.... entry:medicationrequest Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationRequestIPS Ordering of medication for patient or group
.... entry:medicationstatement Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationStatementIPS Record of medication being taken by a patient
.... entry:practitioner Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerUvIps A person with a formal responsibility in the provisioning of healthcare or related services
.... entry:practitionerrole Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerRoleUvIps Roles/organizations the practitioner is associated with
.... entry:procedure Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ProcedureUvIps An action that is being or was performed on a patient
.... entry:organization Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 OrganizationUvIps A grouping of people or organizations with a common purpose
Constraints: org-1
.... entry:observation-pregnancy-edd Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyEddUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-outcome Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyOutcomeUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-status Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyStatusUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-alcohol-use Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationAlcoholUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-tobacco-use Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationTobaccoUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-results Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationResultsUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:specimen Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 SpecimenUvIps Sample for analysis
.... entry:consent SΣC 1..* BackboneElement Entry resource in the patient summary bundle
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 0..1 Consent A resource in the bundle
... 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:composition.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:composition.​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:allergyintolerance.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:allergyintolerance.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:condition.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:condition.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:device.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:device.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:deviceusestatement.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:deviceusestatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:diagnosticreport.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:diagnosticreport.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:imagingstudy.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:imagingstudy.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:immunization.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:immunization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:media.search.​mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:media.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:medicationrequest.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:medicationrequest.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medicationstatement.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:medicationstatement.​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:procedure.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:procedure.​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:observation-pregnancy-edd.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-edd.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-outcome.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-outcome.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-status.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-status.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-alcohol-use.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-alcohol-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-tobacco-use.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-tobacco-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-results.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-results.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:specimen.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:specimen.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:consent.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:consent.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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)
bdl-ips-1 error Bundle An IPS document must have no additional Composition (including Composition subclass) resources besides the first. entry.tail().where(resource is Composition).empty()
con-3 best practice Bundle.entry:condition.resource Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Bundle.entry:condition.resource If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Bundle.entry:condition.resource Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
containsSmartConsent error Bundle At least one entry in the Bundle must be SmartConsent Bundle.entry.resource.ofType(Consent).where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
containsSmartConsent-cmp error Bundle At least one consent in the Advanced Directives section must be SmartConsent Bundle.entry.resource.ofType(Composition).section.where(title='Advance Directives').entry.resolve().where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
dom-2 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
org-1 error Bundle.entry:organization.resource The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0

This structure is derived from BundleUvIps

Summary

Mandatory: 3 elements(22 nested mandatory elements)
Must-Support: 24 elements
Prohibited: 72 elements

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* BundleUvIps International Patient Summary Bundle
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-ips-1, containsSmartConsent, containsSmartConsent-cmp
... 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.
Fixed Value: document
... Slices for entry SΣC 3..* BackboneElement Entry resource in the patient summary bundle
Slice: Unordered, Open by type:resource, profile: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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
.... entry:composition Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 CompositionUvIps International Patient Summary composition
.... entry:patient Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PatientUvIps Information about an individual or animal receiving health care services
.... entry:allergyintolerance Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 AllergyIntoleranceUvIps Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
.... entry:condition Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ConditionUvIps Documentation of a health problem of the patient
Constraints: con-3, con-4, con-5
.... entry:device Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 Device Item used in healthcare
.... entry:deviceusestatement Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DeviceUseStatementUvIps Record of use of a device
.... entry:diagnosticreport Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DiagnosticReportUvIps A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
.... entry:imagingstudy Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImagingStudyUvIps A set of images produced in single study (one or more series of references images)
.... entry:immunization Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImmunizationUvIps Immunization event information
.... entry:media Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MediaObservationUvIps A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
.... entry:medication Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationIPS Definition of a Medication
.... entry:medicationrequest Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationRequestIPS Ordering of medication for patient or group
.... entry:medicationstatement Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationStatementIPS Record of medication being taken by a patient
.... entry:practitioner Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerUvIps A person with a formal responsibility in the provisioning of healthcare or related services
.... entry:practitionerrole Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerRoleUvIps Roles/organizations the practitioner is associated with
.... entry:procedure Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ProcedureUvIps An action that is being or was performed on a patient
.... entry:organization Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 OrganizationUvIps A grouping of people or organizations with a common purpose
Constraints: org-1
.... entry:observation-pregnancy-edd Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyEddUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-outcome Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyOutcomeUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-status Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyStatusUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-alcohol-use Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationAlcoholUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-tobacco-use Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationTobaccoUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-results Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationResultsUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:specimen Σ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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 SpecimenUvIps Sample for analysis
.... entry:consent SΣC 1..* BackboneElement Entry resource in the patient summary bundle
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
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 0..1 Consent A resource in the bundle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Bundle.type Base required BundleType 📍4.0.1 FHIR Std.
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:composition.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:patient.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:allergyintolerance.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:condition.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:device.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:deviceusestatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:diagnosticreport.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:imagingstudy.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:immunization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:media.request.​method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medication.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medicationrequest.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medicationstatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitioner.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:practitionerrole.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:procedure.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:organization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-edd.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-outcome.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-status.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-alcohol-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-tobacco-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-results.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:specimen.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:consent.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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)
bdl-ips-1 error Bundle An IPS document must have no additional Composition (including Composition subclass) resources besides the first. entry.tail().where(resource is Composition).empty()
con-3 best practice Bundle.entry:condition.resource Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Bundle.entry:condition.resource If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Bundle.entry:condition.resource Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
containsSmartConsent error Bundle At least one entry in the Bundle must be SmartConsent Bundle.entry.resource.ofType(Consent).where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
containsSmartConsent-cmp error Bundle At least one consent in the Advanced Directives section must be SmartConsent Bundle.entry.resource.ofType(Composition).section.where(title='Advance Directives').entry.resolve().where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
dom-2 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
org-1 error Bundle.entry:organization.resource The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0

Differential View

This structure is derived from BundleUvIps

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* BundleUvIps International Patient Summary Bundle
Constraints: containsSmartConsent, containsSmartConsent-cmp
... entry 3..* BackboneElement Entry resource in the patient summary bundle
... Slices for entry Content/Rules for all slices
.... entry:composition 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:patient 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:allergyintolerance 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:condition 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:device 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:deviceusestatement 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:diagnosticreport 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:imagingstudy 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:immunization 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:media 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:medication 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:medicationrequest 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:medicationstatement 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:practitioner 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:practitionerrole 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:procedure 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:organization 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-pregnancy-edd 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-pregnancy-outcome 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-pregnancy-status 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-alcohol-use 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-tobacco-use 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:observation-results 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:specimen 0..* BackboneElement Entry in the bundle - will have a resource or information
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:consent 1..* BackboneElement Entry resource in the patient summary bundle
..... resource 0..1 Consent A resource in the bundle

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
containsSmartConsent error Bundle At least one entry in the Bundle must be SmartConsent Bundle.entry.resource.ofType(Consent).where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
containsSmartConsent-cmp error Bundle At least one consent in the Advanced Directives section must be SmartConsent Bundle.entry.resource.ofType(Composition).section.where(title='Advance Directives').entry.resolve().where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Bundle C 0..* BundleUvIps International Patient Summary Bundle
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-ips-1, containsSmartConsent, containsSmartConsent-cmp
... 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.
Fixed Value: document
... timestamp SΣ 1..1 instant When the bundle was assembled
... total ΣC 0..1 unsignedInt If search, the total number of matches
... Slices for entry SΣC 3..* BackboneElement Entry resource in the patient summary bundle
Slice: Unordered, Open by type:resource, profile: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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 0..1 Resource A resource in the bundle
.... entry:composition Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 CompositionUvIps International Patient Summary composition
.... entry:patient Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PatientUvIps Information about an individual or animal receiving health care services
.... entry:allergyintolerance Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 AllergyIntoleranceUvIps Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
.... entry:condition Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ConditionUvIps Documentation of a health problem of the patient
Constraints: con-3, con-4, con-5
.... entry:device Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 Device Item used in healthcare
.... entry:deviceusestatement Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DeviceUseStatementUvIps Record of use of a device
.... entry:diagnosticreport Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 DiagnosticReportUvIps A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
.... entry:imagingstudy Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImagingStudyUvIps A set of images produced in single study (one or more series of references images)
.... entry:immunization Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ImmunizationUvIps Immunization event information
.... entry:media Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MediaObservationUvIps A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
.... entry:medication Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationIPS Definition of a Medication
.... entry:medicationrequest Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationRequestIPS Ordering of medication for patient or group
.... entry:medicationstatement Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 MedicationStatementIPS Record of medication being taken by a patient
.... entry:practitioner Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerUvIps A person with a formal responsibility in the provisioning of healthcare or related services
.... entry:practitionerrole Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 PractitionerRoleUvIps Roles/organizations the practitioner is associated with
.... entry:procedure Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 ProcedureUvIps An action that is being or was performed on a patient
.... entry:organization Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 OrganizationUvIps A grouping of people or organizations with a common purpose
Constraints: org-1
.... entry:observation-pregnancy-edd Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyEddUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-outcome Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyOutcomeUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-pregnancy-status Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationPregnancyStatusUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-alcohol-use Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationAlcoholUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-tobacco-use Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationTobaccoUseUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:observation-results Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource C 1..1 ObservationResultsUvIps Measurements and simple assertions
Constraints: obs-6, obs-7
.... entry:specimen Σ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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource 1..1 SpecimenUvIps Sample for analysis
.... entry:consent SΣC 1..* BackboneElement Entry resource in the patient summary bundle
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource Σ 0..1 Consent A resource in the bundle
... 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:composition.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:composition.​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:allergyintolerance.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:allergyintolerance.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:condition.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:condition.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:device.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:device.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:deviceusestatement.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:deviceusestatement.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:diagnosticreport.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:diagnosticreport.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:imagingstudy.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:imagingstudy.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:immunization.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:immunization.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:media.search.​mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:media.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:medicationrequest.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:medicationrequest.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:medicationstatement.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:medicationstatement.​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:procedure.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:procedure.​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:observation-pregnancy-edd.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-edd.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-outcome.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-outcome.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-status.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-pregnancy-status.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-alcohol-use.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-alcohol-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-tobacco-use.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-tobacco-use.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:observation-results.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:observation-results.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:specimen.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:specimen.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.
Bundle.entry:consent.​search.mode Base required SearchEntryMode 📍4.0.1 FHIR Std.
Bundle.entry:consent.​request.method Base required HTTPVerb 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error Bundle.entry:allergyintolerance.resource AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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:composition, Bundle.entry:patient, Bundle.entry:allergyintolerance, Bundle.entry:condition, Bundle.entry:device, Bundle.entry:deviceusestatement, Bundle.entry:diagnosticreport, Bundle.entry:imagingstudy, Bundle.entry:immunization, Bundle.entry:media, Bundle.entry:medication, Bundle.entry:medicationrequest, Bundle.entry:medicationstatement, Bundle.entry:practitioner, Bundle.entry:practitionerrole, Bundle.entry:procedure, Bundle.entry:organization, Bundle.entry:observation-pregnancy-edd, Bundle.entry:observation-pregnancy-outcome, Bundle.entry:observation-pregnancy-status, Bundle.entry:observation-alcohol-use, Bundle.entry:observation-tobacco-use, Bundle.entry:observation-results, Bundle.entry:specimen, Bundle.entry:consent 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)
bdl-ips-1 error Bundle An IPS document must have no additional Composition (including Composition subclass) resources besides the first. entry.tail().where(resource is Composition).empty()
con-3 best practice Bundle.entry:condition.resource Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Bundle.entry:condition.resource If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Bundle.entry:condition.resource Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
containsSmartConsent error Bundle At least one entry in the Bundle must be SmartConsent Bundle.entry.resource.ofType(Consent).where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
containsSmartConsent-cmp error Bundle At least one consent in the Advanced Directives section must be SmartConsent Bundle.entry.resource.ofType(Composition).section.where(title='Advance Directives').entry.resolve().where(conformsTo('http://smart.who.int/ph4h/StructureDefinition/SmartConsent')).exists()
dom-2 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Bundle.entry:composition.resource, Bundle.entry:patient.resource, Bundle.entry:allergyintolerance.resource, Bundle.entry:condition.resource, Bundle.entry:device.resource, Bundle.entry:deviceusestatement.resource, Bundle.entry:diagnosticreport.resource, Bundle.entry:imagingstudy.resource, Bundle.entry:immunization.resource, Bundle.entry:media.resource, Bundle.entry:medication.resource, Bundle.entry:medicationrequest.resource, Bundle.entry:medicationstatement.resource, Bundle.entry:practitioner.resource, Bundle.entry:practitionerrole.resource, Bundle.entry:procedure.resource, Bundle.entry:organization.resource, Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource, Bundle.entry:specimen.resource A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Bundle.entry:observation-pregnancy-edd.resource, Bundle.entry:observation-pregnancy-outcome.resource, Bundle.entry:observation-pregnancy-status.resource, Bundle.entry:observation-alcohol-use.resource, Bundle.entry:observation-tobacco-use.resource, Bundle.entry:observation-results.resource If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
org-1 error Bundle.entry:organization.resource The organization SHALL at least have a name or an identifier, and possibly more than one (identifier.count() + name.count()) > 0

This structure is derived from BundleUvIps

Summary

Mandatory: 3 elements(22 nested mandatory elements)
Must-Support: 24 elements
Prohibited: 72 elements

 

Other representations of profile: CSV, Excel, Schematron