ORBCMA5 LOCK (3424)    REMOTE PROCEDURE (8994)

Name Value
NAME ORBCMA5 LOCK
TAG LOCK
ROUTINE ORBCMA5
RETURN VALUE TYPE SINGLE VALUE
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.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The internal entry number (IEN) of the patient from the PATIENT file (#2).
    
  • ORJOB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The job number ($J) from the CPRS session on the M server.
    
  • ORY
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   4
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
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.