PackagesCanonicalsLogsProblems
    Packages
    Vital.MedikationsplanPlus@1.1.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: 48765-2}
          schema:
            mustSupport: true
            index: 50
            elements:
              orderedBy: {index: 59}
              section: {index: 64}
              mode: {index: 58}
              title:
                pattern: {type: String, value: Allergien und Unverträglichkeiten}
                index: 51
              emptyReason: {index: 63}
              author: {index: 56}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 52
                elements:
                  coding:
                    mustSupport: true
                    index: 53
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 54
                      code:
                        pattern: {type: Code, value: 48765-2}
                        mustSupport: true
                        index: 55
                    required: [system, code]
              focus: {index: 57}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusAllergyIntolerance']
                index: 60
                elements:
                  reference: {mustSupport: true, index: 61}
                  type: {index: 62}
            required: [entry]
        gesundheitsBelange:
          match:
            code:
              coding: {code: 75310-3}
          schema:
            mustSupport: true
            index: 65
            elements:
              orderedBy: {index: 75}
              section: {index: 84}
              mode: {index: 74}
              title:
                pattern: {type: String, value: Gesundheitsbelange}
                mustSupport: true
                index: 66
              emptyReason: {index: 83}
              author: {index: 72}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 67
                elements:
                  coding:
                    mustSupport: true
                    index: 68
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 69
                      code:
                        pattern: {type: Code, value: 75310-3}
                        mustSupport: true
                        index: 70
                      display: {mustSupport: true, index: 71}
                    required: [system, code]
              focus: {index: 73}
              entry:
                index: 76
                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: 77
                        elements:
                          reference: {mustSupport: true, index: 78}
                          type: {index: 79}
                        required: [reference]
                    stillzeit:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationBreastfeeding']
                        index: 80
                        elements:
                          reference: {mustSupport: true, index: 81}
                          type: {index: 82}
                        required: [reference]
        klinischeParameter:
          match:
            code:
              coding: {code: 55752-0}
          schema:
            mustSupport: true
            _required: true
            index: 85
            elements:
              orderedBy: {index: 95}
              section: {index: 107}
              mode: {index: 94}
              title:
                pattern: {type: String, value: Klinische Parameter}
                mustSupport: true
                index: 86
              emptyReason: {index: 106}
              author: {index: 92}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 87
                elements:
                  coding:
                    mustSupport: true
                    index: 88
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 89
                      code:
                        pattern: {type: Code, value: 55752-0}
                        mustSupport: true
                        index: 90
                      display: {mustSupport: true, index: 91}
                    required: [system, code]
              focus: {index: 93}
              entry:
                array: true
                min: 1
                max: 3
                index: 96
                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: 97
                        elements:
                          reference: {mustSupport: true, index: 98}
                          type: {index: 99}
                        required: [reference]
                    groesse:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationBodyHeight']
                        index: 100
                        elements:
                          reference: {mustSupport: true, index: 101}
                          type: {index: 102}
                        required: [reference]
                    creatinin:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusObservationCreatinine']
                        index: 103
                        elements:
                          reference: {mustSupport: true, index: 104}
                          type: {index: 105}
                        required: [reference]
            required: [entry]
        hinweiseSection:
          match:
            code:
              coding: {code: 69730-0}
          schema:
            mustSupport: true
            index: 108
            elements:
              orderedBy: {index: 121}
              section: {index: 124}
              mode: {index: 120}
              title:
                pattern: {type: String, value: Wichtige Angaben / Instruktionen}
                mustSupport: true
                index: 109
              emptyReason: {index: 123}
              author: {index: 115}
              code:
                binding: {strength: required, valueSet: 'https://tx.gerontonet.org/fhir/ValueSet/MedikationsplanPlusSectioncodes'}
                mustSupport: true
                index: 110
                elements:
                  coding:
                    mustSupport: true
                    index: 111
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 112
                      code:
                        pattern: {type: Code, value: 69730-0}
                        mustSupport: true
                        index: 113
                      display: {mustSupport: true, index: 114}
                    required: [system, code]
              focus: {index: 116}
              entry: {index: 122}
              text:
                mustSupport: true
                index: 117
                elements:
                  status: {mustSupport: true, index: 118}
                  div: {mustSupport: true, index: 119}
            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/StrucutreDefinition/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/MedkiationsplanPlusPatient']
    index: 14
    elements:
      reference: {mustSupport: true, index: 15}
      type: {index: 16}
    required: [reference]
package_version: 1.1.0
class: profile
kind: resource
url: https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusComposition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.0
required: [identifier]