If-Modified-Since

24 views
Skip to first unread message

Chris Sell

unread,
Jul 31, 2023, 1:53:17 PM7/31/23
to HAPI FHIR
I'm trying to determine if this is working as designed or if this is a defect.

In an API such as Patient, if you do a GET with a patient Id ( Patient/12345 ) and you include "If-Modified-Since" in the header, it will only return the patient if the patient's last modif Modified date is before the last updated for that Patient. If there is no updates since that Modifed date, it will return a 304. This works.

My question is in regards to a GET call to Patient where you do not supply a Patient Id. It seems as though "If-Modified-Since" is ignored when set with a Patient API call with no Patient Id. Patients are returned regardless of last modified date compared to the "In-Modified-Since" date. Is this working as designed or a bug?

Thanks,
Chris

Reply all
Reply to author
Forward
0 new messages