Advanced Patient Cohort Analysis for Value-Based Care