FHIR Chat · Absence of Patient Record · inferno

Stream: inferno

Topic: Absence of Patient Record


view this post on Zulip Chetana Suresh (Jun 09 2021 at 15:24):

In the absence of a particular record for a patient, such as when a particular patient doesn't have any AllergyIntolerance information, should a smart on FHIR-based API return a 404 error, or is there a different 200 code to send back?

view this post on Zulip Michele Mottini (Jun 09 2021 at 15:50):

Send back an empty bundle with status 200

view this post on Zulip Stephen MacVicar (Jun 09 2021 at 16:07):

Here's the reference in the FHIR documentation: https://www.hl7.org/fhir/search.html#errors

where the issue is a logical condition (e.g. unknown subject or code), the server SHOULD process the search, including processing the parameter - with the result of returning an empty search set

view this post on Zulip Stephen MacVicar (Jun 09 2021 at 16:09):

Also:

Note: An empty search result is not a failure

view this post on Zulip Chetana Suresh (Jun 09 2021 at 17:10):

Thank you for the info!


Last updated: Apr 12 2022 at 19:14 UTC