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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: FHORD81

Package: Dietetics

Routine: FHORD81


Information

FHORD81 ; HISC/REL/NCA - Diet Order Lists (cont) ;11/30/00 13:55

Source Information

Source file <FHORD81.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Dietetics 8 DTP^FH  ALG^FHCLN  PID^FHDPA  GETOUT^FHOMRBL1  PATNAME^FHOMUTL  CUR^FHORD7  (,FLNE,LNE)^FHORD82  ^FHORD83  
VA FileMan 1 (C,NOW)^%DTC  

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

Package Total Caller Graph
Dietetics 4 FHORD8  FHORD82  FHORD83  ^FH(117.0243  

Entry Points

Name Comments DBIA/ICR reference
OUTP ;Outpatient data
RMS ;SORT BY ROOM-BED
RM1
RM2
PROC ;process/print
OSO ;process outpt SOs.
OSF ;process outpt SFs.
REC ;set/get recurring data
OUTF ;outpatient TF
F0 ;
F2
L2
L3 ; Get Next Patient data
GET
NPO
COM ; List comment if any
DT
RM ;
HDR ;W:'($E(IOST,1,2)'="C-"&'PG) @IOF S PG=PG+1,DTP=NOW D DTP^FH

External References

Name Field # of Occurrence
C^%DTC FHORD81+4, FHORD81+5
NOW^%DTC FHORD81+4
DTP^FH PROC+32, L3+6, HDR+1
ALG^FHCLN L3+11
PID^FHDPA L3+7
GETOUT^FHOMRBL1 OUTP+1
PATNAME^FHOMUTL PROC+21, L3+2, RM+1
CUR^FHORD7 L3+4
^FHORD82 L3+14
FLNE^FHORD82 OSO+5
LNE^FHORD82 OUTF+20, OUTF+24, OUTF+28, L3+11
^FHORD83 PROC+40, REC+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: OUTP+12
Function Call: WRITE
  • Prompt: !!,$E(RM,1,12),?13,$E(FHPTNM,1,24),?38,FHBID,?67,FHSER
  • Line Location: PROC+28
Function Call: WRITE
  • Prompt: !,?14,"Diet Order: ",FHDIET,?40,"Meal: ","(",FHMEAL,")"
  • Line Location: PROC+33
Function Call: WRITE
  • Prompt: !,?14,"Service Type: ",FHTYP,?40,"Date: ",DTP
  • Line Location: PROC+34
Function Call: WRITE
  • Prompt: ?72,X
  • Line Location: OSO+8
Function Call: WRITE
  • Prompt: ?72,X
  • Line Location: OSF+5
Function Call: WRITE
  • Prompt: ZZ
  • Line Location: OUTF+22
Function Call: WRITE
  • Prompt: !
  • Line Location: L2+0
Function Call: WRITE
  • Prompt: !!,RM,?13,$E($P(Y(0),"^",1),1,24),?38,BID,?47,DTP
  • Line Location: L3+8
Function Call: WRITE
  • Prompt: ?67,Y
  • Line Location: L3+9
Function Call: WRITE
  • Prompt: !?13,"Nut. Status: ",Y
  • Line Location: L3+10
Function Call: WRITE
  • Prompt: ?72,X
  • Line Location: L3+10
Function Call: WRITE
  • Prompt: !?13,"Allergies: "
  • Line Location: L3+11
Function Call: WRITE
  • Prompt: !?13,"Diet Order: ",$S(LEN:$P(MEAL,",",1,LEN-1)_",",1:MEAL)
  • Line Location: L3+12
Function Call: WRITE
  • Prompt: !?24,$P(MEAL,",",LEN,999)
  • Condition for execution: LEN
  • Line Location: L3+13
Function Call: WRITE
  • Prompt: !?16,COM
  • Line Location: COM+1
Function Call: WRITE
  • Prompt: !?16,$E(COM,1,LEN-1)
  • Line Location: COM+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !,DTP,?(67-$L(WRDN)\2),WRDN," DIET ORDERS",?72,"Page ",PG
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !!?(79-$L(X)\2),X
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !!,"Room",?13,"Patient",?39,"ID#",?48,"Admission Date",?66,"Svc",?71,"Ord Date"
  • Line Location: HDR+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(405.4 - [#405.4] RM1+5, RM2+6, PROC+26
^DGPM - [#405] L3+3, L3+6
^DPT - [#2] L3+3, L3+7, RM+2, RM+3
^FH(111 - [#111] PROC+30
^FH(115.4 - [#115.4] GET+2
^FH(118 - [#118] FHORD81+3, OSF+3
^FH(118.2 - [#118.2] OUTF+13
^FH(118.3 - [#118.3] OSO+7
^FH(119.6 - [#119.6] FHORD81+6, PROC+11, PROC+12, PROC+13, PROC+14, F0+5, F2
^FHPT - [#115] RM1+4, RM2+4, RM2+5, PROC+23, PROC+24, PROC+25, PROC+36, PROC+37, PROC+38, OSO+2
OSF+1, OSF+2, OUTF+3, OUTF+4, OUTF+10, OUTF+11, L3+4, L3+13, GETGET+1
NPOCOM+1
^FHPT("AW" F2+1
^TMP("FH" FHORD81+3!, FHORD81+7, F0+5*
^TMP($J OUTP+4, OUTP+5, OUTP+7, OUTP+9, RMS+1*!, RMS+2, RMS+3, RMS+5, RMS+7, RMS+10!
RM1RM1+1, RM1+8*, RM2RM2+9*, PROC+2, REC+1, REC+2, F2+1!, F2+2
L2L3+1, RM+4*

Label References

Name Line Occurrences
COM L3+13
DT OSO+8, OSF+4, L3+10, L3+13
F0 FHORD81+6
F2 FHORD81+7
GET L3+10
HDR PROC+19, PROC+27, PROC+29, OSO+5, F2+2, L3+6
L2 L3+1
L3 L3+2, L3+3, L3+4, L3+5
NPO L3+13
OSF PROC+38
OSO PROC+37
OUTF PROC+36
PROC OUTP+11, REC+3
REC OUTP+10
RM F2+1
RM1 RMS+8
RM2 RMS+9
RMS OUTP+3

Naked Globals

Name Field # of Occurrence
^( FHORD81+6, OSO+2, F2+1, L3+1, L3+7, GETNPO
^(0 FHORD81+3, RM1+4, RM1+5, RM2+4, RM2+5, RM2+6, PROC+23, PROC+24, PROC+25, OSF+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % FHORD81+4
>> ADM OUTP+2*, F2+1*, L3+1*, L3+3, L3+4, L3+6, L3+13, GET+1, NPOCOM+1
RM+4
>> ALG L3+11
>> BID L3+8
C FHORD81+3!
C( FHORD81+3*, OSF+3
>> COM COM+1*, COM+2, COM+3*, COM+4
>> DFN L3+2, L3+3, L3+7, RM+1, RM+2, RM+3
DT FHORD81+4*, FHORD81+5
>> DTP OUTP+2*, PROC+32*, PROC+34, L3+6*, L3+8, HDR+1*, HDR+2
>> FHBID PROC+28
>> FHCAT PROC+3*, PROC+23, PROC+24, PROC+25, PROC+31, PROC+36, PROC+37, PROC+38
>> FHDAIN PROC+9*, PROC+23, PROC+24, PROC+25, PROC+36, PROC+37, PROC+38, OSO+2, OSF+1, OSF+2
OUTF+3, OUTF+4, OUTF+10, OUTF+11
>> FHDAT OUTP+8*, RMS+6*, RM1+1*, RM1+2, RM1+8, RM2*, RM2+1, RM2+2, RM2+9, PROC+2*
PROC+3, PROC+4, PROC+5, PROC+6, PROC+7, PROC+8, PROC+9, REC+2*
>> FHDFN RM1+2*, RM1+4, RM2+1*, RM2+4, RM2+5, PROC+4*, PROC+23, PROC+24, PROC+25, PROC+36
PROC+37, PROC+38, OSO+2, OSF+1, OSF+2, OUTF+3, OUTF+4, OUTF+10, OUTF+11, F2+1*
L2+1*, L3+1*, L3+4, L3+13, GETGET+1, NPOCOM+1, RM+4
>> FHDIE PROC+5*, PROC+30
>> FHDIET PROC+20*, PROC+30*, PROC+33
>> FHI OUTP+2*, OUTP+4*, OUTP+5, OUTP+7, OUTP+9, RMS+2*, RMS+3, RMS+5, RMS+7, RM1
RM1+1, RM1+8, RM2RM2+9, PROC+2, PROC+19, PROC+27, REC+1, REC+2
>> FHJ OUTP+5*, OUTP+6, OUTP+7, OUTP+9, RMS+3*, RMS+4, RMS+5, RMS+7, RM1RM1+1
RM2PROC+2, REC+1, REC+2
>> FHK OUTP+7*, OUTP+9, RMS+5*, RMS+7, RM1RM1+1, RM1+8, RM2RM2+4, RM2+5
RM2+9, PROC+2, PROC+32, REC+1, REC+2
>> FHL OUTP+9*, OUTP+10, RMS+7*, RMS+8, RM1*, RM1+1, RM1+4, RM1+8, PROC+40, REC+1*
REC+2
>> FHLD L3+13
>> FHLOC PROC+8*, PROC+11, PROC+12, PROC+13, PROC+14, PROC+17
>> FHLSAV OUTP+2*, PROC+19*, PROC+27*
>> FHMEAL PROC+7*, PROC+33
>> FHORD L3+13, NPOCOM+1
>> FHPLD PROC+1*, PROC+39*, REC+4
>> FHPTNM PROC+28
>> FHPTSA OUTP+2*, OUTP+6*, RMS+4*
>> FHRDAT3 OUTF+4*, OUTF+5, OUTF+6, OUTF+7, OUTF+8
>> FHSER PROC+10*, PROC+15*, PROC+18, PROC+28
>> FHSERC PROC+10*, PROC+13*, PROC+15
>> FHSERD PROC+10*, PROC+14*, PROC+15
>> FHSERT PROC+10*, PROC+12*, PROC+15
>> FHSTA PROC+6*, PROC+16
>> FHTFCC OUTF+17*, OUTF+30
>> FHTFCN OUTF+2*, OUTF+8*, OUTF+9*, OUTF+22, OUTF+30
>> FHTFCOM OUTF+2*, OUTF+5*, OUTF+22
>> FHTFDA OUTF+10*, OUTF+11
>> FHTFDAT OUTF+11*, OUTF+12, OUTF+14, OUTF+16, OUTF+17
>> FHTFKD OUTF+2*
>> FHTFPR OUTF+2*, OUTF+12*, OUTF+13*, OUTF+23, OUTF+26
>> FHTFQU OUTF+2*, OUTF+16*, OUTF+26
>> FHTFST OUTF+2*, OUTF+14*, OUTF+15*, OUTF+26
>> FHTFTC OUTF+2*, OUTF+6*, OUTF+22
>> FHTFTKD OUTF+7*, OUTF+22
>> FHTYP RM2+2*, RM2+4, RM2+5, PROC+31*, PROC+34
>> FHXX PROC+16, PROC+17, F0+2, F0+3, F0+4
IOF HDR+1
IOSL PROC+29, OSO+5, OUTF+20, OUTF+24, OUTF+28, L3+6
>> K OSO+2*, OSO+3, OSO+4*, OSO+6, OSO+7, OSO+8, OSF+3*
>> K1 OSF+3*, OSF+5*, F0+2*, F0+3*, F0+4*, F0+5, NPO*
>> K2 OSF+3*
>> K3 FHORD81+5*
L FHORD81+3*, OSF+2!, OSF+3*
>> LEN L3+4*, L3+12, L3+13, COM+2*, COM+3
>> LST OSF+4*, NPO*, NPO+1
M OSO+3*, OSO+4*, OSO+6, OSO+7, OSO+8, OSF+2!
M1 OSF+2!
M2 OSO+6*, OSO+7, OSF+2!
>> MEAL L3+4*, L3+12, L3+13
N OSO+2!, OSF+2!
N( OSO+3*, OSO+4, OSO+6, OSO+7, OSO+8, OSF+3*, OSF+5
>> NM OSF+1*, OSF+2
>> NOW FHORD81+4*, NPOHDR+1
>> NX F2+2*, L2*, L3+1, L3+7
>> NXW FHORD81+7*
>> OLD FHORD81+4*, NPO+1
>> OLN FHORD81+4*, OSF+4
>> P0 F0+4*, F0+5
>> P1 OSF+4*, OSF+5*
>> PG FHORD81+7*, HDR+1*, HDR+2
>> Q OSF+3*
>> QTY OSO+6*, OSO+7
>> REC FHORD81+7*, OUTF+1*
>> RM OUTP+2*, RM1+3*, RM1+4*, RM1+5*, RM1+6*, RM1+7*, RM1+8, RM2+3*, RM2+4*, RM2+5*
RM2+6*, RM2+7*, RM2+8*, RM2+9, PROC+22*, PROC+23*, PROC+24*, PROC+25*, PROC+26*, PROC+28
L3+7*, L3+8, RM+2*, RM+3*, RM+4*
>> SER PROC+18, L3+5, HDR+3
>> SRT OUTP+3, L3+7, RM+2
U RM1+2, RM1+4, RM1+5, RM2+1, RM2+2, RM2+4, RM2+5, RM2+6, PROC+3, PROC+4
PROC+5, PROC+6, PROC+7, PROC+8, PROC+9, PROC+12, PROC+13, PROC+14, PROC+23, PROC+24
PROC+25, PROC+26, PROC+30, OSF+1, OSF+3, OUTF+5, OUTF+6, OUTF+7, OUTF+8, OUTF+12
OUTF+13, OUTF+14, OUTF+16, OUTF+17, F0+1
>> W1 FHORD81+6*, FHORD81+7*, F0+3, F0+5, F2F2+1
>> WRD PROC+16, PROC+17, F0+2, F0+3
>> WRDN PROC+19*, F0+5*, F2*, HDR+2
>> X FHORD81+4, FHORD81+5, FHORD81+6*, OSO+2*, OSO+3, OSO+8*, OSF+4*, OSF+5, F0+1, F0+2
F0+3, F0+4, L3+10*, L3+13*, DT*, HDR+3*
>> X0 L3+4*, L3+5, L3+9, L3+12
>> X1 FHORD81+4*, FHORD81+5*
>> X2 FHORD81+4*, FHORD81+5*
>> X5 L3+10, GET*, GET+1, GET+2
>> Y OSF+2*, OSF+3, OSF+4, L3+4, L3+9*, L3+10, GET*, GET+2*
>> Y(0 L3+3*, L3+8
>> Z OSO+4*, OSO+7, OSF+3*
>> ZZ OUTF+22*, OUTF+26*, OUTF+27, OUTF+30*, OUTF+31, L3+11*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All