Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PXLOCK

Package: PCE Patient Care Encounter

Routine: PXLOCK


Information

PXLOCK ;SLC/PKR - PCE Locking/Unlocking utility; 09/28/2017

Source Information

Source file <PXLOCK.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 1 ($$FMADD,$$FMDIFF,$$NOW)^XLFDT  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
PCE Patient Care Encounter 5 PXAPIDEL  PXBAPI  PXCEAE  PXKMAIN  VSITKIL  

Entry Points

Name Comments DBIA/ICR reference
FINDLOCK(VISITIEN,ERROR) ;Try to determine who has the lock on the
LOCK(VISITIEN,USER,NUMTRIES,ERROR,SOURCE) ;Lock the encounter.
PXCEAE(VISITIEN,USER,NUMTRIES) ;Locking for PXCEAE.
UNLOCK(VISITIEN,USER,SOURCE) ;Unlock the encounter.

External References

Name Field # of Occurrence
$$GET1^DIQ FINDLOCK+6
$$FMADD^XLFDT LOCK+14
$$FMDIFF^XLFDT PXCEAE+13
$$NOW^XLFDT LOCK+13, PXCEAE+7, PXCEAE+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Cannot open this encounter.",!,ERROR("LOCK")
  • Line Location: PXCEAE+4
Function Call: WRITE
  • Prompt: !,"Waiting for file access, press ENTER to cancel..."
  • Line Location: PXCEAE+6
Function Call: WRITE
  • Prompt: !,"The maximum wait time has been exceeded."
  • Line Location: PXCEAE+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PXLOCK( LOCK+9, UNLOCK+6
^XTMP( FINDLOCK+4, LOCK+6, LOCK+14*, LOCK+15*, UNLOCK+5, UNLOCK+7!

Label References

Name Line Occurrences
$$LOCK PXCEAE+2, PXCEAE+9
FINDLOCK LOCK+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DILOCKTM LOCK+9, UNLOCK+6
DONE PXCEAE+1~, PXCEAE+5*, PXCEAE+8, PXCEAE+10*, PXCEAE+12*, PXCEAE+14*
DTIME PXCEAE+13
ERROR FINDLOCK~, LOCK~, LOCK+12, PXCEAE+1~, PXCEAE+2, PXCEAE+9
ERROR("LOCK" FINDLOCK+8*, LOCK+1*, LOCK+2*, PXCEAE+4
IND LOCK+3~, LOCK+7*, LOCK+8, LOCK+11*
INPUT PXCEAE+1~, PXCEAE+11*
LOCK LOCK+3~, LOCK+7*, LOCK+8, LOCK+10*, LOCK+12, PXCEAE+1~, PXCEAE+2*, PXCEAE+3, PXCEAE+9*, PXCEAE+10
, PXCEAE+17
MSG FINDLOCK+2~
NOW LOCK+3~, LOCK+13*, LOCK+14
NUMTRIES LOCK~, LOCK+8, PXCEAE~, PXCEAE+2, PXCEAE+9
SOURCE LOCK~, LOCK+15, UNLOCK~, UNLOCK+5
START PXCEAE+1~, PXCEAE+7*, PXCEAE+13
SUB FINDLOCK+2~, FINDLOCK+3*, FINDLOCK+4*, FINDLOCK+5, FINDLOCK+6, LOCK+3~, LOCK+4*, LOCK+6, LOCK+14, LOCK+15
, UNLOCK+1~, UNLOCK+2*, UNLOCK+5, UNLOCK+7
U LOCK+14
USER FINDLOCK+2~, FINDLOCK+6*, FINDLOCK+7, LOCK~, LOCK+2, LOCK+4, PXCEAE~, PXCEAE+2, PXCEAE+9, UNLOCK~
, UNLOCK+2
USERNAME FINDLOCK+2~, FINDLOCK+6*, FINDLOCK+7*, FINDLOCK+8
VISITIEN FINDLOCK~, FINDLOCK+3, LOCK~, LOCK+1, LOCK+4, LOCK+9, LOCK+12, PXCEAE~, PXCEAE+2, PXCEAE+9
, UNLOCK~, UNLOCK+2, UNLOCK+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All