This page is part of the SMART Health Cards Vaccination and Testing, Release 1 | STU 1 (v0.6.2: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
Defining URL: | http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-infectious-disease-laboratory-result-observation-dm |
Version: | 0.6.2 |
Name: | SHCInfectiousDiseaseLaboratoryResultObservationDM |
Title: | Generic Laboratory Result Observation Profile - Data Minimization |
Status: | Active as of 2021-08-13T13:26:56+00:00 |
Definition: | Profile for reporting laboratory results indicating current or previous infection status for a disease without a specified laboratory result profile. Only elements necessary for Verifiers can be populated. |
Publisher: | HL7 International - Public Health Work Group |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://hl7.org/fhir/uv/shc-vaccination/StructureDefinition/shc-infectious-disease-laboratory-result-observation-dm
For representing laboratory test results related to infection with or immunity to an infectious disease.
Implementation instructions ← Start here!
Primary profile (DM) | Fallback Profiles (AD) | Scope |
---|---|---|
Lab results - COVID-19 | Fallback | COVID-19 only |
Lab results - Generic | Fallback | Other infectious diseases |
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from SHCInfectiousDiseaseLaboratoryResultObservationAD
This structure is derived from SHCInfectiousDiseaseLaboratoryResultObservationAD
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | 0..* | SHCInfectiousDiseaseLaboratoryResultObservationAD | Measurements and simple assertions | |
id | 0..0 | |||
meta | ||||
id | 0..0 | |||
extension | 0..0 | |||
versionId | 0..0 | |||
lastUpdated | 0..0 | |||
source | 0..0 | |||
profile | 0..0 | |||
tag | 0..0 | |||
implicitRules | 0..0 | |||
language | 0..0 | |||
text | 0..0 | |||
contained | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
identifier | 0..0 | |||
basedOn | 0..0 | |||
partOf | 0..0 | |||
category | 0..0 | |||
subject | ||||
id | 0..0 | |||
extension | 0..0 | |||
focus | 0..0 | |||
encounter | 0..0 | |||
issued | 0..0 | |||
performer | ||||
id | 0..0 | |||
extension | 0..0 | |||
reference | 0..0 | |||
type | 0..0 | |||
identifier | 0..0 | |||
valueCodeableConcept | 0..1 | CodeableConcept | Actual result | |
id | 0..0 | |||
extension | 0..0 | |||
text | 0..0 | |||
valueQuantity | 0..1 | Quantity | Actual result | |
id | 0..0 | |||
valueString | 0..1 | string | String representation of results; used ONLY when a computable representation is not possible | |
id | 0..0 | |||
dataAbsentReason | 0..0 | |||
interpretation | 0..0 | |||
note | 0..0 | |||
bodySite | 0..0 | |||
method | 0..0 | |||
specimen | 0..0 | |||
device | 0..0 | |||
referenceRange | ||||
id | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
type | ||||
id | 0..0 | |||
extension | 0..0 | |||
text | 0..0 | |||
appliesTo | 0..0 | |||
age | 0..0 | |||
hasMember | 0..0 | |||
derivedFrom | 0..0 | |||
component | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | I | 0..* | SHCInfectiousDiseaseLaboratoryResultObservationAD | Measurements and simple assertions |
meta | Σ | 0..1 | Meta | Metadata about the resource |
Slices for extension | 0..0 | |||
security | SΣ | 0..1 | Coding | Limited security label to convey identity level of assurance for patient referenced by this resource. Binding: Identity Assurance Level (required) |
status | ?!SΣI | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): Codes providing the status of an observation. |
code | SΣI | 1..1 | CodeableConcept | LOINC identifying the lab test Binding: LOINCCodes (required) |
subject | SΣ | 1..1 | Reference(Patient Profile - General - Allowable Data) | Patient to whom lab result applies |
Slices for extension | 0..0 | |||
reference | ΣI | 1..1 | string | This SHOULD use an absolute URI like `resource:0` that will resolve within the containing Bundle. |
effective[x] | SΣ | 1..1 | Clinically relevant time/time-period for observation | |
effectiveDateTime | dateTime | |||
effectivePeriod | Period | |||
performer | SΣ | 0..1 | Reference(Organization) | Organization which was responsible for the laboratory test result. |
Slices for extension | 0..0 | |||
display | SΣI | 1..1 | string | Short, human-readable text representation of the organization. |
Slices for value[x] | SΣI | 1..1 | Actual result Slice: Unordered, Closed by type:$this | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueString | string | |||
value[x]:valueCodeableConcept | ΣI | 0..1 | CodeableConcept | Actual result Binding: Lab result findings (required) |
Slices for extension | 0..0 | |||
coding | Σ | 0..* | Coding | Code defined by a terminology system |
value[x]:valueQuantity | ΣI | 0..1 | Quantity | Actual result |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
value | Σ | 0..1 | decimal | Numerical value (with implicit precision) |
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
unit | Σ | 0..1 | string | Unit representation |
system | ΣI | 0..1 | uri | System that defines coded unit form |
code | Σ | 0..1 | code | Coded form of the unit |
value[x]:valueString | ΣI | 0..1 | string | String representation of results; used ONLY when a computable representation is not possible |
extension | 0..* | Extension | Additional content defined by implementations | |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
referenceRange | SI | 0..* | BackboneElement | Provides guide for interpretation. SHOULD include if using valueQuantity. |
low | I | 0..1 | SimpleQuantity | Low Range, if relevant |
high | I | 0..1 | SimpleQuantity | High Range, if relevant |
type | 0..1 | CodeableConcept | Reference range qualifier Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |
Slices for extension | 0..0 | |||
coding | Σ | 0..* | Coding | Code defined by a terminology system |
text | 0..1 | string | Text based reference range in an observation | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | I | 0..* | SHCInfectiousDiseaseLaboratoryResultObservationAD | Measurements and simple assertions |
meta | Σ | 0..1 | Meta | Metadata about the resource |
security | Σ | 0..1 | Coding | Limited security label to convey identity level of assurance for patient referenced by this resource. Binding: Identity Assurance Level (required) |
status | ?!ΣI | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): Codes providing the status of an observation. |
code | ΣI | 1..1 | CodeableConcept | LOINC identifying the lab test Binding: LOINCCodes (required) |
subject | Σ | 1..1 | Reference(Patient Profile - General - Allowable Data) | Patient to whom lab result applies |
effective[x] | Σ | 1..1 | Clinically relevant time/time-period for observation | |
effectiveDateTime | dateTime | |||
effectivePeriod | Period | |||
performer | Σ | 0..1 | Reference(Organization) | Organization which was responsible for the laboratory test result. |
display | ΣI | 1..1 | string | Short, human-readable text representation of the organization. |
Slices for value[x] | ΣI | 1..1 | Actual result Slice: Unordered, Closed by type:$this | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueString | string | |||
referenceRange | I | 0..* | BackboneElement | Provides guide for interpretation. SHOULD include if using valueQuantity. |
Documentation for this format |
This structure is derived from SHCInfectiousDiseaseLaboratoryResultObservationAD
Differential View
This structure is derived from SHCInfectiousDiseaseLaboratoryResultObservationAD
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | 0..* | SHCInfectiousDiseaseLaboratoryResultObservationAD | Measurements and simple assertions | |
id | 0..0 | |||
meta | ||||
id | 0..0 | |||
extension | 0..0 | |||
versionId | 0..0 | |||
lastUpdated | 0..0 | |||
source | 0..0 | |||
profile | 0..0 | |||
tag | 0..0 | |||
implicitRules | 0..0 | |||
language | 0..0 | |||
text | 0..0 | |||
contained | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
identifier | 0..0 | |||
basedOn | 0..0 | |||
partOf | 0..0 | |||
category | 0..0 | |||
subject | ||||
id | 0..0 | |||
extension | 0..0 | |||
focus | 0..0 | |||
encounter | 0..0 | |||
issued | 0..0 | |||
performer | ||||
id | 0..0 | |||
extension | 0..0 | |||
reference | 0..0 | |||
type | 0..0 | |||
identifier | 0..0 | |||
valueCodeableConcept | 0..1 | CodeableConcept | Actual result | |
id | 0..0 | |||
extension | 0..0 | |||
text | 0..0 | |||
valueQuantity | 0..1 | Quantity | Actual result | |
id | 0..0 | |||
valueString | 0..1 | string | String representation of results; used ONLY when a computable representation is not possible | |
id | 0..0 | |||
dataAbsentReason | 0..0 | |||
interpretation | 0..0 | |||
note | 0..0 | |||
bodySite | 0..0 | |||
method | 0..0 | |||
specimen | 0..0 | |||
device | 0..0 | |||
referenceRange | ||||
id | 0..0 | |||
extension | 0..0 | |||
modifierExtension | 0..0 | |||
type | ||||
id | 0..0 | |||
extension | 0..0 | |||
text | 0..0 | |||
appliesTo | 0..0 | |||
age | 0..0 | |||
hasMember | 0..0 | |||
derivedFrom | 0..0 | |||
component | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | I | 0..* | SHCInfectiousDiseaseLaboratoryResultObservationAD | Measurements and simple assertions |
meta | Σ | 0..1 | Meta | Metadata about the resource |
Slices for extension | 0..0 | |||
security | SΣ | 0..1 | Coding | Limited security label to convey identity level of assurance for patient referenced by this resource. Binding: Identity Assurance Level (required) |
status | ?!SΣI | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): Codes providing the status of an observation. |
code | SΣI | 1..1 | CodeableConcept | LOINC identifying the lab test Binding: LOINCCodes (required) |
subject | SΣ | 1..1 | Reference(Patient Profile - General - Allowable Data) | Patient to whom lab result applies |
Slices for extension | 0..0 | |||
reference | ΣI | 1..1 | string | This SHOULD use an absolute URI like `resource:0` that will resolve within the containing Bundle. |
effective[x] | SΣ | 1..1 | Clinically relevant time/time-period for observation | |
effectiveDateTime | dateTime | |||
effectivePeriod | Period | |||
performer | SΣ | 0..1 | Reference(Organization) | Organization which was responsible for the laboratory test result. |
Slices for extension | 0..0 | |||
display | SΣI | 1..1 | string | Short, human-readable text representation of the organization. |
Slices for value[x] | SΣI | 1..1 | Actual result Slice: Unordered, Closed by type:$this | |
valueCodeableConcept | CodeableConcept | |||
valueQuantity | Quantity | |||
valueString | string | |||
value[x]:valueCodeableConcept | ΣI | 0..1 | CodeableConcept | Actual result Binding: Lab result findings (required) |
Slices for extension | 0..0 | |||
coding | Σ | 0..* | Coding | Code defined by a terminology system |
value[x]:valueQuantity | ΣI | 0..1 | Quantity | Actual result |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
value | Σ | 0..1 | decimal | Numerical value (with implicit precision) |
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
unit | Σ | 0..1 | string | Unit representation |
system | ΣI | 0..1 | uri | System that defines coded unit form |
code | Σ | 0..1 | code | Coded form of the unit |
value[x]:valueString | ΣI | 0..1 | string | String representation of results; used ONLY when a computable representation is not possible |
extension | 0..* | Extension | Additional content defined by implementations | |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
referenceRange | SI | 0..* | BackboneElement | Provides guide for interpretation. SHOULD include if using valueQuantity. |
low | I | 0..1 | SimpleQuantity | Low Range, if relevant |
high | I | 0..1 | SimpleQuantity | High Range, if relevant |
type | 0..1 | CodeableConcept | Reference range qualifier Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |
Slices for extension | 0..0 | |||
coding | Σ | 0..* | Coding | Code defined by a terminology system |
text | 0..1 | string | Text based reference range in an observation | |
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet |
Observation.meta.security | required | IdentityAssuranceLevel |
Observation.status | required | ObservationStatus |
Observation.code | required | LOINCCodes |
Observation.value[x]:valueCodeableConcept | required | LabResultFindings |
Observation.value[x]:valueQuantity.comparator | required | QuantityComparator |
Observation.referenceRange.type | preferred | ObservationReferenceRangeMeaningCodes |
Observation.component.code | example | LOINCCodes |
Observation.component.dataAbsentReason | extensible | DataAbsentReason |
Observation.component.interpretation | extensible | ObservationInterpretationCodes |
Id | Path | Details | Requirements |
dom-2 | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | 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 | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Observation | A resource should have narrative for robust management : text.`div`.exists() | |
obs-6 | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present : dataAbsentReason.empty() or value.empty() | |
obs-7 | 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() | |
ele-1 | Observation.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.meta.security | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
vc-observation-status-shall-be-complete | Observation.status | SHALL be `final`, `amended`, or `corrected` : $this.lower() in ('final'|'amended'|'corrected') | |
ele-1 | Observation.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
vc-shall-not-be-a-covid-loinc | Observation.code | This profile SHALL NOT be used to report results from COVID lab tests (https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1114.9/expansion). Use Covid19LaboratoryResultObservation instead. : $this.coding.memberOf('http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1114.9').not() | |
ele-1 | Observation.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.subject.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.effective[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.performer.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
vc-should-be-under-30-chars | Observation.performer.display | Length SHOULD be <30 for data minimization. : $this.length() < 30 | |
ele-1 | Observation.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueCodeableConcept | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueCodeableConcept.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueQuantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
vc-observation-quantity-should-have-range | Observation.value[x]:valueQuantity | Quantitative lab results SHOULD include reference range : %resource.referenceRange.exists() | |
ele-1 | Observation.value[x]:valueQuantity.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Observation.value[x]:valueQuantity.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Observation.value[x]:valueQuantity.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueQuantity.comparator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueQuantity.unit | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueQuantity.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueQuantity.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.value[x]:valueString | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
vc-should-be-under-20-chars | Observation.value[x]:valueString | Length SHOULD be <20 for data minimization. : $this.length() < 20 | |
ele-1 | Observation.value[x]:valueString.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Observation.value[x]:valueString.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Observation.referenceRange | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
obs-3 | Observation.referenceRange | Must have at least a low or a high or text : low.exists() or high.exists() or text.exists() | |
vc-observation-range-only-quantity-or-string | Observation.referenceRange | Reference range SHOULD be included for quantitative lab results, MAY be included for free text (string) results, and SHOULD NOT be included otherwise : $this.exists() and (%resource.value.ofType(Quantity).exists() or %resource.value.ofType(String).exists()) | |
ele-1 | Observation.referenceRange.low | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.referenceRange.high | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.referenceRange.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.referenceRange.type.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.referenceRange.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.component.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Observation.component.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Observation.component.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Observation.component.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Observation.component.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.component.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.component.dataAbsentReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.component.interpretation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Observation.component.referenceRange | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |