Stream: fhirpath
Topic: Partial Date / Time comparison
John Timm (Nov 22 2019 at 20:16):
@Bryn Rhodes
Per the spec:
For partial date/time values, the comparison is performed to the highest precision specified in both values.
Does this mean that @2019 = @2019-01 = @2019-01-01 = @2019-01-01T00:00:00 = @2019-01-01T00:00:00.000 = @2019-01-01T00:00:00.000Z
?
Bryn Rhodes (Nov 23 2019 at 07:32):
No, when the partials are specified to different levels of precision, the result is empty ({ }
).
John Timm (Nov 23 2019 at 15:30):
Thanks for the clarification.
Last updated: Apr 12 2022 at 19:14 UTC