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

Package: Outpatient Pharmacy

Routine: PSOERPR2


Information

PSOERPR2 ;BIRM/MFR - eRx Holding Queue Preferences - Single Patient Queue ;08/29/22

Source Information

Source file <PSOERPR2.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 PSOERPT0  

Entry Points

Name Comments DBIA/ICR reference
EN ; - Entry Point
LKBKD ; - Look Back Days
SRTBY ; - Sort By
ORDER ; - Sort Order
DETDP ; - Display Details
GRPCS ; - Group By CS/Non-CS
ALLST ; - Display All Statuses
EXIT ; Exit
; - Save view?
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+17
^DIK DELETE+6
$$GET1^DIQ LOAD+10
GETS^DIQ DISPLAY+5, CHANGED+8, SET+3
^DIR EN+10, LKBKD+3, SRTBY+3, ORDER+3, DETDP+3, GRPCS+3, ALLST+3, EXIT+4
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+3
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(4,"E"))
  • Line Location: DISPLAY+12
Function Call: WRITE
  • Prompt: !?5,"GROUP BY CS/NON-CS : ",$G(PREFS(5,"E"))
  • Line Location: DISPLAY+13
Function Call: WRITE
  • Prompt: !?5,"INCLUDE ALL STATUSES: ",$G(PREFS(6,"E"))
  • Line Location: DISPLAY+14
Function Call: WRITE
  • Prompt: !
  • Line Location: DISPLAY+15
Function Call: WRITE
  • Prompt: " ??",$C(7)
  • Line Location: GOTO+14
Function Call: WRITE
  • Prompt: !!,"Saving..."
  • Line Location: SAVE+5
Function Call: WRITE
  • Prompt: "OK!"
  • Line Location: SAVE+17
Function Call: WRITE
  • Prompt: !!,"Deleting..."
  • Line Location: DELETE+3
Function Call: WRITE
  • Prompt: "OK!"
  • Line Location: DELETE+6
Routine Call
  • DIE
  • Line Location:
    • SAVE+17
Routine Call
  • DIR
  • Line Location:
    • EN+10
    • LKBKD+3
    • SRTBY+3
    • ORDER+3
    • DETDP+3
    • GRPCS+3
    • ALLST+3
    • EXIT+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
52.352 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+14, LOAD+17, CHANGED+6, SET+2, SAVE+3, SAVE+7

Label References

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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