CVS HealthData Scientist · Take-home ProjectCodemia practiceCompute Proportion of Days Covered for Maintenance Medication Members
Given a pharmacy fills table (member_id, drug_class, fill_date, days_supply), compute each member's Proportion of Days Covered (PDC) per drug class from their first fill through a period end date, shifting early refills so overlapping supply is not double counted. Flag members at or above the 0.80 adherence threshold.
Hard
Data Manipulation (SQL/Python)