Return Obs of type "Date" in "yyyy-MM-dd" format

Description

Currently, when returning Obs resources of value “date”, the Obs resource returns a string representing the full datetime in ISO format.

This is correct for obs of value datetime, but for date-only obs we should return the Obs just in “yyyy-MM-dd” format

Activity

Show:

Mark Goodrich March 21, 2025 at 4:39 PM

This has been merged. We should be on the lookout for any unexpected ramifications of this change.

Mark Goodrich March 21, 2025 at 4:38 PM

This has been merged. We should be on the lookout for any unexpected ramifications of this change.

Mark Goodrich March 19, 2025 at 5:51 PM

Ready for code review, PR linked in previous comment. Note that this PR also includes a fix for

Mark Goodrich March 18, 2025 at 5:21 PM

Mark Goodrich March 10, 2025 at 5:19 PM
Edited

Notes to self, thoughts:

  • How do setters work?

  • How could this be applied to retrospective encounters, etc?

  • What does FHIR do?

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created March 10, 2025 at 5:16 PM
Updated March 25, 2025 at 8:05 PM
Resolved March 25, 2025 at 8:05 PM