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

Package: Outpatient Pharmacy

Routine: PSOERPR1


Information

PSOERPR1 ;BIRM/MFR - eRx Holding Queue Preferences - Rx List View Queue ;08/29/22

Source Information

Source file <PSOERPR1.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 5 FILE^DICN  ^DIE  ^DIK  ($$GET1,GETS)^DIQ  ^DIR  
List Manager 1 FULL^VALM1  

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

Package Total Caller Graph
Outpatient Pharmacy 1 PSOERRX0  

Entry Points

Name Comments DBIA/ICR reference
EN ; - Entry Point
LKBKD ; - Look Back Days
SRTBY ; - Sort By
ORDER ; - Sort Order
DETDP ; - Display Details
INCCS ; - Include CS/Non-CS
CSSCH ; - CS Schedule
GRPCS ; - Group By CS/Non-CS
ALLST ; - Display All Statuses
MAXQSIZ ; - Maximum Queue Size
EXIT ; Exit
END
DISPLAY ; - Displays the current view
GOTO(INPUT,HOME) ; - Directed up-arrow
LOAD ; Loading Factory/Division/User preferences for Single Patient View
CHANGED(FIELD,VALUE) ; - Sets PSOCHNG so the list can be refreshed
; FIELD - Field to be checked if was changed/edited
; VALUE - New Value for the field
SET ; Sets Preferences Variables
SAVE ; - Saves User's Preferences
DELETE ; - Deletes user/division preferences

External References

Name Field # of Occurrence
FILE^DICN SAVE+11
^DIE SAVE+18
^DIK DELETE+6
$$GET1^DIQ LOAD+13
GETS^DIQ DISPLAY+5, CHANGED+8, SET+3
^DIR EN+10, LKBKD+3, SRTBY+3, ORDER+3, DETDP+3, INCCS+3, CSSCH+4, GRPCS+4, ALLST+3, MAXQSIZ+3
EXIT+6
FULL^VALM1 EN+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+4
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+12
Function Call: WRITE
  • Prompt: $S(X>0:" DAYS",1:" (TODAY'S)")
  • Line Location: LKBKD+4
Function Call: WRITE
  • Prompt: !
  • Line Location: EXIT+5
Function Call: WRITE
  • Prompt: !?5,"Your saved default view:"
  • Line Location: DISPLAY+7
Function Call: WRITE
  • Prompt: !?5,LN
  • Line Location: DISPLAY+8
Function Call: WRITE
  • Prompt: !?5,"LOOK BACK DAYS : ",$G(PREFS(1,"E"))," DAYS"
  • Line Location: DISPLAY+9
Function Call: WRITE
  • Prompt: !?5,"SORT BY : ",$G(PREFS(2,"E"))
  • Line Location: DISPLAY+10
Function Call: WRITE
  • Prompt: !?5,"SORT ORDER : ",$G(PREFS(3,"E"))
  • Line Location: DISPLAY+11
Function Call: WRITE
  • Prompt: !?5,"DISPLAY DETAILS : ",$G(PREFS(10,"E"))
  • Line Location: DISPLAY+12
Function Call: WRITE
  • Prompt: !?5,"INCLUDE CS/NON-CS : ",$G(PREFS(8,"E"))
  • Line Location: DISPLAY+13
Function Call: WRITE
  • Prompt: !?5,"CS SCHEDULE : ",$G(PREFS(9,"E"))
  • Line Location: DISPLAY+15
Function Call: WRITE
  • Prompt: !?5,"GROUP BY CS/NON-CS : ",$G(PREFS(4,"E"))
  • Line Location: DISPLAY+16
Function Call: WRITE
  • Prompt: !?5,"INCLUDE ALL STATUSES: ",$G(PREFS(5,"E"))
  • Line Location: DISPLAY+17
Function Call: WRITE
  • Prompt: !?5,"MAXIMUM QUEUE SIZE : ",$G(PREFS(7,"E"))
  • Line Location: DISPLAY+18
Function Call: WRITE
  • Prompt: !
  • Line Location: DISPLAY+19
Function Call: WRITE
  • Prompt: " ??",$C(7)
  • Line Location: GOTO+17
Function Call: WRITE
  • Prompt: !!,"Saving..."
  • Line Location: SAVE+5
Function Call: WRITE
  • Prompt: "OK!"
  • Line Location: SAVE+18
Function Call: WRITE
  • Prompt: !!,"Deleting..."
  • Line Location: DELETE+3
Function Call: WRITE
  • Prompt: "OK!"
  • Line Location: DELETE+6
Routine Call
  • DIE
  • Line Location:
    • SAVE+18
Routine Call
  • DIR
  • Line Location:
    • EN+10
    • LKBKD+3
    • SRTBY+3
    • ORDER+3
    • DETDP+3
    • INCCS+3
    • CSSCH+4
    • GRPCS+4
    • ALLST+3
    • MAXQSIZ+3
    • EXIT+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
