List of issues on paper report of visit

rpl121 wrote on Tuesday, October 07, 2008:

I was a bit frustrated by the lack of labels for the “issues” printed out for an office visit using Openemr 2.9.0.  I made some crude changes to the file /var/www/openemr/interface/patient_file/report/custom_report.php to make some crude labels print out.  I’m sure there’s a better way to do it, but this does get me by.

Also, by specifying the default as "printable," I do not have to check an extra box to print an encounter.

Here are the changes I made to the custom_report.php file.

14,15d13
< //RONALD
< $printable = true;
176,177c174

287,298c284
<     if ($irow[‘type’] == ‘allergy’) $type = ‘Allergy:’;
<     else
<     if ($irow[‘type’] == ‘medication’) $type = ‘Medication:’;
<     else
<     if ($irow[‘type’] == ‘medical_problem’) $type = ‘Diagnosis:’;
<         else
<     if ($irow[‘type’] == ‘dental’) $type = ‘Treatment:’;
<     else
<     if ($irow[‘type’] == ‘surgery’) $type = ‘Surgery:’;
<     else $type = ‘Other issue:’;
<     //RONALD
<       echo “<span class=‘bold’>” . $type . "    ". $irow[‘title’] . ":</span><span class=‘text’> " .

>       echo “<span class=‘bold’>” . $irow[‘title’] . ":</span><span class=‘text’> " .