PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    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:
    mustSupport: true
    choices: [valueInteger]
    index: 14
  valueInteger:
    type: integer
    mustSupport: true
    choiceOf: value
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueInteger:
          match: {}
          schema: {type: integer, index: 16}
  component:
    index: 17
    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: 18
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: resp, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 19
                elements:
                  coding:
                    mustSupport: true
                    index: 20
                    elements:
                      system: {index: 21}
                      code: {index: 22}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 24
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 25}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 26
                    elements:
                      system: {index: 27}
                      code: {index: 28}
                    required: [system, code]
                required: [coding]
        nervousSystem:
          match:
            code:
              coding:
              - {code: ns, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 29
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ns, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 30
                elements:
                  coding:
                    mustSupport: true
                    index: 31
                    elements:
                      system: {index: 32}
                      code: {index: 33}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 35
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 36}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 37
                    elements:
                      system: {index: 38}
                      code: {index: 39}
                    required: [system, code]
                required: [coding]
        cardiovascularSystem:
          match:
            code:
              coding:
              - {code: cvs, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 40
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: cvs, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 41
                elements:
                  coding:
                    mustSupport: true
                    index: 42
                    elements:
                      system: {index: 43}
                      code: {index: 44}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 46
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 47}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 48
                    elements:
                      system: {index: 49}
                      code: {index: 50}
                    required: [system, code]
                required: [coding]
        liver:
          match:
            code:
              coding:
              - {code: liv, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 51
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: liv, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 52
                elements:
                  coding:
                    mustSupport: true
                    index: 53
                    elements:
                      system: {index: 54}
                      code: {index: 55}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 57
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 58}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 59
                    elements:
                      system: {index: 60}
                      code: {index: 61}
                    required: [system, code]
                required: [coding]
        coagulation:
          match:
            code:
              coding:
              - {code: coa, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 62
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: coa, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 63
                elements:
                  coding:
                    mustSupport: true
                    index: 64
                    elements:
                      system: {index: 65}
                      code: {index: 66}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 68
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 69}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 70
                    elements:
                      system: {index: 71}
                      code: {index: 72}
                    required: [system, code]
                required: [coding]
        kidneys:
          match:
            code:
              coding:
              - {code: kid, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
          schema:
            index: 73
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: kid, system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                index: 74
                elements:
                  coding:
                    mustSupport: true
                    index: 75
                    elements:
                      system: {index: 76}
                      code: {index: 77}
                    required: [system, code]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 79
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 80}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/sofa-score'}
                    index: 81
                    elements:
                      system: {index: 82}
                      code: {index: 83}
                    required: [system, code]
                required: [coding]
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/sofa-score
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.9.1
required: [subject, category, effective]