HTTP REST Return Values

The interface behaves like the HL7 FHIR Specification recommends.

This means that:

  • an HTTP 200 with a resource is returned if a query was successful
  • an HTTP 200 with an empty Bundle is returned if there was nothing found by quering by search parameter
  • an HTTP 201 with a resource is returned if the creation was successful
  • an HTTP 400 with an OperationOutcome with details is returned if an error orccurs
  • an HTTP 401 is returned if there is no authorization header
  • an HTTP 404 is returned if there was nothing found by quering by id