You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Leo24 If there are no results found in a search, the error should not be 404. The expected result is a Bundle resource with a count of Zero, and a return code of 200, not 404.
For example, when we search for a patient's appointments as in the request below, but the patient has no appointments in the result set, the returned JSON should be a Bundle with a count of Zero. https://gponline-fhir.vu2vu.com/fhir/Appointment?patient=1
Actual
Expected
Currently, the response is a non-FHIR complaint error message. If in fact there is an error, then the response should be an OperationOutcome Resource. For example, when we query for a patient by ID, but no patient with that ID exists in the system.
OperationOutcome Response
The text was updated successfully, but these errors were encountered:
@Leo24 If there are no results found in a search, the error should not be 404. The expected result is a Bundle resource with a count of Zero, and a return code of 200, not 404.
For example, when we search for a patient's appointments as in the request below, but the patient has no appointments in the result set, the returned JSON should be a Bundle with a count of Zero.
https://gponline-fhir.vu2vu.com/fhir/Appointment?patient=1
Actual
Expected
Currently, the response is a non-FHIR complaint error message. If in fact there is an error, then the response should be an OperationOutcome Resource. For example, when we query for a patient by ID, but no patient with that ID exists in the system.
OperationOutcome Response
The text was updated successfully, but these errors were encountered: