Setting up Auto Document Loader
Submitted by Guest on Sun, 04/09/2011 - 02:12
Hi All,
I was trying to setup the automatic document loader today. I can't say I had much success. I did come to understand it a bit better, but seem to have got caught on one thing: if the filename needs to contain the act.patientDocumentAttachment ID, then where can I get that ID from the user interface? I'm imagining a process where our staff enter the documents and then write that number on a piece of paper before it gets scanned. Is that the intended usage?
Thanks, Paul
Re: Setting up Auto Document Loader
Hi Paul,
Your correct it doesn't show in the user interface for attachments only for Investigations as typically these are what we use for automatic document loading (path results etc)
One approach would be to edit the archetype in Administration->Archetypes and uncheck the hidden flag on the id node. This will allow you to see the id when you double click the entry in the summary or display the document entry on the documents tab.
Adding it to the summary display is a little more complex but possible. You need to change a configuration file in the application. The file is IMObjectTableModelFactory.xml and you will find it in the WEB-INF/classes folder. The format is pretty self explanatory but make sure you get the xml formatting correct otherwise you may break the summary display. :-)
Cheers
Tony
Re: Setting up Auto Document Loader
I see, makes sense. Thanks Tony.