Guys I change the code little bit

Joel try this code first, but still have problem:-

even though the input is empty and we submit it show the navi bar for patient detail

have a lokk