When I try to edit a patient with role. It returns error message of role format rather than show the caution that editing a patient is not allowed according to UG. Also, it returns the successful message of editing as long as you edit a patient with a correct staff role. Below are two examples regarding to these situations that obey the user guide. It would be nice if you could fix this correctly.

return example of edit 1 r/n

return example of edit 1 r/doctor
When I try to edit a patient with role. It returns error message of role format rather than show the caution that editing a patient is not allowed according to UG. Also, it returns the successful message of editing as long as you edit a patient with a correct staff role. Below are two examples regarding to these situations that obey the user guide. It would be nice if you could fix this correctly.
return example of edit 1 r/n
return example of edit 1 r/doctor