Spaces:
Runtime error
Runtime error
| """ | |
| Configuration — constants, business rules, and region-specific settings. | |
| Change REGION_NAME, TIMEZONE, and SERVICE_AREA when forking for other regions. | |
| """ | |
| # Region configuration — change these when forking for FL | |
| REGION_NAME = "Chicago" | |
| TIMEZONE = "America/Chicago" | |
| SERVICE_AREA = "Chicago, IL metro area" | |
| # Visit level definitions | |
| VISIT_LEVELS = { | |
| 1: {"label": "Level 1", "duration_minutes": 45}, | |
| 2: {"label": "Level 2", "duration_minutes": 60}, | |
| 3: {"label": "Level 3", "duration_minutes": 90}, | |
| "Nurse": {"label": "Nurse Visit", "duration_minutes": 60}, | |
| } | |
| BUFFER_MINUTES = 15 # Buffer between visits (on top of travel time) | |
| MIN_LEAD_TIME_HOURS = 24 # Minimum scheduling lead time | |
| DEFAULT_WORK_HOURS = {"start": "08:00", "end": "17:00"} | |
| DEFAULT_LUNCH_BREAK = {"start": "12:00", "end": "13:00"} | |
| # Legacy JSON paths (kept for seed_sheets.py migration script) | |
| DATA_DIR = "data" | |
| PROVIDERS_FILE = "data/providers.json" | |
| PATIENTS_FILE = "data/patients.json" | |
| APPOINTMENTS_FILE = "data/appointments.json" | |
| AUDIT_LOG_FILE = "data/audit_log.json" | |
| # OpenAI | |
| OPENAI_MODEL = "gpt-5.2" | |
| # Organization | |
| ORG_NAME = "SOS Care Now" | |