PACIO Transitions of Care Implementation Guide
1.0.0 - STU 1 US

PACIO Transitions of Care Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: Transition of Care Bundle

Official URL: http://hl7.org/fhir/us/pacio-toc/StructureDefinition/TOC-Bundle | Version: 1.0.0
Standards status: Trial-use | Maturity Level: 2 | Computable Name: TOCBundle

This is a profile for a Transition of Care Bundle, which includes the necessary resources for documenting a patient's transition from one care setting to another.

Usages:

- Examples for this Profile: Bundle/Example-Smith-Johnson-TOCBundle
- CapabilityStatements using this Profile: TOC CapabilityStatement

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

#### Terminology Bindings

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

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | 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:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
ele-1 | error | **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()`

This structure is derived from Bundle

#### 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:toc-composition.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:toc-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:advance-directives.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:advance-directives.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:allergies.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:allergies.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter-diagnosis.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter-diagnosis.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:problems.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:problems.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:simple-observation.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:simple-observation.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:immunizations.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:immunizations.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:medical-devices.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:medical-devices.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:medications.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:medications.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:plan-of-care.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:plan-of-care.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:procedures.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:procedures.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:vital-signs.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:vital-signs.​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:practitioner-role.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:practitioner-role.​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:location.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:location.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | 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:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
ele-1 | error | **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()`

This structure is derived from Bundle

Summary

Mandatory: 3 elements
Must-Support: 19 elements

Structures

This structure refers to these other structures:

- Transition of Care Composition (http://hl7.org/fhir/us/pacio-toc/StructureDefinition/TOC-Composition)
- US Core Patient Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|8.0.1)
- ADI Document Reference (http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentReference)
- US Core AllergyIntolerance Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|8.0.1)
- US Core Condition Encounter Diagnosis Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis|8.0.1)
- US Core Condition Problems and Health Concerns Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns|8.0.1)
- US Core Simple Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation|8.0.1)
- US Core Immunization Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization|8.0.1)
- Personal Functioning and Engagement Use of Device (http://hl7.org/fhir/us/pacio-pfe/StructureDefinition/pfe-use-of-device)
- Standardized Medication Profile - Medication List (http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list)
- US Core MedicationRequest Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|8.0.1)
- US Core Medication Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|8.0.1)
- US Core CarePlan Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|8.0.1)
- US Core Procedure Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|8.0.1)
- US Core ServiceRequest Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest|8.0.1)
- US Core Encounter Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|8.0.1)
- US Core Vital Signs Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|8.0.1)
- US Core Practitioner Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|8.0.1)
- US Core PractitionerRole Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|8.0.1)
- US Core Organization Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|8.0.1)
- US Core Location Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|8.0.1)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Bundle.entry

Maturity: 2

Key Elements View

#### Terminology Bindings

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

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | 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:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
ele-1 | error | **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()`

Differential View

This structure is derived from Bundle

Snapshot View

#### 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:toc-composition.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:toc-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:advance-directives.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:advance-directives.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:allergies.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:allergies.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter-diagnosis.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter-diagnosis.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:problems.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:problems.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:simple-observation.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:simple-observation.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:immunizations.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:immunizations.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:medical-devices.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:medical-devices.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:medications.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:medications.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:plan-of-care.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:plan-of-care.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:procedures.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:procedures.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:encounter.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:vital-signs.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:vital-signs.​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:practitioner-role.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:practitioner-role.​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:location.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:location.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | 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:toc-composition, Bundle.entry:patient, Bundle.entry:advance-directives, Bundle.entry:allergies, Bundle.entry:encounter-diagnosis, Bundle.entry:problems, Bundle.entry:simple-observation, Bundle.entry:immunizations, Bundle.entry:medical-devices, Bundle.entry:medications, Bundle.entry:plan-of-care, Bundle.entry:procedures, Bundle.entry:encounter, Bundle.entry:vital-signs, Bundle.entry:practitioner, Bundle.entry:practitioner-role, Bundle.entry:organization, Bundle.entry:location | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
ele-1 | error | **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()`

This structure is derived from Bundle

Summary

Mandatory: 3 elements
Must-Support: 19 elements

Structures

This structure refers to these other structures:

- Transition of Care Composition (http://hl7.org/fhir/us/pacio-toc/StructureDefinition/TOC-Composition)
- US Core Patient Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|8.0.1)
- ADI Document Reference (http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentReference)
- US Core AllergyIntolerance Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|8.0.1)
- US Core Condition Encounter Diagnosis Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis|8.0.1)
- US Core Condition Problems and Health Concerns Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns|8.0.1)
- US Core Simple Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation|8.0.1)
- US Core Immunization Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization|8.0.1)
- Personal Functioning and Engagement Use of Device (http://hl7.org/fhir/us/pacio-pfe/StructureDefinition/pfe-use-of-device)
- Standardized Medication Profile - Medication List (http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list)
- US Core MedicationRequest Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|8.0.1)
- US Core Medication Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|8.0.1)
- US Core CarePlan Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|8.0.1)
- US Core Procedure Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|8.0.1)
- US Core ServiceRequest Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest|8.0.1)
- US Core Encounter Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|8.0.1)
- US Core Vital Signs Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|8.0.1)
- US Core Practitioner Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|8.0.1)
- US Core PractitionerRole Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|8.0.1)
- US Core Organization Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|8.0.1)
- US Core Location Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|8.0.1)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Bundle.entry

Maturity: 2

Other representations of profile: CSV, Excel, Schematron