f38ccfc128
- Add load_data() method to AppState that connects to SQLite database - Populate available_drugs, available_directorates, available_indications from DB - Detect latest date in dataset and set filter defaults accordingly - Load KPI values: total_records, unique_patients, total_drugs, total_cost - Add on_load handler to trigger data loading on page initialization - Handle database errors gracefully with meaningful error messages
50 KiB
50 KiB