Backend de erp-clinicas - Workspace V2
Add complete pharmacy module for erp-clinicas with: Entities: - Medication: catalog with controlled substance flags, categories, forms - PharmacyInventory: stock management with batch/lot tracking, alerts - PharmacyPrescription: linked to consultation and patient - Dispensation: medication dispensing with partial fills support Services: - MedicationService: CRUD for medication catalog - PharmacyInventoryService: stock management, low stock alerts, expiry tracking - PrescriptionService: prescription workflow, refills, controlled substances - DispensationService: dispensing workflow, verification, returns Features: - Multi-tenant support (tenantId in all queries) - Controlled substance tracking and scheduling - Inventory with low stock and expiration alerts - Prescription linked to consultation and patient - Dispensation tracking with partial fills support - Stock reservation and dispensing workflow - FIFO dispensing based on expiration dates 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