Tidepool API/Clinics API//
- Match Clinic and Patient
List Clinics
Create Clinic
Get Clinic by Share Code
Get Clinic
Update Clinic
Delete Clinic
List Clinicians
Create Clinician
View TIDE Report
List Patients
Create Patient Account
Create Patient Tag
Create a Site
Update a Site
Delete a Site
Merge two sites
Get Clinician
Update Clinician
Delete Clinician
Get Patient
Create Patient from Existing User
Update Patient
Delete Patient
Update Patient Tag
Delete Patient Tag
Convert Patient Tag to Site
Invite Clinician
Resend Clinician Invite
Delete Invite
Associate Clinician to User
Delete Invited Clinician
Get Invited Clinician
Get Patient Invites
Accept Patient Invitation
Update Patient Reviews
Delete Patient Reviews
Update Patient Permissions
Delete Patient Permission
List Clinics for Patient
List Clinician Invites
Dismiss Clinician Invite
Accept Clinician Invite
List Clinics for Clinician
Migrate Legacy Clinician Patients
Retrieve Migration Status
Enable Clinics
Trigger initial migration
Get Migration
Update Migration
Remove User from Clinics
Update User Details
List All Clinicians
UpdatePatientSummary
DeletePatientSummary
Create or update a data source for a patient
Update Tier
Update Suppressed Notifications
Send Upload Reminder
Assign Patient Tag To Clinic Patients
Delete Patient Tag From Clinic Patients
List Membership Restrictions
Update Membership Restrictions
Redox EHR Endpoint
Redox Verify Endpoint
Get EHR Settings
Update EHR Settings
Get MRN Settings
Update MRN Settings
Get Patient Count Settings
Update Patient Count Settings
Get Patient Count
Refresh Patient Count
Sync EHR Data
Find Patients
Preorder Form Webhook
Get Programs
Get Program Url
Notification Webhook
View PDF Report
Add Service Account
Sync EHR Data for Patient
Generate Clinic Merge Report
Merge Clinic
Connect Provider
Match Clinic and Patient
An internal endpoint used for matching an EHR request (e.g. NewOrder) to a clinic and patient.
If a clinic with the provided details cannot be found, the service will return 404 Not Found and will not attempt to match patients to the provided details.
Due to lack of uniqueness constraints on the MRN and DOB fields it's possible that multiple patient records match the provided attributes. All results will be returned in the response and it's the calling services responsiblity to determine how to handle duplicates records.
If a unique match is found, the patient matching criteria will be added to the patient record for future use (e.g. pushing data on a schedule).
Security
sessionToken
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/redox/match
- integrationhttps://external.integration.tidepool.org/v1/redox/match
- productionhttps://api.tidepool.org/v1/redox/match
- dev1https://dev1.dev.tidepool.org/v1/redox/match
- qa1https://qa1.development.tidepool.org/v1/redox/match
- qa2https://qa2.development.tidepool.org/v1/redox/match
curl -i -X POST \
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/redox/match \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"messageRef": {
"dataModel": "Order",
"eventType": "New",
"documentId": "string"
},
"patients": {
"criteria": [
"MRN"
],
"onUniqueMatch": "ENABLE_REPORTS"
}
}'Response
{ "clinic": { "id": "2fe2488217ee43e1b2e83c2f", "address": "string", "city": "Palo Alto", "postalCode": "94301", "state": "CA", "country": "USA", "patientTags": [ … ], "sites": [ … ], "lastDeletedPatientTag": { … }, "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": { … }, "timezone": "Africa/Abidjan" }, "patients": [ { … } ], "settings": { "enabled": true, "sourceId": "string", "destinationIds": { … }, "procedureCodes": { … }, "mrnIdType": "string", "provider": "xealth", "scheduledReports": { … }, "tags": { … }, "flowsheets": { … }, "notes": { … } } }