sunsetsystems/openemr — comment on commit 085323e53243920aff6032487d9337794b04530f
File: interface/patient_file/history/encounters.php line 198
By yehster:

The Ajax includes arbitrary forms' report.php though. One of those reports might use session variables.

+ if (!function_exists($report_function)) exit;

+ call_user_func($report_function, $ptid, $encid, 2, $formid);

+}