Stream: implementers
Topic: Profiling Date and DateTime
Johannes Höhn (Mar 05 2019 at 15:38):
The datatypes date and dateTime allow for barely partially defined dates, which makes a lot of sense when e.g. the full birthday of a patient is not known. However there are also areas where in some jurisdictions there are legal requirements, that dates are fully specified. Is it possible to use e.g. valuesets in a profile that the dates need to be stated?
Michel Rutten (Mar 05 2019 at 15:42):
Your could introduce some additional FHIRPath constraints in your custom profiles, e.g. verify that all date components (year, month, day) are specified.
Eric Haas (Mar 05 2019 at 21:02):
you constraint date with an invariant e.g. date.matches([regex])
Brian Postlethwaite (Apr 04 2019 at 09:35):
Or simply the length was long enough.
Last updated: Apr 12 2022 at 19:14 UTC