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
The information owner of the system is responsible for ensuring that consumption of produced information is only disclosed to approved consumers. Compliance with local regulations must be evaluated when developing applications using the Cambio Open Services (COS) APIs.
All communication between client and COS services are encrypted using TLS v1.3 (or higher when available).
COS currently supports only the OAuth 2.0 Client Credentials flow. Each integration is provisioned with a client_id and client_secret which can be used to obtain an access token from the COS Identity Provider(IdP). The access token can be used to invoke COS APIs. Invalid or missing credentials yield HTTP 401.
Each integration must be configured in COS IdP with relevant access scopes based on which APIs going to be accessed. COS supports SMART on FHIR (v1 and v2) scope notations. Insufficient scope yields HTTP 403.
See more:
user scopes.patient scopes.system scopes.If the scope is patient, then a filtering(PDA - Patient Data Access) will be applied by COS to ensure that patient is allowed to see the data returned by the COS api.
But if the scope is user or system, no filtering will be applied by COS, and it is expected that the client application will handle any necessary data filtering.
example scopes:
user/Patient.rpatient/Observation.ssystem/Observation.c
Note: It is possible to combine multiple grants and in that case the cruds order has to be followed (c > r > u > d > s).
Ex: user/Observation.cr is valid but user/Patient.rc is not valid.This flow is suitable for:
Do not use the Client Credentials flow directly from:
Reason: The client_secret cannot be kept confidential in these environments and may be extracted via debugging tools, reverse engineering, or network inspection, leading to unauthorized API access.
Public applications should call a secure backend that:
client_secretInteractive SMART apps typically rely on Authorization Code flow which performs end-user authentication.
Since COS supports only Client Credentials flow, the following limitations are applied:
