Stream: fhirpath
Topic: Error in toQuantity spec?
Yury Sedinkin (Mar 18 2020 at 21:26):
Hi All,
I am a little bit confused here:
http://hl7.org/fhirpath/index.html#toquantityunit-string-quantity
toQuantity([unit : String]) : Quantity
....
If the input quantity can be converted, the result is true, otherwise, the result is false.
...
I think this is a typo, and if I'm right, then how should this really work?
Grahame Grieve (Mar 19 2020 at 01:09):
that's the description for isQuantity not toQuantity
Yury Sedinkin (Mar 19 2020 at 12:26):
Paul Lynch (Mar 19 2020 at 13:28):
@Bryn Rhodes ?
Bryn Rhodes (Mar 19 2020 at 13:47):
Yes, that highlighted sentence should say "If the input quantity can be converted, the result is the converted quantity, otherwise, the result is empty." Submit a tracker?
Yury Sedinkin (Mar 19 2020 at 15:23):
Just few seconds ago: https://jira.hl7.org/browse/FHIR-26610
Last updated: Apr 12 2022 at 19:14 UTC