"by" fields blank

pfwilliams wrote on Wednesday, October 10, 2012:

On patients where we’ve entered data the “by” lines are showing as blank.
As in “Vitals by …” “Patient Encounter by …” “Speech Dictation by …” and “Review of Systems Check by …”.
Has anyone encountered this before?  Know the fix?
Thank you.

bgregg wrote on Wednesday, October 10, 2012:

Which version/patch are you running?

ajperezcrespo wrote on Thursday, October 11, 2012:

Hi,
I’m having the same problem (https://sourceforge.net/projects/openemr/forums/forum/202504/topic/5670479).
I haven’t been able to figure it out yet.
I have been able to narrow it down to one specific user/provider (out of 5).

Ubuntu 12.04.1
PHP 5.3.10
MySQL 5.5.24
Apache 2.2.22

OEMR 4.1.1.(6)

Thanks

ajperezcrespo wrote on Friday, October 19, 2012:

has anyone else seen this or know of a solution?
Thanx

nursejeff wrote on Wednesday, October 31, 2012:

I am having a similar problem.

My problem is that every field has my name next to “by,”  I am the provider.

My medical assistants are signing in using there own login and putting in and saving the vitals but when saved it has my name by the “by,” not theirs.

Jeff Guillory
NP Health Clinic

bradymiller wrote on Sunday, November 04, 2012:

Hi,

Current script at interface/patient_file/encounter/forms.php appears to populate all the by stuff via the following:

$providerIDres = getProviderIdOfEncounter($encounter);
$providerNameRes = getProviderName($providerIDres);

and here is then the ‘by’ line:

echo "<a href='#' onclick='divtoggle(\"spanid_$divnos\",\"divid_$divnos\");' class='small' id='aid_$divnos'><b>$form_name</b> <span class='text'>by " . htmlspecialchars( $providerNameRes ) . "</span> (<span id=spanid_$divnos class=\"indicator\">" . xl('Collapse') . "</span>)</a></div>";

This code was actually recently modified by myself to fix a bug which was being reported that encounter documents were being showed as reported by the user that created it rather than the provider (so, in cases where the encounter was auto-populated, was showing the scheduler rather than than the provider). Appears would be best to combine the previous functionality with the current functionality (Patient Encounter uses the new code while the other forms use the old code).

thoughts?

-brady
OpenEMR

bradymiller wrote on Sunday, November 04, 2012:

To add to above, here’s the past bug fix (that has appeared to introduce another bug…)
http://github.com/openemr/openemr/commit/7bf0c053404047e30d6219c73eb84ae6aa221be2

ajperezcrespo wrote on Monday, November 05, 2012:

yeah combining them should be fine.  its driving provider nutz.
thanx

bradymiller wrote on Wednesday, November 07, 2012:

Hi,

Just commited fix for this to sourceforge and will include it in the next 4.1.1 patch:
http://github.com/openemr/openemr/commit/ababe8c2d55ac6d28d533090b8e313c5bac09736

-brady
OpenEMR

bgregg wrote on Thursday, November 08, 2012:

Thanks, Brady! I tested it out this morning and it’s working great!

bgregg wrote on Friday, November 09, 2012:

Brady,

At the encounter level, it’s working great. When you go to the patient’s demographics > report > generate, it displays the staff member that marked them as “arrived” on the calendar as the physician.

tmccormi wrote on Friday, November 09, 2012:

The likely reason for this is that “Arrived” creates an encounter.  This encounter will be “owned” by the userid that created it, hence the Frontdesk person.

Each form in the encounter is “owned” by the user that creates it.   The “By:” line is NOT the authorizing provider, it’s the user that created the form.  

One: That should perhaps say “Entered By:”    And the overall report should include authorizing provider in addition to that information.

Two: On a report you are giving to a patient, there is NO need to list the staff members that entered the data, so splitting the “internal view” from the “patient copy” seems appropriate to me.

This issue should be moved to the Developer forum I think.

-Tony

nursejeff wrote on Tuesday, December 11, 2012:

I would like to bump this subject.

This is still an issue in my clinic.  I cannot look through the patient note and know which one of my assistants entered what information.

Jeff Guillory

bradymiller wrote on Tuesday, December 11, 2012:

Hi,

This was fixed awhile ago, and will go in the next patch. Here is a link to the bug fix:
http://github.com/openemr/openemr/commit/ababe8c2d55ac6d28d533090b8e313c5bac09736

-brady
OpenEMR

bgregg wrote on Tuesday, December 11, 2012:

Brady,

That fixed the way it displays on the encounter itself. The issue that remains from this is when you go to the patient’s demographics > Report and generate the associated encounter’s forms. It displays the user who marked the patient as “arrived” on the calendar as the Provider.

bradymiller wrote on Thursday, December 13, 2012:

Hi Brad,
Just committed a fix for the reports bug to sourceforge and will include it in the next patch.
-brady
OpenEMR

papilion wrote on Friday, July 22, 2016:

Hello,

Why the ‘Expand’ link not working in the below demo url?
http://demo.open-emr.org:2102/openemr/interface/main/main_screen.php?auth=login&site=default

Please help.

Thanks
Joby