Backend de erp-clinicas - Workspace V2
Add comprehensive laboratory module for managing lab tests, orders, and results: Entities: - LabTest: Catalog of available tests with reference ranges and categories - LabOrder: Lab orders linked to patients and consultations - LabResult: Results with values, status, and abnormal value detection Services: - LabTestService: CRUD operations for test catalog - LabOrderService: Order lifecycle (create, collect sample, process, complete, cancel) - LabResultService: Record results, verify, amend with history tracking Features: - Multi-tenant support (tenantId in all queries) - Automatic abnormal/critical value flagging - Result amendment with audit trail - Order number auto-generation - Reference range support by gender and age REST Endpoints: - /api/laboratory/tests/* - Test catalog management - /api/laboratory/orders/* - Order lifecycle management - /api/laboratory/results/* - Result recording and verification Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
erp-clinicas-backend-v2
Backend de erp-clinicas - Workspace V2