1. Removed field MedicationPlan from Pain table in database. In it's place, a list of medicine was displayed. Updated edit, process_edit and view accordingly. 2. Refactored code at medicine.