How hospital-management-system-emr/hospital-management-system-emr-opensource works
Danphe EMR is a web-based hospital information and electronic medical-record system. Its broad user workflow spans patient and visit management, clinical care, diagnostics, admission and discharge, medication and inventory operations, billing, and accounting. The sampled ASP.NET controllers are the clearest runtime entry layer, coordinating domain operations with database contexts; the README documents additional product areas. The excerpts are partial, so the graph shows only supported controller-to-context links and avoids implying an end-to-end sequence between separate modules.
Main entry points: RadiologyController.cs Radiology imaging · AdmissionController.cs Admission and discharge · EmergencyController.cs Emergency care · LabController.cs Laboratory
Components 26
Patient care
- Admission and discharge
Code/Websites/DanpheEMR/Controllers/Admission/AdmissionController.cs - Emergency care
Code/Websites/DanpheEMR/Controllers/Emergency/EmergencyController.cs - Clinical records
Code/Components/DanpheEMR.ServerModel/ClinicalModel_New/ClinicalNoteModel.cs - Appointments
Code/Components/DanpheEMR.ServerModel/AppointmentModels/AppointmentModel.cs
Diagnostics
- Laboratory
Code/Websites/DanpheEMR/Controllers/Lab/LabController.cs - Radiology imaging
Code/Websites/DanpheEMR/Controllers/Radiology/RadiologyController.cs
Hospital operations
- Pharmacy
Code/Websites/DanpheEMR/Controllers/Pharmacy/PharmacyController.cs - Inventory procurement
Code/Websites/DanpheEMR/Controllers/Inventory/InventoryController.cs - Ward supply
Code/Websites/DanpheEMR/Controllers/WardSupply/WardSupplyController.cs - Access control
Code/Components/DanpheEMR.Security/RBAC/DanpheRBAC.cs
Finance
- Patient billing
Code/Websites/DanpheEMR/Controllers/Billing/BillingController.cs - Billing configuration
Code/Websites/DanpheEMR/Controllers/Settings/BillSettingsController.cs - Accounting
Code/Websites/DanpheEMR/Controllers/Accounting/AccountingController.cs - Insurance claims
Code/Websites/DanpheEMR/Controllers/Insurance/GovInsuranceController.cs
Data layer
- Admission data
Code/Components/DanpheEMR.DalLayer/AdmissionDbContext.cs - Emergency data
Code/Components/DanpheEMR.DalLayer/EmergencyDbContext.cs - Lab data
Code/Components/DanpheEMR.DalLayer/LabDbContext.cs - Radiology data
Code/Components/DanpheEMR.DalLayer/RadiologyDbContext.cs - Imaging studies
Code/Components/DanpheEMR.DalLayer/DicomDbContext.cs - Pharmacy data
Code/Components/DanpheEMR.DalLayer/PharmacyDbContext.cs - Inventory data
Code/Components/DanpheEMR.DalLayer/InventoryDbContext.cs - Ward supply data
Code/Components/DanpheEMR.DalLayer/WardSupplyDbContext.cs - Billing data
Code/Components/DanpheEMR.DalLayer/BillingDbContext.cs - Accounting data
Code/Components/DanpheEMR.DalLayer/AccountingDbContext.cs - Insurance data
Code/Components/DanpheEMR.DalLayer/InsuranceDbContext.cs
Other components
- Patient or staff
Connections 17
- Patient or staff → Admission and discharge: requests care
- Patient or staff → Emergency care: seeks urgent care
- Patient or staff → Laboratory: uses services
- Patient or staff → Radiology imaging: uses services
- Patient or staff → Patient billing: receives billing
- Admission and discharge → Admission data: reads and writes
- Emergency care → Emergency data: reads and writes
- Laboratory → Lab data: reads and writes
- Radiology imaging → Radiology data: reads and writes
- Radiology imaging → Imaging studies: queries studies
- Pharmacy → Pharmacy data: reads and writes
- Inventory procurement → Inventory data: reads and writes
- Ward supply → Ward supply data: reads and writes
- Patient billing → Billing data: reads and writes
- Billing configuration → Billing data: reads and writes
- Accounting → Accounting data: uses data context
- Insurance claims → Insurance data: uses data context