Web service that stores information about clinics, clinicians and their patients
- Get MRN Settings
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/
Request
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).
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/redox/match
- integration
https://external.integration.tidepool.org/v1/redox/match
- production
https://api.tidepool.org/v1/redox/match
- dev1
https://dev1.dev.tidepool.org/v1/redox/match
- qa1
https://qa1.development.tidepool.org/v1/redox/match
- qa2
https://qa2.development.tidepool.org/v1/redox/match
- 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/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"
}
}'
OK
Clinic
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.
Procedure Code for Summary Statistics and PDF Reports subscription
Scheduled Report Settings
Send a PDF Report and a Flowsheet to Redox after a dataset is uploaded.
This configuration only applies to integrations using Redox Data Model
Codes of the clinical info items used to select the tags to associate with the patient. If defined, all tags of a patient will be replaced every time an enrollment order for the patient is processed.
{ "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": { … } } }
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/settings/mrn
- integration
https://external.integration.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- production
https://api.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- dev1
https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- qa1
https://qa1.development.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- qa2
https://qa2.development.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- 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}/settings/mrn' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'
{ "required": true, "unique": true }
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/settings/mrn
- integration
https://external.integration.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- production
https://api.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- dev1
https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- qa1
https://qa1.development.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- qa2
https://qa2.development.tidepool.org/v1/clinics/{clinicId}/settings/mrn
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/settings/mrn' \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"required": true,
"unique": true
}'