description: Definition of the composition for the medication list document package_name: ch.fhir.ig.ch derivation: constraint name: CHEMEDCompositionMedicationList type: Composition elements: date: {short: The document's creation date and time, index: 12} section: short: Medication list index: 27 slicing: rules: open ordered: false discriminator: - {path: code, type: pattern} min: 1 slices: list: match: code: coding: - {code: 10160-0, system: 'http://loinc.org', display: History of medication use} schema: short: Medication list _required: true index: 28 extensions: sectionId: {url: null, index: 30} elements: extension: index: 29 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: sectionId: match: {url: null} schema: {index: 30} title: constraint: ch-emed-sect-list: {human: '''Medikamentenliste'' in german or ''Liste de médicaments'' in french or ''Lista farmaci'' in talian or ''Medication List'' in english or titles in other languages are also allowed', severity: error, expression: ($this='Medikamentenliste' and %resource.language.startsWith('de')) or ($this='Liste de médicaments' and %resource.language.startsWith('fr')) or ($this='Lista farmaci' and %resource.language.startsWith('it')) or ($this='Medication List' and %resource.language.startsWith('en'))} index: 31 code: pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org', display: History of medication use} index: 32 author: type: Reference short: The author of the section (person or device) if different from the author/timestamp of the document refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole-epr', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 33 extensions: {} elements: extension: {type: Extension, short: Timestamp of the authorship/data input, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time', index: 34} reference: {index: 35} required: [reference] text: {short: Human readable text of this section, index: 36} entry: index: 37 slicing: rules: open discriminator: - {path: $this.resolve(), type: profile} min: null slices: medicationTreatmentPlan: match: {} schema: type: Reference short: Medication treatment plan refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-treatmentplan'] array: true index: 38 elements: reference: {index: 39} required: [reference] medicationPrescription: match: {} schema: type: Reference short: Medication prescription refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest'] array: true index: 40 elements: reference: {index: 41} required: [reference] medicationDispense: match: {} schema: type: Reference short: Medication dispense refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationdispense'] array: true index: 42 elements: reference: {index: 43} required: [reference] pharmaceuticalAdvice: match: {} schema: type: Reference short: Pharmaceutical advice refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation'] array: true index: 44 elements: reference: {index: 45} required: [reference] section: {index: 46} required: [text, title, code] attester: short: The authenticator of the document (person) index: 20 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: 21 elements: mode: {index: 22} time: {short: Timestamp of the signature, index: 23} party: {short: Who attested the composition, index: 24} type: short: Medication summary document pattern: type: CodeableConcept value: coding: - {code: '721912009', system: 'http://snomed.info/sct'} index: 9 title: constraint: ch-emed-title-pml: {human: '''Medikationsliste'' in german or ''Liste de médication'' in french or ''Elenco delle terapie farmacologiche'' in talian or Medication List'' in english or titles in other languages are also allowed', severity: error, expression: ($this='Medikationsliste' and %resource.language.startsWith('de')) or ($this='Liste de médication' and %resource.language.startsWith('fr')) or ($this='Elenco delle terapie farmacologiche' and %resource.language.startsWith('it')) or ($this='Medication List' and %resource.language.startsWith('en'))} index: 16 author: type: Reference short: The author of the document (person or device) refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitioner', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 13 extensions: {} elements: extension: {type: Extension, short: Timestamp of the authorship/data input, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time', index: 14} reference: {index: 15} extension: index: 1 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: versionNumber: match: {url: null} schema: {short: Version number, index: 2} informationRecipient: match: {url: null} schema: {short: A recipient of this document (person or organization), index: 3} dataEnterer: match: {url: null} schema: {short: Person who entered information into this document if it is a person other than the author, index: 4} custodian: short: The organization in whose name the document has been created index: 25 elements: reference: {index: 26} status: pattern: {type: Code, value: final} index: 8 language: {short: Language of the document, index: 0} identifier: short: Identification number of the document index: 5 elements: system: {index: 6} value: {index: 7} required: [value, system] subject: short: A patient for whom this document instance was created index: 10 elements: reference: {index: 11} confidentiality: index: 17 extensions: confidentialityCode: {url: null, short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 19} elements: extension: index: 18 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: 19} package_version: emed-2.0.0 extensions: versionNumber: {url: null, short: Version number, index: 2} informationRecipient: {url: null, short: A recipient of this document (person or organization), index: 3} dataEnterer: {url: null, short: Person who entered information into this document if it is a person other than the author, index: 4} class: profile kind: resource url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationlist base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr version: 2.0.0 required: [section]