PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.3.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Apgar_Score
description: null
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_Observation_Apgar_Score
type: Observation
elements:
  value[x]:
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Apgar_Score_Value'}
        index: 25
        elements:
          system: {index: 26}
          version: {index: 27}
          code: {index: 28}
          display: {index: 29}
        required: [version, display, system, code]
    required: [coding]
  specimen: {index: 31}
  value:
    choices: [valueCodeableConcept]
    index: 23
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 23
  component: {index: 33}
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 18
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, _required: true, index: 18}
          min: 1
  effective:
    choices: [effectiveDateTime]
    index: 17
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            choices: [effectiveDateTime]
            _required: true
            index: 17
          min: 1
  code:
    elements:
      coding:
        array: true
        min: 2
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 2
          slices:
            codeSnomed:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Apgar_Score_Identifier_SNOMED_CT'}
                _required: true
                index: 1
                elements:
                  system: {index: 2}
                  version: {index: 3}
                  code: {index: 4}
                  display: {index: 5}
                required: [version, display, system, code]
            codeLoinc:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Apgar_Score_Identifier_LOINC'}
                _required: true
                index: 6
                elements:
                  system: {index: 7}
                  version: {index: 8}
                  code: {index: 9}
                  display: {index: 10}
                required: [version, display, system, code]
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 24
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 24}
  bodySite: {index: 30}
  focus: {index: 12}
  device: {index: 32}
  subject: {index: 11}
package_version: 1.3.0
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Apgar_Score
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.3.0
required: [effectiveDateTime, subject, effective]