Now retrieving patient class works