Current PID

rambo0388 wrote on Friday, February 28, 2014:

How i get the current PID? I need the PID to use it on a sql command.

cmswest wrote on Friday, February 28, 2014:

$_SESSION[‘pid’]

mdsupport wrote on Saturday, March 01, 2014:

Globals Library sets $pid (and $encounter if you need it) for you. It gets changed based on user actions.