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

Package: Dietetics

Routine: FHQUE


Information

FHQUE ;EPIP/KLD - AUTO-QUEUE DIETETICS REPORTS & LABELS ;04/27/2017 3:31 PM

Source Information

Source file <FHQUE.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA FileMan 7 ^%DT  DW^%DTC  ^DIC  (FILE,YN)^DICN  ^DIE  ^DIK  $$GET1^DIQ  
Kernel 1 ^%ZTLOAD  

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

Package Total Caller Graph
Dietetics 3 FHQUE  FHQUE OPTION EDIT  FHQUE TEST  

Entry Points

Name Comments DBIA/ICR reference
ST
FHK
ML ;Main loop
TEST ;Test one particular option
UEDIT ;User edit of options
UEDIT1
UEDIT2
ASK
DR
FHSHOW ;Display the print options that have been setup

External References

Name Field # of Occurrence
^%DT ML+6, ML+15, ASK+5
DW^%DTC ML+3
^%ZTLOAD ML+18
^DIC TEST+4, UEDIT+6, UEDIT2+4
FILE^DICN UEDIT2+7, UEDIT2+17
YN^DICN UEDIT2+6
^DIE UEDIT2+9, UEDIT2+12, UEDIT2+18
^DIK UEDIT2+21
$$GET1^DIQ STML+4, ML+7, ML+8, ML+9, ML+11, ML+12, ML+13, ML+14, ML+16
UEDIT+4, UEDIT+5, UEDIT2+11, UEDIT2+15, UEDIT2+16, ASKASK+5, DR+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"ZTSK=",$G(ZTSK)
  • Line Location: ML+18
Function Call: READ
  • Formatting: !!
  • Prompt: "IEN: "
  • Variable: FHI
  • Timeout: DTIME
  • Line Location: TEST+1
Function Call: WRITE
  • Prompt: !,FHIEN,?10,$P(^FH(117.024,FHIEN,0),"^")
  • Line Location: TEST+2
Function Call: WRITE
  • Prompt: !,"Invalid IEN!"
  • Line Location: TEST+3
Function Call: WRITE
  • Prompt: !
  • Line Location: TEST+4
Function Call: WRITE
  • Prompt: !!,"Available options are:"
  • Line Location: UEDIT+8
Function Call: READ
  • Timeout: DTIME
  • Line Location: UEDIT1+0
Function Call: READ
  • Timeout: DTIME
  • Line Location: UEDIT1+1
Function Call: WRITE
  • Prompt: " ??"
  • Line Location: UEDIT1+2
Function Call: READ
  • Formatting: !!
  • Prompt: "Time to run the option (use 4 digit military time): "
  • Variable: FH("TIME")
  • Timeout: DTIME
  • Line Location: UEDIT2+0
Function Call: WRITE
  • Prompt: " ??"
  • Line Location: UEDIT2+1
Function Call: WRITE
  • Prompt: !,"Entry added."
  • Line Location: UEDIT2+9
Function Call: WRITE
  • Prompt: !!,"Now add/change the printer and whether it's active.",!
  • Line Location: UEDIT2+10
Function Call: WRITE
  • Prompt: !!,"Option ",$S($D(FH("ADDED")):"add",1:"chang"),"ed!"
  • Line Location: UEDIT2+20
Function Call: WRITE
  • Prompt: !!,"Invalid entry - deleted!"
  • Line Location: UEDIT2+21
Function Call: WRITE
  • Prompt: !,FHWP(FHII)
  • Line Location: ASK+1
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: ASK+2
Function Call: WRITE
  • Prompt: !,"B, N or E"
  • Line Location: ASK+3
Function Call: WRITE
  • Prompt: !,"Invalid date/time!"
  • Line Location: ASK+5
Function Call: WRITE
  • Prompt: !!,?5,"Print options and times currently set up",!!
  • Line Location: FHSHOW+2
Function Call: WRITE
  • Prompt: !,?5,$P($G(^FH(117.024,FHIEN,0)),U)
  • Line Location: FHSHOW+4
Routine Call
  • DIC
  • Line Location:
    • TEST+4
    • UEDIT+6
    • UEDIT2+4
