PackagesCanonicalsLogsProblems
    Packages
    de.gecco@1.0.4-rc.1
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/sofa-score
description: 'Observation to capture the SOFA score. Based on: Vincent JL, Moreno R, Takala J, et al. The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure. On behalf of the Working Group on Sepsis-Related Problems of the European Society of Intensive Care Medicine. Intensive Care Med. 1996;22(7):707-710. doi:10.1007/BF01709751'
package_name: de.gecco
derivation: constraint
name: SOFA
type: Observation
elements:
  category:
    mustSupport: true
    index: 0
    elements:
      coding:
        mustSupport: true
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            survey:
              match: {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                _required: true
                index: 2
                elements:
                  system: {index: 3}
                  code: {index: 4}
                required: [system, code]
    required: [coding]
  code:
    mustSupport: true
    index: 5
    elements:
      coding:
        mustSupport: true
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            sofaScore:
              match: {code: '06', system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/ecrf-parameter-codes'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: '06', system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/ecrf-parameter-codes'}
                _required: true
                index: 7
                elements:
                  system: {index: 8}
                  code: {index: 9}
                required: [system, code]
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 10
  effective:
    mustSupport: true
    choices: []
    index: 12
  value:
    choices: [valueInteger]
    index: 17
    slicing:
      slices:
        valueInteger:
          match: {}
          schema:
            choices: [valueInteger]
            index: 17
  valueInteger:
    type: integer
    choiceOf: value
    index: 18
    slicing:
      slices:
        valueInteger:
          match: {}
          schema: {type: integer, choiceOf: value, index: 18}
  component:
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        respiratorySystem:
          match:
            code:
              coding:
              - {code: resp, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 20
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: resp, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 21
                elements:
                  coding:
                    mustSupport: true
                    index: 22
                    elements:
                      system: {index: 23}
                      code: {index: 24}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 26
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 27}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 28
                    elements:
                      system: {index: 29}
                      code: {index: 30}
                    required: [system, code]
                required: [coding]
        nervousSystem:
          match:
            code:
              coding:
              - {code: ns, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 31
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ns, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 32
                elements:
                  coding:
                    mustSupport: true
                    index: 33
                    elements:
                      system: {index: 34}
                      code: {index: 35}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 37
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 38}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 39
                    elements:
                      system: {index: 40}
                      code: {index: 41}
                    required: [system, code]
                required: [coding]
        cardiovascularSystem:
          match:
            code:
              coding:
              - {code: cvs, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 42
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: cvs, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 43
                elements:
                  coding:
                    mustSupport: true
                    index: 44
                    elements:
                      system: {index: 45}
                      code: {index: 46}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 48
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 49}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 50
                    elements:
                      system: {index: 51}
                      code: {index: 52}
                    required: [system, code]
                required: [coding]
        liver:
          match:
            code:
              coding:
              - {code: liv, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 53
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: liv, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 54
                elements:
                  coding:
                    mustSupport: true
                    index: 55
                    elements:
                      system: {index: 56}
                      code: {index: 57}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 59
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 60}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 61
                    elements:
                      system: {index: 62}
                      code: {index: 63}
                    required: [system, code]
                required: [coding]
        coagulation:
          match:
            code:
              coding:
              - {code: coa, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 64
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: coa, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 65
                elements:
                  coding:
                    mustSupport: true
                    index: 66
                    elements:
                      system: {index: 67}
                      code: {index: 68}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 70
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 71}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 72
                    elements:
                      system: {index: 73}
                      code: {index: 74}
                    required: [system, code]
                required: [coding]
        kidneys:
          match:
            code:
              coding:
              - {code: kid, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 75
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: kid, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 76
                elements:
                  coding:
                    mustSupport: true
                    index: 77
                    elements:
                      system: {index: 78}
                      code: {index: 79}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 81
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 82}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 83
                    elements:
                      system: {index: 84}
                      code: {index: 85}
                    required: [system, code]
                required: [coding]
package_version: 1.0.4-rc.1
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/sofa-score
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '1.0'
required: [subject, category, effective]