Hi.
I'm having an observation resource and when I try to get it's history with the query below, I get the lastUpdated history first. But what I want is the first updated history of that particular day/time period. I tried _sort=-_lastUpdated, but I'm getting the following error:
FHIRPersistenceException: Unrecognized history parameter: '_sort'
How do I solve this?
API Query I used to get the history:
http://<IP ADDRESS>:9443/fhir-server/api/v4/Observation/18a9731c288-08443bac-c0f7-40ee-8f5a-94b2454f8cc6/_history?_count=1&_since=2023-09-19T00:00:00Z
Environment:
Docker image of the server in an Ubuntu machine.
Hi. I'm having an observation resource and when I try to get it's history with the query below, I get the lastUpdated history first. But what I want is the first updated history of that particular day/time period. I tried _sort=-_lastUpdated, but I'm getting the following error:
FHIRPersistenceException: Unrecognized history parameter: '_sort'
How do I solve this?
API Query I used to get the history:
http://<IP ADDRESS>:9443/fhir-server/api/v4/Observation/18a9731c288-08443bac-c0f7-40ee-8f5a-94b2454f8cc6/_history?_count=1&_since=2023-09-19T00:00:00Z
Environment: Docker image of the server in an Ubuntu machine.
Thanks!