app/lib/models/enums.dart
John Mizerek 40275bcd0c Add lifestyle factors screen with diet, social, stress tracking
- Split behavioral inputs into two screens (Habits + Lifestyle)
- Added 5 new modifiable factors: diet quality, processed food,
  drug use, social connection, and stress level
- Updated hazard ratios for all new factors based on meta-analyses
- Model version bumped to 1.1
- Simplified welcome screen with clearer value proposition
- Updated tests for expanded behavioral model

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-21 09:22:48 -08:00

26 lines
726 B
Dart

enum Sex { male, female }
enum SmokingStatus { never, former, current }
enum AlcoholLevel { none, light, moderate, heavy, veryHeavy }
enum ActivityLevel { sedentary, light, moderate, high }
enum DrivingExposure { low, moderate, high, veryHigh }
enum WorkHoursLevel { normal, elevated, high, extreme }
enum Diagnosis { cardiovascular, diabetes, cancer, copd, hypertension }
enum Confidence { high, moderate, emerging }
// Lifestyle factors
enum DietQuality { poor, fair, good, excellent }
enum ProcessedFoodLevel { daily, frequent, occasional, rarely }
enum DrugUse { none, occasional, regular, daily }
enum SocialConnection { isolated, limited, moderate, strong }
enum StressLevel { low, moderate, high, chronic }