PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.7.0-Expansions
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Breastfeeding_Status
description: Dieses Profil beschreibt den Stillzeitstatus einer Person.
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_Observation_Breastfeeding_Status
type: Observation
elements:
  value[x]:
    elements:
      coding:
        index: 19
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            loinc:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Breastfeeding_Status_LOINC'}
                _required: true
                index: 20
                elements:
                  system: {index: 21}
                  version: {index: 22}
                  code: {index: 23}
                  display: {index: 24}
                required: [version, display, system, code]
      text:
        pattern: {type: String, value: Hier wird ein Freitext eingetragen.}
        index: 25
    required: [coding]
  specimen: {index: 37}
  value:
    choices: [valueCodeableConcept]
    index: 17
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 17
          min: 0
          max: 1
  component: {index: 38}
  note:
    index: 26
    elements:
      author:
        choices: [authorString]
        index: 33
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 33
              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: 31
        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: 31
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 34
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 34}
              min: 0
              max: 1
      time: {index: 35}
      text: {index: 36}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 12}
  status: {index: 0}
  effective:
    choices: [effectiveDateTime]
    index: 11
  code:
    index: 1
    elements:
      coding:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            loinc:
              match: {code: 63895-7, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 63895-7, system: 'http://loinc.org'}
                _required: true
                index: 3
                elements:
                  system: {index: 4}
                  version: {index: 5}
                  code: {index: 6}
                  display: {index: 7}
                required: [version, display, system, code]
      text: {index: 8}
    required: [coding]
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 18
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 18}
          min: 0
          max: 1
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0']
    index: 9
package_version: 1.7.0-Expansions
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Observation_Breastfeeding_Status
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.7.0
required: [subject]