Design an end-to-end machine learning system to predict patient readmissions within 30 days of discharge.