Web service that stores information about clinics, clinicians and their patients
- Refresh Patient Count
Clinics API (1.0)
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/patient_count
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/patient_count
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/patient_count
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/patient_count
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/patient_count
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/patient_count
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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'OK
The count of all patients associated with the clinic, regardless of classification.
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.
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.
{ "total": 0, "demo": 0, "plan": 0, "providers": { "property1": { … }, "property2": { … } } }
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/patient_count/refresh
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/patient_count/refresh
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/patient_count/refresh
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/patient_count/refresh
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/patient_count/refresh
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/patient_count/refresh
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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'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.
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/ehr/sync
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/ehr/sync
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/ehr/sync
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/ehr/sync
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/ehr/sync
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/ehr/sync
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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'