HECOBAM MEDICAL CENTRE - PHP + MySQL ONLINE HMS
================================================

WHAT THIS PACKAGE DOES
- Preserves the uploaded HECOBAM dashboard visual style.
- Uses PHP 8+ and MySQL/MariaDB.
- Secure login with password hashing.
- MySQL-backed patients.
- Appointments.
- Laboratory requests.
- Pharmacy stock and sales.
- Maternity records.
- Billing/invoices/payments.
- Basic reports.
- User roles.
- Audit logging.
- Responsive/mobile dashboard.

IMPORTANT
The uploaded HTML contained a visual SHA section but no actual SHA API credentials/endpoints. This package therefore does NOT falsely claim a live SHA connection. Real SHA integration must be configured separately using the official API specification and credentials.

CPANEL INSTALLATION
1. Create a MySQL database and database user in cPanel > MySQL Databases.
2. Upload the contents of this package into public_html.
3. Upload your actual HECOBAM logo as:
      public_html/logo.png
4. Visit:
      https://YOUR-DOMAIN/install.php
5. Enter the MySQL database name, MySQL username/password, and create the first Admin account.
6. After successful installation, DELETE install.php from public_html.
7. Open:
      https://YOUR-DOMAIN/login.php
8. Sign in with the Admin credentials you created.

SECURITY
- Use HTTPS/SSL.
- Use a strong database password.
- Never share database credentials.
- Delete install.php after installation.
- Back up the MySQL database regularly.
- Do not put API secrets in HTML/JavaScript.

NEXT PRODUCTION MODULES
- Full patient clinical history/OPD consultation.
- Inpatient beds/admissions/discharge.
- Full lab result entry/edit workflow.
- Prescription/dispensing linkage.
- Receipt printing/PDF.
- M-Pesa STK Push.
- Official SHA API integration.
- More detailed reports and audit controls.

LOGO
The source HTML references logo.png. The original logo image was not included with the HTML attachment in this turn, so upload your HECOBAM logo file into public_html and name it logo.png.
