description: null package_name: healthhub.fhir derivation: constraint name: HealthHubMicrobiology type: Observation elements: category: {index: 109} referenceRange: elements: id: {index: 207} low: elements: id: {index: 208} value: {index: 209} system: {index: 210} code: {index: 211} required: [value] high: elements: id: {index: 212} value: {index: 213} system: {index: 214} code: {index: 215} required: [value] type: elements: id: {index: 216} coding: index: 217 elements: code: {index: 218} userSelected: {index: 219} required: [code] text: {index: 220} appliesTo: index: 221 elements: id: {index: 222} coding: elements: code: {index: 223} userSelected: {index: 224} required: [code] age: elements: id: {index: 225} low: index: 226 elements: value: {index: 227} system: {index: 228} code: {index: 229} required: [value] high: index: 230 elements: value: {index: 231} system: {index: 232} code: {index: 233} required: [value] required: [high, low] hasMember: {index: 234} value[x]: elements: id: {index: 171} meta: index: 1 elements: profile: {index: 2} required: [profile] derivedFrom: {index: 235} interpretation: index: 178 elements: id: {index: 179} coding: index: 180 elements: system: {index: 181} version: {index: 182} code: {index: 183} userSelected: {index: 184} required: [code, system] encounter: {index: 138} method: index: 197 elements: id: {index: 198} coding: binding: {strength: required, valueSet: 'http://hl7.dk/fhir/core/ValueSet/dk-core-TechniquesSCTCodes'} index: 199 elements: id: {index: 200} system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 201 version: {index: 202} code: {index: 203} userSelected: {index: 204} required: [code, system] required: [coding] specimen: {index: 205} valueQuantity: type: Quantity choiceOf: value index: 162 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 162} value: choices: [valueDateTime] index: 169 slicing: slices: valueDateTime: match: {} schema: choices: [valueDateTime] index: 169 valueString: type: string choiceOf: value index: 159 slicing: slices: valueString: match: {} schema: {type: string, choiceOf: value, index: 159} valueDateTime: type: dateTime choiceOf: value index: 170 slicing: slices: valueDateTime: match: {} schema: {type: dateTime, choiceOf: value, index: 170} component: elements: value: choices: [valueQuantity] index: 240 slicing: slices: valueQuantity: match: {} schema: choices: [valueQuantity] index: 240 valueQuantity: type: Quantity choiceOf: value index: 241 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 241} value[x]: elements: comparator: {index: 242} system: {index: 243} code: {index: 244} referenceRange: elements: low: elements: system: {index: 245} code: {index: 246} high: elements: system: {index: 247} code: {index: 248} appliesTo: {index: 249} note: index: 185 elements: id: {index: 186} author: choices: [authorReference, authorString] index: 188 authorReference: type: Reference choiceOf: author refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 189 authorString: {type: string, choiceOf: author, index: 190} 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: 141} effective: short: Clinically relevant time or time-period for observation choices: [effectiveDateTime] index: 140 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: {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: {index: 121} code: {index: 122} display: {index: 123} userSelected: {index: 124} required: [code, display, system] LocalCode: match: {system: 'http://healthhub.dk/fhir/terminology/CodeSystem/Region-local-codes'} schema: index: 125 elements: system: pattern: {type: uri, value: 'http://healthhub.dk/fhir/terminology/CodeSystem/Region-local-codes'} type: uri index: 126 version: {short: Version of the system - LabOrg, index: 127} code: {index: 128} display: {index: 129} userSelected: {index: 130} required: [code, display, system] text: {short: 'It is the full name (AnalysenavnFulde or Undersoegelsesnavn) of the analysis in plain text as used by the laboratory, including the official text for NPU codes.', index: 131} 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: 191} coding: elements: id: {index: 192} system: {index: 193} version: {index: 194} code: {index: 195} userSelected: {index: 196} required: [code, system] focus: {index: 137} issued: {index: 142} device: {index: 206} basedOn: {index: 107} partOf: {index: 108} subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 132 elements: id: {index: 133} reference: {index: 134} identifier: {index: 135} display: {index: 136} required: [reference] performer: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 143 elements: id: {index: 144} extension: {index: 145} type: {index: 146} identifier: elements: id: {index: 147} extension: {index: 148} use: {index: 149} type: {index: 150} system: binding: {strength: required, valueSet: 'https://healthhub.dk/fhir/ValueSet/employee-identifier-system'} index: 151 value: {index: 152} period: {index: 153} assigner: {index: 154} extensions: {} required: [system, value] extensions: {} dataAbsentReason: index: 172 elements: id: {index: 173} coding: index: 174 elements: system: {index: 175} version: {index: 176} userSelected: {index: 177} 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-microbiology base: http://hl7.org/fhir/StructureDefinition/Observation version: null required: [effective, effectiveDateTime, issued, meta, subject]