Commit registerPatient