Current Build

D.4.1 StructureDefinition: CarbonDioxidePPresPtBldVQnLabObs

D.4.1.1 Formal Views of Profile Content

The official URL for this profile is:

http://hl7.org/fhir/hspc/StructureDefinition/CarbonDioxidePPresPtBldVQnLabObs

CarbonDioxidePPresPtBldVQnLabObs is the Clinical Element Model for standard laboratory test results/observations numeric results. LOINC Code: 2021-4.

This profile builds on US Core Results Profile.

This profile was published on Thu Nov 29 00:00:00 MST 2018 as a draft by Healthcare Services Platform Consortium.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from US Core Results Profile

Summary

Fixed Value: 3 elements

Structures

This structure refers to these other structures:

  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/practitioner (no profile found)
  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/organization (no profile found)
  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/uri (no profile found)
  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/code (no profile found)

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Observation.identifier is sliced based on the value of value:Observation.identifier
  • The element Observation.performer is sliced based on the value of value:Observation.performer

This structure is derived from US Core Results Profile

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation 0..*
... extension ExtensionSlice: Unordered, Open by value:Observation.extension
... reportingPriority 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:reportingPriority
URL: http://hl7.org/fhir/hspc/StructureDefinition/reportingPriority
Binding: HSPC Reporiting Priority value set (preferred)
... deltaFlag 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:deltaFlag
URL: http://hl7.org/fhir/hspc/StructureDefinition/deltaFlag
... modifierExtension 0..1FocalSubjectObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.modifierExtension:focalSubject
... identifier IdentifierSlice: Unordered, Open by value:Observation.identifier
... identifier 0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:accessionNumber
... identifier 0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:fillerOrderNumber
... identifier 0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:placerOrderNumber
... code 1..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.key
Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2021-4","display":"Carbon dioxide [Partial pressure] in Venous blood"}]}
... issued 0..1instantObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.resultedDateTime
... performer Reference(Practitioner | Organization | Patient | RelatedPerson)Slice: Unordered, Open by value:Observation.performer
... performer 0..*Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:responsibleObserver
... performer 0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/organization)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingLaboratory
... performer 0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingOrganizationMedicalDirector
... valueQuantity 0..1QuantityObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity
.... system 0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.system
Fixed Value: http://unitsofmeasure.org
.... code 0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.code
Fixed Value: mm[Hg]
... interpretation 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.interpretation

doco Documentation for this format

