fixed many to many relationship between medication and patient