PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/blood-gas-panel
description: Blood gas panel is a grouper observation with references to the individual measurements as separate observations.
package_name: de.gecco
derivation: constraint
name: BloodGasPanel
type: Observation
elements:
  category:
    mustSupport: true
    index: 14
    elements:
      coding:
        mustSupport: true
        array: true
        min: 2
        index: 15
        slicing:
          rules: open
          discriminator:
          - {path: system, type: pattern}
          - {path: code, type: pattern}
          min: 2
          slices:
            loinc-observation:
              match: {system: 'http://loinc.org', code: 26436-6}
              schema:
                mustSupport: true
                _required: true
                index: 16
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 17
                  code:
                    mustSupport: true
                    pattern: {type: Code, value: 26436-6}
                    index: 18
                required: [system, code]
            observation-category:
              match: {system: 'http://terminology.hl7.org/CodeSystem/observation-category', code: laboratory}
              schema:
                mustSupport: true
                _required: true
                index: 19
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                    mustSupport: true
                    index: 20
                  code:
                    mustSupport: true
                    pattern: {type: Code, value: laboratory}
                    index: 21
                required: [system, code]
            blood-gas-studies:
              match: {system: 'http://loinc.org', code: 18767-4}
              schema:
                mustSupport: true
                index: 22
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 23
                  code:
                    mustSupport: true
                    pattern: {type: Code, value: 18767-4}
                    index: 24
                required: [system, code]
  hasMember:
    type: Reference
    mustSupport: true
    refers: ['https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/carbon-dioxide-partial-pressure', 'https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/inhaled-oxygen-concentration', 'https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/oxygen-partial-pressure', 'https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/oxygen-saturation', 'https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/pH']
    index: 41
  meta:
    index: 0
    elements:
      source: {mustSupport: true, index: 1}
      profile: {mustSupport: true, index: 2}
  value:
    choices: []
    index: 40
  status: {mustSupport: true, index: 13}
  effective:
    mustSupport: true
    choices: []
    index: 38
  code:
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/laboratory-tests-and-panels-uv-ips'}
    mustSupport: true
    index: 25
    elements:
      coding:
        index: 26
        slicing:
          rules: open
          ordered: true
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          max: 1
          slices:
            blood:
              match: {code: 24338-6, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 24338-6, system: 'http://loinc.org'}
                index: 27
                elements:
                  system: {index: 28}
                  code: {index: 29}
                required: [system, code]
            arterial-blood:
              match: {code: 24336-0, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 24336-0, system: 'http://loinc.org'}
                index: 30
                elements:
                  system: {index: 31}
                  code: {index: 32}
                required: [system, code]
            capillary-blood:
              match: {code: 24337-8, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 24337-8, system: 'http://loinc.org'}
                index: 33
                elements:
                  system: {index: 34}
                  code: {index: 35}
                required: [system, code]
    required: [coding]
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        analyseBefundCode:
          match:
            type:
              coding:
              - {code: OBI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            _required: true
            index: 4
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: OBI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 5
                elements:
                  coding:
                    mustSupport: true
                    index: 6
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: 1
                      slices:
                        observationInstanceV2:
                          match: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                          schema:
                            mustSupport: true
                            _required: true
                            index: 7
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                                mustSupport: true
                                index: 8
                              code:
                                pattern: {type: Code, value: OBI}
                                mustSupport: true
                                index: 9
                            required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 10}
              value: {mustSupport: true, index: 11}
              assigner: {type: Reference, mustSupport: true, index: 12}
            required: [assigner, value, type, system]
  subject: {mustSupport: true, index: 36}
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/blood-gas-panel
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '0.9'
required: [hasMember, identifier, category]