added an option to force the new issue type, and an option to link the issue to an...
[openemr.git] / library / pid.inc
blob424f504c1599759a295ff5a9275698a04118abcc
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"],$pid);