Skip to content

Clinics API (1.0)

Web service that stores information about clinics, clinicians and their patients

Download OpenAPI description
Languages
Servers
Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1
integration
https://external.integration.tidepool.org
production
https://api.tidepool.org
dev1
https://dev1.dev.tidepool.org
qa1
https://qa1.development.tidepool.org
qa2
https://qa2.development.tidepool.org

Clinics

Manage clinics, clinians and patients.

Operations

Get Patient Count

Request

Get Patient Count

Security
sessionToken
Path
clinicIdstring^[a-f0-9]{24}$required
curl -i -X GET \
  'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/patient_count' \
  -H 'x-tidepool-session-token: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
totalinteger>= 0required

The count of all patients associated with the clinic, regardless of classification.

demointeger>= 0required

The count of patients associated with the clinic that are classified as demo and do not apply towards the plan-based patient count limit. Currently this is limited to 0 or 1, but allows for future expansion with multiple demo patients if needed.

planinteger>= 0required

The count of patients associated with the clinic classified as applying towards the plan-based patient count limit. This excludes patients classified as demo as well as any other classifications that do not apply towards the plan-based patient count limit for various business reasons.

providersobject

The count of patients associated with the clinic by provider. As each patient may be associated with multiple providers, the sum of all provider counts may exceed the total patient count.

Response
application/json
{ "total": 0, "demo": 0, "plan": 0, "providers": { "property1": { … }, "property2": { … } } }

Refresh Patient Count

Request

An internal endpoint to refresh the patient count for the specified clinic.

Security
sessionToken
Path
clinicIdstring^[a-f0-9]{24}$required
curl -i -X POST \
  'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/patient_count/refresh' \
  -H 'x-tidepool-session-token: YOUR_API_KEY_HERE'

Responses

OK

Sync EHR Data

Request

An internal endpoint which will push the latest patient summary statistics and PDF reports for all patients who have an active subscription. The actual data is pushed asynchronously. A successful response means that an asynchronous task has been scheduled for each patient of the clinic with an active subscription.

Will return 404 Not Found if the clinic does not have an active EHR connection.

Security
sessionToken
Path
clinicIdstring^[a-f0-9]{24}$required
curl -i -X POST \
  'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/ehr/sync' \
  -H 'x-tidepool-session-token: YOUR_API_KEY_HERE'

Responses

Accepted

Confirmations

Manage confirmations for account creation, sharing invites, etc.

Operations

Internal

APIs intended for internal use by Tidepool.

Operations

Redox

Public endpoints invoked by Redox.

Operations