description: null package_name: dk.ehealth.sundhed.fhir.ig.core derivation: constraint name: ehealth-observation type: Observation elements: referenceRange: elements: type: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/reference-range-type'} index: 16 valueQuantity: {type: Quantity, choiceOf: value, index: 12} value: choices: [valueQuantity, valueCodeableConcept] index: 11 component: elements: code: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/observation-codes'} index: 17 value: choices: [valueQuantity, valueCodeableConcept] index: 19 valueQuantity: {type: Quantity, choiceOf: value, index: 20} valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 21} extension: array: true min: 2 index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 2 slices: episodeOfCare: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', index: 1} min: 1 max: 1 quality: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', index: 2} min: 0 resolvedTiming: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', index: 3} min: 1 max: 1 effective: choices: [] index: 8 code: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/observation-codes'} index: 5 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 13} device: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device'] index: 15 basedOn: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest'] index: 4 subject: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient'] index: 6 performer: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson'] index: 9 dataAbsentReason: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/data-absent-reason'} index: 14 package_version: 3.5.1 extensions: episodeOfCare: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', min: 1, max: 1, type: Extension, index: 1} quality: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', min: 0, type: Extension, index: 2} resolvedTiming: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', min: 1, max: 1, type: Extension, index: 3} class: profile kind: resource url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation base: http://hl7.org/fhir/StructureDefinition/Observation version: 3.5.1 required: [basedOn, subject, effective, performer]