Clinic System Setup

✓ Database connection successful!

1. Checking Roles Table

✓ Roles table has data:
IDRole NameDescription
1AdminSystem Administrator with full access
2ReceptionFront desk staff for patient registration and session management
3AssistantMedical assistant assigned to doctors
4DoctorMedical practitioner
5PharmacyPharmacy user for stock, procurement, and billing workflows
6AdmissionAdmission user for BHT, deposits, rooms, and discharge billing
7Main Drug StoresMain Drug Stores user for central stock, PO, GRN and transfers
8Indoor DispensaryIndoor Dispensary user for departmental stock handling
9OPDOPD user for stock and billing workflows
10TheatreTheatre department user
11EndoscopyEndoscopy department user
12ChannelingChanneling department user
13StoresMain drug stores user for central procurement, GRN, stock, and department transfers
14BillingLegacy merged Pharmacy compatibility role
15OPD BillingLegacy merged OPD compatibility role
16MembershipMembership user for hospital member and dependant registry management
17LaboratoryLaboratory user for test management and sample processing
18General StoresGeneral stores user for stationery, office items, stock, and department transfers

2. Checking Admin User

ℹ Admin user exists:
User ID1
Usernameadmin
Emailadmin@clinic.com
Statusactive
Current Hash$2y$10$W5FZGn.XLPWECRfdzYKq7uXV2UsJIkoNny9bxMERLSR2Wdu3L81VO

Testing Password...

✓ Password 'Test@123' is correct! You should be able to login.

3. Final Verification

Setup Complete!

You can now login with:
Username: admin
Password: Test@123

Go to Login Page

4. All Users in Database

IDUsernameEmailFull NameRoleStatus
1 admin admin@clinic.com System Administrator Admin active
2 reception reception@clinic.com Reception Reception active
3 pharmacy pharmacy@clinic.com Pharmacy Pharmacy active
4 admission admission@clinic.com Admission Admission active
5 stores stores@clinic.com Main Drug Stores Main Drug Stores active
6 indoor indoor@clinic.com Indoor Dispensary Indoor Dispensary active
7 opd opd@clinic.com OPD OPD active
8 theatre theatre@clinic.com Theatre Theatre active
9 endoscopy endoscopy@clinic.com Endoscopy Endoscopy active
10 channeling channeling@clinic.com Channeling Channeling active
11 assistant assistant@clinic.com Assistant Assistant active
12 doctor doctor@clinic.com Dr. Doctor Doctor active
13 membership membership@clinic.com Membership Membership active
15 chathura chathura@clinic.com Chathura Lakamal Doctor active
18 laboratory laboratory@clinic.com Laboratory Laboratory active
19 generalstores generalstores@clinic.com General Stores General Stores active
20 kawishka kawishka@gmail.com Kawishka Assistant active

⚠ SECURITY WARNING:
Delete this setup.php file after you have successfully logged in!
Delete: /home/kchlk/emr.kch.lk/public/Tools/create_admin.php