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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: FHMTK1

Package: Dietetics

Routine: FHMTK1


Information

FHMTK1 ; HISC/REL/NCA - Tray Tickets ;4/20/95 15:28

Source Information

Source file <FHMTK1.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Dietetics 5 (EN2,TR)^FH  B1^FHMTK1A  ^FHOMDPA  ^FHOMTK1  E1^FHPRC1  
Kernel 3 ^%ZIS  ^%ZISC  KILL^XUSCLEAN  
VA Fileman 3 ^%DT  ^DIC  ^DIR  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Dietetics 2 FHMTKP  FHMTKTR  

Entry Points

Name Comments DBIA/ICR reference
F0 ;
NL0 ; Sort by Location
P0 ; Single patient
D5
R1
R2
F1
S0 ; Start
P1 ; Tray tickets for single outpatient
TABREC ; Entry point for separate Print Tab Recipes option
L0 ;I $G(FHOMF)=1 Q
KIL
C0 ; Sort by Communication Office

External References

Name Field # of Occurrence
^%DT F1
^%ZIS L0+1
^%ZISC L0+3
^DIC C0+4, NL0+2
^DIR F0+5
EN2^FH L0+2
TR^FH S0+2, R1, D5, R2+1
B1^FHMTK1A L0+3
^FHOMDPA P0+1
^FHOMTK1 P1+6
E1^FHPRC1 F1+1
KILL^XUSCLEAN KIL

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: C0+4
Function Call: WRITE
  • Prompt: !
  • Line Location: NL0+2
Function Call: WRITE
  • Prompt: !!?5," [ Patient has expired. ]"
  • Line Location: P0+5
Function Call: READ
  • Prompt: "Sort Patients: (A=Alphabetically R=Room-Bed) R// "
  • Formatting: !!
  • Timeout: DTIME
  • Variable: SRT
  • Line Location: S0+2
Function Call: WRITE
  • Prompt: *7," Enter A or R"
  • Line Location: S0+3
Function Call: WRITE
  • Prompt: !
  • Line Location: F1+0
Function Call: WRITE
  • Prompt: *7,!!,"No MENU CYCLE Defined for that Date!"
  • Line Location: F1+1
Function Call: WRITE
  • Prompt: *7,!!,"MENU CYCLE DAY Not Defined for that Date!"
  • Line Location: F1+2
Function Call: READ
  • Timeout: DTIME
  • Line Location: R1+0
Function Call: WRITE
  • Prompt: *7,!,"Select B for Breakfast, N for Noon, or E for Evening or ALL for all meals"
  • Line Location: R1+1
Function Call: WRITE
  • Prompt: *7,!!,"*** NO MENU DEFINED FOR ",$S(LP="B":"BREAKFAST",LP="N":"NOON",1:"EVENING")," ***"
  • Line Location: R1+4
Function Call: WRITE
  • Prompt: *7,!!,"*** NO MENU DEFINED FOR THIS MEAL ***"
  • Line Location: R1+6
Function Call: READ
  • Prompt: "Consolidated List? Y// "
  • Formatting: !!
  • Timeout: DTIME
  • Variable: X
  • Line Location: D5+0
Function Call: WRITE
  • Prompt: *7," Answer YES or NO"
  • Line Location: D5+0
Function Call: READ
  • Prompt: "Print Only Ones With Order Changes related to the Tray Ticket? N // "
  • Formatting: !!
  • Timeout: DTIME
  • Variable: X
  • Line Location: R2+1
Function Call: WRITE
  • Prompt: *7,!," Answer YES or NO"
  • Line Location: R2+1
Function Call: WRITE
  • Prompt: !
  • Line Location: L0+1
Routine Call
  • DIC
  • Line Location:
    • C0+4
    • NL0+2
Routine Call
  • DIR
  • Line Location:
    • F0+5
Routine Call
  • %ZIS
  • Line Location:
    • L0+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^FH(119.6 - [#119.6] Classic Fileman Calls
^FH(119.73 - [#119.73] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] P0+3, P0+5
^FH(116 - [#116] F1+2, R1+2
^FH(116.3 - [#116.3] R1+3
^FH(119.73 - [#119.73] C0+1, C0+2
^FH(119.9 - [#119.9] P1+2
^TMP($J KIL!

Label References

Name Line Occurrences
C0 F0+8, C0+5
D5 R1+5, D5
F0 TABREC+1
F1 P0+4, S0+1, F1, F1+1, F1+2, P1+2
KIL F0+5, C0+5, NL0+3, P0+1, P0+5, S0+2, F1, R1, R1+4, R1+6
, D5, R2+1, L0+1, L0+2, L0+3
L0 R1+8, D5, R2
NL0 F0+9, NL0+3
P0 F0+7
P1 P0+2, P0+3
R1 R1+1
R2 R1+8, R2+1
S0 F0+10, C0+2, C0+5, NL0+3, S0+3

Naked Globals

Name Field # of Occurrence
^(0 R1+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT F1*
>> %DT("A" F1*
>> %DT("B" F1*
>> %DT(0 F1*
%ZIS L0+1!*, L0+3!
%ZIS("A" L0+1*
>> D1 F1*, R1+3
DFN F0+1!, F0+10*, C0+2*, C0+5*, NL0+3*, P0+2, P0+3, P0+5, R1+8, D5
DIC C0+3!*, C0+4!, NL0+1!*, NL0+2!
DIC("A" C0+3*, NL0+1*
DIC(0 C0+4*, NL0+2*
DIR F0+2!
DIR("A" F0+4*
DIR("B" F0+3*
DIR(0 F0+2*
>> DIRUT F0+5
DT F1
DTIME S0+2, R1, D5, R2+1
>> DTOUT C0+5, NL0+3, F1
>> FHALL P0+1*
>> FHBOT P1+2*
>> FHBY F0+1*, F0+6*, F0+7, F0+8, F0+9, F0+10
>> FHCY F1+1, F1+2, R1+2
>> FHDA F1+2, R1+2*, R1+3*, R1+4, R1+6
>> FHDFN P0+1
>> FHLST L0+2*
>> FHOMEAL R1+2*
FHOMF F0+1!, P1+1*
>> FHP F0+10*, C0+1*, C0+2, C0+5*, NL0+3*, P0+4*, P1+1*
>> FHPGM L0+2*
>> FHTTDFN F0+1*, P0+1*
>> FHX1 R1+4*, R1+6*
IEN200 F0+1!, D5
IO L0+3
IO("Q" L0+2
IOP L0+1!, L0+3!
IOSL P1+3
IOST P1+3
>> LL R1+3*
>> LN P1+3*
>> LP R1+4*
>> MEAL R1*, R1+1, R1+2, R1+4, R1+5, R1+6, P1+4, P1+5
>> MFLG P1+1*, P1+5*
>> NBR P1+1*
>> POP L0+1
>> SL P1+3*
>> SRT P0+4*, S0+1*, S0+2*, S0+3, P1+1*
>> SUM R1+5*, D5+1*
TABREC S0+1, R2, KIL!, TABREC+1*, TABREC+2!
>> UPD R1+5*, R2+2*
>> W1 F0+10*, C0+2*, C0+5*, NL0+3*, P0+4*, P1+1*
>> X C0+5, NL0+3, S0+2*, F1, R1*, R1+3*, D5*, D5+1, R2+1*, R2+2
>> X1 F1*
>> Y F0+6, C0+5, NL0+3, F1
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 |  Naked Globals |  Local Variables |  All