PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.6.0-Expansions
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Treatment_Goal
description: Dieses Profil bildet ein individuelles Behandlungsziel ab.
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_Treatment_Goal
type: Goal
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        endDatum:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Treatment_Goal_End', index: 1}
          min: 0
          max: 1
  lifecycleStatus: {index: 2}
  description:
    index: 3
    elements:
      coding:
        elements:
          system: {index: 4}
          code: {index: 5}
          display: {index: 6}
        required: [display, system, code]
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.6.0']
    index: 7
  start:
    choices: []
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        startDate:
          match: {}
          schema:
            choices: [startDate]
            index: 11
          min: 0
          max: 1
  startDate:
    type: date
    choiceOf: start
    index: 12
    slicing:
      slices:
        startDate:
          match: {}
          schema: {type: date, choiceOf: start, index: 12}
          min: 0
          max: 1
  target:
    index: 13
    elements:
      detailRange:
        type: Range
        choiceOf: detail
        index: 27
        slicing:
          slices:
            detailRange:
              match: {}
              schema: {type: Range, choiceOf: detail, index: 27}
              min: 0
              max: 1
      detailQuantity:
        type: Quantity
        choiceOf: detail
        index: 22
        slicing:
          slices:
            detailQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: detail, index: 22}
              min: 0
              max: 1
      detailInteger:
        type: integer
        choiceOf: detail
        index: 45
        slicing:
          slices:
            detailInteger:
              match: {}
              schema: {type: integer, choiceOf: detail, index: 45}
              min: 0
              max: 1
      detail[x]:
        elements:
          numerator:
            elements:
              value: {index: 49}
              system:
                pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                index: 50
            required: [value]
          denominator:
            elements:
              value: {index: 51}
              system:
                pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                index: 52
            required: [value]
      detailString:
        type: string
        choiceOf: detail
        index: 39
        slicing:
          slices:
            detailString:
              match: {}
              schema: {type: string, choiceOf: detail, index: 39}
              min: 0
              max: 1
      measure:
        index: 14
        elements:
          coding:
            elements:
              system: {index: 15}
              code: {index: 16}
              display: {index: 17}
            required: [display, system, code]
      detailRatio:
        type: Ratio
        choiceOf: detail
        index: 48
        slicing:
          slices:
            detailRatio:
              match: {}
              schema: {type: Ratio, choiceOf: detail, index: 48}
              min: 0
              max: 1
      detailCodeableConcept:
        type: CodeableConcept
        choiceOf: detail
        index: 36
        slicing:
          slices:
            detailCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: detail, index: 36}
              min: 0
              max: 1
      detailBoolean:
        type: boolean
        choiceOf: detail
        index: 42
        slicing:
          slices:
            detailBoolean:
              match: {}
              schema: {type: boolean, choiceOf: detail, index: 42}
              min: 0
              max: 1
      detail:
        choices: [detailRatio]
        index: 47
        slicing:
          slices:
            detailRatio:
              match: {}
              schema:
                choices: [detailRatio]
                index: 47
              min: 0
              max: 1
    required: [measure]
  note: {index: 53}
package_version: 1.6.0-Expansions
extensions:
  endDatum: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Treatment_Goal_End', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Treatment_Goal
base: http://hl7.org/fhir/StructureDefinition/Goal
version: 1.6.0