Prerequisites
- A patient bearer token and
X-Brand-Slug: hi-doctor. - Only the patient can upload or delete their documents.
Operations
Boundaries and side effects
- Orders and documents return a bare JSON array, not a paginated envelope.
- Documents are PDF, PNG, JPEG or WebP (detected from the bytes), up to 20
MiB, with at most 50 per patient.
kindisprescription,lab_result,photoorother(default);noteis up to 500 characters. - Uploading and deleting accept an
Idempotency-Key. Without one, a retried upload can store a duplicate. - Deleting a document cannot be undone.
- Never log document bytes.
Related
- Uploads and downloads
- Pagination
- MCP patient tools (the connector uploads documents through a protected upload)