Tidepool API/Clinics API//
- Match Clinic and Patient
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
Assign Patient Tag To Clinic Patients
Delete Patient Tag From Clinic Patients
Update Membership Restrictions
Redox EHR Endpoint
Redox Verify Endpoint
Get EHR Settings
Update EHR Settings
Get MRN Settings
Update MRN Settings
Update Patient Count Settings
Refresh Patient Count
Sync EHR Data
Preorder Form Webhook
Get Programs
Get Program Url
Notification Webhook
View PDF Report
Add Service Account
Sync EHR Data for Patient
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": { … } } }