added sql calls to patients_contact - insert,select,delete