| DESCRIPTION | 
Due to issues with LOCKing between the CPRS GUI chart and the 
BCMAOrderCom dll, some changes are necessary to how locks are handled 
when locking the patient chart.
 
Using the $J value for the CPRS GUI session, the CPRS GUI will call the 
BCMAOrderCom dll and pass in the $J value and this value is used for 
locking the patient's chart.
 
 | 
| RETURN PARAMETER DESCRIPTION | 
If the lock is successful, a return value of 1 is sent.
 
If the lock fails, the return value is a 0^ followed by text indicating 
why the lock failed.
 
 |