FHIR Chat · constraint that compares dates? · implementers

Stream: implementers

Topic: constraint that compares dates?


view this post on Zulip Gordon (Jul 01 2020 at 09:00):

Hello everybody,

is it possible to create a constraint in a profile that compares dates?
We need to validate that date a is not greater than date b or the current date.

Best regards

view this post on Zulip René Spronk (Jul 01 2020 at 09:35):

yes, using FHIRPath: http://hl7.org/fhirpath/#current-date-and-time-functions

view this post on Zulip Gordon (Jul 01 2020 at 11:34):

Thanks :).
Does HAPI support this functions? We are not using a server for validating, just a local HAPI-implemenation.

view this post on Zulip René Spronk (Jul 01 2020 at 11:39):

that's a question probably best raised on the #hapi stream.


Last updated: Apr 12 2022 at 19:14 UTC