description: Definition of the composition for the pharmaceutical advice document package_name: ch.fhir.ig.ch-emed-epr derivation: constraint name: CHEMEDEPRCompositionPharmaceuticalAdvice type: Composition elements: date: constraint: datetime-only-instant-invariant: {human: 'The dateTime shall be an instant (''YYYY-MM-DDThh:mm:ss+zz:zz'' or ''YYYY-MM-DDThh:mm:ssZ'')', source: 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-composition-pharmaceuticaladvice', severity: error, expression: '$this.toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$'')'} index: 19 meta: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 0} versionId: {short: ✕ This element is not supported, index: 1} lastUpdated: {short: ✕ This element is not supported, index: 2} source: {short: ✕ This element is not supported, index: 3} security: {short: ✕ This element is not supported, index: 4} tag: {short: ✕ This element is not supported, index: 5} encounter: {short: ✕ This element is not supported, index: 18} section: index: 41 elements: modifierExtension: {index: 42} author: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-device', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitioner', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person'] index: 43 focus: {short: ✕ This element is not supported, index: 44} mode: pattern: {type: Code, value: snapshot} index: 45 orderedBy: {short: ✕ This element is not supported, index: 46} entry: elements: id: {short: ✕ This element is not supported, index: 47} slicing: slices: originalRepresentation: match: {} schema: index: 48 elements: section: {short: ✕ This element is not supported, index: 61} emptyReason: {short: ✕ This element is not supported, index: 60} author: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-device', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitioner', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person'] index: 56 extension: {short: ✕ This element is not supported, index: 50} id: {short: ✕ This element is not supported, index: 49} code: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 52} coding: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 53} version: {short: ✕ This element is not supported, index: 54} userSelected: {short: ✕ This element is not supported, index: 55} focus: {short: ✕ This element is not supported, index: 57} entry: short: According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format. The PDF shall be contained locally in the document. index: 58 elements: id: {short: ✕ This element is not supported, index: 59} modifierExtension: {index: 51} extensions: {} pharmaceuticalAdvice: match: {} schema: index: 62 elements: modifierExtension: {index: 63} author: type: Reference short: ✕ This element is not supported refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-device', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitioner', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person'] index: 64 entry: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-observation'] index: 65 annotation: match: {} schema: short: Annotation comment concerning this document index: 66 elements: id: {short: ✕ This element is not supported, index: 67} modifierExtension: {index: 68} code: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 69} coding: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 70} version: {short: ✕ This element is not supported, index: 71} userSelected: {short: ✕ This element is not supported, index: 72} author: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-device', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitioner', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person'] index: 73 focus: {short: ✕ This element is not supported, index: 74} emptyReason: {short: ✕ This element is not supported, index: 75} section: {short: ✕ This element is not supported, index: 76} vitalSigns: match: {} schema: short: IPS Vital Signs Section index: 77 elements: modifierExtension: {index: 78} code: pattern: type: CodeableConcept value: coding: - {code: 8716-3, system: 'http://loinc.org'} index: 79 elements: coding: {index: 80} required: [coding] author: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-device', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitioner', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person'] index: 81 entry: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-observation-body-weight'] index: 82 required: [entry, code] implicitRules: {index: 6} attester: short: ✕ This element is not supported index: 35 slicing: slices: legalAuthenticator: match: {} schema: {short: ✕ This element is not supported, index: 36} type: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 14} coding: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 15} version: {short: ✕ This element is not supported, index: 16} userSelected: {short: ✕ This element is not supported, index: 17} author: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-device', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person'] index: 20 slicing: slices: person: match: {} schema: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole', 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person'] index: 21 device: match: {} schema: type: Reference refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-device'] index: 22 event: {short: ✕ This element is not supported, index: 40} custodian: elements: id: {short: ✕ This element is not supported, index: 37} identifier: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 8} use: pattern: {type: Code, value: official} index: 9 type: {short: ✕ This element is not supported, index: 10} value: short: The document identifier as an URN-encoded UUID constraint: urn-uuid-invariant: {human: 'The value shall be an URN-encoded UUID (''urn:uuid:00000000-0000-0000-0000-000000000000'')', source: 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-composition-pharmaceuticaladvice', severity: error, expression: '$this.matches(''^urn:uuid:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'')'} index: 11 period: {short: ✕ This element is not supported, index: 12} assigner: type: Reference short: ✕ This element is not supported refers: ['http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization'] index: 13 relatesTo: short: ✕ This element is not supported index: 38 elements: code: pattern: {type: Code, value: replaces} index: 39 modifierExtension: {index: 7} confidentiality: short: The confidentiality is fixed to the 'normal' level pattern: {type: Code, value: N} index: 23 elements: id: {short: ✕ This element is not supported, index: 24} extension: index: 25 slicing: slices: confidentialityCode: match: {} schema: index: 26 elements: value: choices: [valueCodeableConcept] index: 28 slicing: slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 28 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 29 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 29} value[x]: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 30} coding: pattern: type: Coding value: {code: '17621005', system: 'http://snomed.info/sct'} index: 31 extensions: {} elements: extension: {short: ✕ This element is not supported, index: 32} version: {short: ✕ This element is not supported, index: 33} userSelected: {short: ✕ This element is not supported, index: 34} extensions: confidentialityCode: url: null index: 26 elements: value: choices: [valueCodeableConcept] index: 28 slicing: slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 28 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 29 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 29} value[x]: extensions: {} elements: extension: {short: ✕ This element is not supported, index: 30} coding: pattern: type: Coding value: {code: '17621005', system: 'http://snomed.info/sct'} index: 31 extensions: {} elements: extension: {short: ✕ This element is not supported, index: 32} version: {short: ✕ This element is not supported, index: 33} userSelected: {short: ✕ This element is not supported, index: 34} package_version: 1.0.0 class: profile kind: resource url: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-composition-pharmaceuticaladvice base: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-pharmaceuticaladvice version: 1.0.0