My office manager asked if it were possible to display the encounters list in alternating colors (a la billing and fax/scan views) to facilitate ease of view when you have associated forms and such. I came up with this modest tweak to the interface/patient_file/history/encounters.php file:
If anyone is interested, here’s the tweaks to nterface/patient_file/history/encounters.php needed in 2.9.0 to get alternating colors in the encounters list:
Line 228:
Insert
$bgcolor = ( $bgcolor===’#ddddff’ ? “#ffdddd” : “#ddddff”);
after the line that says
foreach ($result as $iter ) {
Change line 292 to be:
echo “<tr bgcolor=’$bgcolor’>\n”;
Change line 490 to be:
echo “<tr bgcolor=’$bgcolor’>\n”;