2 include_once("$srcdir/../interface/globals.php");
3 include_once("$srcdir/log.inc");
5 //function called to set the global session variable for patient id (pid) number
6 function setpid($new_pid) {
9 $_SESSION['pid']=$new_pid;
12 newEvent("view",$_SESSION["authUser"],$_SESSION["authProvider"],$pid);