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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: NURA9D2

Package: Nursing Service

Routine: NURA9D2


Information

NURA9D2 ;HIRMFO/YH,MH,MD,RM,FT-FTEE PROFILE BY LOCATION AND SERVICE POSITION ;5/2/97

Source Information

Source file <NURA9D2.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Nursing Service 10 NHDR1^NURA9D1  EN4^NURAAGS0  EN2^NURAED3  ^NURAKILL  EN5^NURSAGP0  (EN1,EN2,EN5,EN9,PRD)^NURSAGSP  EN1^NURSAUTL  (EN7,EN9)^NURSUT0  
(CLOSE,ENDPG,NODATA)^NURSUT1  $$CNTR^NURSUT2  
VA FileMan 2 ^%DT  D^DIQ  
Kernel 1 $$REPEAT^XLFSTR  

Entry Points

Name Comments DBIA/ICR reference
START ;
QUIT
NPRINT
NM
NN
NO
NP
NQ
NR
NS
NT
NPPRINT
NHDR
SORT
NSUB ; SUBTOTAL ROUTINE
PSUB ; PRODUCT LINE SUBTOTAL ROUTINE
FSUB ; FACILITY SUBTOTAL ROUTINE

External References

Name Field # of Occurrence
^%DT NHDR+3
D^DIQ NHDR+3
NHDR1^NURA9D1 NHDR+8
EN4^NURAAGS0 SORT
EN2^NURAED3 START+4
^NURAKILL QUIT
EN5^NURSAGP0 NURA9D2+10
EN1^NURSAGSP NURA9D2+8
EN2^NURSAGSP NURA9D2+9
EN5^NURSAGSP NURA9D2+6
EN9^NURSAGSP NURA9D2+5
PRD^NURSAGSP NURA9D2+7
EN1^NURSAUTL NURA9D2+4
EN7^NURSUT0 NURA9D2+11
EN9^NURSUT0 NPPRINT+2
CLOSE^NURSUT1 QUIT
ENDPG^NURSUT1 NHDRSORT+3
NODATA^NURSUT1 SORT+2, SORT+6
$$CNTR^NURSUT2 NHDR+2
$$REPEAT^XLFSTR NHDR+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: NURA9D2+8
Function Call: WRITE
  • Prompt: !
  • Line Location: NURA9D2+9
Function Call: WRITE
  • Prompt: !
  • Line Location: NURA9D2+10
Function Call: WRITE
  • Prompt: !!,?20,NURLINE,!,"REPORT TOTAL",?18,$J(NCT,8,3),!!,"COUNT - ASSIGN.",?18,$J(NTCT,8,3)
  • Line Location: START+4
Function Call: WRITE
  • Prompt: ?36,"PERSONNEL",?62,$J(NTOT,8,3)
  • Line Location: START+4
Function Call: WRITE
  • Prompt: !!,"MEAN - ASSIGN.",?18,$S(NCT>0&(NTCT>0):$J((NCT/NTCT),8,3),1:" 0.000"),?36,"PERSONNEL",?62,$S(NCT>0&(NTOT>0):$J((NCT/NTOT),8,3),1:" 0.000")
  • Line Location: START+5
Function Call: WRITE
  • Prompt: !
  • Line Location: NO+0
Function Call: WRITE
  • Prompt: !,$S(+NFTEE:" ",1:"** ")
  • Line Location: NPPRINT+7
Function Call: WRITE
  • Prompt: !,?$$CNTR^NURSUT2(NURFAC(2)),$S($G(NURFAC(2))=" BLANK":"NO FACILITY",1:$G(NURFAC(2)))
  • Line Location: NHDR+2
Function Call: WRITE
  • Prompt: !,"FTEE PROFILE BY LOCATION AND SERVICE POSITION"
  • Line Location: NHDR+3
Function Call: WRITE
  • Prompt: ?56,Y,?72,"PAGE: ",NURPAGE
  • Line Location: NHDR+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: NHDR+4
Function Call: WRITE
  • Prompt: !,"SERVICE",?36,"EMPLOYEE"
  • Line Location: NHDR+5
Function Call: WRITE
  • Prompt: !,"POSITION",?22,"FTEE",?36,"NAME",?64,"LOCATION"
  • Line Location: NHDR+6
Function Call: WRITE
  • Prompt: ?85,"TOUR"
  • Condition for execution: IOM>120
  • Line Location: NHDR+6
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",IOM)
  • Line Location: NHDR+7
Function Call: WRITE
  • Prompt: !
  • Line Location: SORT+0
Function Call: WRITE
  • Prompt: !,"THERE IS NO DATA FOR THIS REPORT"
  • Line Location: SORT+1
Function Call: WRITE
  • Prompt: !?21,"-----"
  • Line Location: NSUB+1
Function Call: WRITE
  • Prompt: !,$S($E(NURPROG(2),1)=" ":$E(NURPROG(2),2,99),1:NURPROG(2))_" TOTALS"
  • Line Location: PSUB+1
Function Call: WRITE
  • Prompt: !?20,"******"
  • Line Location: PSUB+1
Function Call: WRITE
  • Prompt: !,"SUBTOTAL",?18,$J(PSUBT,8,3)
  • Line Location: PSUB+2
Function Call: WRITE
  • Prompt: !,NURFAC(2)_" TOTALS"
  • Line Location: FSUB+1
