PACS Report/Discrepancy Report Version 4.5.6
Purpose PRDR is a reporting tool that is integrated into the Emageon PACS. It generates custom forms for your end users to fill out and then routes these forms via printers, e-mail, alphanumeric pager, or any combination of those and logs all the important details for you to generate pretty graphs with (you'll have to generate the pretty graphs, PRDR doesn't do that).
PRDR started out as a very successful discrepancy reporting tool we used at our facility. I wanted a good method for our radiologists to provide feedback to our ER doctors when they found a discrepancy. This involved getting our radiologists to send a report to the ER's network printer with all the pertinent exam details and whatever the discrepancy was about. I also wanted this report to send e-mails to the supervising nurse so he/she could reconcile that the discrepancy reports had been acted upon. In addition, having all this information in log files allowed us to easily calculate discrepancy statistics for our ER.
As I refined PRDR, I realized that it could be used for a wide variety of reports besides discrepancies. I changed the program so that it could be customized to be many different types of reports. We currently use PRDR for ED & Nighthawk discrepancies, ED Preliminary STAT results, Tech QC, PACS Problem Reports, outside radiologist read requests, generating forms for patients to sign when picking up CDs or film, and more. Setup
How It Works PRDR uses Emageon PACS macros to run the PRDR.exe file with a bunch of command line arguments after it. Command line arguments are a way to pass information to a program when it is run so it can use it. Look at the command line arguments we are passing to PRDR: C:\PACSMATT\PRDR\PRDR.EXE "ED" "{StudyDate}" "{AccessionNumber}" "{Modality}" "{ReferringPhysiciansName}" "{StudyDescription}" "{PatientName}" "{PatientID}" "{UserID}" The first command line argument is "ED". That's just the name of this particular form and the name "ED" corresponds to a section in the PRDR.INI text file that specifies how the form should look: section [Report-ED]. How about the rest of those command line arguments? Recognize them? You should, they're the same descriptors used in Emageon for the information displayed in the labels. Emageon replaces those tag descriptors in the curly brackets with the information from the DICOM header of the image that the user launched PRDR from. There are quotes around each curly bracketed descriptor so that if one of the tags ends up having a space in it, it will still look like one command line argument. Like this: {StudyDescription} is converted to CHEST PA/LAT. Without quotes around that, PRDR would think there were two command line arguments: "CHEST" and "PA/LAT". The quotes make it look like "CHEST PA/LAT", which PRDR knows as one piece of information. Wake up! Am I boring you with the details? You probably have that same glazed over look my wife gives me when I give her too many details about programs I am writing... OK, so Emageon PACS is giving PRDR a bunch of exam information. Make sure you always make your OS action look just like it shows in the example. The only thing you will need to change is the first argument "ED". To make more forms, you would replace the "ED" with something else, like "Prelim" or "TechQC" and then you would have a corresponding section in your PRDR.INI file for that new form type. More on PRDR.INI later... I'm going to skip some of the advanced stuff for later, there's just too much in there, but I'll give you this tid bit: You can add up to five more tag descriptors after the last one, {UserID}, and pull that information into various locations in your report on the fly! You could use this to pull in Tech initials, exposure values, etc., and put that information in your reports, too. Sweet! The PRDR.INI file is where all the customization of the forms takes place. Every page title, user title, drop down box description, and text box can be modified. You can have up to three drop downs, three static single-line text entry fields and a scrolling text entry box to collect data in. PRDR.INI holds the keys to which fields are displayed, whether these form fields are required by the end user to fill out and also where all this information goes after it is submitted (printers, pagers, & e-mail). Let's look at the PRDR.INI file used in the above example:
By the way, don't let me catch you editing your PRDR.INI file in Windows Notepad! Go download NotePad++ and enjoy the nice line numbers, coloring and text formatting that will make you life much easier! Line 1 shows the same "ED" we used in the AV macro. When you make your own custom reports, choose a short, descriptive name with no spaces in it for the macro. Then add "Report-" to that name for your PRDR.INI section. Lines 2-4 are what make the address at the top of the report. Lines 6-9 specify the titles:
Lines 11-13 decide what the drop down menu is like:
Lines 15 & 16 are similar to the drop down lines above. They set the title for the main text entry window and specify if the user has to type something in that field before they can submit the form. Line 18 is set to the name of the printer that the report should go to. It's the name as it shows up in the Printers Control Panel in Windows. For now I am going to tell you that the printer must be installed on the PC that is running the report. It can be a network printer or a local printer, it doesn't matter. (I say "for now" because PRDR has a client/server mode that uses the printers on the server computer instead, but we will discuss that later.) Line 19 is a footer for the bottom of the page. In this report, we use it as a sign off section for what time the report was given to the ED physician and to get his/her signature. Create New Reports
CustomizingThe PRDR.zip file contains a sample PRDR.INI file. I have listed the INI's contents below. All the entries have explanations in green as to what their purpose it. The text wrapping seen below can be a little confusing for the long entries like EmailMessage - remember that is actually a single line of text. Client/Server ModeIf you are going to deploy PRDR to multiple computers client/server mode is the best way to go because:
Server Requirements
Setup PRDR server
Setup PRDR clients
Notes
LicenseYou are free to use PRDR on any number of workstations you want as long as you agree to the following:
SupportFeel free to e-mail me if you have any questions about PRDR. Download |










