FHIR Chat · DocumentReference _lastUpdated · implementers

Stream: implementers

Topic: DocumentReference _lastUpdated


view this post on Zulip Jay Gustafson (Aug 17 2020 at 15:18):

We are trying to use the _lastUpdated parameter, but have not seen it make a difference on our DSTU2 endpoints. Does anyone know which EHRs are using _lastUpdated for the DocumentReference call?

view this post on Zulip Lloyd McKenzie (Aug 23 2020 at 23:10):

If you query their CapabilityStatement, they should declare what SearchParameters they support

view this post on Zulip Jay Gustafson (Aug 24 2020 at 22:15):

Yes, some use "period" or "date" instead of "_lastUpdated". We're having trouble getting those search parameters to work too.

view this post on Zulip Lloyd McKenzie (Aug 24 2020 at 23:34):

period and date are quite different from _lastUpdated

view this post on Zulip Lloyd McKenzie (Aug 24 2020 at 23:34):

Can you expand on what trouble you're having?

view this post on Zulip Jay Gustafson (Aug 25 2020 at 16:18):

The first time we call DocumentReference?patient=1234 to get all the docs on say 2020-08-01. Then, the next time the user comes back to import data, we'd like to only get the docs that are new since the last pull: DocumentReference?patient=1234&period=ge2020-08-01. It still returns all of the documents.

view this post on Zulip John Moehrke (Aug 25 2020 at 16:28):

that sounds like a server failure. did the server declare in the CapabilityStatement support for period query parameter?

view this post on Zulip Michele Mottini (Aug 25 2020 at 16:50):

...did you try DocumentReference?patient=1234&_lastUpdated=ge2020-08-01 ?

view this post on Zulip John Moehrke (Aug 25 2020 at 16:57):

Michele Mottini said:

...did you try DocumentReference?patient=1234&_lastUpdated=ge2020-08-01 ?

right, that would be more correct paging... and rely less on the odd math that is comparison on periods

view this post on Zulip Jay Gustafson (Sep 03 2020 at 23:25):

I've consulted the capability statement and tried both parameters.


Last updated: Apr 12 2022 at 19:14 UTC