A few months ago, I upgraded to v. 5.0.1. I have just noticed that my review of system checks form is not retaining data. I input data, click save, and get a blank screen. I had noticed this before, but since I was receiving no error message, I made the mistake of assuming the data must have been stored anyway. Now I realise that the form does not even appear in my visits history. So I went to Administration - Other - Forms, and saw that Review of System Checks was listed as unregistered. I clicked on ‘register’. I then saw that I was being prompted to ‘install database’. I got an error message but I did not note it down. Upon rebooting, I found that now there are two instances of the same form listed as ‘registered’, one enabled with the DB installed, and one prompting me to install the DB. The form still does not work, or rather, it works partially. If, for example, I check ‘Weight loss’, I get the following:
“There was an OpenEMR SQL Escaping error on the following string weight_loss”
If however I write ‘Weight loss’ in Additional Notes, that information is accepted and retained.
Thanks Brady. Confession time. I had a heavily customised ‘review of system checks’ form, which had worked in all previous incarnations of openemr. It wasn’t working in this one. Possible reason: I see that “new.php” seems to have had a makeover. Anyway, I thought it was not worth the time involved to troubleshoot / reconstruct my form. Instead, I decided to make do with your original one. I simply removed my custom ‘reviewofs’ folder from /interface/forms/ and reinstated the original one. This is the point at which the above error message started appearing. You are right. The database still had the custom version of the form, which clearly was not compatible with the new data I was trying to input. I have now renamed the custom database form, and imported the original, and all is working. No more dabbling in customisation for me!