minor adjustment (#5898)
[openemr.git] / library / pid.inc
blobe42ad7f033b51543ae943d7fa7eaa7774c85a3e6
1 <?php
3 /**
4  * pid.inc
5  *
6  * @package   OpenEMR
7  * @link      http://www.open-emr.org
8  * @author    Brady Miller <brady.g.miller@gmail.com>
9  * @copyright Copyright (c) 2018 Brady Miller <brady.g.miller@gmail.com>
10  * @license   https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
11  */
13 use OpenEMR\Common\Session\PatientSessionUtil;
15 // Function called to set the global session variable for patient id (pid) number.
16 function setpid($new_pid)
18     PatientSessionUtil::setPid($new_pid);