Erase a patient identity
Immediately pseudonymizes a clinic-owned patient and starts bounded cleanup of retained identity copies. Replays are idempotent.
Immediately pseudonymizes a clinic-owned patient and starts bounded cleanup of retained identity copies. Replays are idempotent.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
1 <= lengthResponse Body
application/json
curl -X DELETE "https://example.com/patients/string"{ "status": "requested"}Create a new patient POST
Create a new patient record. Clinics can only create patients for themselves. Labs can create patients for partnered clinics and automatically get lab access granted. Available to both labs and clinics.
Get a single patient by ID GET
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.