description: null package_name: rs/healthhub.fhir derivation: constraint name: HealthHubClinicalChemistryAndImmunology type: Observation elements: category: {index: 30} referenceRange: elements: low: elements: value: {index: 100} system: {index: 101} code: {index: 102} required: [value] high: elements: value: {index: 103} system: {index: 104} code: {index: 105} required: [value] type: elements: coding: index: 106 elements: code: {index: 107} userSelected: {index: 108} required: [code] text: {index: 109} appliesTo: index: 110 elements: coding: elements: code: {index: 111} userSelected: {index: 112} required: [code] age: elements: low: index: 113 elements: system: {index: 114} code: {index: 115} high: index: 116 elements: system: {index: 117} code: {index: 118} required: [high, low] hasMember: {index: 119} value[x]: elements: comparator: {index: 76} system: {index: 77} code: {index: 78} meta: index: 1 elements: profile: {index: 2} required: [profile] derivedFrom: {index: 120} interpretation: index: 84 elements: coding: elements: version: {index: 85} code: {index: 86} userSelected: {index: 87} required: [code] encounter: {index: 51} method: elements: coding: elements: version: {index: 95} code: {index: 96} userSelected: {index: 97} required: [code] specimen: {index: 98} valueQuantity: type: Quantity choiceOf: value index: 75 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 75} value: choices: [valueDateTime] index: 80 slicing: slices: valueDateTime: match: {} schema: choices: [valueDateTime] index: 80 valueString: type: string choiceOf: value index: 72 slicing: slices: valueString: match: {} schema: {type: string, choiceOf: value, index: 72} valueDateTime: type: dateTime choiceOf: value index: 81 slicing: slices: valueDateTime: match: {} schema: {type: dateTime, choiceOf: value, index: 81} component: index: 121 elements: code: elements: coding: index: 122 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: NPU: match: {system: 'urn:oid:1.2.208.176.2.1'} schema: index: 123 elements: system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.2.1'} type: uri index: 124 version: {index: 125} code: {index: 126} display: {index: 127} userSelected: {index: 128} required: [code, display] MedCom: match: {system: 'https://terminology.medcom.dk/fhir/observation-code'} schema: index: 129 elements: system: pattern: {type: uri, value: 'https://terminology.medcom.dk/fhir/observation-code'} type: uri index: 130 version: {index: 131} code: {index: 132} display: {index: 133} userSelected: {index: 134} required: [code, display] value: choices: [valueQuantity] index: 139 slicing: slices: valueQuantity: match: {} schema: choices: [valueQuantity] index: 139 valueQuantity: type: Quantity choiceOf: value index: 140 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 140} value[x]: elements: comparator: {index: 141} system: {index: 142} code: {index: 143} referenceRange: elements: low: elements: system: {index: 144} code: {index: 145} high: elements: system: {index: 146} code: {index: 147} appliesTo: {index: 148} note: index: 88 elements: author: choices: [authorReference, authorString] index: 90 authorReference: type: Reference choiceOf: author refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 91 authorString: {type: string, choiceOf: author, index: 92} extension: short: Additional content defined by implementations. index: 3 slicing: slices: headerObservation: match: {} schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/header-observation', index: 4} senderObservation: match: {} schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/sender-observation', index: 5} producerObservation: match: {} schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/producer-observation', index: 6} binaryObservation: match: {} schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/binary-observation', index: 7} receiverCopyObservation: match: {} schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-copy-observation', index: 8} receiverObservation: match: {} schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-observation', index: 9} requisitionObservation: match: {} schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/requisition-observation', index: 10} effectiveDateTime: {type: dateTime, short: Clinically relevant time or time-period for observation, choiceOf: effective, index: 54} effective: short: Clinically relevant time or time-period for observation choices: [effectiveDateTime] index: 53 id: {short: Logical id of this artifact., index: 0} code: short: Type of observation (code / type). index: 31 elements: coding: index: 32 slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: NPU: match: {system: 'urn:oid:1.2.208.176.2.1'} schema: index: 33 elements: system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.2.1'} type: uri index: 34 version: {index: 35} code: {index: 36} display: {index: 37} userSelected: {index: 38} required: [code, display] MedCom: match: {system: 'https://terminology.medcom.dk/fhir/observation-code'} schema: index: 39 elements: system: pattern: {type: uri, value: 'https://terminology.medcom.dk/fhir/observation-code'} type: uri index: 40 version: {index: 41} code: {index: 42} display: {index: 43} userSelected: {index: 44} required: [code, display] text: {short: 'It is the full name (AnalysenavnFulde) of the analysis in plain text as used by the laboratory, including the official text for NPU codes.', index: 45} required: [coding] identifier: index: 11 extensions: {} elements: extension: {index: 12} type: {index: 13} slicing: rules: open discriminator: - {path: system, type: value} min: null max: 1 slices: ProviderNumber: match: {system: 'urn:oid:1.2.208.176.1.4'} schema: index: 14 elements: use: {index: 15} type: {index: 16} system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.1.4'} type: uri index: 17 value: constraint: digits-providernumber: {human: ProviderNumber Identifiers are at minimum and maximum 6 digits long, severity: error, expression: 'matches(''^([0-9]){6}$'')', requirements: ProviderNumber Identifiers are at minimum and maximum 6 digits long} index: 18 period: {index: 19} assigner: {index: 20} required: [system, value] SOR-ID: match: {system: 'urn:oid:1.2.208.176.1.1'} schema: index: 21 elements: use: {index: 22} type: {index: 23} system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.1.1'} type: uri index: 24 value: constraint: min-digits-sor: {human: 'SOR Identifiers are at minimum 11 digits long. See https://sundhedsdatastyrelsen.dk/-/media/sds/filer/rammer-og-retningslinjer/organisationsregistrering/adgang-til-sor/info-om-opbygningen-af-sor-ider.pdf', severity: error, expression: 'matches(''^([0-9]){11,}$'')', requirements: SOR Identifiers are at minimum 11 digits long} index: 25 period: {index: 26} assigner: {index: 27} required: [system, value] bodySite: elements: coding: elements: version: {index: 93} userSelected: {index: 94} focus: {index: 50} issued: {index: 55} device: {index: 99} basedOn: {index: 28} partOf: {index: 29} subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 46 elements: reference: {index: 47} identifier: {index: 48} display: {index: 49} required: [reference] performer: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 56 elements: id: {index: 57} extension: {index: 58} type: {index: 59} identifier: elements: id: {index: 60} extension: {index: 61} use: {index: 62} type: {index: 63} system: binding: {strength: required, valueSet: 'https://healthhub.dk/fhir/ValueSet/employee-identifier-system'} index: 64 value: {index: 65} period: {index: 66} assigner: {index: 67} extensions: {} required: [system, value] extensions: {} dataAbsentReason: elements: coding: elements: version: {index: 82} userSelected: {index: 83} package_version: 1.0.1 extensions: headerObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/header-observation', type: Extension, isModifier: false, index: 4} senderObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/sender-observation', type: Extension, isModifier: false, index: 5} producerObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/producer-observation', type: Extension, isModifier: false, index: 6} binaryObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/binary-observation', type: Extension, isModifier: false, index: 7} receiverCopyObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-copy-observation', type: Extension, isModifier: false, index: 8} receiverObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-observation', type: Extension, isModifier: false, index: 9} requisitionObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/requisition-observation', type: Extension, isModifier: false, index: 10} class: profile kind: resource url: https://healthhub.dk/fhir/StructureDefinition/healthhub-clinical-chemistry-and-immunology base: http://hl7.org/fhir/StructureDefinition/Observation version: null required: [effective, effectiveDateTime, issued, meta, subject]