Closed
Description
In the following library:
library TestQuantity
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
context Patient
define TestQuantity: FHIRHelpers.ToValue(FHIR.Quantity { value: FHIR.decimal { value: 1001 }, unit: FHIR.string { value: 'mg/dL' } }) >= 200 'mg/dL'
The TestQuantity expression unexpectedly returns null
, when according to the logic in the FHIRHelpers library, the unit
element should be treated as a UCUM unit unless there is explicit declaration that it is not.
Activity