Web service that stores information about clinics, clinicians and their patients
- Trigger initial migration
Clinics API (1.0)
https://tidepool.redocly.app/_mock/reference/clinic.v1/
https://external.integration.tidepool.org/
https://api.tidepool.org/
https://dev1.dev.tidepool.org/
https://qa1.development.tidepool.org/
https://qa2.development.tidepool.org/
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians/{userId}/migrate
- integration
https://external.integration.tidepool.org/v1/clinicians/{userId}/migrate
- production
https://api.tidepool.org/v1/clinicians/{userId}/migrate
- dev1
https://dev1.dev.tidepool.org/v1/clinicians/{userId}/migrate
- qa1
https://qa1.development.tidepool.org/v1/clinicians/{userId}/migrate
- qa2
https://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.
Postal code. In the U.S., typically the zip code such as 94301
or 94301-1704
.
State or province. In the U.S., typically something like CA
or California
.
An array of phone numbers.
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.
{ "id": "2fe2488217ee43e1b2e83c2f", "address": "string", "city": "Palo Alto", "postalCode": "94301", "state": "CA", "country": "USA", "patientTags": [ { … } ], "sites": [ { … } ], "lastDeletedPatientTag": { "id": "stringstringstringstring", "name": "string" }, "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" }
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/migrate
- integration
https://external.integration.tidepool.org/v1/clinics/{clinicId}/migrate
- production
https://api.tidepool.org/v1/clinics/{clinicId}/migrate
- dev1
https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/migrate
- qa1
https://qa1.development.tidepool.org/v1/clinics/{clinicId}/migrate
- qa2
https://qa2.development.tidepool.org/v1/clinics/{clinicId}/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/clinics/{clinicId}/migrate' \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"attestationSubmitted": true
}'
{ "userId": "string", "status": "PENDING", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "attestationTime": "2019-08-24T14:15:22Z" }
Clinic ID
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/migrations/{userId}
- integration
https://external.integration.tidepool.org/v1/clinics/{clinicId}/migrations/{userId}
- production
https://api.tidepool.org/v1/clinics/{clinicId}/migrations/{userId}
- dev1
https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/migrations/{userId}
- qa1
https://qa1.development.tidepool.org/v1/clinics/{clinicId}/migrations/{userId}
- qa2
https://qa2.development.tidepool.org/v1/clinics/{clinicId}/migrations/{userId}
- 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/2fe2488217ee43e1b2e83c2f/migrations/{userId}' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'
{ "userId": "string", "status": "PENDING", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "attestationTime": "2019-08-24T14:15:22Z" }