Download src/apps/documents/__init__.py from anaselamr/yaz: direct link, hf CLI and curl.
- Browser
- Download file 781 Bytes
-
https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/documents/__init__.py
- Command line
-
hf download hf://spaces/anaselamr/yaz/src/apps/documents/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/documents/__init__.py
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 | |
| """ | |