description: Definition of the composition for the pharmaceutical advice document package_name: ch.fhir.ig.ch derivation: constraint name: CHEMEDCompositionPharmaceuticalAdvice type: Composition elements: date: {short: The document's creation date and time, index: 12} section: index: 27 slicing: rules: open ordered: false discriminator: - {path: code, type: pattern} min: 1 slices: pharmaceuticalAdvice: match: code: coding: - {code: 61357-0, system: 'http://loinc.org', display: Medication pharmaceutical advice.brief} schema: short: Pharmaceutical advice _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-padv: {human: '''Hinweise zur Medikation'' in german or ''Conseils sur les médicaments'' in french or ''Consigli sui medicamenti'' in talian or ''Pharmaceutical Advice'' in english or titles in other languages are also allowed', severity: error, expression: ($this='Hinweise zur Medikation' and %resource.language.startsWith('de')) or ($this='Conseils sur les médicaments' and %resource.language.startsWith('fr')) or ($this='Consigli sui medicamenti' and %resource.language.startsWith('it')) or ($this='Pharmaceutical Advice' and %resource.language.startsWith('en'))} index: 31 code: pattern: type: CodeableConcept value: coding: - {code: 61357-0, system: 'http://loinc.org', display: Medication pharmaceutical advice.brief} 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: type: Reference short: Observation refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation'] index: 37 elements: reference: {index: 38} required: [reference] section: {index: 39} required: [entry, text, title, code] annotation: match: code: coding: - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment} schema: short: Annotation index: 40 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: 41 code: pattern: type: CodeableConcept value: coding: - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment} index: 42 text: {short: Human readable text of this section, index: 43} 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: Record artifact pattern: type: CodeableConcept value: coding: - {code: '419891008', system: 'http://snomed.info/sct'} index: 9 title: constraint: ch-emed-title-padv: {human: '''Kommentar zur Medikation'' in german or ''Commentaire relatif à la médication'' in french or ''Commento sulla terapia farmacologica'' in talian or ''Pharmaceutical Advice'' in english or titles in other languages are also allowed', severity: error, expression: ($this='Kommentar zur Medikation' and %resource.language.startsWith('de')) or ($this='Commentaire relatif à la médication' and %resource.language.startsWith('fr')) or ($this='Commento sulla terapia farmacologica' and %resource.language.startsWith('it')) or ($this='Pharmaceutical Advice' 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: {short: Timestamp of the authorship/data input, 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: 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.1.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-pharmaceuticaladvice base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr version: 2.1.0 required: [section, custodian]