Event "view" status "1

crmrto wrote on Wednesday, June 13, 2012:

what does that event code mean?

bradymiller wrote on Monday, June 18, 2012:

Hi,

This appears to be triggered whenever you save a patient data (interface/main/calendar/new_patient_save.php) or open a patient chart(library/pid.inc).

There is a bug here, and it appears that no success code is getting reported and that the reported pid is actually getting misplaced into the success column. Will place this on list of bugs to fix for the next OpenEMR release.

-brady
OpenEMR

yehster wrote on Monday, June 18, 2012:

It’s a trivial fix:

  newEvent("view", $_SESSION["authUser"], $_SESSION["authProvider"], $pid);

should be

  newEvent("view", $_SESSION["authUser"], $_SESSION["authProvider"], 1,$pid);

in pid.inc. (success code is missing in current code)
The code in the calendar looks like it’s ok.

bradymiller wrote on Sunday, July 22, 2012:

Hi,
Just committed this fix to sourceforge (will also go into the next 4.1.o patch).
-brady
OpenEMR