PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.shc-vaccination@1.0.0
    http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-vaccination-bundle-ad
description: Defines a [fallback (AD) profile](./profiles.html#conformance-to-profiles) representing a bundle of patient and vaccination data for health cards.\n\n[See here for implementation details](./bundles.html).
package_name: hl7.fhir.uv.shc-vaccination
derivation: constraint
name: SHCVaccinationBundleAD
type: Bundle
elements:
  id:
    short: Should be omitted
    constraint:
      vc-should-be-omitted: {human: SHOULD be omitted for data minimization., source: 'http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-vaccination-bundle-ad', severity: warning, expression: $this.length() = 0}
    index: 0
  type:
    pattern: {type: Code, value: collection}
    mustSupport: true
    index: 1
  entry:
    mustSupport: true
    array: true
    min: 2
    index: 2
    elements:
      id: {short: Should not be populated, index: 3}
      resource: {mustSupport: true, index: 4}
    slicing:
      rules: closed
      description: Slicing based on the profile conformance of the entry
      discriminator:
      - {path: resource, type: type}
      min: 2
      slices:
        patient:
          match: {}
          schema:
            short: Patient
            mustSupport: true
            _required: true
            index: 5
            elements:
              fullUrl:
                short: Locally unique identifier like resource:0
                constraint:
                  vc-shall-be-resource-uri: {human: 'IDs SHALL use resource:# format', source: 'http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-vaccination-bundle-ad', severity: error, expression: '$this.matches(''^resource:[0-9]+$'')'}
                mustSupport: true
                index: 6
              resource: {type: Patient, index: 7}
            required: [resource, fullUrl]
        immunization:
          match: {}
          schema:
            short: Immunization
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 8
            elements:
              fullUrl:
                short: Locally unique identifier like resource:0
                constraint:
                  vc-shall-be-resource-uri: {human: 'IDs SHALL use resource:# format', source: 'http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-vaccination-bundle-ad', severity: error, expression: '$this.matches(''^resource:[0-9]+$'')'}
                mustSupport: true
                index: 9
              resource: {type: Immunization, index: 10}
            required: [resource, fullUrl]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-vaccination-bundle-ad
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0