PackagesCanonicalsLogsProblems
    Packages
    Vital.MedikationsplanPlus@0.2.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: 40
    elements:
      site: {index: 50}
      asNeeded:
        mustSupport: false
        choices: []
        index: 49
      patientInstruction: {index: 43}
      maxDosePerLifetime: {index: 59}
      maxDosePerAdministration: {index: 58}
      timing:
        mustSupport: false
        index: 44
        elements:
          code:
            elements:
              coding:
                mustSupport: true
                index: 45
                elements:
                  system: {mustSupport: true, index: 46}
                  code: {mustSupport: true, index: 47}
      additionalInstruction: {index: 42}
      maxDosePerPeriod: {index: 57}
      doseAndRate:
        index: 51
        elements:
          type: {index: 52}
          dose:
            mustSupport: false
            choices: []
            index: 54
          rate:
            choices: []
            index: 56
        required: [dose]
      text: {mustSupport: true, index: 41}
    required: [doseAndRate]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: text, type: exists}
      min: null
      slices:
        freitext:
          match: {}
          schema:
            mustSupport: true
            index: 60
            elements:
              site: {index: 68}
              asNeeded:
                mustSupport: true
                choices: [asNeededBoolean]
                index: 66
              method: {index: 70}
              patientInstruction: {index: 63}
              maxDosePerLifetime: {index: 74}
              maxDosePerAdministration: {index: 73}
              route: {index: 69}
              asNeededBoolean: {type: boolean, mustSupport: true, choiceOf: asNeeded, index: 67}
              timing: {index: 64}
              additionalInstruction: {index: 62}
              maxDosePerPeriod: {index: 72}
              doseAndRate: {index: 71}
              text: {mustSupport: true, index: 61}
            required: [text]
        kodiert:
          match: {}
          schema:
            mustSupport: true
            array: true
            max: 4
            index: 75
            elements:
              site: {index: 89}
              asNeeded:
                choices: []
                index: 88
              method: {index: 91}
              patientInstruction: {index: 79}
              maxDosePerLifetime: {index: 105}
              maxDosePerAdministration: {index: 104}
              route: {index: 90}
              timing:
                mustSupport: true
                index: 80
                elements:
                  event: {index: 81}
                  repeat: {index: 82}
                  code:
                    short: CM | CD | CV | HS
                    binding: {strength: required, valueSet: 'https://fhir.vital-services.de/R4/ValueSet/MedikationsplanPlus_Einnahmezeitpunkt'}
                    mustSupport: true
                    index: 83
                    elements:
                      coding:
                        mustSupport: true
                        index: 84
                        elements:
                          system: {mustSupport: true, index: 85}
                          code: {mustSupport: true, index: 86}
              additionalInstruction: {index: 78}
              sequence: {index: 76}
              maxDosePerPeriod: {index: 103}
              doseAndRate:
                mustSupport: true
                index: 92
                elements:
                  type: {index: 93}
                  dose:
                    mustSupport: true
                    choices: [doseQuantity]
                    index: 95
                  doseQuantity: {type: Quantity, mustSupport: true, choiceOf: dose, index: 96}
                  dose[x]:
                    elements:
                      value: {mustSupport: true, index: 97}
                      unit: {mustSupport: true, index: 98}
                      system: {mustSupport: true, index: 99}
                      code: {mustSupport: true, index: 100}
                  rate:
                    choices: []
                    index: 102
                required: [doseQuantity, dose]
              text: {index: 77}
            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/EX_Aufgeklaert_NAIP
        type: Extension
        mustSupport: true
        index: 31
        elements:
          value:
            mustSupport: true
            choices: []
            index: 33
        required: [value]
      Behandlung_durch_Pflege:
        url: https://tx.gerontonet.org/fhir/StructureDefinition/EX_BehandlungDurchPflege_NAIP
        type: Extension
        mustSupport: true
        index: 34
        elements:
          value:
            mustSupport: true
            choices: []
            index: 36
        required: [value]
      Compliance_vermutet:
        url: https://tx.gerontonet.org/fhir/StructureDefinition/EX_ComplianceVermutet_NAIP
        type: Extension
        mustSupport: true
        index: 37
        elements:
          value:
            mustSupport: true
            choices: []
            index: 39
        required: [value]
    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/EX_Aufgeklaert_NAIP
                index: 31
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 33
                required: [value]
            Behandlung_durch_Pflege:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: https://tx.gerontonet.org/fhir/StructureDefinition/EX_BehandlungDurchPflege_NAIP
                index: 34
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 36
                required: [value]
            Compliance_vermutet:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: https://tx.gerontonet.org/fhir/StructureDefinition/EX_ComplianceVermutet_NAIP
                index: 37
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 39
                required: [value]
  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: 0.2.0
class: profile
kind: resource
url: https://tx.gerontonet.org/fhir/StructureDefinition/MedicationStatementNAIP
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 0.1.0
required: [note]