description: Definition of the observation package_name: ch.fhir.ig.ch derivation: constraint name: CHEMEDObservation type: Observation elements: 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, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-medicationstatement-changed', index: 4} min: 0 max: 1 identifier: short: Observation Identifier index: 5 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 6 value: {short: Identifier value as UUID, index: 7} required: [value, system] status: pattern: {type: Code, value: final} index: 8 code: short: Observation code binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-emed/ValueSet/ihe-pharmaceuticaladvicestatuslist'} index: 9 subject: type: Reference short: Patient refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient'] index: 10 elements: reference: {index: 11} required: [reference] effectiveDateTime: {short: Effective Time, index: 12} note: short: Annotation index: 13 elements: text: {index: 14} package_version: emed-2.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, index: 4} class: profile kind: resource url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation base: http://hl7.org/fhir/StructureDefinition/Observation version: 2.0.0 required: [note, identifier]