PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-3.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationtreatmentplan
description: Definition of the composition for the medication treatment plan document
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDCompositionMedicationTreatmentPlan
type: Composition
elements:
  date: {short: The document's creation date and time, index: 6}
  section:
    index: 16
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        treatmentPlan:
          match:
            code:
              coding:
              - {code: 77604-7, system: 'http://loinc.org', display: Medication treatment plan.brief}
          schema:
            short: Medication treatment plan
            _required: true
            index: 17
            elements:
              title: {short: '''Medikamentöser Behandlungsplan'' in german or ''Plan de traitement médicamenteux'' in french or ''Piano terapeutico farmacologico'' in italian or ''Medication Treatment Plan'' in english                         or titles in other languages are also allowed', index: 18}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 77604-7, system: 'http://loinc.org', display: Medication treatment plan.brief}
                index: 19
              author:
                type: Reference
                short: The author of the medical decision (person) if different from the author of the document (Composition.author), see also 'Guidance - Different Authors'
                refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 20
                elements:
                  reference: {index: 21}
                required: [reference]
              text: {short: Human readable text of this section, index: 22}
              entry:
                type: Reference
                short: Medication statement
                refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement']
                index: 23
                elements:
                  reference: {index: 24}
                required: [reference]
              section: {index: 25}
            required: [entry, text, title, code]
        annotation:
          match:
            code:
              coding:
              - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
          schema:
            short: Annotation
            index: 26
            elements:
              title: {short: '''Kommentar'' in german or ''Commentaire'' in french or ''Osservazione'' in italian or ''Comment'' in english                         or titles in other languages are also allowed', index: 27}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
                index: 28
              text: {short: Human readable text of this section, index: 29}
            required: [text, title, code]
  attester:
    short: The authenticator of the document (person)
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: mode, type: value}
      min: null
      slices:
        legalAuthenticator:
          match: {mode: null}
          schema:
            short: The legal authenticator of the document (person)
            index: 12
            elements:
              time: {short: Timestamp of the signature, index: 13}
              party: {short: Who attested the composition, index: 14}
  type:
    short: Record artifact
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '419891008', system: 'http://snomed.info/sct'}
    index: 4
  title: {short: '''Therapieentscheid Medikation'' in german or ''Décision thérapeutique relative à la médication'' in french or ''Decisione terapeutica di trattamento farmacologico'' in italian or ''Medication Treatment Plan'' in english                         or titles in other languages are also allowed', index: 8}
  author:
    type: Reference
    short: The author of the document (person)
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 7
  custodian: {short: The organization in whose name the document has been created, index: 15}
  status:
    pattern: {type: Code, value: final}
    index: 3
  language: {short: Language of the document, index: 0}
  identifier:
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [value, system]
  subject: {short: A patient for whom this document instance was created, index: 5}
  confidentiality:
    extensions:
      confidentialityCode: {url: null, short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 10}
    elements:
      extension:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            confidentialityCode:
              match: {url: null}
              schema: {short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 10}
package_version: emed-3.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationtreatmentplan
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr
version: 3.0.0
required: [section, custodian]