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

Package: Nursing Service

Routine: NURARWL9


Information

NURARWL9 ;HIRMFO/MD-FACILITY TOTAL ROUTINE FOR WORKLOAD STATISTICS REPORTS ;1/22/99 13:30

Source Information

Source file <NURARWL9.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Kernel 2 $$FMTE^XLFDT  $$REPEAT^XLFSTR  
VA FileMan 2 NOW^%DTC  DT^DIQ  
Nursing Service 1 ENDPG^NURSUT1  

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
Nursing Service 3 NURARWL1  NURARWL2  NURARWL5  

Entry Points

Name Comments DBIA/ICR reference
FACTOT ; FACILITY TOTALS
VAR ;
GOOD ;
PRT
HEADER ;

External References

Name Field # of Occurrence
NOW^%DTC HEADER+5
DT^DIQ HEADER+5
ENDPG^NURSUT1 HEADER+1
$$FMTE^XLFDT HEADER+6
$$REPEAT^XLFSTR FACTOT+4, HEADER+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,?18,$$REPEAT^XLFSTR("-",114)
  • Line Location: FACTOT+4
Function Call: WRITE
  • Prompt: ?48,$J($P(NFREQ,U,2),4,1),?54,$J($P(NFFTEE,U,2),4,1)
  • Line Location: FACTOT+6
Function Call: WRITE
  • Prompt: ?93,$J($P(NFPROD,U,3),3,0)
  • Condition for execution: NURSZAP'>6 ?67,$J($P(NFPROD,U,2),3,0) W ?74,$J($P(NFREQ,U,3),4,1),?80,$J($P(NFFTEE,U,3),4,1),?86,$J($P(NFVAR,U,3),5,1) W:NURSZAP'>6
  • Line Location: FACTOT+7
Function Call: WRITE
  • Prompt: !?15,$E(UNIT,1,10),?30,TOTA,?35,"|",?39,TOTB,?43,"|",?46,VAR,?51,"|",?54,$S($G(PC2)>0:PC2_"%",$G(TOTA)>0:PC2_"%",1:"*NSS*"),?59,"|"
  • Line Location: PRT+1
Function Call: WRITE
  • Prompt: !?15,$E(NPFAC,1,13),?30,TOTA(NPFAC),?35,"|",?39,TOTB(NPFAC),?43,"|",?46,VAR(NPFAC),?51,"|",?54,$S($G(PC2(NPFAC))>0:PC2(NPFAC)_"%",$G(TOTA(NPFAC))>0:PC2(NPFAC)_"%",1:"*NSS*"),?59,"|"
  • Line Location: PRT+2
Function Call: WRITE
  • Prompt: !?15,"---------------------------------------------"
  • Line Location: PRT+3
Function Call: WRITE
  • Prompt: ?$X," FOR ",$G(NPFAC)
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: !?15,"DATE: "
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: ?($X+2),$S(NURSHFT="D":"DAY",NURSHFT="E":"EVENING",NURSHFT="N":"NIGHT",1:"")," SHIFT"
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: " (PROJECTED) FOR "_$$FMTE^XLFDT(NRPTDAT,"2D")
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: !!?15,"INSTRUCTIONS:",!?15,"COLUMN A: Total FTEE on duty (from computer printout and staffing adjustments)",!?15,"COLUMN B: Total FTEE required for workload (taken from computer print-out)"
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: !?15,"COLUMN C: Total Variance by FTEE (Column A - Column B = Column C)",!?15,"COLUMN D: Percentage of Total Variance (Column A / Column B = Column D)",!?26,"The letters *NSS* in COLUMN D indicate that no staff are scheduled for this unit"
  • Line Location: HEADER+8
Function Call: WRITE
  • Prompt: !!?15," SOD",?38,"REQ",?46,"VAR",?54,"%TV"
  • Line Location: HEADER+9
Function Call: WRITE
  • Prompt: !?15,$S($G(NURSUMSW):"FACILITY",1:"UNIT")_" A",?39,"B",?47,"C",?55,"D"
  • Line Location: HEADER+10