Routine Call
  • DIE
  • Line Location:
    • UEDIT2+9
    • UEDIT2+12
    • UEDIT2+18

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^FH(117.024 - [#117.024] Classic Fileman Calls,  GET1^DIQ
117.0242 GET1^DIQ
^FH(117.0243 - [#117.0243] GET1^DIQ
117.024302 GET1^DIQ
^DIC(19 - [#19] Classic Fileman Calls
^%ZIS(1 - [#3.5] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^FH(117.024 - [#117.024] STML+2, ML+3, ML+10, TEST+2, TEST+3, UEDIT2+12*, UEDIT2+19*, FHSHOW+3, FHSHOW+4
^FH(117.0243 - [#117.0243] UEDIT+2, UEDIT+3, UEDIT2+14
^TMP("FHQUE" FHK!, UEDIT+1!, UEDIT+7*, UEDIT+9, UEDIT+10, UEDIT+11, UEDIT+13

Label References

Name Line Occurrences
ASK UEDIT2+16, ASK+3, ASK+5
DR UEDIT2+18
FHK TEST+5, UEDIT1UEDIT2
FHSHOW UEDIT1+1
ML STTEST+5
TEST TEST+2, TEST+3, TEST+5
UEDIT UEDIT1+1, UEDIT2+5, UEDIT2+22
UEDIT1 UEDIT1+2
UEDIT2 UEDIT2+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% FHK!, UEDIT2+5, UEDIT2+6*
%DT ML+6*, ML+14*, ASK~, ASK+5*
DA FHK!, UEDIT2+4*, UEDIT2+8*, UEDIT2+12, UEDIT2+13!, UEDIT2+17*, UEDIT2+19
DA(1 UEDIT2+13*, UEDIT2+19
DD UEDIT2+7!, UEDIT2+17!
DIC FHK!, TEST+4*, UEDIT+6*, UEDIT2+4*, UEDIT2+13!*, UEDIT2+18
DIC("A" TEST+4*
DIC("DR" UEDIT2+15*, UEDIT2+17!
DIC(0 TEST+4*, UEDIT+6*, UEDIT2+4*, UEDIT2+7*, UEDIT2+13*
DIE FHK!, UEDIT2+4*, UEDIT2+13!, UEDIT2+18*
DIK FHK!, UEDIT2+21*
DO UEDIT2+7!, UEDIT2+17!
DR FHK!, UEDIT2+8*, UEDIT2+11*, UEDIT2+13!, UEDIT2+18*, UEDIT2+19, DR*, DR+4*
DT ML+3
DTIME TEST+1, UEDIT1UEDIT1+1, UEDIT2ASK+2
FH FHK!
FH("ADDED" UEDIT2+8*, UEDIT2+20, UEDIT2+22!
FH("BAD" UEDIT2+13*, UEDIT2+14, UEDIT2+16, UEDIT2+20, UEDIT2+21, ASK+2*
FH("CNT" UEDIT+1*, UEDIT+11*, UEDIT+12
FH("DA" UEDIT2+3*, UEDIT2+11, UEDIT2+14, UEDIT2+15, UEDIT2+16, ASKASK+5, DR+3
FH("FLAG" ML+1*, ML+2, ML+3*
FH("NAME" UEDIT2+2*, UEDIT2+4, UEDIT2+6, UEDIT2+8
FH("OPT" UEDIT1*, UEDIT1+1, UEDIT1+2, UEDIT2+2, UEDIT2+3
FH("QUES" UEDIT2+18!, ASK+4*, ASK+6*, DR+2
FH("SEL" UEDIT+11*, UEDIT1+2, UEDIT2+2, UEDIT2+3
FH("TEST" ML+6, TEST+1*
FH("TIME" ML+4*, ML+5*, ML+6, UEDIT2*, UEDIT2+1, UEDIT2+2
FH("VAR" ML+11*, ML+12, ML+15, ML+17
FHANS FHK!, UEDIT1+1*
FHFD DR~, DR+1*, DR+2, DR+3, DR+4
FHI ST*, FHK!, ML+2, ML+3, ML+4, ML+7, ML+8, ML+9, ML+10, ML+11
ML+12, ML+13, ML+14, ML+16, TEST+1*, TEST+2, TEST+3, UEDIT+1*, UEDIT+2*, UEDIT+3
UEDIT+8*, UEDIT+9*, UEDIT+10, UEDIT+11, UEDIT+12, UEDIT+13, UEDIT2+14*, UEDIT2+15, UEDIT2+16, ASK
ASK+5, DR+3
FHIEN FHK!, TEST+2*, FHSHOW+1~, FHSHOW+3*, FHSHOW+4
FHII FHK!, ML+10*, ML+11, ML+12, ML+13, ML+14, ML+16, UEDIT+3*, UEDIT+4, UEDIT+5
UEDIT+7, UEDIT+8*, UEDIT+10*, UEDIT+11, UEDIT+12, UEDIT+13, ASK~, ASK+1*
FHIII FHK!
FHWP ASK~*
FHWP( ASK+1
FHWP(1 ASK+3, ASK+4
U ML+9, ML+12, ML+14, ML+16, TEST+1, TEST+5, UEDIT+7, UEDIT+11, UEDIT+13, UEDIT1
UEDIT2UEDIT2+2, UEDIT2+3, UEDIT2+19, ASK+2, FHSHOW+4
X FHK!, ML+3*, ML+6*, ML+14*, ML+16*, UEDIT+4*, UEDIT+7, UEDIT2+4*, UEDIT2+12*, UEDIT2+13
UEDIT2+15*, ASK~, ASK+2*, ASK+3, ASK+4, ASK+6, DR~, DR+2*, DR+3*, DR+4
X(1 UEDIT+5*, UEDIT+7
Y FHK!, ML+3*, ML+6, ML+15, TEST+5, UEDIT2+4, UEDIT2+5, UEDIT2+8, UEDIT2+17, ASK~
ASK+5
Y(0 UEDIT+7
ZTDESC FHK!, ML+7*
ZTDTH FHK!, ML+6*
ZTIO FHK!, ML+8*, TEST+5*
ZTRTN FHK!, ML+9*
ZTSAVE FHK!
ZTSAVE( ML+17*
ZTSK FHK!, ML+18
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