| $$L | 
Pharmacy patient lock entry point.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
DFN | 
Input | 
Patient internal entry number.
 
 | 
DIS | 
Input | 
This variable controls the printing of the
unsuccessful lock message.  A value of '1' will display the message of who has
the patient locked.  A value of '0' will cause the message to not be printed.
 
 | 
$T | 
Output | 
If the patient was successfully locked, the value of
"1" will be returned.  If the patient is already locked by another user, the
value of "0^User Name^Date/time user locked patient (external form).
 
 | 
 
 | 
UL | 
Pharmacy patient unlock entry point.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
DFN | 
Input | 
Patient internal entry number.
 
 | 
 
 | 
LS | 
Inpatient Medications single order lock entry point.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
DFN | 
Input | 
Patient internal entry number.
 
 | 
X | 
Input | 
Inpatient order number.
 
 | 
 
 | 
UNL | 
Inpatient Medications single order Unlock entry
point.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
DFN | 
Input | 
Patient internal entry number.
 
 | 
X | 
Input | 
Inpatient order number.
 
 | 
 
 | 
PSOL | 
Outpatient Pharmacy single order lock entry point.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
X | 
Input | 
Outpatient order number.
 
 | 
PSOMSG | 
Output | 
Returned as 1 for successful lock, 0 for
non-successful lock.
 
 | 
 
 | 
PSOUL | 
Outpatient Pharmacy single order unlock entry point.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
X | 
Input | 
Outpatient order number.
 
 | 
 
 |