Function Call: WRITE
  • Prompt: !?20,NURLINE
  • Line Location: FSUB+1
Function Call: WRITE
  • Prompt: !,"SUBTOTAL",?18,$J(FSUBT,8,3)
  • Line Location: FSUB+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(213.9 - [#213.9] NURA9D2+2
^TMP("NURA" START+1!, QUIT!, NPPRINT+3*
^TMP("NURLOC" START+1!, SORT+4*, SORT+5
^TMP($J START+1!, QUIT!, NPRINTNMNNNONPNQNRNS
NTSORT+1, SORT+2, SORT+3, SORT+4

Label References

Name Line Occurrences
FSUB NPRINT
NHDR START+2, NMNNNPPRINTSORT+1, SORT+2, SORT+6, NSUB+1, PSUB+1, FSUB+1
NM NPRINT
NN NM
NO NN
NP NO
NPPRINT NT
NPRINT START+2
NQ NP
NR NQ
NS NR
NSUB NO
NT NS
PSUB NM
QUIT NURA9D2+4, NURA9D2+6, NURA9D2+7, NURA9D2+8, NURA9D2+9, NURA9D2+10, NURA9D2+11, START+2
SORT START+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA NT*, NPPRINT+2~*
DA(1 NS*, NTNPPRINT+1, NPPRINT+3
>> DIC(0 NURA9D2+6*
>> FCT START+1*, FSUB+3*
>> FSUBC START+1*, NPPRINT+6*, FSUB+2, FSUB+4*
>> FSUBM NPPRINT+6*, FSUB+4*
>> FSUBT START+1*, NPPRINT+6*, FSUB+2, FSUB+3, FSUB+4*
IO START+1
IOF NHDR+1
IOM NPPRINT+11, NHDR+6, NHDR+7
IOSL START+2, NPPRINTNSUB+1, PSUB+1, FSUB+1
IOST NHDRNHDR+1
>> N1 NR*, NSNTNPPRINT+10
>> NCT START+1*, START+2*, START+4, START+5, NSUB+3*
>> NFTEE NQ*, NRNSNTNPPRINT+4, NPPRINT+5, NPPRINT+6, NPPRINT+7, NPPRINT+9
>> NL1 NN*, NONPNPPRINT+11, SORT+2*, SORT+5*
>> NPRI NO*, NP
>> NRPT SORT*
>> NSPO NP*, NPPRINT+8
>> NSUBC START+1*, NPPRINT+4*, NSUB+2, NSUB+3, NSUB+4*
>> NSUBM NPPRINT+4*, NSUB+4*
>> NSUBT START+1*, START+2, NPPRINT+4*, NSUB+2, NSUB+3, NSUB+4*
>> NTCT START+1*, START+4, START+5, NSUB+3*
>> NTOT START+4, START+5
NTOUR QUIT!, NPPRINT+1*, NPPRINT+2, NPPRINT+11
NUM QUIT!
NUR QUIT!
NUR(1 NPPRINT+1
>> NURFAC SORT+1, SORT+2, SORT+6
>> NURFAC(1 SORT+1, SORT+2, SORT+6
>> NURFAC(2 NPRINT*, NMNNNONPNHDR+2, SORT+1*, SORT+2*, SORT+6*, FSUB+1
>> NURLINE START+3*, START+4, FSUB+1*
>> NURMDSW NURA9D2+3*, NURA9D2+6, NURA9D2+7, NPRINTNHDR+2
>> NUROUT NURA9D2+3*, NURA9D2+4, NURA9D2+6, NURA9D2+7, NURA9D2+8, NURA9D2+9, NURA9D2+10, START+2, NHDRSORT+1*
SORT+2*
>> NURPAGE START+1*, NHDR+1*, NHDR+3
NURPLSCR NURA9D2+6*!, NURA9D2+7*!
>> NURPLSW NURA9D2+3*, NURA9D2+7, NMNHDR+8
>> NURPROG SORT+1, SORT+2, SORT+6
>> NURPROG(1 SORT+1, SORT+2, SORT+6
>> NURPROG(2 NPRINT*, NM*, NNNONPSORT+1*, SORT+2*, SORT+6*, PSUB+1
>> NURQUEUE NURA9D2+3*, NHDR
>> NURQUIT START+1*, START+2, NPRINTNMNNNONPNQNRNS
NTNPPRINTNPPRINT+11, NHDR*, NSUB+1, PSUB+1, FSUB+1
>> NURSNLOC SORT+1, SORT+2, SORT+3
>> NURSNLOC( SORT+2, SORT+5
>> NURSORT NP*, NQNRNSNTNPPRINT+3
>> NURSW1 START+1*, NPPRINT+3*, NHDRSORT+3*, SORT+6*
>> NURX SORT+4*
>> NURY SORT+4*
>> NURZ SORT+4*
>> NWRD NHDR+2
>> PCT START+1*, PSUB+3*
>> POP NURA9D2+11
>> PSUBC START+1*, NPPRINT+5*, PSUB+2, PSUB+4*
>> PSUBM NPPRINT+5*, PSUB+4*
>> PSUBT START+1*, NPPRINT+5*, PSUB+2, PSUB+3, PSUB+4*
>> X NHDR+3*
>> Y NHDR+3
>> ZTDESC NURA9D2+11*
>> ZTRTN NURA9D2+11*
>> ZTSK NURA9D2+11
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All