PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.shc-vaccination@1.0.0
    http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-infectious-disease-laboratory-bundle-dm
description: Defines a [primary (DM) profile](./profiles.html#conformance-to-profiles) representing a bundle of patient and generic infectious disease laboratory testing data for health cards.\n\n[See here for implementation details](./bundles.html).
package_name: hl7.fhir.uv.shc-vaccination
derivation: constraint
name: SHCInfectiousDiseaseLaboratoryBundleDM
type: Bundle
elements:
  meta: {index: 1}
  signature: {index: 39}
  implicitRules: {index: 2}
  type:
    pattern: {type: Code, value: collection}
    mustSupport: true
    index: 5
  total: {index: 7}
  language: {index: 3}
  link: {index: 8}
  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-infectious-disease-laboratory-bundle-dm', severity: warning, expression: $this.length() = 0}
    index: 0
  identifier: {index: 4}
  entry:
    mustSupport: true
    array: true
    min: 2
    index: 9
    elements:
      response: {index: 18}
      request: {index: 17}
      search: {index: 16}
      extension: {index: 11}
      fullUrl: {short: 'Locally unique identifier like resource:0', mustSupport: true, index: 14}
      link: {index: 13}
      id: {short: Should not be populated, index: 10}
      resource: {mustSupport: true, index: 15}
      modifierExtension: {index: 12}
    extensions: {}
    required: [fullUrl]
    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: 19
            elements:
              response: {index: 28}
              request: {index: 27}
              search: {index: 26}
              extension: {index: 21}
              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-infectious-disease-laboratory-bundle-dm', severity: error, expression: '$this.matches(''^resource:[0-9]+$'')'}
                mustSupport: true
                index: 24
              link: {index: 23}
              id: {index: 20}
              resource: {type: Patient, index: 25}
              modifierExtension: {index: 22}
            extensions: {}
            required: [resource, fullUrl]
        labResult:
          match: {}
          schema:
            constraint:
              vc-bundle-lab-status-complete: {human: Bundle SHALL only include results with status final or status that is subsequent to final., source: 'http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-infectious-disease-laboratory-bundle-dm', severity: error, expression: $this.resource.ofType(Observation).status.lower() in ('final'|'amended'|'corrected')}
            min: 1
            short: Laboratory result
            index: 29
            mustSupport: true
            array: true
            elements:
              response: {index: 38}
              request: {index: 37}
              search: {index: 36}
              extension: {index: 31}
              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-infectious-disease-laboratory-bundle-dm', severity: error, expression: '$this.matches(''^resource:[0-9]+$'')'}
                mustSupport: true
                index: 34
              link: {index: 33}
              id: {index: 30}
              resource: {type: Observation, index: 35}
              modifierExtension: {index: 32}
            _required: true
            extensions: {}
            required: [resource, fullUrl]
  timestamp: {index: 6}
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-infectious-disease-laboratory-bundle-dm
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0