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: PSOERXAU

Package: Outpatient Pharmacy

Routine: PSOERXAU


Information

PSOERXAU ;BIRM/MFR - eRx Audit Log View - Listmam Driver ;11/02/20

Source Information

Source file <PSOERXAU.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
List Manager 3 EN^VALM  (FULL,INSTR)^VALM1  (CNTRL,RESTORE,SAVE)^VALM10  
VA FileMan 2 $$GET1^DIQ  ^DIWP  
Kernel 1 $$FMTE^XLFDT  
Outpatient Pharmacy 1 ($$ERXSIG,OLDVAL)^PSOERXUT  
Pharmacy Data Management 1 $$NDCFMT^PSSNDCUT  

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: 8

Package Total Caller Graph
Outpatient Pharmacy 7 PSO ERX AUDIT LOG  PSO ERX AUDIT LOG MENU  PSO ERX AUDIT LOG SHOW/HIDE ERX VALUE  PSO ERX AUDIT LOG SORT BY DATE/TIME  PSO ERX AUDIT LOG SORT BY EDITED BY  PSO ERX AUDIT LOG SORT BY FIELD NAME  PSO ERX VIEW AUDIT LOG  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
EN(PSOERXID) ;Menu option entry point
HDR
INIT ;Populates the Body section for ListMan
SETLINE ;Sets the line to be displayed in ListMan
VIDEO ; - Changes the Video Attributes for the list
; - Highlighting the group lines (order type and status)
SETSORT(SORTBY) ;Sets the data sorted by the SORTBY specified
DT ;Sort by Date/Time
FN ;Sort by Field Name
EB ;Sort by Edite By
SH ;Show/Hide eRx Value
SORT(FIELD) ;Sort entries by FIELD
REFRESH ;Screen Refresh
EXIT ;
HELP
SETHDR ; - Displays the Header Line
SETOLD(PSOERXID,AUD) ; Set Old Value
SETVALUE(ERXIEN,FIELD,AUDIEN,TYPE) ; Set Old and New Values
; Input: (r) ERXIEN - Pointer to the ERX HOLDING QUEUE file (52.49)
; (r) FIELD - Audited Field (e.g., "SIG", "DRUG", etc.)
; (r) AUDIEN - Internal Entry Number for the Audit Log sub-file
; (r) TYPE - Value Type ("OLD" or "NEW")
ERXVAL(ERXIEN,FIELD) ; Set the Original Value
; Input: (r) ERXIEN - Pointer to the ERX HOLDING QUEUE file (52.49)
; (r) FIELD - Field Name

External References

Name Field # of Occurrence
$$GET1^DIQ HDR+2, HDR+3, SETLINE+18, SETSORT+10, ERXVAL+6, ERXVAL+7, ERXVAL+11, ERXVAL+12, ERXVAL+15, ERXVAL+18
, ERXVAL+21, ERXVAL+24
^DIWP SETOLD+4, SETVALUE+15, ERXVAL+28
$$ERXSIG^PSOERXUT ERXVAL+27
OLDVAL^PSOERXUT SETOLD+2, SETVALUE+8
$$NDCFMT^PSSNDCUT ERXVAL+24
EN^VALM EN+5
FULL^VALM1 EN+6
INSTR^VALM1 SETHDR+5, SETHDR+8
CNTRL^VALM10 VIDEO+4, VIDEO+5, VIDEO+6
RESTORE^VALM10 SETLINE+10
SAVE^VALM10 SETLINE+27
$$FMTE^XLFDT SETLINE+18

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Please wait..."
  • Line Location: EN+4
Function Call: WRITE
  • Prompt: ?52,"Please wait..."
  • Line Location: REFRESH+1
