Since I have been using openemr I have never gotten scanned notes to work. I have searched the forum and google but nothing to avail. I keep getting this message
ERROR: The following variable contains invalid characters: 0
I am referring to the scanned notes form.
When I enabled it and try to access it I am getting the error
ERROR: The following variable contains invalid characters: 0
I have seen other posts that the scanned notes form doesnât work properly under windows. So I was wondering if there is something I am doing wrong or there is a fix.
It may very well be an issue specific to Windows/XAMPP, Iâve never heard of a problem with this form on a correctly provisioned Linux server. It may be there is a potential resolution, but there wonât be any way to gather information or debug without some kind of error logging in place to find out exactly what part of the form itself is throwing the error message that youâre seeing in the UI. Suggest enabling error logging, even if only temporarily , to get some insight into whatâs going on behind your browser.
Just an update. I have been doing some more research apparently the scanned notes form works under linux. In windows there is a problem and the scripting needs rework. There was a reworked script many years ago but I cant seem to find it.
Itâd be nice if when asking for help to give enough information like asked by Kofi. I have no clue what scanned notes form is or how to enable and use. I have in the past done some work with Hylafax Support.
If I can get a more detailed report on how to reproduce, Iâll take a quick look at.
If you look in the /contrib/forms/ folder there is the scanned_notes folder with the scanned notes files.
If you copy those files to /interface/forms/ folder you will then be able to install db and enable it (from admin - forms-forms administration). You will then see it available as scanned notes in a patient encounter.
Okay @vicron I was able to setup. The issue from form not loading is due to a sanitize of formid with value â0â fails on windows. Any other numeric works so just a weird issue with windows I guess.
Use below file library/sanitize.inc.php which will at least allow form to load. sanitize.inc.php (7.3 KB)
This is good work and the closest I have come to using this. I am on Ubuntu and can scan in but the images just still display icons. I tried the vhost edit to all my directories but I still get a permission denied when I try to manually right click and load or open that image in a new window.
Can you expound on how you configured the vhost and which directory.
If I use the download pdf in reports section of the dashboard it works.
In same location if i click generate report, the images are broken and only exist as icons with permission denied issues.
I have been working this form with mixed results. It certainly has issues including allowing to upload new note though one is already residing in form. So I will hide upload if edit.
So initial restyle is attached. What I need from everyone is to describe what is needed and/or required for this feature such as edit existing note and so forth.
Iâll try to get this form as the most useful according to your needs.
First up is ensuring ability to display image.
I tried it with jpg and pdf. For it to work with pdf I had to install ghostscript. But it converts the pdf to jpg so it can be displayed in the encounter.
You know what will be great, if we can have a button to scan straight from a twain scanner or get a pic from a webcam.
I am using xampp in windows so the vhost file is in xampp\apache\conf\extra
It may different in ubuntu. Maybe someone with ubuntu experience could point Todd in the right direction.