description: Definition of the composition for the medication list document package_name: ch.fhir.ig.ch-emed derivation: constraint name: CHEMEDCompositionMedicationList type: Composition elements: date: {short: The document's creation date and time, index: 5} section: short: Medication list index: 9 slicing: slices: list: match: {} schema: _required: true index: 10 elements: title: short: "'Medikamentenliste' in german or 'Liste de médicaments' in french or 'Lista farmaci' in italian or 'Medication List' in english\r\n or titles in other languages are also allowed" index: 11 code: pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 12 text: {short: Human readable text of this section, index: 13} entry: index: 14 slicing: rules: open discriminator: - {path: $this.resolve(), type: profile} min: null slices: medicationStatement: match: {} schema: type: Reference short: MedicationStatement (from MTP or PADV) refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-changed-list', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-list'] array: true index: 15 elements: reference: {index: 16} required: [reference] medicationRequest: match: {} schema: type: Reference short: MedicationRequest (from PRE or PADV) refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest-changed-list', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest-list'] array: true index: 17 elements: reference: {index: 18} required: [reference] medicationDispense: match: {} schema: type: Reference short: MedicationDispense or MedicationAdministration (from DIS) refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationadministration-list', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationdispense-list'] array: true index: 19 elements: reference: {index: 20} 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: 21 elements: reference: {index: 22} required: [reference] section: {index: 23} required: [text, title, code] annotation: match: {} schema: short: Annotation index: 24 elements: title: short: "'Kommentar' in german or 'Commentaire' in french or 'Osservazione' in italian or 'Comment' in english\r\n or titles in other languages are also allowed" index: 25 code: pattern: type: CodeableConcept value: coding: - {code: 48767-8, system: 'http://loinc.org'} index: 26 text: {short: Human readable text of this section, index: 27} section: {index: 28} required: [text, title, code] type: short: Medication summary document (record artifact) constraint: ch-emed-comp-list: {human: 'If a LOINC code is additionally provided, ''56445-0'' SHALL be used for this document type.', source: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationlist', severity: error, expression: 'coding.exists(system = ''http://loinc.org'') implies (coding.exists(system = ''http://loinc.org'' and code = ''56445-0''))'} pattern: type: CodeableConcept value: coding: - {code: '721912009', system: 'http://snomed.info/sct'} index: 3 title: short: "'Medikationsliste' in german or 'Liste de médication' in french or 'Elenco delle terapie farmacologiche' in italian or Medication List' in english\r\n or titles in other languages are also allowed" index: 7 author: type: Reference short: The author of the document (device, which dynamically generates the document) refers: ['http://hl7.org/fhir/StructureDefinition/Device'] index: 6 status: pattern: {type: Code, value: final} index: 2 language: {short: Language of the document, index: 0} identifier: {type: Identifier, index: 1} subject: {short: A patient for whom this document instance was created, index: 4} confidentiality: extensions: confidentialityCode: {url: null, short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 8} elements: extension: short: Swiss realm of confidentiality code according to the Swiss EPR regulation index: 8 slicing: slices: confidentialityCode: match: {} schema: {short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 8} package_version: 6.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: 6.0.0 required: [section]