PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.shc@vaccination-0.6.2
    http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-covid19-laboratory-bundle-ad
description: The bundle of resources that represents the patient identification and clinical content of a SMART Health Card with lab results, specifically for COVID-19.
package_name: hl7.fhir.uv.shc
derivation: constraint
name: SHCCovid19LaboratoryBundleAD
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-covid19-laboratory-bundle-ad', severity: warning, expression: $this.length() = 0}
    index: 0
  type:
    mustSupport: true
    pattern: {type: Code, value: collection}
    index: 1
  entry:
    mustSupport: true
    array: true
    min: 2
    index: 2
    elements:
      id: {short: Should not be populated, index: 3}
      fullUrl: {short: 'Locally unique identifier like resource:0', mustSupport: true, index: 4}
      resource: {mustSupport: true, index: 5}
    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: 6
            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-covid19-laboratory-bundle-ad', severity: error, expression: '$this.matches(''^resource:[0-9]+$'')'}
                mustSupport: true
                index: 7
              resource: {type: Patient, index: 8}
            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-covid19-laboratory-bundle-ad', severity: error, expression: $this.resource.ofType(Observation).status.lower() in ('final'|'amended'|'corrected')}
            min: 1
            short: Laboratory result
            index: 9
            mustSupport: true
            array: true
            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-covid19-laboratory-bundle-ad', severity: error, expression: '$this.matches(''^resource:[0-9]+$'')'}
                mustSupport: true
                index: 10
              resource: {type: Observation, index: 11}
            _required: true
            required: [resource, fullUrl]
package_version: vaccination-0.6.2
class: profile
kind: resource
url: http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-covid19-laboratory-bundle-ad
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 0.6.2