User Name vs. Provider Name in encounters.php

mike-h30 wrote on Tuesday, February 07, 2012:

Does anyone object to a slight change in the SQL to list user names rather than provider names in the following file?

/interface/patient_file/history/encounters.php

// Line 349
// Fix to display all user names next to encounters
//$from .= "LEFT JOIN users AS u ON u.id = fe.provider_id WHERE fe.pid = ? ";
$from .= "LEFT JOIN users AS u ON u.username = f.user WHERE fe.pid = ? " ;

In past versions of OpenEMR (2.X.X and 3.0.X) all user names would display in the “Past Encounters and Documents” screen.  Currently in version 4.1.0 only provider names will display.  Front office staff who are not providers sometimes create an encounter for filling out a custom office form to add to a patient chart.   A blank space is showing now due to their status of not being a “provider.”

Thoughts?

Mike