This structure is derived from US Core Results Profile

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation I0..*US Core Result Observation
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension ExtensionExtension
Slice: Unordered, Open by value:Observation.extension
... reportingPriority I0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:reportingPriority
URL: http://hl7.org/fhir/hspc/StructureDefinition/reportingPriority
Binding: HSPC Reporiting Priority value set (preferred)
... deltaFlag I0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:deltaFlag
URL: http://hl7.org/fhir/hspc/StructureDefinition/deltaFlag
... modifierExtension ?!I0..1FocalSubjectObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.modifierExtension:focalSubject
... identifier ΣIdentifierBusiness Identifier for observation
Slice: Unordered, Open by value:Observation.identifier
... identifier Σ0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:accessionNumber
... identifier Σ0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:fillerOrderNumber
... identifier Σ0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:placerOrderNumber
... basedOn Σ0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest)Fulfills plan, proposal or order
... status ?!SΣ1..1coderegistered | preliminary | final | amended +
Binding: ObservationStatus (required)
... category SI1..*CodeableConceptClassification of type of observation
Binding: Observation Category Codes (preferred)
us-core-5: Must have a category of 'laboratory' and a code system 'http://hl7.org/fhir/observation-category'
... code SΣ1..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.key
Binding: LOINC Codes (extensible)
Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2021-4","display":"Carbon dioxide [Partial pressure] in Venous blood"}]}
... subject SΣ1..1Reference(US Core Patient Profile)Who and/or what this is about
... context 0..1Reference(Encounter | EpisodeOfCare)Healthcare event during which this observation is made
... effective[x] SΣI0..1dateTime, PeriodClinically relevant time/time-period for observation
us-core-1: Datetime must be at least to day.
... issued Σ0..1instantObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.resultedDateTime
... performer ΣReference(Practitioner | Organization | Patient | RelatedPerson)Who is responsible for the observation
Slice: Unordered, Open by value:Observation.performer
... performer Σ0..*Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:responsibleObserver
... performer Σ0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/organization)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingLaboratory
... performer Σ0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingOrganizationMedicalDirector
... valueQuantity SΣI0..1QuantityObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity
.... id 0..1stringxml:id (or equivalent in JSON)
.... value Σ0..1decimalNumerical value (with implicit precision)
.... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
.... unit Σ0..1stringUnit representation
.... system ΣI0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.system
Fixed Value: http://unitsofmeasure.org
.... code Σ0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.code
Fixed Value: mm[Hg]
... dataAbsentReason SI0..1CodeableConceptWhy the result is missing
Binding: Observation Value Absent Reason (extensible)
... interpretation 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.interpretation
Binding: Observation Interpretation Codes (extensible)
... comment 0..1stringComments about result
... bodySite 0..1CodeableConceptObserved body part
Binding: SNOMED CT Body Structures (example)
... method 0..1CodeableConceptHow it was done
Binding: Observation Methods (example)
... specimen 0..1Reference(Specimen)Specimen used for this observation
... device 0..1Reference(Device | DeviceMetric)(Measurement) Device
... referenceRange I0..*BackboneElementProvides guide for interpretation
obs-3: Must have at least a low or a high or text
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... low I0..1SimpleQuantityLow Range, if relevant
.... high I0..1SimpleQuantityHigh Range, if relevant
.... type 0..1CodeableConceptReference range qualifier
Binding: Observation Reference Range Meaning Codes (extensible)
.... appliesTo 0..*CodeableConceptReference range population
Binding: Observation Reference Range Applies To Codes (example)
.... age 0..1RangeApplicable age range, if relevant
.... text 0..1stringObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.referenceRangeNar
... related ΣI0..*BackboneElementResource related to this observation
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 0..1codehas-member | derived-from | sequel-to | replaces | qualified-by | interfered-by
Binding: ObservationRelationshipType (required)
.... target 1..1Reference(Observation | QuestionnaireResponse | Sequence)Resource that is related to this one
... component ΣI0..*BackboneElementComponent results
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code Σ1..1CodeableConceptType of component observation (code / type)
Binding: LOINC Codes (example)
.... value[x] Σ0..1Quantity, CodeableConcept, string, Range, Ratio, SampledData, Attachment, time, dateTime, PeriodActual component result
.... dataAbsentReason I0..1CodeableConceptWhy the component result is missing
Binding: Observation Value Absent Reason (extensible)
.... interpretation 0..1CodeableConceptHigh, low, normal, etc.
Binding: Observation Interpretation Codes (extensible)
.... referenceRange 0..*Unknown reference to #Observation.referenceRange
Provides guide for interpretation of component result

doco Documentation for this format

This structure is derived from US Core Results Profile

Summary

Fixed Value: 3 elements

Structures

This structure refers to these other structures:

  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/practitioner (no profile found)
  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/organization (no profile found)
  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/uri (no profile found)
  • unable to summarise profile http://hl7.org/fhir/hspc/StructureDefinition/code (no profile found)

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Observation.identifier is sliced based on the value of value:Observation.identifier
  • The element Observation.performer is sliced based on the value of value:Observation.performer

Differential View

