description: null package_name: healthhub.fhir derivation: constraint name: HealthHubClinicalChemistryAndImmunology type: Observation elements: category: {index: 109} referenceRange: elements: id: {index: 213} low: elements: id: {index: 214} value: {index: 215} system: {index: 216} code: {index: 217} required: [value] high: elements: id: {index: 218} value: {index: 219} system: {index: 220} code: {index: 221} required: [value] type: elements: id: {index: 222} coding: index: 223 elements: code: {index: 224} userSelected: {index: 225} required: [code] text: {index: 226} appliesTo: index: 227 elements: id: {index: 228} coding: elements: code: {index: 229} userSelected: {index: 230} required: [code] age: elements: id: {index: 231} low: index: 232 elements: value: {index: 233} system: {index: 234} code: {index: 235} required: [value] high: index: 236 elements: value: {index: 237} system: {index: 238} code: {index: 239} required: [value] required: [high, low] hasMember: {index: 240} value[x]: elements: id: {index: 178} meta: index: 1 elements: profile: {index: 2} required: [profile] derivedFrom: {index: 241} interpretation: index: 185 elements: id: {index: 186} coding: index: 187 elements: system: {index: 188} version: {index: 189} code: {index: 190} userSelected: {index: 191} required: [code, system] encounter: {index: 143} method: elements: id: {index: 204} coding: binding: {strength: required, valueSet: 'http://hl7.dk/fhir/core/ValueSet/dk-core-TechniquesSCTCodes'} index: 205 elements: id: {index: 206} system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 207 version: {index: 208} code: {index: 209} userSelected: {index: 210} required: [code, system] required: [coding] specimen: {index: 211} valueQuantity: type: Quantity choiceOf: value index: 170 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 170} value: choices: [valueDateTime] index: 176 slicing: slices: valueDateTime: match: {} schema: choices: [valueDateTime] index: 176 valueString: type: string choiceOf: value index: 166 slicing: slices: valueString: match: {} schema: {type: string, choiceOf: value, index: 166} valueDateTime: type: dateTime choiceOf: value index: 177 slicing: slices: valueDateTime: match: {} schema: {type: dateTime, choiceOf: value, index: 177} component: index: 242 elements: code: elements: coding: index: 243 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: NPU: match: {system: 'urn:oid:1.2.208.176.2.1'} schema: index: 244 elements: system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.2.1'} type: uri index: 245 version: {index: 246} code: {index: 247} display: {index: 248} userSelected: {index: 249} required: [code, display] MedCom: match: {system: 'https://terminology.medcom.dk/fhir/observation-code'} schema: index: 250 elements: system: pattern: {type: uri, value: 'https://terminology.medcom.dk/fhir/observation-code'} type: uri index: 251 version: {index: 252} code: {index: 253} display: {index: 254} userSelected: {index: 255} required: [code, display] value: choices: [valueQuantity] index: 260 slicing: slices: valueQuantity: match: {} schema: choices: [valueQuantity] index: 260 valueQuantity: type: Quantity choiceOf: value index: 261 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 261} value[x]: elements: comparator: {index: 262} system: {index: 263} code: {index: 264} referenceRange: elements: low: elements: system: {index: 265} code: {index: 266} high: elements: system: {index: 267} code: {index: 268} appliesTo: {index: 269} note: index: 192 elements: id: {index: 193} author: choices: [authorReference, authorString] index: 195 authorReference: type: Reference choiceOf: author refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 196 authorString: {type: string, choiceOf: author, index: 197} 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 elements: id: {index: 5} extension: index: 6 slicing: slices: LetterStatisticalCode: match: {} schema: index: 6 elements: id: {index: 7} SenderLocationNumber: match: {} schema: index: 8 elements: id: {index: 9} ReceiverLocationNumber: match: {} schema: index: 10 elements: id: {index: 11} EnvelopeSentDate: match: {} schema: index: 12 elements: id: {index: 13} EnvelopeSentTime: match: {} schema: index: 14 elements: id: {index: 15} EnvelopeNumber: match: {} schema: index: 16 elements: id: {index: 17} LetterNumber: match: {} schema: index: 18 elements: id: {index: 19} extensions: LetterStatisticalCode: url: null index: 6 elements: id: {index: 7} SenderLocationNumber: url: null index: 8 elements: id: {index: 9} ReceiverLocationNumber: url: null index: 10 elements: id: {index: 11} EnvelopeSentDate: url: null index: 12 elements: id: {index: 13} EnvelopeSentTime: url: null index: 14 elements: id: {index: 15} EnvelopeNumber: url: null index: 16 elements: id: {index: 17} LetterNumber: url: null index: 18 elements: id: {index: 19} senderObservation: match: {} schema: type: Extension isModifier: false url: https://healthhub.dk/fhir/StructureDefinition/sender-observation index: 20 elements: id: {index: 21} extension: index: 22 slicing: slices: SenderId: match: {} schema: index: 22 elements: id: {index: 23} SenderCode: match: {} schema: index: 24 elements: id: {index: 25} SenderCodeOrganization: match: {} schema: index: 26 elements: id: {index: 27} SenderOrganizationName: match: {} schema: index: 28 elements: id: {index: 29} SenderDepartmentName: match: {} schema: index: 30 elements: id: {index: 31} extensions: SenderId: url: null index: 22 elements: id: {index: 23} SenderCode: url: null index: 24 elements: id: {index: 25} SenderCodeOrganization: url: null index: 26 elements: id: {index: 27} SenderOrganizationName: url: null index: 28 elements: id: {index: 29} SenderDepartmentName: url: null index: 30 elements: id: {index: 31} producerObservation: match: {} schema: type: Extension isModifier: false url: https://healthhub.dk/fhir/StructureDefinition/producer-observation index: 32 elements: id: {index: 33} extension: index: 34 slicing: slices: ProducerCode: match: {} schema: index: 34 elements: id: {index: 35} Producer: match: {} schema: index: 36 elements: id: {index: 37} extensions: ProducerCode: url: null index: 34 elements: id: {index: 35} Producer: url: null index: 36 elements: id: {index: 37} binaryObservation: match: {} schema: type: Extension isModifier: false url: https://healthhub.dk/fhir/StructureDefinition/binary-observation index: 38 elements: id: {index: 39} extension: index: 40 slicing: slices: Format: match: {} schema: index: 40 elements: id: {index: 41} ObjectFileName: match: {} schema: index: 42 elements: id: {index: 43} ObjectReferenceNumber: match: {} schema: index: 44 elements: id: {index: 45} ObjectType: match: {} schema: index: 46 elements: id: {index: 47} ObjectExtension: match: {} schema: index: 48 elements: id: {index: 49} extensions: Format: url: null index: 40 elements: id: {index: 41} ObjectFileName: url: null index: 42 elements: id: {index: 43} ObjectReferenceNumber: url: null index: 44 elements: id: {index: 45} ObjectType: url: null index: 46 elements: id: {index: 47} ObjectExtension: url: null index: 48 elements: id: {index: 49} receiverCopyObservation: match: {} schema: type: Extension isModifier: false url: https://healthhub.dk/fhir/StructureDefinition/receiver-copy-observation index: 50 elements: id: {index: 51} extension: index: 52 slicing: slices: CopyReceiverIdentifier: match: {} schema: index: 52 elements: id: {index: 53} CopyReceiverOrganizationName: match: {} schema: index: 54 elements: id: {index: 55} CopyReceiverDepartmentName: match: {} schema: index: 56 elements: id: {index: 57} extensions: CopyReceiverIdentifier: url: null index: 52 elements: id: {index: 53} CopyReceiverOrganizationName: url: null index: 54 elements: id: {index: 55} CopyReceiverDepartmentName: url: null index: 56 elements: id: {index: 57} receiverObservation: match: {} schema: type: Extension isModifier: false url: https://healthhub.dk/fhir/StructureDefinition/receiver-observation index: 58 elements: id: {index: 59} extension: index: 60 slicing: slices: ReceiverId: match: {} schema: index: 60 elements: id: {index: 61} ReceiverCode: match: {} schema: index: 62 elements: id: {index: 63} ReceiverCodeOrganization: match: {} schema: index: 64 elements: id: {index: 65} ReceiverOrganizationName: match: {} schema: index: 66 elements: id: {index: 67} ReceiverDepartmentName: match: {} schema: index: 68 elements: id: {index: 69} ReceiverAddress: match: {} schema: index: 70 elements: id: {index: 71} ReceiverZipCode: match: {} schema: index: 72 elements: id: {index: 73} ReceiverCity: match: {} schema: index: 74 elements: id: {index: 75} extensions: ReceiverId: url: null index: 60 elements: id: {index: 61} ReceiverCode: url: null index: 62 elements: id: {index: 63} ReceiverCodeOrganization: url: null index: 64 elements: id: {index: 65} ReceiverOrganizationName: url: null index: 66 elements: id: {index: 67} ReceiverDepartmentName: url: null index: 68 elements: id: {index: 69} ReceiverAddress: url: null index: 70 elements: id: {index: 71} ReceiverZipCode: url: null index: 72 elements: id: {index: 73} ReceiverCity: url: null index: 74 elements: id: {index: 75} requisitionObservation: match: {} schema: type: Extension isModifier: false url: https://healthhub.dk/fhir/StructureDefinition/requisition-observation index: 76 elements: id: {index: 77} extension: index: 78 slicing: slices: RequisitionSampleIdentifier: match: {} schema: index: 78 elements: id: {index: 79} LaboratoryInternalSampleIdentifier: match: {} schema: index: 80 elements: id: {index: 81} RequesterIdentifierReceiver: match: {} schema: index: 82 elements: id: {index: 83} RequisitionComment: match: {} schema: index: 84 elements: id: {index: 85} extensions: RequisitionSampleIdentifier: url: null index: 78 elements: id: {index: 79} LaboratoryInternalSampleIdentifier: url: null index: 80 elements: id: {index: 81} RequesterIdentifierReceiver: url: null index: 82 elements: id: {index: 83} RequisitionComment: url: null index: 84 elements: id: {index: 85} effectiveDateTime: {type: dateTime, short: Clinically relevant time or time-period for observation, choiceOf: effective, index: 146} effective: short: Clinically relevant time or time-period for observation choices: [effectiveDateTime] index: 145 id: {short: Logical id of this artifact., index: 0} code: short: Type of observation (code / type). index: 110 elements: id: {index: 111} coding: index: 112 slicing: rules: open discriminator: - {path: system, type: value} min: 1 max: 1 slices: NPU: match: {system: 'urn:oid:1.2.208.176.2.1'} schema: index: 113 elements: system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.2.1'} type: uri index: 114 version: {short: Version of the system - if relevant - LabOrg, index: 115} code: {index: 116} display: {index: 117} userSelected: {index: 118} required: [code, display, system] MedCom: match: {system: 'https://terminology.medcom.dk/fhir/observation-code'} schema: index: 119 elements: system: pattern: {type: uri, value: 'https://terminology.medcom.dk/fhir/observation-code'} type: uri index: 120 version: {short: Version of the system - if relevant - LabOrg, index: 121} code: {index: 122} display: {index: 123} userSelected: {index: 124} required: [code, display, system] LocalCode: match: {system: 'https://healthhub.dk/fhir/local-code'} schema: short: Local codes for the clinic index: 125 elements: system: pattern: {type: uri, value: 'https://healthhub.dk/fhir/local-code'} type: uri index: 126 version: {short: Version of the system - LabOrg, index: 127} code: {short: Code for local code, index: 128} display: {short: Text for the local code, index: 129} userSelected: {index: 130} required: [code, display, system] MDS: match: {system: 'https://healthhub.dk/fhir/mds-code'} schema: index: 131 elements: system: pattern: {type: uri, value: 'https://healthhub.dk/fhir/mds-code'} type: uri index: 132 code: {short: Code for MDS, index: 133} display: {short: Text for the mds, index: 134} userSelected: {index: 135} required: [code, display, system] 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: 136} required: [coding] identifier: index: 86 extensions: {} elements: extension: {index: 87} type: {index: 88} 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: 89 elements: id: {index: 90} extension: {index: 91} use: {index: 92} type: {index: 93} system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.1.4'} type: uri index: 94 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: 95 period: {index: 96} assigner: {index: 97} extensions: {} required: [system, value] SOR-ID: match: {system: 'urn:oid:1.2.208.176.1.1'} schema: index: 98 elements: id: {index: 99} extension: {index: 100} use: {index: 101} type: {index: 102} system: pattern: {type: uri, value: 'urn:oid:1.2.208.176.1.1'} type: uri index: 103 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: 104 period: {index: 105} assigner: {index: 106} extensions: {} required: [system, value] bodySite: elements: id: {index: 198} coding: elements: id: {index: 199} system: {index: 200} version: {index: 201} code: {index: 202} userSelected: {index: 203} required: [code, system] focus: {index: 142} issued: {index: 147} device: {index: 212} basedOn: {index: 107} partOf: {index: 108} subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 137 elements: id: {index: 138} reference: {index: 139} identifier: {index: 140} display: {index: 141} required: [reference] performer: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 148 elements: id: {index: 149} extension: {index: 150} reference: {index: 151} type: {index: 152} identifier: index: 153 elements: id: {index: 154} extension: {index: 155} use: {index: 156} type: {index: 157} system: binding: {strength: required, valueSet: 'https://healthhub.dk/fhir/ValueSet/employee-identifier-system'} index: 158 value: {index: 159} period: {index: 160} assigner: {index: 161} extensions: {} required: [system, value] extensions: {} required: [identifier, reference] dataAbsentReason: index: 179 elements: id: {index: 180} coding: index: 181 elements: system: {index: 182} version: {index: 183} userSelected: {index: 184} package_version: 2.0.5 extensions: headerObservation: url: https://healthhub.dk/fhir/StructureDefinition/header-observation type: Extension isModifier: false index: 4 elements: id: {index: 5} extension: index: 6 slicing: slices: LetterStatisticalCode: match: {} schema: index: 6 elements: id: {index: 7} SenderLocationNumber: match: {} schema: index: 8 elements: id: {index: 9} ReceiverLocationNumber: match: {} schema: index: 10 elements: id: {index: 11} EnvelopeSentDate: match: {} schema: index: 12 elements: id: {index: 13} EnvelopeSentTime: match: {} schema: index: 14 elements: id: {index: 15} EnvelopeNumber: match: {} schema: index: 16 elements: id: {index: 17} LetterNumber: match: {} schema: index: 18 elements: id: {index: 19} extensions: LetterStatisticalCode: url: null index: 6 elements: id: {index: 7} SenderLocationNumber: url: null index: 8 elements: id: {index: 9} ReceiverLocationNumber: url: null index: 10 elements: id: {index: 11} EnvelopeSentDate: url: null index: 12 elements: id: {index: 13} EnvelopeSentTime: url: null index: 14 elements: id: {index: 15} EnvelopeNumber: url: null index: 16 elements: id: {index: 17} LetterNumber: url: null index: 18 elements: id: {index: 19} senderObservation: url: https://healthhub.dk/fhir/StructureDefinition/sender-observation type: Extension isModifier: false index: 20 elements: id: {index: 21} extension: index: 22 slicing: slices: SenderId: match: {} schema: index: 22 elements: id: {index: 23} SenderCode: match: {} schema: index: 24 elements: id: {index: 25} SenderCodeOrganization: match: {} schema: index: 26 elements: id: {index: 27} SenderOrganizationName: match: {} schema: index: 28 elements: id: {index: 29} SenderDepartmentName: match: {} schema: index: 30 elements: id: {index: 31} extensions: SenderId: url: null index: 22 elements: id: {index: 23} SenderCode: url: null index: 24 elements: id: {index: 25} SenderCodeOrganization: url: null index: 26 elements: id: {index: 27} SenderOrganizationName: url: null index: 28 elements: id: {index: 29} SenderDepartmentName: url: null index: 30 elements: id: {index: 31} producerObservation: url: https://healthhub.dk/fhir/StructureDefinition/producer-observation type: Extension isModifier: false index: 32 elements: id: {index: 33} extension: index: 34 slicing: slices: ProducerCode: match: {} schema: index: 34 elements: id: {index: 35} Producer: match: {} schema: index: 36 elements: id: {index: 37} extensions: ProducerCode: url: null index: 34 elements: id: {index: 35} Producer: url: null index: 36 elements: id: {index: 37} binaryObservation: url: https://healthhub.dk/fhir/StructureDefinition/binary-observation type: Extension isModifier: false index: 38 elements: id: {index: 39} extension: index: 40 slicing: slices: Format: match: {} schema: index: 40 elements: id: {index: 41} ObjectFileName: match: {} schema: index: 42 elements: id: {index: 43} ObjectReferenceNumber: match: {} schema: index: 44 elements: id: {index: 45} ObjectType: match: {} schema: index: 46 elements: id: {index: 47} ObjectExtension: match: {} schema: index: 48 elements: id: {index: 49} extensions: Format: url: null index: 40 elements: id: {index: 41} ObjectFileName: url: null index: 42 elements: id: {index: 43} ObjectReferenceNumber: url: null index: 44 elements: id: {index: 45} ObjectType: url: null index: 46 elements: id: {index: 47} ObjectExtension: url: null index: 48 elements: id: {index: 49} receiverCopyObservation: url: https://healthhub.dk/fhir/StructureDefinition/receiver-copy-observation type: Extension isModifier: false index: 50 elements: id: {index: 51} extension: index: 52 slicing: slices: CopyReceiverIdentifier: match: {} schema: index: 52 elements: id: {index: 53} CopyReceiverOrganizationName: match: {} schema: index: 54 elements: id: {index: 55} CopyReceiverDepartmentName: match: {} schema: index: 56 elements: id: {index: 57} extensions: CopyReceiverIdentifier: url: null index: 52 elements: id: {index: 53} CopyReceiverOrganizationName: url: null index: 54 elements: id: {index: 55} CopyReceiverDepartmentName: url: null index: 56 elements: id: {index: 57} receiverObservation: url: https://healthhub.dk/fhir/StructureDefinition/receiver-observation type: Extension isModifier: false index: 58 elements: id: {index: 59} extension: index: 60 slicing: slices: ReceiverId: match: {} schema: index: 60 elements: id: {index: 61} ReceiverCode: match: {} schema: index: 62 elements: id: {index: 63} ReceiverCodeOrganization: match: {} schema: index: 64 elements: id: {index: 65} ReceiverOrganizationName: match: {} schema: index: 66 elements: id: {index: 67} ReceiverDepartmentName: match: {} schema: index: 68 elements: id: {index: 69} ReceiverAddress: match: {} schema: index: 70 elements: id: {index: 71} ReceiverZipCode: match: {} schema: index: 72 elements: id: {index: 73} ReceiverCity: match: {} schema: index: 74 elements: id: {index: 75} extensions: ReceiverId: url: null index: 60 elements: id: {index: 61} ReceiverCode: url: null index: 62 elements: id: {index: 63} ReceiverCodeOrganization: url: null index: 64 elements: id: {index: 65} ReceiverOrganizationName: url: null index: 66 elements: id: {index: 67} ReceiverDepartmentName: url: null index: 68 elements: id: {index: 69} ReceiverAddress: url: null index: 70 elements: id: {index: 71} ReceiverZipCode: url: null index: 72 elements: id: {index: 73} ReceiverCity: url: null index: 74 elements: id: {index: 75} requisitionObservation: url: https://healthhub.dk/fhir/StructureDefinition/requisition-observation type: Extension isModifier: false index: 76 elements: id: {index: 77} extension: index: 78 slicing: slices: RequisitionSampleIdentifier: match: {} schema: index: 78 elements: id: {index: 79} LaboratoryInternalSampleIdentifier: match: {} schema: index: 80 elements: id: {index: 81} RequesterIdentifierReceiver: match: {} schema: index: 82 elements: id: {index: 83} RequisitionComment: match: {} schema: index: 84 elements: id: {index: 85} extensions: RequisitionSampleIdentifier: url: null index: 78 elements: id: {index: 79} LaboratoryInternalSampleIdentifier: url: null index: 80 elements: id: {index: 81} RequesterIdentifierReceiver: url: null index: 82 elements: id: {index: 83} RequisitionComment: url: null index: 84 elements: id: {index: 85} 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]