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: 12} section: mustSupport: true index: 27 slicing: rules: open ordered: false discriminator: - {path: code, type: pattern} min: 1 slices: originalRepresentation: match: code: coding: - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation} schema: short: Original representation _required: true index: 28 elements: title: constraint: ch-emed-sect-or: {human: '''Original Darstellung'' in german or ''Représentation originale'' in french or ''Rappresentazione originale'' in talian or ''Original representation'' in english or titles in other languages are also allowed', severity: error, expression: ($this='Original Darstellung' and %resource.language.startsWith('de')) or ($this='Représentation originale' and %resource.language.startsWith('fr')) or ($this='Rappresentazione originale' and %resource.language.startsWith('it')) or ($this='Original representation' and %resource.language.startsWith('en'))} index: 29 code: pattern: type: CodeableConcept value: coding: - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation} index: 30 text: {short: Representation of the original view, index: 31} entry: type: Reference short: PDF refers: ['http://hl7.org/fhir/StructureDefinition/Binary'] index: 32 section: {index: 33} card: match: code: coding: - {code: 10160-0, system: 'http://loinc.org', display: History of medication use} schema: short: Medication card mustSupport: true _required: true index: 34 extensions: sectionId: {url: null, index: 36} elements: extension: index: 35 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: sectionId: match: {url: null} schema: {index: 36} title: constraint: ch-emed-sect-card: {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: 37 code: pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org', display: History of medication use} index: 38 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: 39 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: 40} reference: {index: 41} required: [reference] text: {short: Human readable text of this section, index: 42} entry: type: Reference short: Medication statement mustSupport: true refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-card'] array: true index: 43 elements: reference: {index: 44} required: [reference] section: {index: 45} required: [title, code] annotation: match: code: coding: - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment} schema: short: Annotation mustSupport: true index: 46 elements: title: constraint: ch-emed-sect-annoot: {human: '''Kommentar'' in german or ''Commentaire'' in french or ''Osservazione'' in talian or ''Comment'' in english or titles in other languages are also allowed', severity: error, expression: ($this='Kommentar' and %resource.language.startsWith('de')) or ($this='Commentaire' and %resource.language.startsWith('fr')) or ($this='Osservazione' and %resource.language.startsWith('it')) or ($this='Comment' and %resource.language.startsWith('en'))} index: 47 code: pattern: type: CodeableConcept value: coding: - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment} index: 48 text: {short: Human readable text of this section, mustSupport: true, index: 49} 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: {human: '''Medikationsplan'' in german or ''Plan de médication'' in french or ''Piano farmacologico'' in talian or ''Medication Card'' in english or titles in other languages are also allowed', severity: error, expression: ($this='Medikationsplan' and %resource.language.startsWith('de')) or ($this='Plan de médication' and %resource.language.startsWith('fr')) or ($this='Piano farmacologico' and %resource.language.startsWith('it')) or ($this='Medication Card' and %resource.language.startsWith('en'))} index: 16 author: short: The author of the document (person or device) 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-1.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-medicationcard base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr version: 1.0.0 required: [section]