PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.4.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: 36
    elements:
      site:
        index: 56
        elements:
          coding:
            elements:
              system: {index: 57}
              code: {index: 58}
              display: {index: 59}
            required: [display, system, code]
      asNeeded:
        choices: [asNeededCodeableConcept]
        index: 54
        slicing:
          slices:
            asNeededCodeableConcept:
              match: {}
              schema:
                choices: [asNeededCodeableConcept]
                index: 54
      patientInstruction: {index: 38}
      maxDosePerAdministration:
        binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
        index: 98
        elements:
          value: {index: 99}
        required: [value]
      route:
        index: 60
        elements:
          coding:
            index: 61
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              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: 62
                    elements:
                      system: {index: 63}
                      version: {index: 64}
                      code: {index: 65}
                      display: {index: 66}
                    required: [version, display, system, code]
                edqmCode:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Medicine_Route_Of_Administration'}
                    index: 67
                    elements:
                      system: {index: 68}
                      code: {index: 69}
                      display: {index: 70}
                    required: [display, system, code]
      asNeededBoolean:
        type: boolean
        choiceOf: asNeeded
        index: 52
        slicing:
          slices:
            asNeededBoolean:
              match: {}
              schema: {type: boolean, choiceOf: asNeeded, index: 52}
      timing:
        elements:
          repeat:
            index: 39
            elements:
              duration: {index: 40}
              frequency: {index: 41}
              frequencyMax: {index: 42}
              period: {index: 43}
              periodMax: {index: 44}
              dayOfWeek: {index: 45}
              timeOfDay: {index: 46}
              when: {index: 47}
      maxDosePerPeriod:
        index: 91
        elements:
          numerator:
            binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
            index: 92
            elements:
              value: {index: 93}
            required: [value]
          denominator:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time'}
            index: 94
            elements:
              value: {index: 95}
              system: {index: 96}
              code: {index: 97}
            required: [value, system, code]
      doseAndRate:
        index: 71
        elements:
          dose:
            choices: [doseRange]
            index: 78
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema:
                    choices: [doseRange]
                    index: 78
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 76
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 76}
          doseRange:
            type: Range
            choiceOf: dose
            index: 79
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema: {type: Range, choiceOf: dose, index: 79}
          dose[x]:
            elements:
              low:
                binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
                index: 80
              high:
                binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
                index: 81
          rate:
            choices: []
            index: 83
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                rateRatio:
                  match: {}
                  schema:
                    choices: [rateRatio]
                    index: 85
          rateRatio:
            type: Ratio
            choiceOf: rate
            index: 86
            slicing:
              slices:
                rateRatio:
                  match: {}
                  schema: {type: Ratio, choiceOf: rate, index: 86}
          rate[x]:
            elements:
              numerator:
                binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
                index: 87
              denominator:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time'}
                index: 88
                elements:
                  system: {index: 89}
                  code: {index: 90}
                required: [system, code]
      asNeededCodeableConcept:
        type: CodeableConcept
        choiceOf: asNeeded
        index: 55
        slicing:
          slices:
            asNeededCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: asNeeded, index: 55}
      text: {index: 37}
  medication[x]:
    elements:
      reference: {index: 9}
    required: [reference]
  reasonCode:
    index: 20
    elements:
      coding:
        elements:
          system: {index: 21}
          code: {index: 22}
          display: {index: 23}
        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: 25
    elements:
      author:
        choices: [authorString]
        index: 32
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 32
      authorReference:
        type: Reference
        choiceOf: author
        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.4.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.4.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.4.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.4.0']
        index: 30
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                type: Reference
                choiceOf: author
                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.4.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.4.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.4.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.4.0']
                index: 30
      authorString:
        type: string
        choiceOf: author
        index: 33
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 33}
      time: {index: 34}
      text: {index: 35}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      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: 15
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 15}
  status: {index: 2}
  effective:
    choices: [effectivePeriod]
    index: 17
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema:
            choices: [effectivePeriod]
            index: 17
  dateAsserted: {index: 19}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.4.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.4.0']
            _required: true
            index: 8
          min: 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.4.0']
    index: 10
  effectivePeriod:
    type: Period
    choiceOf: effective
    index: 18
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, choiceOf: effective, index: 18}
  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
  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.4.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_DiagnosticReport|1.4.0']
    index: 24
package_version: 1.4.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.4.0
required: [medicationReference]