attempting to create a dictionary of patient id's wth associated medication lists from which we can create an MRCI score that can be exported toa  new table. so far this is not successful. working in test.py