Select the objects that you wish to see in the downloaded PDF
Info Source Call Graph Entry Points External References Used in RPC FileMan Files Accessed Via FileMan Db Call Global Variables Directly Accessed Label References Local Variables
; EP - BQI UNLOCK PATIENT BY DX TAG
; Description
; Unlock the patient diagnostic tag record specified by DCAT which was
; previously locked for exclusive editing access. If the
; entry in the 'LAST LOCKED BY' field is for this DUZ then
; delete it (so another user can't accidentally update it).
; Input:
; DFN - Patient IEN
; DCAT - Diagnostic tag defined in ^BQI(90506.2
; Output:
; DATA = name of global (passed by reference) in which the data is stored
INV
; Invalid dx tag passed - either a subdefinition or not in the file
UPD
; Report results
LOCK(DATA,DFN,DCAT)
; EP - BQI LOCK PATIENT BY DX TAG
; Description
; Attempt to lock a patient diagnostic tag record specified by DCAT for
; exclusive editing access.
; If successful, sets 'LAST LOCKED BY' with the current DUZ
; and returns a RESULT of 1 and the current DUZ.
; If unsuccessful, returns a RESULT of 0 and the DUZ from the
; 'LAST LOCKED BY' field.
; Input:
; DFN - Patient IEN
; DCAT - Diagnostic tag defined in ^BQI(90506.2