PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.3.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Glucose_Concentration
description: null
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: pattern}
      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: 41
    elements:
      low:
        elements:
          value: {index: 42}
          unit: {index: 43}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 44
          code:
            binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
            index: 45
        required: [value, unit, system, code]
      high:
        elements:
          value: {index: 46}
          unit: {index: 47}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 48
          code:
            binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
            index: 49
        required: [value, unit, system, code]
      type: {index: 50}
  value[x]:
    elements:
      value: {index: 27}
      unit: {index: 28}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 29
      code:
        binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Unit'}
        index: 30
    required: [value, unit, system, code]
  interpretation:
    index: 31
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Interpretation'}
        index: 32
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 33
          version: {index: 34}
          code: {index: 35}
          display: {index: 36}
        required: [version, display, system, code]
    required: [coding]
  method:
    index: 37
    elements:
      coding:
        index: 38
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            codeSnomed:
              match: {}
              schema:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Glucose_Concentration_Method_SNOMED_CT'}
                _required: true
                index: 39
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 40
                required: [system]
    required: [coding]
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 26
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 26}
  value:
    choices: [valueQuantity]
    index: 25
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 25
  component: {index: 51}
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 20
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 20}
  effective:
    choices: [effectiveDateTime]
    index: 19
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            choices: [effectiveDateTime]
            index: 19
  code:
    elements:
      coding:
        array: true
        min: 2
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          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:
                    pattern: {type: String, value: '2.72'}
                    index: 5
                  code: {index: 6}
                  display: {index: 7}
                required: [version, display, system, code]
            codeSnomed:
              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: {index: 13}
package_version: 1.3.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.3.0
required: [effectiveDateTime, subject, category, effective]