PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.6.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_MedicationStatement
description: Dieses Profil bildet die Medikationsinformation ab.
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_MedicationStatement
type: MedicationStatement
elements:
  dosage:
    index: 35
    elements:
      asNeeded[x]:
        elements:
          coding:
            index: 58
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                snomed:
                  match: {}
                  schema:
                    binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_PRN_Medication_Reason_SNOMED_CT'}
                    array: true
                    index: 59
                    elements:
                      system: {index: 60}
                      version: {index: 61}
                      code: {index: 62}
                      display: {index: 63}
                    required: [version, display, system, code]
      site:
        index: 64
        elements:
          coding:
            elements:
              system: {index: 65}
              code: {index: 66}
              display: {index: 67}
            required: [display, system, code]
      asNeeded:
        choices: [asNeededCodeableConcept]
        index: 56
        slicing:
          slices:
            asNeededCodeableConcept:
              match: {}
              schema:
                choices: [asNeededCodeableConcept]
                index: 56
              min: 0
              max: 1
      patientInstruction: {index: 37}
      maxDosePerAdministration:
        binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
        index: 106
        elements:
          value: {index: 107}
        required: [value]
      route:
        index: 68
        elements:
          coding:
            index: 69
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    binding: {strength: example, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Route_of_Administration_SNOMED_CT'}
                    pattern:
                      type: Coding
                      value: {system: 'http://snomed.info/sct'}
                    index: 70
                    elements:
                      system: {index: 71}
                      version: {index: 72}
                      code: {index: 73}
                      display: {index: 74}
                    required: [version, display, system, code]
                edqm:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Medicine_Route_Of_Administration'}
                    index: 75
                    elements:
                      system: {index: 76}
                      code: {index: 77}
                      display: {index: 78}
                    required: [display, system, code]
      asNeededBoolean:
        type: boolean
        choiceOf: asNeeded
        index: 54
        slicing:
          slices:
            asNeededBoolean:
              match: {}
              schema: {type: boolean, choiceOf: asNeeded, index: 54}
              min: 0
              max: 1
      timing:
        elements:
          repeat:
            index: 38
            elements:
              frequencyMax: {index: 41}
              when:
                index: 46
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: value}
                  min: null
                  slices:
                    Tageszeit:
                      match: {}
                      schema:
                        binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_EventTiming'}
                        array: true
                        index: 47
                      min: 0
                    Mahlzeiten-Schlafzeiten:
                      match: {}
                      schema:
                        binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_TimingEvent'}
                        array: true
                        index: 48
                      min: 0
              offset: {index: 49}
              frequency: {index: 40}
              duration: {index: 39}
              dayOfWeek: {index: 44}
              periodMax: {index: 43}
              period: {index: 42}
              timeOfDay: {index: 45}
      maxDosePerPeriod:
        index: 99
        elements:
          numerator:
            binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
            index: 100
            elements:
              value: {index: 101}
            required: [value]
          denominator:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time'}
            index: 102
            elements:
              value: {index: 103}
              system: {index: 104}
              code: {index: 105}
            required: [value, system, code]
      doseAndRate:
        index: 79
        elements:
          dose:
            choices: [doseRange]
            index: 86
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema:
                    choices: [doseRange]
                    index: 86
                  min: 0
                  max: 1
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 84
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 84}
                  min: 0
                  max: 1
          doseRange:
            type: Range
            choiceOf: dose
            index: 87
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema: {type: Range, choiceOf: dose, index: 87}
                  min: 0
                  max: 1
          dose[x]:
            elements:
              low:
                binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
                index: 88
              high:
                binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
                index: 89
          rate:
            choices: []
            index: 91
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                rateRatio:
                  match: {}
                  schema:
                    choices: [rateRatio]
                    index: 93
                  min: 0
                  max: 1
          rateRatio:
            type: Ratio
            choiceOf: rate
            index: 94
            slicing:
              slices:
                rateRatio:
                  match: {}
                  schema: {type: Ratio, choiceOf: rate, index: 94}
                  min: 0
                  max: 1
          rate[x]:
            elements:
              numerator:
                binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
                index: 95
              denominator:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time'}
                index: 96
                elements:
                  system: {index: 97}
                  code: {index: 98}
                required: [system, code]
      asNeededCodeableConcept:
        type: CodeableConcept
        choiceOf: asNeeded
        index: 57
        slicing:
          slices:
            asNeededCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: asNeeded, index: 57}
              min: 0
              max: 1
      text: {index: 36}
  reasonCode:
    index: 19
    elements:
      coding:
        elements:
          system: {index: 20}
          code: {index: 21}
          display: {index: 22}
        required: [display, system, code]
  statusReason:
    binding: {strength: example, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Drug_Therapy_Status_Codes_SNOMED_CT'}
    index: 3
  note:
    index: 24
    elements:
      author:
        choices: [authorString]
        index: 31
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 31
              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: 29
        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: 29
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 32
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 32}
              min: 0
              max: 1
      time: {index: 33}
      text: {index: 34}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        behandlungsziel:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal', index: 1}
          min: 0
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 14
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 14}
          min: 0
          max: 1
  status: {index: 2}
  effective:
    choices: [effectivePeriod]
    index: 16
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema:
            choices: [effectivePeriod]
            index: 16
          min: 0
          max: 1
  dateAsserted: {index: 18}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.6.0']
    index: 8
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.6.0']
            _required: true
            index: 8
          min: 1
          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.6.0']
    index: 9
  effectivePeriod:
    type: Period
    choiceOf: effective
    index: 17
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, choiceOf: effective, index: 17}
          min: 0
          max: 1
  medication:
    choices: []
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            _required: true
            index: 7
          min: 1
          max: 1
  reasonReference:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/Observation', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Condition_Diagnosis|1.6.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_DiagnosticReport|1.6.0']
    index: 23
package_version: 1.6.0
extensions:
  behandlungsziel: {url: 'http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal', min: 0, type: Extension, index: 1}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_MedicationStatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.6.0
required: [medicationReference]