England Pathology and Laboratory Medicine (PaLM) Technical Framework
0.1.0 - ci-build
England Pathology and Laboratory Medicine (PaLM) Technical Framework - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://examplesihe.org.uk/StructureDefinition/LaboratoryResult | Version: 0.1.0 | ||||
| Draft as of 2026-11-04 | Computable Name: LaboratoryResult | ||||
Diagnostic - Laboratory A laboratory result (HL7 v2 OBX), or a test group (HL7 v2 OBR with several OBX) acting as an organizer whose hasMember are its results - for example the full blood count. NHS England marks organizers with the http://hl7.org/fhir/6.0/StructureDefinition/extension-Observation.organizer extension. NHS England's Pathology Laboratory Reporting API uses its own England-Observation-Lab-Pathology profile, which is also derived from HL7 Europe Laboratory.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | ObservationResultsLaboratoryEu | Laboratory result for a simple test or for a panel/study Constraints: obs-6, obs-7, obs-value-1, eu-lab-1, eu-lab-2 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) | R5: Observed body structure (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.bodyStructure Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Triggering observation(s) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "observation" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Observation: Medical Test Result (EU core)) | Triggering observation | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | R5: reflex | repeat | re-run (new) Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "type" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | reflex | repeat | re-run Binding: R5ObservationTriggeredbytypeForR4 (0.1.0) (required): The type of TriggeredBy Observation. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Reason that the observation was triggered (new) Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy" | |
![]() ![]() ![]() |
0..1 | (Complex) | only for Diagrams or Pictures URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value" | |
![]() ![]() ![]() |
0..* | Reference(Resource) | Other information that may be relevant to this event. URL: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo | |
![]() ![]() ![]() |
0..* | Reference(Device) | Laboratory Test Kit URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-deviceLabTestKit | |
![]() ![]() ![]() |
0..* | CodeableConcept | Certified Reference Material: CodeableConcept URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialCodeable Binding: Laboratory Certified Reference Material (example) | |
![]() ![]() ![]() |
0..* | Identifier | Certified Reference Material: Identifier URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialIdentifer | |
![]() ![]() ![]() |
0..1 | boolean | Accredited test URL: http://hl7.eu/fhir/StructureDefinition/laboratory-accredited | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for the current status URL: http://hl7.org/fhir/StructureDefinition/event-statusReason Binding Description: (example): Codes identifying the reason for the current state of an event. | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..* | CorrelationIdentifier | Business Identifier for observation | |
![]() ![]() |
0..* | Reference(Laboratory Order) | Fulfills plan, proposal or order | |
![]() ![]() |
1..1 | code | HL7 v2 OBX-11 Observation Result Status - see ConceptMap v2-0085 to Observation.status Binding: ObservationStatus (required): Codes providing the status of an observation. | |
![]() ![]() |
1..* | CodeableConcept | Classification of type of observation Slice: Unordered, Open by pattern:$this Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of type of observation Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. Required Pattern: | |
![]() ![]() ![]() |
0..* | CodeableConcept | The way of grouping of the test results into clinically meaningful domains (e.g. hematology study, microbiology study, etc.) Binding: Laboratory Study Types (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry) Binding: Laboratory Specialty (required) | |
![]() ![]() |
1..1 | CodeableConcept | What was measured (HL7 v2 OBX-3 Observation Identifier). SNOMED CT UK (PaLM) observable entity, optionally with LOINC Binding: Laboratory Code (preferred) | |
![]() ![]() |
1..1 | Reference(Patient) | Who and/or what the observation is about | |
![]() ![]() |
1..1 | HL7 v2 OBX-14 Date/Time of the Observation, otherwise OBR-7 | ||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() |
0..1 | instant | HL7 v2 OBR-22 Results Rpt/Status Chng - Date/Time | |
![]() ![]() |
1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Patient (EU core) | RelatedPerson) | HL7 v2 OBX-23 Performing Organization Name, OBX-16 Responsible Observer | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Type of performance URL: http://hl7.org/fhir/StructureDefinition/event-performerFunction Binding: Performer Function Codes (extensible) | |
![]() ![]() |
C | 0..1 | HL7 v2 OBX-5 Observation Value, typed by OBX-2 Value Type, with OBX-6 Units Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
C | 0..1 | QuantityEuLab | Actual result |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty | |
![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() |
C | 0..1 | string | Actual result |
![]() ![]() ![]() |
C | 0..1 | RangeEuLab | Actual result |
![]() ![]() ![]() |
C | 0..1 | RatioEuLab | Actual result |
![]() ![]() ![]() |
C | 0..1 | time | Actual result |
![]() ![]() ![]() |
C | 0..1 | dateTime | Actual result |
![]() ![]() ![]() |
C | 0..1 | Period | Actual result |
![]() ![]() ![]() |
C | 0..1 | boolean | Actual result |
![]() ![]() ![]() |
C | 0..1 | integer | Actual result |
![]() ![]() ![]() |
C | 0..1 | SampledData | Actual result |
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Actual result Binding: Results Coded Values Laboratory/Pathology - IPS (preferred) |
![]() ![]() |
C | 0..1 | CodeableConcept | Why there is no value, e.g. HL7 v2 OBX-11 = X (results cannot be obtained) Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. |
![]() ![]() |
0..* | CodeableConcept | HL7 v2 OBX-8 Abnormal Flags Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |
![]() ![]() |
0..* | Annotation | HL7 v2 NTE following the OBX | |
![]() ![]() |
0..1 | CodeableConcept | HL7 v2 OBX-17 Observation Method Binding: Laboratory Techniques (preferred) | |
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for the observation | |
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | HL7 v2 OBX-18 Equipment Instance Identifier | |
![]() ![]() |
C | 0..* | BackboneElement | HL7 v2 OBX-7 References Range Constraints: obs-3 |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range Low Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-low-comparator Binding: Reference Range Low Comparator (required) | |
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range High Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-high-comparator Binding: Reference Range High Comparator (required) | |
![]() ![]() ![]() |
0..1 | string | HL7 v2 OBX-7 as sent, where it cannot be parsed into low/high | |
![]() ![]() |
0..* | Reference(Observation Results: laboratory) | Results of a test group - the OBX under the OBR (or grouped by HL7 v2 OBX-4 Observation Sub-ID) | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| eu-lab-1 | error | Observation | If observation status is other then "registered" or "cancelled", at least one of these Observation elements shall be provided with an actual value: "value", the R5 "value[x]" extension, "dataAbsentReason", "hasMember" or "component" |
(status in ('registered'|'cancelled')) or value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()
|
| eu-lab-2 | error | Observation | If observation status is other then "registered" or "cancelled", every Observation.component shall provide one of these elements with an actual value: "value", the R5 "component.value[x]" extension or "dataAbsentReason" |
(status in ('registered'|'cancelled')) or component.all(value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value').value.exists() or dataAbsentReason.exists())
|
| ext-1 | error | Observation.extension:bodyStructure, Observation.extension:triggeredBy, Observation.extension:triggeredBy.extension, Observation.extension:triggeredBy.extension:observation, Observation.extension:triggeredBy.extension:type, Observation.extension:triggeredBy.extension:reason, Observation.extension:value-r5, Observation.extension:supportingInfo, Observation.extension:labTestKit, Observation.extension:certifiedRefMaterialCodeable, Observation.extension:certifiedRefMaterialIdentifer, Observation.extension:accredited, Observation.extension:statusReason, Observation.modifierExtension, Observation.performer.extension:performerFunction, Observation.value[x]:valueQuantity.extension:uncertainty, Observation.referenceRange.modifierExtension, Observation.referenceRange.modifierExtension:lowComparator, Observation.referenceRange.modifierExtension:highComparator | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-value-1 | error | Observation | The elements Observation.extension:value-r5 and Observation.value[x] SHALL not be used simultaneously. |
value.empty() or extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').empty()
|
This structure is derived from ObservationResultsLaboratoryEu
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | ObservationResultsLaboratoryEu | Laboratory result for a simple test or for a panel/study | |
![]() ![]() |
0..* | CorrelationIdentifier | Business Identifier for observation | |
![]() ![]() |
0..* | Reference(Laboratory Order) | Fulfills plan, proposal or order | |
![]() ![]() |
1..1 | code | HL7 v2 OBX-11 Observation Result Status - see ConceptMap v2-0085 to Observation.status | |
![]() ![]() |
1..1 | CodeableConcept | What was measured (HL7 v2 OBX-3 Observation Identifier). SNOMED CT UK (PaLM) observable entity, optionally with LOINC | |
![]() ![]() |
1..1 | Reference(Patient) | Who and/or what the observation is about | |
![]() ![]() |
1..1 | dateTime, Period | HL7 v2 OBX-14 Date/Time of the Observation, otherwise OBR-7 | |
![]() ![]() |
0..1 | instant | HL7 v2 OBR-22 Results Rpt/Status Chng - Date/Time | |
![]() ![]() |
1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Patient (EU core) | RelatedPerson) | HL7 v2 OBX-23 Performing Organization Name, OBX-16 Responsible Observer | |
![]() ![]() |
0..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | HL7 v2 OBX-5 Observation Value, typed by OBX-2 Value Type, with OBX-6 Units | |
![]() ![]() |
0..1 | CodeableConcept | Why there is no value, e.g. HL7 v2 OBX-11 = X (results cannot be obtained) | |
![]() ![]() |
0..* | CodeableConcept | HL7 v2 OBX-8 Abnormal Flags | |
![]() ![]() |
0..* | Annotation | HL7 v2 NTE following the OBX | |
![]() ![]() |
0..1 | CodeableConcept | HL7 v2 OBX-17 Observation Method | |
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for the observation | |
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | HL7 v2 OBX-18 Equipment Instance Identifier | |
![]() ![]() |
0..* | BackboneElement | HL7 v2 OBX-7 References Range | |
![]() ![]() ![]() |
0..1 | string | HL7 v2 OBX-7 as sent, where it cannot be parsed into low/high | |
![]() ![]() |
0..* | Reference(Observation Results: laboratory) | Results of a test group - the OBX under the OBR (or grouped by HL7 v2 OBX-4 Observation Sub-ID) | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | ObservationResultsLaboratoryEu | Laboratory result for a simple test or for a panel/study Constraints: obs-6, obs-7, obs-value-1, eu-lab-1, eu-lab-2 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the observation Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) | R5: Observed body structure (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.bodyStructure Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Triggering observation(s) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "observation" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Observation: Medical Test Result (EU core)) | Triggering observation | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | R5: reflex | repeat | re-run (new) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "type" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | reflex | repeat | re-run Binding: R5ObservationTriggeredbytypeForR4 (0.1.0) (required): The type of TriggeredBy Observation. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Reason that the observation was triggered (new) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Reason that the observation was triggered | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy" | |||||
![]() ![]() ![]() |
0..1 | (Complex) | only for Diagrams or Pictures URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value" | |||||
![]() ![]() ![]() ![]() |
0..1 | Attachment | Actual result | |||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Other information that may be relevant to this event. URL: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo | |||||
![]() ![]() ![]() |
0..* | Reference(Device) | Laboratory Test Kit URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-deviceLabTestKit | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Certified Reference Material: CodeableConcept URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialCodeable Binding: Laboratory Certified Reference Material (example) | |||||
![]() ![]() ![]() |
0..* | Identifier | Certified Reference Material: Identifier URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialIdentifer | |||||
![]() ![]() ![]() |
0..1 | boolean | Accredited test URL: http://hl7.eu/fhir/StructureDefinition/laboratory-accredited | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for the current status URL: http://hl7.org/fhir/StructureDefinition/event-statusReason Binding Description: (example): Codes identifying the reason for the current state of an event. | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | CorrelationIdentifier | Business Identifier for observation | |||||
![]() ![]() |
0..* | Reference(Laboratory Order) | Fulfills plan, proposal or order | |||||
![]() ![]() |
0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event | |||||
![]() ![]() |
1..1 | code | HL7 v2 OBX-11 Observation Result Status - see ConceptMap v2-0085 to Observation.status Binding: ObservationStatus (required): Codes providing the status of an observation. | |||||
![]() ![]() |
1..* | CodeableConcept | Classification of type of observation Slice: Unordered, Open by pattern:$this Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of type of observation Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. Required Pattern: | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | The way of grouping of the test results into clinically meaningful domains (e.g. hematology study, microbiology study, etc.) Binding: Laboratory Study Types (required) | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry) Binding: Laboratory Specialty (required) | |||||
![]() ![]() |
1..1 | CodeableConcept | What was measured (HL7 v2 OBX-3 Observation Identifier). SNOMED CT UK (PaLM) observable entity, optionally with LOINC Binding: Laboratory Code (preferred) | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who and/or what the observation is about | |||||
![]() ![]() |
0..* | Reference(Patient (EU core) | RelatedPerson: AnimalSpecimen | Group | Device | Location (EU core) | Substance | BiologicallyDerivedProduct) | What the observation is about, when it is not about the subject of record | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Healthcare event during which this observation is made | |||||
![]() ![]() |
1..1 | HL7 v2 OBX-14 Date/Time of the Observation, otherwise OBR-7 | ||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
0..1 | instant | HL7 v2 OBR-22 Results Rpt/Status Chng - Date/Time | |||||
![]() ![]() |
1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Patient (EU core) | RelatedPerson) | HL7 v2 OBX-23 Performing Organization Name, OBX-16 Responsible Observer | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Type of performance URL: http://hl7.org/fhir/StructureDefinition/event-performerFunction Binding: Performer Function Codes (extensible) | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
C | 0..1 | HL7 v2 OBX-5 Observation Value, typed by OBX-2 Value Type, with OBX-6 Units Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
C | 0..1 | QuantityEuLab | Actual result | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty | |||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||
![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | System that defines coded unit form | ||||
![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |||||
![]() ![]() ![]() |
C | 0..1 | string | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | RangeEuLab | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | RatioEuLab | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | time | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | dateTime | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | Period | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | boolean | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | integer | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | SampledData | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Actual result Binding: Results Coded Values Laboratory/Pathology - IPS (preferred) | ||||
![]() ![]() |
C | 0..1 | CodeableConcept | Why there is no value, e.g. HL7 v2 OBX-11 = X (results cannot be obtained) Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() |
0..* | CodeableConcept | HL7 v2 OBX-8 Abnormal Flags Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() |
0..* | Annotation | HL7 v2 NTE following the OBX | |||||
![]() ![]() |
0..1 | CodeableConcept | Observed body part Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | |||||
![]() ![]() |
0..1 | CodeableConcept | HL7 v2 OBX-17 Observation Method Binding: Laboratory Techniques (preferred) | |||||
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for the observation | |||||
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | HL7 v2 OBX-18 Equipment Instance Identifier | |||||
![]() ![]() |
C | 0..* | BackboneElement | HL7 v2 OBX-7 References Range Constraints: obs-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range Low Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-low-comparator Binding: Reference Range Low Comparator (required) | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range High Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-high-comparator Binding: Reference Range High Comparator (required) | |||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | Low Range, if relevant Constraints: sqty-1 | ||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | High Range, if relevant Constraints: sqty-1 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||
![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||
![]() ![]() ![]() |
0..1 | string | HL7 v2 OBX-7 as sent, where it cannot be parsed into low/high | |||||
![]() ![]() |
0..* | Reference(Observation Results: laboratory) | Results of a test group - the OBX under the OBR (or grouped by HL7 v2 OBX-4 Observation Sub-ID) | |||||
![]() ![]() |
0..* | Reference(Observation: Medical Test Result (EU core) | ImagingStudy) | Related measurements the observation is made from | |||||
![]() ![]() |
C | 0..* | BackboneElement | Laboratory result Constraints: obs-value-2 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | only for Diagrams or Pictures URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value" | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Attachment | Actual component result | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Type of component observation (code / type) Binding: Laboratory Code (preferred) | |||||
![]() ![]() ![]() |
0..1 | Actual component result Slice: Unordered, Closed by type:$this | ||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
0..1 | QuantityEuLab | Actual component result | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | System that defines coded unit form | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | RangeEuLab | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | RatioEuLab | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | time | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | integer | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | SampledData | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Actual component result Binding: Results Coded Values Laboratory/Pathology - IPS (preferred) | |||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Why the component result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | High, low, normal, etc. Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() ![]() |
0..* | See referenceRange (Observation) | Provides guide for interpretation of component result | |||||
Documentation for this format | ||||||||
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| eu-lab-1 | error | Observation | If observation status is other then "registered" or "cancelled", at least one of these Observation elements shall be provided with an actual value: "value", the R5 "value[x]" extension, "dataAbsentReason", "hasMember" or "component" |
(status in ('registered'|'cancelled')) or value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()
|
| eu-lab-2 | error | Observation | If observation status is other then "registered" or "cancelled", every Observation.component shall provide one of these elements with an actual value: "value", the R5 "component.value[x]" extension or "dataAbsentReason" |
(status in ('registered'|'cancelled')) or component.all(value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value').value.exists() or dataAbsentReason.exists())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-value-1 | error | Observation | The elements Observation.extension:value-r5 and Observation.value[x] SHALL not be used simultaneously. |
value.empty() or extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').empty()
|
| obs-value-2 | error | Observation.component | The elements Observation.component.extension:value-r5 and Observation.component.value[x] SHALL not be used simultaneously. |
value.empty() or extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value').empty()
|
| sqty-1 | error | Observation.referenceRange.low, Observation.referenceRange.high | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
This structure is derived from ObservationResultsLaboratoryEu
Summary
Must-Support: 14 elements
Structures
This structure refers to these other structures:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | ObservationResultsLaboratoryEu | Laboratory result for a simple test or for a panel/study Constraints: obs-6, obs-7, obs-value-1, eu-lab-1, eu-lab-2 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) | R5: Observed body structure (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.bodyStructure Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Triggering observation(s) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "observation" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Observation: Medical Test Result (EU core)) | Triggering observation | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | R5: reflex | repeat | re-run (new) Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "type" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | reflex | repeat | re-run Binding: R5ObservationTriggeredbytypeForR4 (0.1.0) (required): The type of TriggeredBy Observation. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Reason that the observation was triggered (new) Constraints: ext-1 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy" | |
![]() ![]() ![]() |
0..1 | (Complex) | only for Diagrams or Pictures URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value" | |
![]() ![]() ![]() |
0..* | Reference(Resource) | Other information that may be relevant to this event. URL: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo | |
![]() ![]() ![]() |
0..* | Reference(Device) | Laboratory Test Kit URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-deviceLabTestKit | |
![]() ![]() ![]() |
0..* | CodeableConcept | Certified Reference Material: CodeableConcept URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialCodeable Binding: Laboratory Certified Reference Material (example) | |
![]() ![]() ![]() |
0..* | Identifier | Certified Reference Material: Identifier URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialIdentifer | |
![]() ![]() ![]() |
0..1 | boolean | Accredited test URL: http://hl7.eu/fhir/StructureDefinition/laboratory-accredited | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for the current status URL: http://hl7.org/fhir/StructureDefinition/event-statusReason Binding Description: (example): Codes identifying the reason for the current state of an event. | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..* | CorrelationIdentifier | Business Identifier for observation | |
![]() ![]() |
0..* | Reference(Laboratory Order) | Fulfills plan, proposal or order | |
![]() ![]() |
1..1 | code | HL7 v2 OBX-11 Observation Result Status - see ConceptMap v2-0085 to Observation.status Binding: ObservationStatus (required): Codes providing the status of an observation. | |
![]() ![]() |
1..* | CodeableConcept | Classification of type of observation Slice: Unordered, Open by pattern:$this Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of type of observation Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. Required Pattern: | |
![]() ![]() ![]() |
0..* | CodeableConcept | The way of grouping of the test results into clinically meaningful domains (e.g. hematology study, microbiology study, etc.) Binding: Laboratory Study Types (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry) Binding: Laboratory Specialty (required) | |
![]() ![]() |
1..1 | CodeableConcept | What was measured (HL7 v2 OBX-3 Observation Identifier). SNOMED CT UK (PaLM) observable entity, optionally with LOINC Binding: Laboratory Code (preferred) | |
![]() ![]() |
1..1 | Reference(Patient) | Who and/or what the observation is about | |
![]() ![]() |
1..1 | HL7 v2 OBX-14 Date/Time of the Observation, otherwise OBR-7 | ||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() |
0..1 | instant | HL7 v2 OBR-22 Results Rpt/Status Chng - Date/Time | |
![]() ![]() |
1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Patient (EU core) | RelatedPerson) | HL7 v2 OBX-23 Performing Organization Name, OBX-16 Responsible Observer | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Type of performance URL: http://hl7.org/fhir/StructureDefinition/event-performerFunction Binding: Performer Function Codes (extensible) | |
![]() ![]() |
C | 0..1 | HL7 v2 OBX-5 Observation Value, typed by OBX-2 Value Type, with OBX-6 Units Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
C | 0..1 | QuantityEuLab | Actual result |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty | |
![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() |
C | 0..1 | string | Actual result |
![]() ![]() ![]() |
C | 0..1 | RangeEuLab | Actual result |
![]() ![]() ![]() |
C | 0..1 | RatioEuLab | Actual result |
![]() ![]() ![]() |
C | 0..1 | time | Actual result |
![]() ![]() ![]() |
C | 0..1 | dateTime | Actual result |
![]() ![]() ![]() |
C | 0..1 | Period | Actual result |
![]() ![]() ![]() |
C | 0..1 | boolean | Actual result |
![]() ![]() ![]() |
C | 0..1 | integer | Actual result |
![]() ![]() ![]() |
C | 0..1 | SampledData | Actual result |
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Actual result Binding: Results Coded Values Laboratory/Pathology - IPS (preferred) |
![]() ![]() |
C | 0..1 | CodeableConcept | Why there is no value, e.g. HL7 v2 OBX-11 = X (results cannot be obtained) Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. |
![]() ![]() |
0..* | CodeableConcept | HL7 v2 OBX-8 Abnormal Flags Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |
![]() ![]() |
0..* | Annotation | HL7 v2 NTE following the OBX | |
![]() ![]() |
0..1 | CodeableConcept | HL7 v2 OBX-17 Observation Method Binding: Laboratory Techniques (preferred) | |
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for the observation | |
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | HL7 v2 OBX-18 Equipment Instance Identifier | |
![]() ![]() |
C | 0..* | BackboneElement | HL7 v2 OBX-7 References Range Constraints: obs-3 |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range Low Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-low-comparator Binding: Reference Range Low Comparator (required) | |
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range High Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-high-comparator Binding: Reference Range High Comparator (required) | |
![]() ![]() ![]() |
0..1 | string | HL7 v2 OBX-7 as sent, where it cannot be parsed into low/high | |
![]() ![]() |
0..* | Reference(Observation Results: laboratory) | Results of a test group - the OBX under the OBR (or grouped by HL7 v2 OBX-4 Observation Sub-ID) | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| eu-lab-1 | error | Observation | If observation status is other then "registered" or "cancelled", at least one of these Observation elements shall be provided with an actual value: "value", the R5 "value[x]" extension, "dataAbsentReason", "hasMember" or "component" |
(status in ('registered'|'cancelled')) or value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()
|
| eu-lab-2 | error | Observation | If observation status is other then "registered" or "cancelled", every Observation.component shall provide one of these elements with an actual value: "value", the R5 "component.value[x]" extension or "dataAbsentReason" |
(status in ('registered'|'cancelled')) or component.all(value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value').value.exists() or dataAbsentReason.exists())
|
| ext-1 | error | Observation.extension:bodyStructure, Observation.extension:triggeredBy, Observation.extension:triggeredBy.extension, Observation.extension:triggeredBy.extension:observation, Observation.extension:triggeredBy.extension:type, Observation.extension:triggeredBy.extension:reason, Observation.extension:value-r5, Observation.extension:supportingInfo, Observation.extension:labTestKit, Observation.extension:certifiedRefMaterialCodeable, Observation.extension:certifiedRefMaterialIdentifer, Observation.extension:accredited, Observation.extension:statusReason, Observation.modifierExtension, Observation.performer.extension:performerFunction, Observation.value[x]:valueQuantity.extension:uncertainty, Observation.referenceRange.modifierExtension, Observation.referenceRange.modifierExtension:lowComparator, Observation.referenceRange.modifierExtension:highComparator | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-value-1 | error | Observation | The elements Observation.extension:value-r5 and Observation.value[x] SHALL not be used simultaneously. |
value.empty() or extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').empty()
|
Differential View
This structure is derived from ObservationResultsLaboratoryEu
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | ObservationResultsLaboratoryEu | Laboratory result for a simple test or for a panel/study | |
![]() ![]() |
0..* | CorrelationIdentifier | Business Identifier for observation | |
![]() ![]() |
0..* | Reference(Laboratory Order) | Fulfills plan, proposal or order | |
![]() ![]() |
1..1 | code | HL7 v2 OBX-11 Observation Result Status - see ConceptMap v2-0085 to Observation.status | |
![]() ![]() |
1..1 | CodeableConcept | What was measured (HL7 v2 OBX-3 Observation Identifier). SNOMED CT UK (PaLM) observable entity, optionally with LOINC | |
![]() ![]() |
1..1 | Reference(Patient) | Who and/or what the observation is about | |
![]() ![]() |
1..1 | dateTime, Period | HL7 v2 OBX-14 Date/Time of the Observation, otherwise OBR-7 | |
![]() ![]() |
0..1 | instant | HL7 v2 OBR-22 Results Rpt/Status Chng - Date/Time | |
![]() ![]() |
1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Patient (EU core) | RelatedPerson) | HL7 v2 OBX-23 Performing Organization Name, OBX-16 Responsible Observer | |
![]() ![]() |
0..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | HL7 v2 OBX-5 Observation Value, typed by OBX-2 Value Type, with OBX-6 Units | |
![]() ![]() |
0..1 | CodeableConcept | Why there is no value, e.g. HL7 v2 OBX-11 = X (results cannot be obtained) | |
![]() ![]() |
0..* | CodeableConcept | HL7 v2 OBX-8 Abnormal Flags | |
![]() ![]() |
0..* | Annotation | HL7 v2 NTE following the OBX | |
![]() ![]() |
0..1 | CodeableConcept | HL7 v2 OBX-17 Observation Method | |
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for the observation | |
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | HL7 v2 OBX-18 Equipment Instance Identifier | |
![]() ![]() |
0..* | BackboneElement | HL7 v2 OBX-7 References Range | |
![]() ![]() ![]() |
0..1 | string | HL7 v2 OBX-7 as sent, where it cannot be parsed into low/high | |
![]() ![]() |
0..* | Reference(Observation Results: laboratory) | Results of a test group - the OBX under the OBR (or grouped by HL7 v2 OBX-4 Observation Sub-ID) | |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | ObservationResultsLaboratoryEu | Laboratory result for a simple test or for a panel/study Constraints: obs-6, obs-7, obs-value-1, eu-lab-1, eu-lab-2 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the observation Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.BodyStructure for use in FHIR R4(0.1.0) | BodyStructure) | R5: Observed body structure (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.bodyStructure Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Triggering observation(s) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Extension Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "observation" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Observation: Medical Test Result (EU core)) | Triggering observation | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | R5: reflex | repeat | re-run (new) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "type" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | reflex | repeat | re-run Binding: R5ObservationTriggeredbytypeForR4 (0.1.0) (required): The type of TriggeredBy Observation. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | R5: Reason that the observation was triggered (new) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Reason that the observation was triggered | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy" | |||||
![]() ![]() ![]() |
0..1 | (Complex) | only for Diagrams or Pictures URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value" | |||||
![]() ![]() ![]() ![]() |
0..1 | Attachment | Actual result | |||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Other information that may be relevant to this event. URL: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo | |||||
![]() ![]() ![]() |
0..* | Reference(Device) | Laboratory Test Kit URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-deviceLabTestKit | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Certified Reference Material: CodeableConcept URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialCodeable Binding: Laboratory Certified Reference Material (example) | |||||
![]() ![]() ![]() |
0..* | Identifier | Certified Reference Material: Identifier URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialIdentifer | |||||
![]() ![]() ![]() |
0..1 | boolean | Accredited test URL: http://hl7.eu/fhir/StructureDefinition/laboratory-accredited | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for the current status URL: http://hl7.org/fhir/StructureDefinition/event-statusReason Binding Description: (example): Codes identifying the reason for the current state of an event. | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | CorrelationIdentifier | Business Identifier for observation | |||||
![]() ![]() |
0..* | Reference(Laboratory Order) | Fulfills plan, proposal or order | |||||
![]() ![]() |
0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event | |||||
![]() ![]() |
1..1 | code | HL7 v2 OBX-11 Observation Result Status - see ConceptMap v2-0085 to Observation.status Binding: ObservationStatus (required): Codes providing the status of an observation. | |||||
![]() ![]() |
1..* | CodeableConcept | Classification of type of observation Slice: Unordered, Open by pattern:$this Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of type of observation Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. Required Pattern: | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | The way of grouping of the test results into clinically meaningful domains (e.g. hematology study, microbiology study, etc.) Binding: Laboratory Study Types (required) | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry) Binding: Laboratory Specialty (required) | |||||
![]() ![]() |
1..1 | CodeableConcept | What was measured (HL7 v2 OBX-3 Observation Identifier). SNOMED CT UK (PaLM) observable entity, optionally with LOINC Binding: Laboratory Code (preferred) | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who and/or what the observation is about | |||||
![]() ![]() |
0..* | Reference(Patient (EU core) | RelatedPerson: AnimalSpecimen | Group | Device | Location (EU core) | Substance | BiologicallyDerivedProduct) | What the observation is about, when it is not about the subject of record | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Healthcare event during which this observation is made | |||||
![]() ![]() |
1..1 | HL7 v2 OBX-14 Date/Time of the Observation, otherwise OBR-7 | ||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
0..1 | instant | HL7 v2 OBR-22 Results Rpt/Status Chng - Date/Time | |||||
![]() ![]() |
1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Patient (EU core) | RelatedPerson) | HL7 v2 OBX-23 Performing Organization Name, OBX-16 Responsible Observer | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Type of performance URL: http://hl7.org/fhir/StructureDefinition/event-performerFunction Binding: Performer Function Codes (extensible) | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
C | 0..1 | HL7 v2 OBX-5 Observation Value, typed by OBX-2 Value Type, with OBX-6 Units Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
C | 0..1 | QuantityEuLab | Actual result | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty | |||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||
![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | System that defines coded unit form | ||||
![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |||||
![]() ![]() ![]() |
C | 0..1 | string | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | RangeEuLab | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | RatioEuLab | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | time | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | dateTime | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | Period | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | boolean | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | integer | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | SampledData | Actual result | ||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Actual result Binding: Results Coded Values Laboratory/Pathology - IPS (preferred) | ||||
![]() ![]() |
C | 0..1 | CodeableConcept | Why there is no value, e.g. HL7 v2 OBX-11 = X (results cannot be obtained) Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() |
0..* | CodeableConcept | HL7 v2 OBX-8 Abnormal Flags Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() |
0..* | Annotation | HL7 v2 NTE following the OBX | |||||
![]() ![]() |
0..1 | CodeableConcept | Observed body part Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | |||||
![]() ![]() |
0..1 | CodeableConcept | HL7 v2 OBX-17 Observation Method Binding: Laboratory Techniques (preferred) | |||||
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for the observation | |||||
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | HL7 v2 OBX-18 Equipment Instance Identifier | |||||
![]() ![]() |
C | 0..* | BackboneElement | HL7 v2 OBX-7 References Range Constraints: obs-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range Low Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-low-comparator Binding: Reference Range Low Comparator (required) | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Observation Reference Range High Comparator URL: http://hl7.eu/fhir/laboratory/StructureDefinition/observation-reference-range-high-comparator Binding: Reference Range High Comparator (required) | |||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | Low Range, if relevant Constraints: sqty-1 | ||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | High Range, if relevant Constraints: sqty-1 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||
![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||
![]() ![]() ![]() |
0..1 | string | HL7 v2 OBX-7 as sent, where it cannot be parsed into low/high | |||||
![]() ![]() |
0..* | Reference(Observation Results: laboratory) | Results of a test group - the OBX under the OBR (or grouped by HL7 v2 OBX-4 Observation Sub-ID) | |||||
![]() ![]() |
0..* | Reference(Observation: Medical Test Result (EU core) | ImagingStudy) | Related measurements the observation is made from | |||||
![]() ![]() |
C | 0..* | BackboneElement | Laboratory result Constraints: obs-value-2 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | only for Diagrams or Pictures URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value" | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Attachment | Actual component result | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Type of component observation (code / type) Binding: Laboratory Code (preferred) | |||||
![]() ![]() ![]() |
0..1 | Actual component result Slice: Unordered, Closed by type:$this | ||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
0..1 | QuantityEuLab | Actual component result | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Standard Deviation (same units as the quantity) URL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | System that defines coded unit form | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | RangeEuLab | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | RatioEuLab | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | time | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | integer | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | SampledData | Actual component result | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Actual component result Binding: Results Coded Values Laboratory/Pathology - IPS (preferred) | |||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Why the component result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | High, low, normal, etc. Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() ![]() |
0..* | See referenceRange (Observation) | Provides guide for interpretation of component result | |||||
Documentation for this format | ||||||||
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| eu-lab-1 | error | Observation | If observation status is other then "registered" or "cancelled", at least one of these Observation elements shall be provided with an actual value: "value", the R5 "value[x]" extension, "dataAbsentReason", "hasMember" or "component" |
(status in ('registered'|'cancelled')) or value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()
|
| eu-lab-2 | error | Observation | If observation status is other then "registered" or "cancelled", every Observation.component shall provide one of these elements with an actual value: "value", the R5 "component.value[x]" extension or "dataAbsentReason" |
(status in ('registered'|'cancelled')) or component.all(value.hasValue() or value.children().exclude(value.extension).exists() or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value').value.exists() or dataAbsentReason.exists())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-value-1 | error | Observation | The elements Observation.extension:value-r5 and Observation.value[x] SHALL not be used simultaneously. |
value.empty() or extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value').empty()
|
| obs-value-2 | error | Observation.component | The elements Observation.component.extension:value-r5 and Observation.component.value[x] SHALL not be used simultaneously. |
value.empty() or extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.component.value').empty()
|
| sqty-1 | error | Observation.referenceRange.low, Observation.referenceRange.high | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
This structure is derived from ObservationResultsLaboratoryEu
Summary
Must-Support: 14 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron