Get a single patient by ID
Retrieve a patient's details. Labs can access patients from partnered clinics (subject to lab access and share-all-patients settings). Anonymized patients return masked data for labs. Clinics can only access their own patients.
Retrieve a patient's details. Labs can access patients from partnered clinics (subject to lab access and share-all-patients settings). Anonymized patients return masked data for labs. Clinics can only access their own patients.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Patient ID
Response Body
application/json
curl -X GET "https://example.com/patients/550e8400-e29b-41d4-a716-446655440000"{ "patient": { "id": "string", "clinicId": "string", "firstName": "string", "lastName": "string", "gender": "string", "dateOfBirth": "string", "phone": "string", "email": "string", "externalId": "string", "notes": "string", "clinicName": "string", "fullName": "string", "patientCode": "string", "isAnonymized": true }}Erase a patient identity DELETE
Immediately pseudonymizes a clinic-owned patient and starts bounded cleanup of retained identity copies. Replays are idempotent.
Grant lab access to a patient POST
Grant a specific lab explicit access to a patient record. The lab must have an active partnership with the clinic. Clinic only - the patient must belong to the current clinic. Idempotent - granting access twice is a no-op.