Search patients (autocomplete / combobox)
Search patients with fuzzy matching for autocomplete/combobox use. Labs see patients from partnered clinics (respecting share-all-patients and lab access settings). Clinics see only their own patients. Anonymized patients are masked for labs.
Search patients with fuzzy matching for autocomplete/combobox use. Labs see patients from partnered clinics (respecting share-all-patients and lab access settings). Clinics see only their own patients. Anonymized patients are masked for labs.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Query Parameters
Search query for patient name, code, or external ID
""Filter patients by clinic ID
Maximum number of results to return
0 < value <= 10050Response Body
application/json
curl -X GET "https://example.com/patients"{ "patients": [ { "id": "string", "clinicId": "string", "firstName": "string", "lastName": "string", "gender": "string", "dateOfBirth": "string", "phone": "string", "email": "string", "externalId": "string", "clinicName": "string", "patientCode": "string", "fullName": "string", "clinic": { "id": "string", "name": "string" }, "isAnonymized": true } ]}Revoke lab access to a patient DELETE
Revoke a lab's effective access while retaining grant and revocation audit evidence. Under partnership-wide sharing this creates a per-patient exclusion. Active and suspended partnership epochs are supported. Clinic only.
Update a patient's details PUT
Update an existing patient's details. Clinics can only update their own patients. Labs can update patients from partnered clinics they have access to (subject to lab access and share-all-patients settings). Anonymized/hidden patients cannot be edited. The patient's clinic and patient code cannot be changed.