Skip to:
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
This has been merged. We should be on the lookout for any unexpected ramifications of this change.
Ready for code review, PR linked in previous comment. Note that this PR also includes a fix for
Notes to self, thoughts:
How do setters work?
How could this be applied to retrospective encounters, etc?
What does FHIR do?
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