Fixed the patient dict problem.