Web service that stores information about clinics, clinicians and their patients
Clinics API (1.0)
Download OpenAPI description
Overview
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
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/migrations
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/migrations
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/migrations
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/migrations
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/migrations
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/migrations
- 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}/migrations' \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"userId": "string",
"status": "PENDING"
}'Response
application/json
{ "userId": "string", "status": "PENDING", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "attestationTime": "2019-08-24T14:15:22Z" }
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/migrations
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/migrations
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/migrations
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/migrations
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/migrations
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/migrations
- 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}/migrations' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'Response
application/json
[ { "userId": "string", "status": "PENDING", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "attestationTime": "2019-08-24T14:15:22Z" } ]
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians/{userId}/migrate
- integrationhttps://external.integration.tidepool.org/v1/clinicians/{userId}/migrate
- productionhttps://api.tidepool.org/v1/clinicians/{userId}/migrate
- dev1https://dev1.dev.tidepool.org/v1/clinicians/{userId}/migrate
- qa1https://qa1.development.tidepool.org/v1/clinicians/{userId}/migrate
- qa2https://qa2.development.tidepool.org/v1/clinicians/{userId}/migrate
- 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/clinicians/{userId}/migrate' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'OK
Clinic identifier.
Example: "2fe2488217ee43e1b2e83c2f"
Postal code. In the U.S., typically the zip code such as 94301 or 94301-1704.
Example: "94301"
State or province. In the U.S., typically something like CA or California.
Example: "CA"
An array of phone numbers.
Example: [{"type":"main","number":"+1 (555) 555-1212"}]
Enum"provider_practice""healthcare_system""veterinary_clinic""other""researcher"
Globally unique share code for a clinic. The share code is 3 groups of 4 uppercase alphanumeric characters in each group. Ambiguous characters such as I and 1, or O and 0 are excluded.
Response
application/json
{ "id": "2fe2488217ee43e1b2e83c2f", "address": "string", "city": "Palo Alto", "postalCode": "94301", "state": "CA", "country": "USA", "patientTags": [ { … } ], "sites": [ { … } ], "lastDeletedPatientTag": { "id": "stringstringstringstring", "name": "string", "numPatients": 0 }, "phoneNumbers": [ { … } ], "clinicType": "provider_practice", "clinicSize": "0-249", "name": "string", "shareCode": "string", "canMigrate": true, "website": "http://example.com", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "tierDescription": "Free", "tier": "tier0100", "preferredBgUnits": "mg/dL", "suppressedNotifications": { "patientClinicInvitation": true }, "timezone": "Africa/Abidjan" }