1.0.0 - release

CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

General Guidance

Error Handling

Cambio Open Services uses standard http codes for all FHIR APIs, see table below for some common examples. For API-specific error handling, refer to each API's documentation.

Code Description Comment
200 OK! Successful operation
201 Data created Data was successfully created in server
400 Bad Request Invalid request/Invalid query parameters
401 Unauthorized The authentication is required to perform the requested operation
403 Forbidden User doesn't have sufficient privileges to perform the requested operation
404 Not found The requested resource was not found
422 Unprocessable Entity The resource is not compliant with the profile
500 Internal Error The operation could not be performed due to an internal server error
501 Not Implemented The requested operation is not implemented

Operation Outcome

An API Consumer can always expect an OperationOutcome when in an error situation. Example of an OperationOutcome:

{
  "resourceType": "OperationOutcome",
  "issue": [
    {
      "severity": "error",
      "code": "processing",
      "diagnostics": "Invalid query parameter"
    }
  ]
}

Rules and limitations

General rules and Limitations

Type Description
Rule In search results, the pagination default page size is 20 records
Limitation In a search result, the result pages will expire in 5 minutes