PackagesCanonicalsLogsProblems
    Packages
    Vital.MedikationsplanPlus@1.1.0
    https://tx.gerontonet.org/fhir/StructureDefinition/MedicationsplanPlusMedikationStatement
description: null
package_name: Vital.MedikationsplanPlus
derivation: constraint
name: MedikationsplanPlusMedicationStatement
type: MedicationStatement
elements:
  category: {index: 12}
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {index: 2}
      profile: {mustSupport: true, index: 3}
  dosage:
    mustSupport: true
    index: 33
    elements:
      site: {index: 43}
      asNeeded:
        mustSupport: false
        choices: []
        index: 42
      patientInstruction: {index: 36}
      maxDosePerLifetime: {index: 52}
      maxDosePerAdministration: {index: 51}
      timing:
        mustSupport: false
        index: 37
        elements:
          code:
            elements:
              coding:
                mustSupport: true
                index: 38
                elements:
                  system: {mustSupport: true, index: 39}
                  code: {mustSupport: true, index: 40}
      additionalInstruction: {index: 35}
      maxDosePerPeriod: {index: 50}
      doseAndRate:
        index: 44
        elements:
          type: {index: 45}
          dose:
            mustSupport: false
            choices: []
            index: 47
          rate:
            choices: []
            index: 49
        required: [dose]
      text: {mustSupport: true, index: 34}
    required: [doseAndRate]
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: text, type: exists}
      min: null
      slices:
        freitext:
          match: {}
          schema:
            mustSupport: true
            index: 53
            elements:
              site: {index: 61}
              asNeeded:
                mustSupport: true
                choices: [asNeededBoolean]
                index: 59
              method: {index: 63}
              patientInstruction: {index: 56}
              maxDosePerLifetime: {index: 67}
              maxDosePerAdministration: {index: 66}
              route: {index: 62}
              asNeededBoolean: {type: boolean, mustSupport: true, choiceOf: asNeeded, index: 60}
              timing: {index: 57}
              additionalInstruction: {index: 55}
              maxDosePerPeriod: {index: 65}
              doseAndRate: {index: 64}
              text: {mustSupport: true, index: 54}
            required: [text]
        kodiert:
          match: {}
          schema:
            mustSupport: true
            array: true
            max: 4
            index: 68
            elements:
              site: {index: 82}
              asNeeded:
                choices: []
                index: 81
              method: {index: 84}
              patientInstruction: {index: 72}
              maxDosePerLifetime: {index: 98}
              maxDosePerAdministration: {index: 97}
              route: {index: 83}
              timing:
                mustSupport: true
                index: 73
                elements:
                  event: {index: 74}
                  repeat: {index: 75}
                  code:
                    short: CM | CD | CV | HS
                    binding: {strength: required, valueSet: 'https://fhir.vital-services.de/R4/ValueSet/MedikationsplanPlus_Einnahmezeitpunkt'}
                    mustSupport: true
                    index: 76
                    elements:
                      coding:
                        mustSupport: true
                        index: 77
                        elements:
                          system: {mustSupport: true, index: 78}
                          code: {mustSupport: true, index: 79}
              additionalInstruction: {index: 71}
              sequence: {index: 69}
              maxDosePerPeriod: {index: 96}
              doseAndRate:
                mustSupport: true
                index: 85
                elements:
                  type: {index: 86}
                  dose:
                    mustSupport: true
                    choices: [doseQuantity]
                    index: 88
                  doseQuantity: {type: Quantity, mustSupport: true, choiceOf: dose, index: 89}
                  dose[x]:
                    elements:
                      value: {mustSupport: true, index: 90}
                      unit: {mustSupport: true, index: 91}
                      system: {mustSupport: true, index: 92}
                      code: {mustSupport: true, index: 93}
                  rate:
                    choices: []
                    index: 95
                required: [doseQuantity, dose]
              text: {index: 70}
            required: [doseAndRate]
  derivedFrom: {index: 29}
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 16}
      type: {index: 17}
    required: [reference]
  reasonCode:
    elements:
      text: {mustSupport: true, index: 30}
  statusReason: {index: 11}
  note: {mustSupport: true, index: 32}
  effective[x]:
    elements:
      start: {mustSupport: true, index: 25}
      end: {mustSupport: true, index: 26}
    required: [start]
  status: {mustSupport: true, index: 10}
  language: {mustSupport: true, index: 4}
  effective:
    mustSupport: true
    choices: [effectivePeriod]
    index: 23
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 5
    elements:
      system: {mustSupport: true, index: 6}
      value: {mustSupport: true, index: 7}
    required: [value, system]
  context: {index: 21}
  dateAsserted: {mustSupport: true, index: 27}
  basedOn: {index: 8}
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusMedication']
    index: 15
  partOf: {index: 9}
  informationSource: {index: 28}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 18
    elements:
      reference: {mustSupport: true, index: 19}
      type: {index: 20}
    required: [reference]
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 24}
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 14
  reasonReference: {index: 31}
package_version: 1.1.0
class: profile
kind: resource
url: https://tx.gerontonet.org/fhir/StructureDefinition/MedicationsplanPlusMedikationStatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.0.0