PackagesCanonicalsLogsProblems
    Packages
    Vital.MedikationsplanPlus@1.0.0
    https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusComposition
description: null
package_name: Vital.MedikationsplanPlus
derivation: constraint
name: MedikationsplanPlusComposition
type: Composition
elements:
  date: {mustSupport: true, index: 18}
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {index: 2}
      profile: {mustSupport: true, index: 3}
    required: [profile]
  encounter: {index: 17}
  section:
    index: 33
    slicing:
      rules: open
      discriminator:
      - {path: code.coding.code, type: value}
      min: null
      slices:
        medikationsplanSection:
          match:
            code:
              coding: {code: 19009-0}
          schema:
            mustSupport: true
            _required: true
            index: 34
            elements:
              orderedBy: {index: 44}
              section: {index: 49}
              mode: {index: 43}
              title:
                pattern: {type: String, value: aktuelle Medikation}
                index: 35
              emptyReason: {index: 48}
              author: {index: 41}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 36
                elements:
                  coding:
                    mustSupport: true
                    index: 37
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 38
                      code:
                        pattern: {type: Code, value: 19009-0}
                        mustSupport: true
                        index: 39
                      display: {mustSupport: true, index: 40}
                    required: [system, code]
              focus: {index: 42}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusMedicationStatementList']
                index: 45
                elements:
                  reference: {mustSupport: true, index: 46}
                  type: {index: 47}
                required: [reference]
            required: [entry]
        allergienSection:
          match:
            code:
              coding: {code: null}
          schema:
            mustSupport: true
            index: 50
            elements:
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 51
                elements:
                  coding:
                    mustSupport: true
                    index: 52
                    elements:
                      system: {mustSupport: true, index: 53}
                      code: {mustSupport: true, index: 54}
                    required: [system, code]
              author: {index: 55}
              focus: {index: 56}
              mode: {index: 57}
              orderedBy: {index: 58}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusAllergyIntolerance']
                index: 59
                elements:
                  reference: {mustSupport: true, index: 60}
                  type: {index: 61}
              emptyReason: {index: 62}
              section: {index: 63}
            required: [entry]
        gesundheitsBelange:
          match:
            code:
              coding: {code: 75310-3}
          schema:
            mustSupport: true
            index: 64
            elements:
              orderedBy: {index: 74}
              section: {index: 83}
              mode: {index: 73}
              title: {mustSupport: true, index: 65}
              emptyReason: {index: 82}
              author: {index: 71}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 66
                elements:
                  coding:
                    mustSupport: true
                    index: 67
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 68
                      code:
                        pattern: {type: Code, value: 75310-3}
                        mustSupport: true
                        index: 69
                      display: {mustSupport: true, index: 70}
                    required: [system, code]
              focus: {index: 72}
              entry:
                index: 75
                slicing:
                  rules: closed
                  discriminator:
                  - {path: reference, type: profile}
                  min: null
                  slices:
                    schwangerschaft:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationPregnancystatus']
                        index: 76
                        elements:
                          reference: {mustSupport: true, index: 77}
                          type: {index: 78}
                        required: [reference]
                    stillzeit:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationBreastfeeding']
                        index: 79
                        elements:
                          reference: {mustSupport: true, index: 80}
                          type: {index: 81}
                        required: [reference]
        klinischeParameter:
          match:
            code:
              coding: {code: null}
          schema:
            mustSupport: true
            _required: true
            index: 84
            elements:
              orderedBy: {index: 94}
              section: {index: 106}
              mode: {index: 93}
              title:
                pattern: {type: String, value: Klinische Parameter}
                mustSupport: true
                index: 85
              emptyReason: {index: 105}
              author: {index: 91}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 86
                elements:
                  coding:
                    mustSupport: true
                    index: 87
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 88
                      code: {mustSupport: true, index: 89}
                      display: {mustSupport: true, index: 90}
                    required: [system, code]
              focus: {index: 92}
              entry:
                array: true
                min: 1
                max: 3
                index: 95
                slicing:
                  rules: open
                  discriminator:
                  - {path: reference, type: profile}
                  min: 1
                  max: 3
                  slices:
                    gewicht:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationBodyWeight']
                        index: 96
                        elements:
                          reference: {mustSupport: true, index: 97}
                          type: {index: 98}
                        required: [reference]
                    groesse:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationBodyHeight']
                        index: 99
                        elements:
                          reference: {mustSupport: true, index: 100}
                          type: {index: 101}
                        required: [reference]
                    creatinin:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationCreatinine']
                        index: 102
                        elements:
                          reference: {mustSupport: true, index: 103}
                          type: {index: 104}
                        required: [reference]
            required: [entry]
        hinweiseSection:
          match:
            code:
              coding: {code: 69730-0}
          schema:
            mustSupport: true
            index: 107
            elements:
              orderedBy: {index: 120}
              section: {index: 123}
              mode: {index: 119}
              title: {mustSupport: true, index: 108}
              emptyReason: {index: 122}
              author: {index: 114}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 109
                elements:
                  coding:
                    mustSupport: true
                    index: 110
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 111
                      code:
                        pattern: {type: Code, value: 69730-0}
                        mustSupport: true
                        index: 112
                      display: {mustSupport: true, index: 113}
                    required: [system, code]
              focus: {index: 115}
              entry: {index: 121}
              text:
                mustSupport: true
                index: 116
                elements:
                  status: {mustSupport: true, index: 117}
                  div: {mustSupport: true, index: 118}
            required: [text]
  attester: {index: 23}
  type:
    mustSupport: true
    index: 9
    elements:
      coding:
        mustSupport: true
        index: 10
        elements:
          system: {mustSupport: true, index: 11}
          code: {mustSupport: true, index: 12}
          display: {mustSupport: true, index: 13}
        required: [system, code]
  title: {mustSupport: true, index: 22}
  author:
    type: Reference
    mustSupport: true
    refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusPractitioner']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
      type: {index: 21}
    required: [reference]
  event: {index: 32}
  custodian:
    index: 24
    slicing:
      rules: closed
      discriminator:
      - {path: identifier.id, type: pattern}
      min: null
      slices:
        Apotheke:
          match:
            identifier: {id: null}
          schema:
            mustSupport: true
            index: 25
            elements:
              type: {index: 26}
              identifier: {index: 27}
            required: [identifier]
        Praxis:
          match:
            identifier: {id: null}
          schema:
            mustSupport: true
            index: 28
            elements:
              type: {index: 29}
              identifier: {index: 30}
            required: [identifier]
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 8
  language: {mustSupport: true, index: 4}
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 5
    elements:
      system: {mustSupport: true, index: 6}
      value: {mustSupport: true, index: 7}
    required: [value, system]
  relatesTo: {index: 31}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusPatient']
    index: 14
    elements:
      reference: {mustSupport: true, index: 15}
      type: {index: 16}
    required: [reference]
package_version: 1.0.0
class: profile
kind: resource
url: https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusComposition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: null
required: [identifier]