Function Call: WRITE
  • Prompt: !,?15,$$REPEAT^XLFSTR("-",45)
  • Line Location: HEADER+11

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("NURVAR" VAR+2, VAR+3, GOOD+4, GOOD+12

Label References

Name Line Occurrences
GOOD VAR+2, VAR+3
HEADER VAR+2, VAR+3, PRT

Naked Globals

Name Field # of Occurrence
^( VAR+2, GOOD+4, GOOD+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % HEADER+5
>> FCOUNT( FACTOT+9, FACTOT+11, FACTOT+12*
IO HEADER+3
IOF HEADER+3
IOSL PRT
IOST HEADER+1, HEADER+3
>> MFHRS( FACTOT+9, FACTOT+10, FACTOT+12*
>> NBR FACTOT+16*
>> NFFTEE FACTOT+2, FACTOT+6, FACTOT+7, FACTOT+14*
>> NFPC FACTOT+8, FACTOT+15*
>> NFPCC FACTOT+8, FACTOT+16*
>> NFPROD FACTOT+2*, FACTOT+6, FACTOT+7, FACTOT+14*
>> NFREQ FACTOT+2, FACTOT+5, FACTOT+6, FACTOT+7, FACTOT+14*
>> NFVAR FACTOT+2*, FACTOT+6, FACTOT+7
>> NHOS GOOD+2, HEADER+4
>> NPCT HEADER+2*, HEADER+3
>> NPFAC FACTOT+6, FACTOT+10, VAR+2*, VAR+3*, GOOD+4, GOOD+11, GOOD+12, GOOD+13, GOOD+14, GOOD+15
GOOD+16, PRT+2, HEADER+4
>> NPWARD GOOD+2
>> NRPTDAT HEADER+6
>> NRPTDAT("PWLS" HEADER+6
>> NSW1 VAR+1*, GOOD+11*, PRTHEADER+1, HEADER+2*
>> NURMDSW HEADER+4
>> NUROUT HEADER+1
>> NURQUIT VAR+2, PRTHEADER+1*
>> NURSHFT HEADER+5
>> NURSUMSW FACTOT+4, FACTOT+17, VAR+1, VAR+2, VAR+3, GOOD+1, GOOD+10, PRTPRT+1, PRT+2
HEADER+4, HEADER+10
>> NURSZAP FACTOT+2, FACTOT+6, FACTOT+7
>> PC1 GOOD+3*, GOOD+6, GOOD+7, GOOD+8*
>> PC1( GOOD+11*, GOOD+14, GOOD+15, GOOD+16*
>> PC2 GOOD+3*, GOOD+6*, GOOD+7*, GOOD+8*, PRT+1
>> PC2( GOOD+11*, GOOD+14*, GOOD+15*, GOOD+16*, PRT+2
>> PCT VAR+1*, GOOD+8*
>> PCT( GOOD+11*, GOOD+16*
>> PRT GOOD+3*
>> TOT1 VAR+1*
>> TOT2 VAR+1*
>> TOTA GOOD+4*, GOOD+5, GOOD+6, GOOD+8, PRT+1
>> TOTA( GOOD+11*, GOOD+12*, GOOD+13, GOOD+14, GOOD+16, PRT+2
>> TOTB GOOD+4*, GOOD+5, GOOD+7, GOOD+8, PRT+1
>> TOTB( GOOD+11*, GOOD+12*, GOOD+13, GOOD+15, GOOD+16, PRT+2
U FACTOT+2, FACTOT+5, FACTOT+6, FACTOT+7, FACTOT+8, FACTOT+9, FACTOT+10, FACTOT+11, FACTOT+14, FACTOT+15
VAR+2, GOOD+4, GOOD+12
>> UNIT VAR+1*, VAR+2*, GOOD+1, GOOD+2, GOOD+4, PRT+1
>> VAR VAR+1*, GOOD+5*, PRT+1
>> VAR( GOOD+11*, GOOD+13*, PRT+2
>> X FACTOT+14*, FACTOT+15*
>> Y FACTOT+1*, FACTOT+2, HEADER+5*
>> Z FACTOT+9*, FACTOT+10, FACTOT+11, FACTOT+12
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All