iHEALTH SYS v3 DEPLOYMENT

1. BACK UP FIRST
Create a backup of the current working /public_html/ihealthsys directory and the MySQL database.

2. KEEP LIVE CREDENTIALS
Do NOT overwrite config/config.php with its placeholder DB credentials from the package. Preserve your live DB_HOST, DB_NAME, DB_USER and DB_PASS.

3. PRESERVE ROOT ROUTING
Keep the working /public_html/.htaccess that currently makes https://ihealthsys.org/ load correctly.

4. APPLICATION FILES
Merge the v3 application files into /public_html/ihealthsys/.

5. SUBDOMAIN ROUTING
The package contains:
  /public_html/ihealthsys/telehealth/.htaccess
  /public_html/ihealthsys/systems/.htaccess

These should be copied with the applications if the subdomains use those directories as their document roots.

6. NEW ADMIN ENTRY POINTS
Telehealth:
  https://telehealth.ihealthsys.org/admin/login
Systems:
  https://systems.ihealthsys.org/admin/login

7. DATABASE
The main bootstrap attempts to run the v3 schema automatically. UPGRADE_V3.sql is also supplied for explicit migration.

8. FIRST-LOGIN CHECKS
After deployment, verify:
  - Telehealth admin login
  - Systems admin login
  - Add clinician
  - Add availability
  - Create appointment
  - Payment review
  - Patient snapshot
  - Add/edit product
  - Equipment inquiry
  - Create quotation

9. REMOVE TEST FILES
Delete any previous test.php, error_test.php or zz_test_*.php files used during troubleshooting.
