-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter content referenced on the Composition or IG using the _lastUpdated
during download
#3580
Comments
One issue is how to set Is there a way that the current server time is already being set back? It might be somewhat cludgy to add that as a returned value from the remote server. An alternative approach would be to take the largest timestamp in |
I believe this is how the FHIR SDK does it for the data FHIR resources - https://github.com/google/android-fhir/blob/master/engine/src/main/java/com/google/android/fhir/sync/download/ResourceParamsBasedDownloadWorkManager.kt#L115-L127 |
cool sweet, great find, yea let's follow the exact same logic, that's the alternative approach I noted |
@Aleem92 I just tested the HAPI API on the current version we use.
e.g https://{{base_url}}/fhir/Composition?_lastUpdated=gt2025-04-18 |
@pld @ndegwamartin We might have to pause this until we test it on the latest version of HAPI. If still doesn't work then we close the ticket |
Thanks for confirming this, @dubdabasoduba. I had raised this issue regarding |
Describe the feature request.
lastConfigSync
timestamp, which will work alongside the_lastUpdated
property on FHIR resources.lastConfigSync
timestamp will have the following characteristics:Acceptance criteria
lastConfigSync
timestamp everytime the configs are complete sync successfullylastConfigSync
to requests for content referenced on the Composition or IGlastConfigSync
on the application share preferencesImplementation plan (For Engineers)
The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed.
i.e. Describe how you intend to solve the problem
The text was updated successfully, but these errors were encountered: