Phyaura Calendar speed inhancement
[openemr.git] / library / pid.inc
blob0f21df27c703e7984d30ddb00d5bc225c393aa8c
1 <?php
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) {
7 global $pid;
9 $_SESSION['pid']=$new_pid;
10 $pid=$new_pid;
12 newEvent("view",$_SESSION["authUser"],$_SESSION["authProvider"],1,$pid);