PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.6.0-Expansions
    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: 0
    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: 1
          min: 1
          max: 1
  referenceRange:
    index: 49
    elements:
      low:
        elements:
          value: {index: 50}
          unit: {index: 51}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 52
          code:
            binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
            index: 53
        required: [value, unit, system, code]
      high:
        elements:
          value: {index: 54}
          unit: {index: 55}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 56
          code:
            binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
            index: 57
        required: [value, unit, system, code]
      type:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/referencerange-meaning'}
        index: 58
  value[x]:
    elements:
      value: {index: 21}
      unit: {index: 22}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 23
      code:
        binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
        index: 24
    required: [value, unit, system, code]
  interpretation:
    elements:
      coding:
        index: 25
        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: 26
                elements:
                  system: {index: 27}
                  version: {index: 28}
                  code: {index: 29}
                  display: {index: 30}
                required: [version, display, system, code]
  method:
    index: 42
    elements:
      coding:
        index: 43
        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: 44
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 45
                  version: {index: 46}
                  code: {index: 47}
                  display: {index: 48}
                required: [version, display, system, code]
    required: [coding]
  valueQuantity: {type: Quantity, choiceOf: value, index: 20}
  value:
    choices: [valueQuantity]
    index: 19
  component: {index: 59}
  note:
    index: 31
    elements:
      author:
        choices: [authorString]
        index: 38
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 38
              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.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.6.0']
        type: Reference
        choiceOf: author
        index: 36
        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.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.6.0']
                type: Reference
                choiceOf: author
                index: 36
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 39
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 39}
              min: 0
              max: 1
      time: {index: 40}
      text: {index: 41}
  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: 17
  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: 16
  code:
    elements:
      coding:
        array: true
        min: 2
        index: 2
        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: 3
                elements:
                  system: {index: 4}
                  version: {index: 5}
                  code: {index: 6}
                  display: {index: 7}
                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: 8
                elements:
                  system: {index: 9}
                  version: {index: 10}
                  code: {index: 11}
                  display: {index: 12}
                required: [version, display, system, code]
  focus: {index: 14}
  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.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.6.0']
    index: 13
package_version: 1.6.0-Expansions
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.6.0
required: [subject, category]