PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.7.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Glucose_Concentration
description: Dieses Profil beschreibt die Messung eines einzelnen Glukosespiegels.
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_Observation_Glucose_Concentration
type: Observation
elements:
  category:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        vs-cat:
          match:
            coding:
            - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 2
          min: 1
          max: 1
  referenceRange:
    index: 62
    elements:
      low:
        index: 63
        elements:
          value: {index: 64}
          unit: {index: 65}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 66
          code:
            binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
            index: 67
        required: [value, unit, system, code]
      high:
        index: 68
        elements:
          value: {index: 69}
          unit: {index: 70}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 71
          code:
            binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
            index: 72
        required: [value, unit, system, code]
      type:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/referencerange-meaning'}
        index: 73
  value[x]:
    elements:
      value: {index: 27}
      comparator: {index: 28}
      unit: {index: 29}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 30
      code:
        binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
        index: 31
    required: [value, unit, system, code]
  interpretation:
    index: 32
    elements:
      coding:
        index: 33
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            snomed:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Interpretation'}
                index: 34
                elements:
                  system: {index: 35}
                  version: {index: 36}
                  code: {index: 37}
                  display: {index: 38}
                required: [version, display, system, code]
      text: {index: 39}
  method:
    index: 54
    elements:
      coding:
        index: 55
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Method_SNOMED_CT'}
                _required: true
                index: 56
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 57
                  version: {index: 58}
                  code: {index: 59}
                  display: {index: 60}
                required: [version, display, system, code]
      text: {index: 61}
    required: [coding]
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 26
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 26}
          min: 0
          max: 1
  value:
    choices: [valueQuantity]
    index: 25
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 25
          min: 0
          max: 1
  component: {index: 74}
  note:
    index: 40
    elements:
      author:
        choices: [authorString]
        index: 47
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 47
              min: 0
              max: 1
      authorReference:
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0']
        type: Reference
        choiceOf: author
        index: 45
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0']
                type: Reference
                choiceOf: author
                index: 45
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 48
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 48}
              min: 0
              max: 1
      time: {index: 49}
      text: {index: 50}
  effectiveDateTime:
    type: dateTime
    constraint:
      vs-de-1: {human: 'If Observation.effective[x] is dateTime and has a value then that value shall be precise to the day', source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Glucose_Concentration', severity: error, expression: $this.toString().length() >= 8}
    choiceOf: effective
    index: 20
  status: {index: 0}
  effective:
    constraint:
      vs-de-1: {human: 'If Observation.effective[x] is dateTime and has a value then that value shall be precise to the day', source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Glucose_Concentration', severity: error, expression: $this.toString().length() >= 8}
    choices: [effectiveDateTime]
    index: 19
  code:
    index: 3
    elements:
      coding:
        array: true
        min: 2
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 2
          slices:
            loinc:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_LOINC'}
                _required: true
                index: 5
                elements:
                  system: {index: 6}
                  version: {index: 7}
                  code: {index: 8}
                  display: {index: 9}
                required: [version, display, system, code]
            snomed:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_SNOMED_CT'}
                _required: true
                index: 10
                elements:
                  system: {index: 11}
                  version: {index: 12}
                  code: {index: 13}
                  display: {index: 14}
                required: [version, display, system, code]
      text: {index: 15}
  bodySite:
    index: 51
    elements:
      coding: {index: 52}
      text: {index: 53}
  focus: {index: 17}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Patient', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Device|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0']
    index: 16
package_version: 1.7.0
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Glucose_Concentration
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.7.0
required: [subject, category]