Stream: implementers
Topic: History
Liam (Sep 13 2019 at 05:22):
I am trying following usecase:
1. Fetch all procedures for a patient. ( using query <baseurl>/procedure?patient=<id>.
2. then to get delta changes, updated procedure ( added, modified) , using the query "baseURL/Procedure/_history?_since=2019-01-29T17:25:19.782+01:00&Patient=10271" <(timestamp here is the lastUpdatedDateTime of procedures retrieved from first statement)
But I am not sure, if I can combine patient ID with _history parameters.
I tried some standard URL (Hapi) but did not get clear answer if this is supported by FHIR or not.
could you please clarify this.
Lloyd McKenzie (Sep 13 2019 at 11:04):
The history interface isn't currently defined to support 'search' parameters other than _count, _since, _at, _list and _format. You'd need to do this in two steps - one to find the procedures for the patient and a second batch of queries to find the histories that had changed in a particular period of time.
Last updated: Apr 12 2022 at 19:14 UTC