""" YAZ Care Platform — Clinical Documents Module ============================================== Safe, auditable document handling for surgical cases. Design principles ----------------- - Every upload goes through MIME + size validation before any storage write. - File content is never executed or served with elevated trust. - Metadata lives in the database; files live in a configurable storage backend. - Every read/write triggers an audit event. - Soft-delete only — no hard deletes of clinical documents to satisfy medico-legal retention requirements. Supported document types ------------------------ - Consent forms - Pre-op assessments - Imaging / DICOM references - Lab results - Operative notes - Discharge letters - Follow-up reports - Billing attachments """