52.353 GETS^DIQ
^PS(59 - [#59] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.35 - [#52.35] EN+2, EN+7, DISPLAY+2, DISPLAY+4, LOAD+17, LOAD+20, CHANGED+6, SET+2, SAVE+3, SAVE+7

Label References

Name Line Occurrences
$$GOTO LKBKD+3, SRTBY+3, ORDER+3, DETDP+3, INCCS+3, CSSCH+4, GRPCS+4, ALLST+3, MAXQSIZ+3
@( LKBKD+3, SRTBY+3, ORDER+3, DETDP+3, INCCS+3, CSSCH+4, GRPCS+4, ALLST+3, MAXQSIZ+3
CHANGED LKBKD+5, SRTBY+4, ORDER+4, DETDP+4, INCCS+4, CSSCH+5, GRPCS+5, ALLST+4, MAXQSIZ+4
DELETE EN+11
DISPLAY EN+8
LOAD EN+11
MAXQSIZ CSSCH+1, GRPCS+1
SAVE EXIT+7
SET LOAD+20

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% SAVE+8~
DA EN+1~, SAVE+1~, SAVE+8~, SAVE+17*, DELETE+1~, DELETE+5*
DA(1 SAVE+10*, SAVE+17*, DELETE+5*
DD SAVE+8~, SAVE+11!
DIC SAVE+8~, SAVE+9*
DIC(0 SAVE+10*
DIE SAVE+1~, SAVE+17*, DELETE+1~
DIK DELETE+1~, DELETE+5*
DINUM SAVE+8~, SAVE+10*
DIR EN+1~, LKBKD+1!, SRTBY+1!, ORDER+1!, DETDP+1!, INCCS+1!, CSSCH+2!, GRPCS+2!, ALLST+1!, MAXQSIZ+1!
DIR("A" EN+9*, EXIT+5*
DIR("B" EN+10*, LKBKD+2*, SRTBY+2*, ORDER+2*, DETDP+2*, INCCS+2*, CSSCH+3*, GRPCS+3*, ALLST+2*, MAXQSIZ+2*
EXIT+5*
DIR(0 EN+10*, LKBKD+2*, SRTBY+2*, ORDER+2*, DETDP+2*, INCCS+2*, CSSCH+3*, GRPCS+3*, ALLST+2*, MAXQSIZ+2*
EXIT+5*
DIROUT EN+1~, EN+10, LKBKD+1!, LKBKD+3, SRTBY+1!, SRTBY+3, ORDER+1!, ORDER+3, DETDP+1!, DETDP+3
INCCS+1!, INCCS+3, CSSCH+2!, CSSCH+4, GRPCS+2!, GRPCS+4, ALLST+1!, ALLST+3, MAXQSIZ+1!, MAXQSIZ+3
EXIT+6
DIRUT EN+1~, EN+10, LKBKD+1!, LKBKD+3, SRTBY+1!, SRTBY+3, ORDER+1!, ORDER+3, DETDP+1!, DETDP+3
INCCS+1!, INCCS+3, CSSCH+2!, CSSCH+4, GRPCS+2!, GRPCS+4, ALLST+1!, ALLST+3, MAXQSIZ+1!, MAXQSIZ+3
EXIT+6
DLAYGO SAVE+8~
DO SAVE+8~, SAVE+11!
DR SAVE+1~, SAVE+8~, SAVE+13*, SAVE+14*, SAVE+15*, DELETE+1~
DUZ EN+7, DISPLAY+4, DISPLAY+5, DISPLAY+6, LOAD+20, CHANGED+8, CHANGED+9, SET+3, SET+4, SAVE+7
SAVE+10, SAVE+17, DELETE+5
FIELD CHANGED~, CHANGED+11, CHANGED+12, CHANGED+13, CHANGED+14, CHANGED+15, CHANGED+16, CHANGED+17, CHANGED+18, CHANGED+19
, CHANGED+20
GOTO GOTO+1~, GOTO+15*, GOTO+16*, GOTO+17, GOTO+19
HOME GOTO~, GOTO+15, GOTO+17
INPUT GOTO~, GOTO+2, GOTO+4
LN DISPLAY+1~, DISPLAY+8*
PREFS DISPLAY+1~, DISPLAY+6*, CHANGED+5~, CHANGED+9*, SET+1~, SET+4*
PREFS(1 DISPLAY+9, CHANGED+11, SET+5
PREFS(10 DISPLAY+12, CHANGED+14, SET+13
PREFS(2 DISPLAY+10, CHANGED+12, SET+6
PREFS(3 DISPLAY+11, CHANGED+13, SET+7
PREFS(4 DISPLAY+16, CHANGED+17, SET+10
PREFS(5 DISPLAY+17, CHANGED+18, SET+11
PREFS(6 CHANGED+19
PREFS(7 DISPLAY+18, CHANGED+20, SET+12
PREFS(8 DISPLAY+13, DISPLAY+14, CHANGED+15, SET+8
PREFS(9 DISPLAY+15, CHANGED+16, SET+9
PRFDAT DISPLAY+1~, CHANGED+5~, SET+1~
PRFDAT( DISPLAY+6, CHANGED+9, SET+4
>> PSOALLST ALLST+2, ALLST+4*, LOAD+14*, SET+11*, SAVE+15
>> PSOCHNG EN+4*, EXIT+3, CHANGED+3, CHANGED+11*, CHANGED+12*, CHANGED+13*, CHANGED+14*, CHANGED+15*, CHANGED+16*, CHANGED+17*
, CHANGED+18*, CHANGED+19*, CHANGED+20*
>> PSOCSERX INCCS+2, INCCS+4*, CSSCH+1, GRPCS+1, LOAD+14*, SET+8*, SAVE+13, SAVE+14
>> PSOCSGRP GRPCS+3, GRPCS+5*, LOAD+14*, SET+10*, SAVE+14
>> PSOCSSCH CSSCH+3, CSSCH+5*, LOAD+14*, SET+9*, SAVE+14
>> PSODETDP DETDP+2, DETDP+4*, LOAD+14*, SET+13*, SAVE+15
>> PSOLKBKD LKBKD+2, LKBKD+4*, LKBKD+5, LOAD+11, LOAD+12*, LOAD+13*, SET+5*, SAVE+13
>> PSOMAXQS MAXQSIZ+2, MAXQSIZ+4*, LOAD+14*, SET+12*, SAVE+15
PSOPRIEN EN+1~, EN+2*, EN+7, DISPLAY+1~, DISPLAY+2*, DISPLAY+4, DISPLAY+5, DISPLAY+6, LOAD+16~, LOAD+17*
LOAD+20, CHANGED+5~, CHANGED+6*, CHANGED+8, CHANGED+9, SET+1~, SET+2*, SET+3, SET+4, SAVE+1~
SAVE+3*, SAVE+7, SAVE+9, SAVE+10, SAVE+17, DELETE+5
>> PSOQUIT EN+4*, EN+10*, EN+13, GOTO+2*
>> PSORDER ORDER+2, ORDER+4*, LOAD+14*, SET+7*, SAVE+13
>> PSORFRSH EXIT+4*
>> PSOSITE LOAD+13
>> PSOSRTBY SRTBY+2, SRTBY+4*, LOAD+14*, SET+6*, SAVE+13
>> RESETLBD LOAD+11, SET+5
SAVEX LKBKD+1!
TAG GOTO+1~, GOTO+16*
TAG( GOTO+16
TAG("CS SCHED ULE" , GOTO+10*
TAG("DISPLAY DETAILS" , GOTO+8*
TAG("GROUP BY CS/NON-CS" , GOTO+11*
TAG("INCLUDE ALL STATUSES" , GOTO+12*, CS/NON-CS" , GOTO+9*
TAG("LOOK BAC K DAYS" , GOTO+5*
TAG("MAXIMUM QUEUE SIZE" , GOTO+13*
TAG("SORT BY" , GOTO+6*
TAG("SORT ORD ER" , GOTO+7*
TRGT GOTO+1~, GOTO+4*, GOTO+16
>> VALMBCK EXIT+9*
VALUE CHANGED~, CHANGED+11, CHANGED+12, CHANGED+13, CHANGED+14, CHANGED+15, CHANGED+16, CHANGED+17, CHANGED+18, CHANGED+19
, CHANGED+20
X EN+1~, LKBKD+1!, LKBKD+3, LKBKD+4, SRTBY+1!, SRTBY+3, ORDER+1!, ORDER+3, DETDP+1!, DETDP+3
INCCS+1!, INCCS+3, CSSCH+2!, CSSCH+4, GRPCS+2!, GRPCS+4, ALLST+1!, ALLST+3, MAXQSIZ+1!, MAXQSIZ+3
SET+5*, SET+6*, SET+7*, SET+8*, SET+9*, SET+10*, SET+11*, SET+12*, SET+13*, SAVE+8~
SAVE+10*
Y EN+1~, EN+11, LKBKD+1!, SRTBY+1!, SRTBY+4, ORDER+1!, ORDER+4, DETDP+1!, DETDP+4, INCCS+1!
INCCS+4, CSSCH+2!, CSSCH+5, GRPCS+2!, GRPCS+5, ALLST+1!, ALLST+4, MAXQSIZ+1!, MAXQSIZ+4, EXIT+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