PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.pcs@1.0.0-ballot
    http://hl7.org/fhir/us/pcs/StructureDefinition/Bundle-us-pcs
description: This profile represents the constraints applied to the Bundle resource by the United States Patient Care Summary (US-PCS) FHIR Implementation Guide. The Bundle is of type document and outlines resources that may be commonly included, but the specific organization of US-PCS sections and document information is contained in the US-PCS [Composition profile](./StructureDefinition-Composition-us-pcs.html).
package_name: hl7.fhir.us.pcs
derivation: constraint
name: BundleUsPcs
type: Bundle
elements:
  entry:
    array: true
    min: 2
    index: 0
    elements:
      fullUrl: {index: 1}
    required: [fullUrl]
    slicing:
      slices:
        patient:
          match: {}
          schema:
            _required: true
            index: 5
            elements:
              resource: {type: Patient, index: 6}
        immunization:
          match: {}
          schema:
            array: true
            index: 17
            elements:
              resource: {type: Immunization, index: 18}
        diagnosticreport:
          match: {}
          schema:
            array: true
            index: 11
            elements:
              resource: {type: DiagnosticReport, index: 12}
        encounter:
          match: {}
          schema:
            array: true
            index: 15
            elements:
              resource: {type: Encounter, index: 16}
        medicationrequest:
          match: {}
          schema:
            array: true
            index: 21
            elements:
              resource: {type: MedicationRequest, index: 22}
        allergyintolerance:
          match: {}
          schema:
            array: true
            index: 7
            elements:
              resource: {type: AllergyIntolerance, index: 8}
        practitionerrole:
          match: {}
          schema:
            array: true
            index: 25
            elements:
              resource: {type: PractitionerRole, index: 26}
        procedure:
          match: {}
          schema:
            array: true
            index: 27
            elements:
              resource: {type: Procedure, index: 28}
        organization:
          match: {}
          schema:
            array: true
            index: 31
            elements:
              resource: {type: Organization, index: 32}
        condition:
          match: {}
          schema:
            array: true
            index: 9
            elements:
              resource: {type: Condition, index: 10}
        clinical-document-composition:
          match: {}
          schema:
            index: 2
            elements:
              fullUrl: {index: 3}
              resource: {type: Composition, index: 4}
            required: [fullUrl]
        practitioner:
          match: {}
          schema:
            array: true
            index: 23
            elements:
              resource: {type: Practitioner, index: 24}
        observation-results:
          match: {}
          schema:
            array: true
            index: 29
            elements:
              resource: {type: Observation, index: 30}
        documentreference:
          match: {}
          schema:
            array: true
            index: 13
            elements:
              resource: {type: DocumentReference, index: 14}
        medication:
          match: {}
          schema:
            array: true
            index: 19
            elements:
              resource: {type: Medication, index: 20}
package_version: 1.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/pcs/StructureDefinition/Bundle-us-pcs
base: http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/clinical-document-bundle
version: 1.0.0-ballot