How to fix broken dates
In some cases, you can have invalid data in your database- after importing data, or an error in SQL migrations.
For example, we have Patient resource with incorrect birthDate
in the database. If we will try to search Patient by date, we will catch an error:
GET
/fhir/Patient?birthDate=2020-02-01
To fix this error we should find all incorrect dates in table via SQL query
In response we catch an error
Now we can fix these dates:
Last updated