Home
About iSUG
The Systems
The Files Area
Conference
SWAN Login
Join SWAN
eTorus
Links
Contact Us

Search

Feedback Form

 
 

Full patient reports and W.P.letters

Unfortunately there is no standard report that does this. However it can be done.
If anyone wants to try creating a report here's how you might go about it.
(Please treat this info as unofficial and unsupported by Torex.) 

Create a new report and add this query :

Title "Word Processing docs for any patient"
Report for each Entry where
       Entry.Attrib_Type = 99
           and Entry.Patient_Id = Runtime PATIENTID
print Entry.Attrib_String ;

The query will display all the filenames attached to entries for a certain patient.
Attachments are stored as attributes, 99 is the magic number for "this is a document", as opposed to say a drawing.
This assumes one file per entry. S6000 1.3 forces only one document per entry, most practices only attach one per entry anyway.

Run the query, pick a patient and you should get a csv with a list of filenames eg

[Attrib_string]
"/meddata/s6000/document/c/cb9.doc|Journal of patient notes"
"/meddata/s6000/document/e/eqj.doc |New document"
"/meddata/s6000/document/e/er3.doc |Skeleton patient letter"

The document name is coded into the attribute as you can see.
What is now needed is a report format that loads this csv and instead of printing the actual csv, prints the files that are referenced in the csv.

You should find a format called PRINTER.DOC in report/formats/docs, which does exactly this. It is a Word 97 format, and it loads and prints each file in a csv. Set this as the report format and do a repreview.

I wrote this format as a demo, and it works as far as it goes. We ship it as an unsupported format since not everyone has word 97.

Give it a try. I would welcome any comments on it.

Rik Smithies, Systems Architect Torex Health

Printer.doc Version 1.0

The updated version of printer.doc will print any attachment including TIF, assuming your TIF software adheres to the standard way of printing. Printer.doc itself gets word to print word docs, and each relevant program to handle other files. Still an unsupported utility in S6. (But do shout if you have trouble). This is not needed with Synergy, which has its own one already.

Printer.doc V1.0  
Printer.fpi 
Right click and "save as", save to
s:\meddata\s6000\REPORT\FORMATS\DOCS

 

 
© Copyright Medical Software User Group 2007. All rights reserved.