Implement AssignPatient functionality.