This structure is derived from US Core Results Profile

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation 0..*
... extension ExtensionSlice: Unordered, Open by value:Observation.extension
... reportingPriority 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:reportingPriority
URL: http://hl7.org/fhir/hspc/StructureDefinition/reportingPriority
Binding: HSPC Reporiting Priority value set (preferred)
... deltaFlag 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:deltaFlag
URL: http://hl7.org/fhir/hspc/StructureDefinition/deltaFlag
... modifierExtension 0..1FocalSubjectObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.modifierExtension:focalSubject
... identifier IdentifierSlice: Unordered, Open by value:Observation.identifier
... identifier 0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:accessionNumber
... identifier 0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:fillerOrderNumber
... identifier 0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:placerOrderNumber
... code 1..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.key
Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2021-4","display":"Carbon dioxide [Partial pressure] in Venous blood"}]}
... issued 0..1instantObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.resultedDateTime
... performer Reference(Practitioner | Organization | Patient | RelatedPerson)Slice: Unordered, Open by value:Observation.performer
... performer 0..*Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:responsibleObserver
... performer 0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/organization)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingLaboratory
... performer 0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingOrganizationMedicalDirector
... valueQuantity 0..1QuantityObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity
.... system 0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.system
Fixed Value: http://unitsofmeasure.org
.... code 0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.code
Fixed Value: mm[Hg]
... interpretation 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.interpretation

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation I0..*US Core Result Observation
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension ExtensionExtension
Slice: Unordered, Open by value:Observation.extension
... reportingPriority I0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:reportingPriority
URL: http://hl7.org/fhir/hspc/StructureDefinition/reportingPriority
Binding: HSPC Reporiting Priority value set (preferred)
... deltaFlag I0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:deltaFlag
URL: http://hl7.org/fhir/hspc/StructureDefinition/deltaFlag
... modifierExtension ?!I0..1FocalSubjectObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.modifierExtension:focalSubject
... identifier ΣIdentifierBusiness Identifier for observation
Slice: Unordered, Open by value:Observation.identifier
... identifier Σ0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:accessionNumber
... identifier Σ0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:fillerOrderNumber
... identifier Σ0..1IdentifierObservation:hspcCarbonDioxidePPresPtBldVQnLabObs:placerOrderNumber
... basedOn Σ0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest)Fulfills plan, proposal or order
... status ?!SΣ1..1coderegistered | preliminary | final | amended +
Binding: ObservationStatus (required)
... category SI1..*CodeableConceptClassification of type of observation
Binding: Observation Category Codes (preferred)
us-core-5: Must have a category of 'laboratory' and a code system 'http://hl7.org/fhir/observation-category'
... code SΣ1..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.key
Binding: LOINC Codes (extensible)
Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2021-4","display":"Carbon dioxide [Partial pressure] in Venous blood"}]}
... subject SΣ1..1Reference(US Core Patient Profile)Who and/or what this is about
... context 0..1Reference(Encounter | EpisodeOfCare)Healthcare event during which this observation is made
... effective[x] SΣI0..1dateTime, PeriodClinically relevant time/time-period for observation
us-core-1: Datetime must be at least to day.
... issued Σ0..1instantObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.resultedDateTime
... performer ΣReference(Practitioner | Organization | Patient | RelatedPerson)Who is responsible for the observation
Slice: Unordered, Open by value:Observation.performer
... performer Σ0..*Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:responsibleObserver
... performer Σ0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/organization)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingLaboratory
... performer Σ0..1Reference(http://hl7.org/fhir/hspc/StructureDefinition/practitioner)Observation:hspcCarbonDioxidePPresPtBldVQnLabObs:performingOrganizationMedicalDirector
... valueQuantity SΣI0..1QuantityObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity
.... id 0..1stringxml:id (or equivalent in JSON)
.... value Σ0..1decimalNumerical value (with implicit precision)
.... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
.... unit Σ0..1stringUnit representation
.... system ΣI0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.system
Fixed Value: http://unitsofmeasure.org
.... code Σ0..1??Observation:hspcCarbonDioxidePPresPtBldVQnLabObs.valueQuantity.code
Fixed Value: mm[Hg]
... dataAbsentReason SI0..1CodeableConceptWhy the result is missing
Binding: Observation Value Absent Reason (extensible)
... interpretation 0..1CodeableConceptObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.interpretation
Binding: Observation Interpretation Codes (extensible)
... comment 0..1stringComments about result
... bodySite 0..1CodeableConceptObserved body part
Binding: SNOMED CT Body Structures (example)
... method 0..1CodeableConceptHow it was done
Binding: Observation Methods (example)
... specimen 0..1Reference(Specimen)Specimen used for this observation
... device 0..1Reference(Device | DeviceMetric)(Measurement) Device
... referenceRange I0..*BackboneElementProvides guide for interpretation
obs-3: Must have at least a low or a high or text
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... low I0..1SimpleQuantityLow Range, if relevant
.... high I0..1SimpleQuantityHigh Range, if relevant
.... type 0..1CodeableConceptReference range qualifier
Binding: Observation Reference Range Meaning Codes (extensible)
.... appliesTo 0..*CodeableConceptReference range population
Binding: Observation Reference Range Applies To Codes (example)
.... age 0..1RangeApplicable age range, if relevant
.... text 0..1stringObservation:hspcCarbonDioxidePPresPtBldVQnLabObs.referenceRangeNar
... related ΣI0..*BackboneElementResource related to this observation
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 0..1codehas-member | derived-from | sequel-to | replaces | qualified-by | interfered-by
Binding: ObservationRelationshipType (required)
.... target 1..1Reference(Observation | QuestionnaireResponse | Sequence)Resource that is related to this one
... component ΣI0..*BackboneElementComponent results
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code Σ1..1CodeableConceptType of component observation (code / type)
Binding: LOINC Codes (example)
.... value[x] Σ0..1Quantity, CodeableConcept, string, Range, Ratio, SampledData, Attachment, time, dateTime, PeriodActual component result
.... dataAbsentReason I0..1CodeableConceptWhy the component result is missing
Binding: Observation Value Absent Reason (extensible)
.... interpretation 0..1CodeableConceptHigh, low, normal, etc.
Binding: Observation Interpretation Codes (extensible)
.... referenceRange 0..*Unknown reference to #Observation.referenceRange
Provides guide for interpretation of component result

doco Documentation for this format

 

D.4.1.2 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
Observation.languageCommon LanguagesextensibleCommon Languages
Observation.statusObservationStatusrequiredObservationStatus
Observation.categoryObservation Category CodespreferredObservation Category Codes
Observation.codeLOINC CodesextensibleLOINC Codes
Observation.valueQuantity.comparatorQuantityComparatorrequiredQuantityComparator
Observation.dataAbsentReasonObservation Value Absent ReasonextensibleObservation Value Absent Reason
Observation.interpretationObservation Interpretation CodesextensibleObservation Interpretation Codes
Observation.bodySiteSNOMED CT Body StructuresexampleSNOMED CT Body Structures
Observation.methodObservation MethodsexampleObservation Methods
Observation.referenceRange.typeObservation Reference Range Meaning CodesextensibleObservation Reference Range Meaning Codes
Observation.referenceRange.appliesToObservation Reference Range Applies To CodesexampleObservation Reference Range Applies To Codes
Observation.related.typeObservationRelationshipTyperequiredObservationRelationshipType
Observation.component.codeLOINC CodesexampleLOINC Codes
Observation.component.dataAbsentReasonObservation Value Absent ReasonextensibleObservation Value Absent Reason
Observation.component.interpretationObservation Interpretation CodesextensibleObservation Interpretation Codes

D.4.1.3 Constraints

Constraints

IdPathDetailsRequirements
dom-2ObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1ObservationIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4ObservationIf 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-3ObservationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
obs-7ObservationIf code is the same as a component code then the value element associated with the code SHALL NOT be present
: value.empty() or code!=component.code
obs-6ObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
us-core-2ObservationIf there is no component or related element then either a value[x] or a data absent reason must be present
: (component.empty() and related.empty()) implies (dataAbsentReason or value)
ext-1Observation.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ext-1Observation.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ext-1Observation.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ext-1Observation.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
us-core-5Observation.categoryMust have a category of 'laboratory' and a code system 'http://hl7.org/fhir/observation-category'
: where(coding.system='http://hl7.org/fhir/observation-category' and coding.code='laboratory').exists()
us-core-1Observation.effective[x]Datetime must be at least to day.
: ($this as dateTime).toString().length() >= 8
us-core-4Observation.valueQuantitySHOULD use Snomed CT for coded Results
: valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'
us-core-3Observation.valueQuantitySHALL use UCUM for coded quantity units.
: valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'
ele-1Observation.referenceRangeAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
obs-3Observation.referenceRangeMust have at least a low or a high or text
: low.exists() or high.exists() or text.exists()
ele-1Observation.relatedAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Observation.componentAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
.