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