I’m trying to automate the process of adding a document to a patient record. What I would like is a "watch’ folder wherein documents are dropped and then imported into openemr. The filename can be a patient id or similar so the system knows where to attach it. Is there a simple script, template or cron job I could do to accomplish this. Any help at all is greatly appreciated.
nobody? after three days? hmmmmmm.
So I went ahead and deployed clearhealth instead which ‘claimed’ to have a programmable document manager, but it does not work, so I created a custom scripting solution that puts the document in the correct folder and some tsql in a script that updates the db and done.
I still would have preferred to use openemr, but without a single reply it was a pointless endeavour.
thanks anyway, and should anyone in the future read this, I’m still interested in a solution that uses OpenEMR.
thank you
HI
Don’t be so hard on the group. They’ ve been real busy getting the new version out and doing a great job at it.
Try it out and give it another crack.
I have to say, that was a GREAT response, ABSOLUTELY I will give you another chance. After all, you ASKED me to.
The truth is that I am much calmer having satisfied this client’s immediate needs with clearhealth, but I hate clearhealth, it is flawed and buggy and the guy on their forum was kind of snotty to me, and I STILL had to create my own solution unaided.
I hope you don’t hold my previous tone against me and I hope to become an OpenEMR master, donate and maybe even help develop.
Thank you for your response, it is just nice to hear a voice now and again.
I am not yet aware of an "auto" document loader which handles more than a single document at a time, unless all pages of a type are part of the same filename (ie a multi-page pdf for example). Version 3.0.1 under windows works fine for one document at a time. Assuming you have a folder created where you have documents placed, ideally named with purpose and patient ID of some kind (we use LastFirst-purp-date.typ) you have only to have that patient open, select "Documents" and then click the specific section you want to store it (eg Intake, Ins Card, etc.) and browse to that folder and click on that document. BUT you must THEN click the "Upload" button, which works like the "Save" throughout the rest of OpenEMR.
The only "glitch" is that identical filenames will have a ".number" added at right for the second + such file uploaded, which will interfere with the browser viewer launches. Otherwise, if you have defined a viewer, or "app", for the browser for that file type, it will launch from the browser directly from within OpenEMR.
PS: I hope for both of you that you are not jumping between EMR systems too much, or you will be bound to confuse (read overlook) something ;-) Hope that helps.
I’ve fully automated the attachment of a document to a patient. Omar provided a link to a prior message that I posted that detailed the code I created.