Routine Call
  • VALM
  • Line Location:
    • EN+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^PS(52.46 - [#52.46] GET1^DIQ
^PS(52.48 - [#52.48] GET1^DIQ
^PS(52.49 - [#52.49] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.49 - [#52.49] SETSORT+5, SETSORT+6, SETSORT+12, SETSORT+13, SETVALUE+11, SETVALUE+12
^TMP("PSOAUDSR" INIT+1!, SETLINE+4, SETLINE+15, SETLINE+16, SETLINE+17, SETSORT+2!, SETSORT+11*, SETSORT+13*, EXIT+1!
^TMP("PSOERXAU" INIT+1!, SETLINE+2!, SETLINE+5*, SETLINE+6*, SETLINE+13!, SETLINE+19*, SETLINE+23*, EXIT+1!, SETOLD+6*, SETVALUE+17*
, ERXVAL+35*
^UTILITY($J SETOLD+4!, SETOLD+5, SETOLD+6, SETVALUE+15!, SETVALUE+16, SETVALUE+17, ERXVAL+28!, ERXVAL+29, ERXVAL+30

Label References

Name Line Occurrences
ERXVAL SETLINE+20
EXIT EN+7
HDR REFRESH+1
INIT REFRESH+1
REFRESH SH+2, SORT+3
SETHDR HDR+4, INIT+2
SETLINE INIT+2
SETSORT INIT+2
SETVALUE SETLINE+21, SETLINE+22
SORT DT+1, FN+1, EB+1
VIDEO SETLINE+30

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADVREA HDR+1~
AUD SETLINE+1~, SETLINE+13*, SETLINE+16*, SETLINE+17, SETLINE+21, SETLINE+22, SETSORT+1~, SETSORT+4*, SETSORT+5*, SETSORT+6
, SETSORT+11, SETSORT+12, SETSORT+13, SETOLD~, SETOLD+2
AUDIEN SETVALUE~, SETVALUE+8, SETVALUE+11, SETVALUE+12
AUDVAL SETVALUE+5~, SETVALUE+6*, SETVALUE+9*, SETVALUE+12*, SETVALUE+13*, SETVALUE+15
DATETIME SETSORT+1~, SETSORT+7*, SETSORT+10
DFN HDR+1~
DIWF SETOLD+1~, SETOLD+4*, SETVALUE+5~, SETVALUE+15*, ERXVAL+27~, ERXVAL+28*
DIWL SETOLD+1~, SETOLD+4*, SETVALUE+5~, SETVALUE+15*, ERXVAL+27~, ERXVAL+28*
DIWR SETOLD+1~, SETOLD+4*, SETVALUE+5~, SETVALUE+15*, ERXVAL+27~, ERXVAL+28*
DOB HDR+1~
EDITEDBY SETSORT+1~, SETSORT+9*, SETSORT+10
ERXIEN SETVALUE~, SETVALUE+8, SETVALUE+11, SETVALUE+12, ERXVAL~, ERXVAL+6, ERXVAL+11, ERXVAL+15, ERXVAL+18, ERXVAL+21
, ERXVAL+24, ERXVAL+27
ERXPATID ERXVAL+5~, ERXVAL+6*, ERXVAL+7
ERXPRVID ERXVAL+10~, ERXVAL+11*, ERXVAL+12
FIELD SORT~, SORT+1, SORT+2, SETVALUE~, SETVALUE+8, ERXVAL~, ERXVAL+4, ERXVAL+9, ERXVAL+14, ERXVAL+17
, ERXVAL+20, ERXVAL+23, ERXVAL+26, ERXVAL+32
FLDNAME SETSORT+1~, SETSORT+8*, SETSORT+10
GMRAL HDR+1~
HDR SETHDR+1~, SETHDR+4*, SETHDR+5*
HIGHLN EN+1~, SETLINE+11!
HIGHLN( VIDEO+5, SETVALUE+18*
HT HDR+1~
HTDT HDR+1~
I SETLINE+1~, SETLINE+5*, SETLINE+10*, SETLINE+27*, SETSORT+1~, SETSORT+12*, SETSORT+13, SETOLD+1~, SETOLD+3*, SETOLD+5*
, SETOLD+6, SETVALUE+5~, SETVALUE+9*, SETVALUE+11*, SETVALUE+12, SETVALUE+16*, SETVALUE+17, ERXVAL+3~, ERXVAL+29*, ERXVAL+30
, ERXVAL+34*, ERXVAL+35
>> IOINHI VIDEO+5, SETHDR+8
>> IOINORM VIDEO+4, VIDEO+5, SETHDR+5, SETHDR+8
>> IORVOFF VIDEO+6
>> IORVON VIDEO+6, SETHDR+5, SETHDR+8
>> IOUON VIDEO+4
LASTLINE EN+1~, SETLINE+10, SETLINE+26, SETLINE+27, SETLINE+28*, VIDEO+3
LINE HDR+1~, SETLINE+1~, SETLINE+13*, SETLINE+19*, SETLINE+23*, SETLINE+26, SETLINE+27, SETLINE+28, SETLINE+29, SETOLD+6*
, SETVALUE+17*, SETVALUE+18, ERXVAL+35*
LINE1 HDR+1~
LINE2 HDR+1~
LINE3 HDR+1~
LINE4 HDR+1~
LN VIDEO+2~, VIDEO+3*, VIDEO+4, VIDEO+5, VIDEO+6
OLDVAL SETOLD+1~, SETOLD+2, SETVALUE+5~, SETVALUE+8
OLDVAL( SETOLD+3, SETVALUE+9
ORD SETHDR+1~, SETHDR+6*, SETHDR+8
>> ORDER SETLINE+14*, SETLINE+15
PNAME HDR+1~
POS HDR+1~, SETHDR+1~, SETHDR+7*, SETHDR+8
PSOERXID EN~, HDR+2, HDR+3, SETLINE+20, SETLINE+21, SETLINE+22, SETSORT+5, SETSORT+6, SETSORT+12, SETSORT+13
, SETOLD~, SETOLD+2
PSORDER EN+1~, EN+3*, SETLINE+14, SORT+1*, SORT+2*, SETHDR+6
PSOSRTBY EN+1~, EN+3*, INIT+2, SORT+1, SORT+2*, SETHDR+7
REVLN EN+1~, SETLINE+11!
REVLN( VIDEO+6, ERXVAL+35*
SEX HDR+1~
SHOWERX EN+1~, EN+3*, SETLINE+20, SH+1*
>> SORT SETSORT+10*, SETSORT+11, SETSORT+13
SORTBY SETSORT~, SETSORT+10
SRT SETLINE+1~, SETLINE+13*, SETLINE+14*, SETLINE+15*, SETLINE+16, SETLINE+17
SSN ERXVAL+5~, ERXVAL+6*, ERXVAL+7, ERXVAL+10~
TOTAL SETLINE+1~
TYPE SETLINE+1~, SETVALUE~, SETVALUE+7, SETVALUE+10, SETVALUE+17, SETVALUE+18
UNDLN EN+1~, SETLINE+11!
UNDLN( SETLINE+19*, VIDEO+4
VADM HDR+1~
>> VALMBCK REFRESH+1*
VALMCNT EN+1~, SETLINE+2*, SETLINE+7*, SETLINE+29*
VALMHDR HDR+2!
VALMHDR(1 HDR+2*
VALMHDR(2 HDR+3*
VALUE ERXVAL+3~
VALUE( ERXVAL+30*, ERXVAL+34, ERXVAL+35
VALUE(1 ERXVAL+7*, ERXVAL+12*, ERXVAL+15*, ERXVAL+18*, ERXVAL+21*, ERXVAL+24*, ERXVAL+32*
WT HDR+1~
WTDT HDR+1~
X HDR+1~, SETLINE+1~, SETOLD+1~, SETOLD+3*, SETVALUE+5~, SETVALUE+15*, ERXVAL+27~*
X1 SETLINE+1~, SETLINE+18*, SETLINE+19
>> Z SETOLD+2
ZAUD SETLINE+1~, SETLINE+17*, SETLINE+18, SETLINE+20, SETLINE+21, SETLINE+22, SETSORT+1~, SETSORT+6*, SETSORT+7, SETSORT+8
, SETSORT+9, SETSORT+11
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