modify update patient view and add patient state field

update patient view modify the input name and state list.