PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.icu@2024.0.0-alpha2
    https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/StructureDefinition/monitoring-und-vitaldaten
description: null
package_name: de.medizininformatikinitiative.kerndatensatz.icu
derivation: constraint
name: SD_MII_ICU_Monitoring_Und_Vitaldaten
type: Observation
elements:
  category:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        vs-cat:
          match:
            coding:
            - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 5
            elements:
              coding:
                mustSupport: true
                index: 6
                elements:
                  system: {mustSupport: true, index: 7}
                  code: {mustSupport: true, index: 8}
                required: [system, code]
        loinc-fhir-core:
          match:
            coding:
            - {code: 85353-1, system: 'http://loinc.org'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: 85353-1, system: 'http://loinc.org'}
            index: 9
            elements:
              coding:
                mustSupport: true
                index: 10
                elements:
                  system: {mustSupport: true, index: 11}
                  code: {mustSupport: true, index: 12}
                required: [system, code]
  referenceRange: {mustSupport: true, index: 41}
  value[x]:
    elements:
      value: {mustSupport: true, index: 33}
      unit: {mustSupport: true, index: 34}
      system: {mustSupport: true, index: 35}
      code: {mustSupport: true, index: 36}
    required: [value, system, code]
  interpretation: {mustSupport: true, index: 38}
  encounter: {type: Reference, mustSupport: true, index: 25}
  valueQuantity:
    type: Quantity
    mustSupport: true
    pattern:
      type: Quantity
      value: {system: 'http://unitsofmeasure.org'}
    choiceOf: value
    index: 32
  value:
    mustSupport: true
    pattern:
      type: Quantity
      value: {system: 'http://unitsofmeasure.org'}
    choices: [valueQuantity]
    index: 31
  component:
    mustSupport: true
    index: 42
    elements:
      code: {mustSupport: true, index: 43}
      value:
        mustSupport: true
        choices: [valueQuantity]
        index: 48
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema:
                mustSupport: true
                choices: [valueQuantity]
                index: 48
      valueQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: value
        index: 49
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: value, index: 49}
      dataAbsentReason: {mustSupport: true, index: 50}
      interpretation: {mustSupport: true, index: 51}
      referenceRange: {mustSupport: true, index: 52}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 28}
  status: {mustSupport: true, index: 3}
  effective:
    mustSupport: true
    choices: [effectiveDateTime, effectivePeriod]
    index: 27
  code:
    constraint:
      code-coding-icu: {human: Es muss mindestens ein snomed oder loinc code vorhanden sein, severity: error, expression: 'coding.exists() implies coding.where(system = ''http://snomed.info/sct'').exists() or coding.where(system = ''http://loinc.org'').exists()'}
    mustSupport: true
    index: 13
    elements:
      coding:
        index: 14
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            sct:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/ValueSet/Code-Monitoring-und-Vitaldaten-SNOMED'}
                mustSupport: true
                index: 15
                elements:
                  system: {mustSupport: true, index: 16}
                  code: {mustSupport: true, index: 17}
                required: [system, code]
            loinc:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/ValueSet/Code-Monitoring-und-Vitaldaten-LOINC'}
                mustSupport: true
                index: 18
                elements:
                  system: {mustSupport: true, index: 19}
                  code: {mustSupport: true, index: 20}
                required: [system, code]
            IEEE-11073:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/ValueSet/Code-Monitoring-und-Vitaldaten-ISO11073'}
                mustSupport: true
                index: 21
                elements:
                  system: {mustSupport: true, index: 22}
                  code: {mustSupport: true, index: 23}
                required: [system, code]
    required: [coding]
  identifier: {mustSupport: true, index: 0}
  bodySite:
    binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/ValueSet/BodySite-Observation-Monitoring-und-Vitaldaten'}
    mustSupport: true
    index: 39
  device:
    type: Reference
    mustSupport: true
    refers: ['https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/StructureDefinition/icu-device']
    index: 40
  basedOn: {index: 1}
  partOf:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Procedure']
    index: 2
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 24
  dataAbsentReason:
    constraint:
      mii-icu-1: {human: 'If there is no Observation.value, a dataAbsentReason must be given.', severity: error, expression: value.exists().not() implies dataAbsentReason.exists()}
    mustSupport: true
    index: 37
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 29}
package_version: 2024.0.0-alpha2
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/StructureDefinition/monitoring-und-vitaldaten
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [effectiveDateTime, effectivePeriod, subject, category, effective]