Added some more stuff to the setPatient method