Skip to content

Commit fc58202

Browse files
#1461: Fixed the value representation of the SimpleObservation profile (#1477)
Co-authored-by: JP <[email protected]>
1 parent 16a89aa commit fc58202

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

Src/java/quick/src/main/resources/org/hl7/fhir/qicore-modelinfo-6.0.0.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5409,7 +5409,25 @@
54095409
<element name="performer" description="(QI-Core)(USCDI) Who is responsible for the observation" definition="Who was responsible for asserting the observed value as &quot;true&quot;." mustSupport="true">
54105410
<elementTypeSpecifier xsi:type="ListTypeSpecifier" elementType="QICore.Reference"/>
54115411
</element>
5412-
<element name="value" elementType="System.Concept" target="FHIRHelpers.ToConcept(%value)" description="(QI-Core)(USCDI) Actual result" definition="The information determined as a result of making the observation, if the information has a simple value." comment="An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below." mustSupport="true"/>
5412+
<element name="value" target="FHIRHelpers.ToValue(%value)" description="(QI-Core)(USCDI) Actual result" definition="The information determined as a result of making the observation, if the information has a simple value." comment="Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below." mustSupport="true">
5413+
<elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
5414+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="Quantity"/>
5415+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="Concept"/>
5416+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="String"/>
5417+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="Boolean"/>
5418+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="Integer"/>
5419+
<choice xsi:type="IntervalTypeSpecifier">
5420+
<pointTypeSpecifier xsi:type="NamedTypeSpecifier" namespace="System" name="Quantity"/>
5421+
</choice>
5422+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="Ratio"/>
5423+
<choice xsi:type="NamedTypeSpecifier" namespace="QICore" name="SampledData"/>
5424+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="Time"/>
5425+
<choice xsi:type="NamedTypeSpecifier" namespace="System" name="DateTime"/>
5426+
<choice xsi:type="IntervalTypeSpecifier">
5427+
<pointTypeSpecifier xsi:type="NamedTypeSpecifier" namespace="System" name="DateTime"/>
5428+
</choice>
5429+
</elementTypeSpecifier>
5430+
</element>
54135431
<element name="dataAbsentReason" elementType="System.Concept" target="FHIRHelpers.ToConcept(%value)" description="Why the result is missing" definition="Provides a reason why the expected value in the element Observation.value[x] is missing." comment="Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or &quot;specimen unsatisfactory&quot;. &#10;&#10;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.">
54145432
<binding name="ObservationValueAbsentReason" description="Codes specifying why the result (`Observation.value[x]`) is missing." strength="Extensible"/>
54155433
</element>

0 commit comments

Comments
 (0)