Hi
I did an encounter with a patient today and after billing out the patient I tried to lock the encounter using e-sign. After clicking e-sign, the pop up appeared but when I entered my password and clicked “sign”, nothing happened. I guess its broken in windows…please help!
now it gets worse - after updating the registry, the forms table and the form directory in openemer forlder, the form data doesnt show up, the form look have changed and also it doesnt save anymore. So I decided to revert back the changes.
NOOOO…I GIVE UP…Please help…tried a lot…changed the directory name, all the registry directories and also the formdir in form table…for all the forms made by xmlformgen. Forms work fine but esign on those forms just dont work. E-sign works on the non xml-formgen forms like vitals, new encounter forms etc.
PHP error LOG:
[21-Oct-2014 17:20:44 Asia/Kolkata] ERROR: OpenEMR SQL Escaping ERROR of the following string: form_historyform
[21-Oct-2014 17:21:38 Asia/Kolkata] ERROR: OpenEMR SQL Escaping ERROR of the following string: form_historyform
Does the table form_historyform exist in your database?
The way that “table names” are escaped, is by seeing if there is a match with “show tables.”
Also, the eSign API prepends form_ to all table names, so if the correct table is just ‘historyform’ then that is the source of your problem with eSigning.
The assumption that made here, may be what’s failing for you.
Hi kevin…
I checked in the phpmyadmin…it shows the table name as form_history not as form_historyform. what should i do to change it? is it causing the issue?
The eSign API is looking for a table called form_historyform because that’s what the directory is called, but that doesn’t match what the table seems to be called. (Assumption made in the comments is being violated in this case.)
Try adding this into the Signable.php class I linked to above and see if that fixes after the line which does something similar for the encounter form.