Lumiere v2.7 - Oryx Treatment State Analyzer

Read-only analyzer. It queries the existing normalized oryx_procedures table and does not modify Oryx or MySQL records.

Run:
/import/analyze_oryx_treatment_states.php

It reports:
- dataset totals
- every observed state + status combination
- patient and treatment-plan counts
- total/patient/insurance/write-off amounts
- completed-date presence
- state totals and status totals
- treatment-plan structure
- the same state/status breakdown for GHL-matched Oryx patients

Important: it deliberately does not equate procedure amounts with actual cash collections.
