still trying to get the dict of patients and their med lists to work.