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

Package: Dietetics

Routine: FHMTK1D


Information

FHMTK1D ;SFVAMC/APC - MEAL TICKET UTILITIES ; 5/29/2017 12:10

Source Information

Source file <FHMTK1D.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 4 (,$$FIND1,FIND)^DIC  ^DIE  $$GET1^DIQ  ^DIR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Dietetics 2 FHMTK1C  FHMTK1D  

Entry Points

Name Comments DBIA/ICR reference
NOTE2(X,FHWARD)
NOTE(MTID,PART,MFLG,MEAL) ;Called from HEAD^FHMTK1C
TTFLAG ;Edit tray ticket flag
TTFW
TTFP
DRV(DATA,PART,MFLG,MEAL)
IEN(FHD0,FHDFILE) ;
; ;
; Get pointer to NUTRITION PERSON (#115) given
; the PATIENT (#2) or NEW PERSON (#200) pointer
; Input
; FHD0 = PATIENT (#2) or NEW PERSON (#200) pointer (Req)
; FHDFILE = PATIENT (#2) or NEW PERSON (#200) file # (Opt, Dflt=2)
; Output
; $$IEN() = Pointer to NUTRITION PERSON (#115)

External References

Name Field # of Occurrence
^DIC TTFP+2
$$FIND1^DIC IEN+10
FIND^DIC NOTE2+4, TTFW+5
^DIE TTFP+7, TTFW+12
$$GET1^DIQ TTFP+5, TTFP+6, TTFW+11
^DIR TTFLAG+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,MESS
  • Line Location: DRV+2
Function Call: WRITE
  • Prompt: !!,?7,"Patient is not a CLC patient"
  • Line Location: TTFP+5
Function Call: WRITE
  • Prompt: !!,*7,$$GET1^DIQ(2,FHCFDFN,.01)," is not in the Dietetics Patient file."
  • Line Location: TTFP+6
Function Call: WRITE
  • Prompt: !,*7,$P(FHTMP("DILIST",FHCDFN,0),U,2)," is not in the Dietetics Patient file."
  • Line Location: TTFW+10
Routine Call
  • DIE
  • Line Location:
    • TTFP+7
    • TTFW+12
Routine Call
  • DIC
  • Line Location:
    • IEN+10
Routine Call
  • DIC
  • Line Location:
    • TTFP+2
Routine Call
  • DIR
  • Line Location:
    • TTFLAG+2
Routine Call
  • DIC
  • Line Location:
    • NOTE2+4
    • TTFW+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^FHPT - [#115] Classic Fileman Calls,  FIND1^DIC
^DPT - [#2] Classic Fileman Calls,  FIND^DIC,  GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^FHPT - [#115] NOTE2+7, TTFP+6, TTFW+10

Label References

Name Line Occurrences
$$IEN NOTE2+7, TTFP+4, TTFW+9
$$NOTE DRV+1
NOTE2 NOTE+4, NOTE+5
TTFP TTFLAG+4
TTFW TTFLAG+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARHCDFN NOTE+1~
BID NOTE+1~
DA TTFP+1~, TTFP+7*, TTFW+7~, TTFW+12*
DATA DRV~, DRV+1
DFN IEN+9~
DIC TTFP+1~, TTFP+2!*
DIC(0 TTFP+2*
DIE TTFP+1~, TTFP+7*, TTFW+1~, TTFW+7~, TTFW+12*
DIERR NOTE2+1~, IEN+9~
DIR TTFLAG+1~, TTFLAG+2!
DIR("A" TTFLAG+2*
DIR("B" TTFLAG+2*
DIR(0 TTFLAG+2*
DIROUT TTFLAG+1~
DIRUT TTFLAG+1~, TTFLAG+3
DR TTFP+1~, TTFP+7*, TTFW+7~, TTFW+12*
DTOUT TTFLAG+1~, TTFP+1~, TTFW+1~, TTFW+7~, TTFW+13
DUOUT TTFLAG+1~, TTFP+1~, TTFW+1~, TTFW+7~
EXIT TTFW+1~, TTFW+2*, TTFW+6, TTFW+13*
FHCDFN TTFP+1~, TTFP+3*, TTFP+4, TTFP+5, TTFW+1~, TTFW+2*, TTFW+6*, TTFW+8, TTFW+10
FHCFDFN TTFP+1~, TTFP+4*, TTFP+6, TTFP+7, TTFW+1~, TTFW+8*
FHD0 IEN~, IEN+10
FHDFILE IEN~, IEN+10
FHERR NOTE2+1~, TTFW+1~, IEN+9~
FHIEN NOTE2+1~, NOTE2+6*, NOTE2+7, TTFW+1~, TTFW+8*, TTFW+9, TTFW+11
FHIENP NOTE2+1~, NOTE2+5*, NOTE2+6
FHNODE NOTE2+1~, NOTE2+7*, NOTE2+8, NOTE2+9
FHP NOTE2+1~
FHPTIEN TTFW+1~, TTFW+9*, TTFW+10, TTFW+12
FHTMP NOTE2+1~, TTFW+1~
FHTMP("DILIST" NOTE2+5, NOTE2+6, TTFW+6, TTFW+8, TTFW+10
FHWARD NOTE+1~, NOTE+3*, NOTE+4, NOTE+5, NOTE2~, TTFW+1~
FLDS NOTE2+1~, NOTE2+2*, NOTE2+4, TTFW+1~, TTFW+3*, TTFW+5
FLG NOTE2+1~, NOTE2+3*, NOTE2+4, TTFW+1~, TTFW+4*, TTFW+5
FOUND NOTE+1~, IEN+9~
LN IEN+9~
MEAL DRV~, DRV+1, NOTE~, NOTE2+8
>> MESS DRV+1*, DRV+2
MFLG DRV~, DRV+1, NOTE~, NOTE2+8, IEN+9~
MM IEN+9~
MSG NOTE+1~, NOTE+2*, NOTE+4*, NOTE+6, NOTE2+8*, NOTE2+9*, IEN+9~
MTID NOTE~, NOTE+3
N1 IEN+9~
NBR IEN+9~
NM IEN+9~
PART DRV~, DRV+1, NOTE~, NOTE2+9, IEN+9~
PATNM NOTE+1~
PG IEN+9~
S1 IEN+9~
SL IEN+9~
TL IEN+9~
U NOTE+3, NOTE2+6, NOTE2+8, NOTE2+9, TTFW+10
X NOTE+1~, NOTE+3*, NOTE+4, NOTE+5, NOTE2~, NOTE2+4, IEN+9~
Y TTFLAG+4, TTFLAG+5, TTFP+2, TTFP+3, TTFW+1~, TTFW+13, IEN+9~
Z IEN+9~
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