Stream: implementers
Topic: Observation Range with units
Ben Grey (Aug 21 2019 at 18:07):
Is there a way to specify units in Observation valueRange element?
Example- an Observation 'Ejection Fraction' has unit %, this may be expressed in reports as a single value (35) or a range (35-40). Is the range element correct to use or should the Component.valueQuantity be used for each value to specify a unit with it?
Lloyd McKenzie (Aug 21 2019 at 18:10):
With valueRange, you can specify the units for both lower bound and upper bound. E.g. you can establish a range of 10 mg to 5 g.
Ben Grey (Aug 21 2019 at 18:13):
@Lloyd McKenzie When I selected the simplyQuantity datatypes in the spec for low/high element it links to the money datatype with value/currency code assigned to it? Can this be changed or am i looking in the wrong place.
Lloyd McKenzie (Aug 21 2019 at 18:19):
Actually, it links to SimpleQuantity, but because SimpleQuantity is just a profile, it doesn't have a header to make it stick out. SimpleQuantity is defined as a 'row' in the table just above "Money". It's this bit here:
pasted image
Lloyd McKenzie (Aug 21 2019 at 18:19):
SimpleQuantity is just a Quantity where you can't send Quantity.comparitor.
Last updated: Apr 12 2022 at 19:14 UTC