Spaces:
Paused

yaz / src /apps /documents /__init__.py
anaselamr's picture
feat: Sprint 44 — ProductRegistry, Azul/Luiz layer, 13 migrations, doc cleanup
383d839
Raw History Blame Contribute Delete
781 Bytes
"""
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
"""