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: 6} section: short: Medication list index: 16 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: 17 elements: title: {short: '''Medikamentenliste'' in german or ''Liste de médicaments'' in french or ''Lista farmaci'' in italian or ''Medication List'' in english or titles in other languages are also allowed', index: 18} code: pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org', display: History of medication use} index: 19 text: {short: Human readable text of this section, index: 20} entry: index: 21 slicing: rules: open discriminator: - {path: $this.resolve(), type: profile} min: null slices: medicationStatement: match: {} schema: type: Reference short: MedicationStatement (from MTP) refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-list'] array: true index: 22 elements: reference: {index: 23} required: [reference] medicationRequest: match: {} schema: type: Reference short: MedicationRequest (from PRE) refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest-list'] array: true index: 24 elements: reference: {index: 25} required: [reference] medicationDispense: match: {} schema: type: Reference short: MedicationDispense (from DIS) refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationdispense-list'] array: true index: 26 elements: reference: {index: 27} required: [reference] observation: match: {} schema: type: Reference short: Observation (from PADV) refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation-list'] array: true index: 28 elements: reference: {index: 29} required: [reference] section: {index: 30} 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: Medication summary document pattern: type: CodeableConcept value: coding: - {code: '721912009', system: 'http://snomed.info/sct'} index: 4 title: {short: '''Medikationsliste'' in german or ''Liste de médication'' in french or ''Elenco delle terapie farmacologiche'' in italian or Medication List'' in english or titles in other languages are also allowed', index: 8} author: type: Reference short: The author of the document (device, which dynamically generates the document) refers: ['http://hl7.org/fhir/StructureDefinition/Device'] 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-medicationlist base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr version: 3.0.0 required: [section, custodian]