description: Definition of the composition for the medication card document package_name: ch.fhir.ig.ch derivation: constraint name: CHEMEDCompositionMedicationCard type: Composition elements: date: {short: The document's creation date and time, mustSupport: true, index: 5} section: array: true min: 2 index: 12 slicing: slices: originalRepresentation: match: {} schema: short: Original representation mustSupport: true _required: true index: 13 elements: title: short: "'Original Darstellung' in german or 'Représentation originale' in french or 'Rappresentazione originale' in italian or 'Original representation' in english\r\n or titles in other languages are also allowed" index: 14 entry: {short: PDF, mustSupport: true, index: 15} card: match: {} schema: short: Medication card mustSupport: true _required: true index: 16 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: 17 code: pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 18 text: {short: Human readable text of this section, index: 19} entry: type: Reference short: Medication statement mustSupport: true refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-card'] index: 20 elements: reference: {index: 21} required: [reference] section: {index: 22} required: [title, code] annotation: match: {} schema: short: Annotation mustSupport: true index: 23 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: 24 code: pattern: type: CodeableConcept value: coding: - {code: 48767-8, system: 'http://loinc.org'} index: 25 text: {short: Human readable text of this section, mustSupport: true, index: 26} section: {index: 27} required: [text, title, code] attester: short: The authenticator of the document (person) index: 9 slicing: slices: legalAuthenticator: match: {} schema: short: The legal authenticator of the document (person) index: 10 elements: time: {short: Timestamp of the signature, index: 11} type: short: Medication management plan (record artifact) constraint: ch-emed-comp-card: {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-medicationcard', 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: '736378000', system: 'http://snomed.info/sct'} index: 3 title: short: "'Medikationsplan' in german or 'Plan de médication' in french or 'Piano farmacologico' in italian or 'Medication Card' in english\r\n or titles in other languages are also allowed" index: 7 author: type: Reference short: The author of the document (person or device) mustSupport: true 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/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 6 status: pattern: {type: Code, value: final} index: 2 language: {short: Language of the document, index: 0} identifier: elements: value: {index: 1} subject: {short: A patient for whom this document instance was created, mustSupport: true, 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: emed-5.0.0-ballot class: profile kind: resource url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr version: 5.0.0-ballot