description: Definition of the observation for the pharmaceutical advice document package_name: ch.fhir.ig.ch-emed derivation: constraint name: CHEMEDObservation type: Observation elements: note: {short: 'COMMENT: the actual comment. OK/CHANGE/REFUSE/CANCEL/SUSPEND: the reason why the action was done.', index: 19} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: treatmentPlan: match: {url: null} schema: {type: Extension, short: Reference to the medication treatment plan, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', index: 1} min: 0 max: 1 prescription: match: {url: null} schema: {type: Extension, short: Reference to the medication prescription, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription', index: 2} min: 0 max: 1 dispense: match: {url: null} schema: {type: Extension, short: Reference to the medication dispense, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense', index: 3} min: 0 max: 1 medicationStatementChanged: match: {url: null} schema: {type: Extension, short: Reference to the changed medication statement (it SHALL have the same identifier as the entry it replaces), url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-medicationstatement-changed', index: 4} min: 0 max: 1 medicationRequestChanged: match: {url: null} schema: {type: Extension, short: Reference to the changed medication request (it SHALL have the same identifier as the entry it replaces), url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-medicationrequest-changed', index: 5} min: 0 max: 1 effectiveDateTime: type: dateTime short: Effective Time choiceOf: effective index: 15 slicing: slices: effectiveDateTime: match: {} schema: {type: dateTime, short: Effective Time, choiceOf: effective, index: 15} min: 0 max: 1 status: pattern: {type: Code, value: final} index: 7 effective: choices: [] index: 12 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: effectiveDateTime: match: {} schema: short: Effective Time choices: [effectiveDateTime] index: 14 min: 0 max: 1 code: short: Observation code binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/ihe-pharmaceuticaladvicestatuslist'} index: 8 identifier: {type: Identifier, short: Observation Identifier, index: 6} issued: {index: 16} subject: type: Reference short: Patient refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient'] index: 9 elements: reference: {index: 10} required: [reference] performer: type: Reference short: The author of the medical decision, see also 'Guidance - Authorship' refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-relatedperson', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole'] index: 17 elements: reference: {index: 18} required: [reference] package_version: 6.0.0 extensions: treatmentPlan: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', min: 0, max: 1, type: Extension, short: Reference to the medication treatment plan, index: 1} prescription: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription', min: 0, max: 1, type: Extension, short: Reference to the medication prescription, index: 2} dispense: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense', min: 0, max: 1, type: Extension, short: Reference to the medication dispense, index: 3} medicationStatementChanged: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-medicationstatement-changed', min: 0, max: 1, type: Extension, short: Reference to the changed medication statement (it SHALL have the same identifier as the entry it replaces), index: 4} medicationRequestChanged: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-medicationrequest-changed', min: 0, max: 1, type: Extension, short: Reference to the changed medication request (it SHALL have the same identifier as the entry it replaces), index: 5} class: profile kind: resource url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation base: http://hl7.org/fhir/StructureDefinition/Observation version: 6.0.0 required: [issued, note, identifier, performer]