Update patient.html

if (val != '') { // send to server }