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

Package: Nursing Service

Routine: NURARPC2


Information

NURARPC2 ;HIRMFO/MD-CONTINUATION OF DRIVER TO PRINT AMIS 1106 ACUITY REPORTS ;5/9/97

Source Information

Source file <NURARPC2.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Nursing Service 2 ENDPG^NURSUT1  $$CNTR^NURSUT2  
VA Fileman 1 D^DIQ  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Nursing Service 2 NURARPC3  NURARPC4  

Entry Points

Name Comments DBIA/ICR reference
PRINTRPT ; PRINT REPORT
C
B
E
D
BRK2 ; FACILITY TOTALS
WRITE
HEADER ; HEADINGS
HEADER1
L2
L0
L1
BRK ; UNIT TOTALS
BRK1 ; DATE TOTALS

External References

Name Field # of Occurrence
D^DIQ HEADER+4
ENDPG^NURSUT1 HEADER+1
$$CNTR^NURSUT2 HEADER+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?$$CNTR^NURSUT2(NURFAC(2)),$S(NURFAC(2)=" BLANK":"NO FACILITY",1:NURFAC(2))
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: !!,Y,?(80-$L(NURSHDR(1)))\2,NURSHDR(1),?70,"PAGE: ",NURPAGE,!,?(80-$L(NURSHDR(2)))\2,NURSHDR(2),!,?(80-$L(NURSHDR))\2,NURSHDR,!
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: ?22,"CATEGORY I II III IV V CLASS."
  • Line Location: HEADER1+0
Function Call: WRITE
  • Prompt: !,"WARD: ",$S(NBDSECT="":NF1,1:NF2)
  • Line Location: WRITE+4
Function Call: WRITE
  • Prompt: !,"BED SECTION: ",NF1
  • Line Location: WRITE+5
Function Call: WRITE
  • Prompt: !,?6,NF2
  • Line Location: B+0
Function Call: WRITE
  • Prompt: !,?6,$S(NBDSECT="":NF2,1:NF1)
  • Line Location: B+1
Function Call: WRITE
  • Prompt: ?34,$J(NC(1),3),?42,$J(NC(2),3),?50,$J(NC(3),3),?58,$J(NC(4),3),?66,$J(NC(5),3),?74,$J(NCEN,3)
  • Line Location: C+0
Function Call: WRITE
  • Prompt: !,?34,"--- --- --- --- --- ---",!,$S(+NHOSPSW:"SUBTOTAL ",1:"TOTAL"),?34,$J(NTC(1),3),?42,$J(NTC(2),3),?50,$J(NTC(3),3),?58,$J(NTC(4),3),?66,$J(NTC(5),3),?74,$J(NTCEN,3),!
  • Line Location: BRK+3
Function Call: WRITE
  • Prompt: !,?34,"--- --- --- --- --- ---",!,$E(HDATE(1),4,5)_"/"_$E(HDATE(1),6,7)_"/"_$E(HDATE(1),2,3)," TOTAL",?34,$J(DTC(1),3),?42,$J(DTC(2),3),?50,$J(DTC(3),3),?58,$J(DTC(4),3),?66,$J(DTC(5),3),?74,$J(DTCEN,3),!
  • Line Location: BRK1+2
Function Call: WRITE
  • Prompt: !,?34,"--- --- --- --- --- ---",!,NURFAC(2)," TOTALS",?33,$J(NFTC(1),4),?41,$J(NFTC(2),4),?49,$J(NFTC(3),4),?57,$J(NFTC(4),4),?65,$J(NFTC(5),4),?73,$J(NFTCEN,4),!
  • Line Location: BRK2+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J PRINTRPT+1, L0, L1, L2, WRITE+1

Label References

Name Line Occurrences
B WRITE+4
BRK L1
BRK1 PRINTRPT+1
BRK2 L0
C B
D WRITE+3
E BRK+1
HEADER PRINTRPT+1, L0, WRITE, BRK+2, BRK1+1, BRK2+1
HEADER1 PRINTRPT+1, L0, WRITE, BRK+2, BRK1+1, BRK2+1
L0 PRINTRPT+1
L1 L0
L2 L1
PRINTRPT NURARPC2+2
WRITE L2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DT HEADER+4
>> DTC(1 E*, BRK1+2, BRK1+3*
>> DTC(2 E*, BRK1+2, BRK1+3*
>> DTC(3 E*, BRK1+2, BRK1+3*
>> DTC(4 E*, BRK1+2, BRK1+3*
>> DTC(5 E*, BRK1+2, BRK1+3*
>> DTCEN E*, BRK1+2, BRK1+3*
>> HDATE(1 HEADER1, PRINTRPT+1*, L0, L1, L2, WRITE+1, BRK1+2
>> HDRDT HEADER+2*, HEADER+3
IO NURARPC2+2
IOF HEADER+4
IOSL WRITE, BRK+2, BRK1+1, BRK2+1
IOST HEADER+1, HEADER+4
>> NBDSECT WRITE+4, B+1
>> NC(1 WRITE+2*, C, D
>> NC(2 WRITE+2*, C, D
>> NC(3 WRITE+2*, C, D
>> NC(4 WRITE+2*, C, D
>> NC(5 WRITE+2*, C, D
>> NCEN WRITE+2*, C, D
>> NDATA WRITE+1*, WRITE+2
>> NDATED HEADER+2, HEADER+3
>> NF1 L1*, L2, WRITE+1, WRITE+4, WRITE+5, B+1
>> NF2 L2*, WRITE+1, WRITE+4, B, B+1
>> NFC(1 E+2*
>> NFC(2 E+2*
>> NFC(3 E+2*
>> NFC(4 E+2*
>> NFC(5 E+2*
>> NFCEN E+2*
>> NFTC(1 E+1*, BRK2+2, BRK2+3*
>> NFTC(2 E+1*, BRK2+2, BRK2+3*
>> NFTC(3 E+1*, BRK2+2, BRK2+3*
>> NFTC(4 E+1*, BRK2+2, BRK2+3*
>> NFTC(5 E+1*, BRK2+2, BRK2+3*
>> NFTCEN E+1*, BRK2+2, BRK2+3*
>> NHOSPSW HEADER+6, PRINTRPT+1, L0, BRK+3
>> NTC(1 D*, BRK+3, E, E+1, E+2, E+3*
>> NTC(2 D*, BRK+3, E, E+1, E+2, E+3*
>> NTC(3 D*, BRK+3, E, E+1, E+2, E+3*
>> NTC(4 D*, BRK+3, E, E+1, E+2, E+3*
>> NTC(5 D*, BRK+3, E, E+1, E+2, E+3*
>> NTCEN D*, BRK+3, E, E+1, E+2, E+3*
>> NURFAC(2 HEADER+6, L0*, L1, L2, WRITE+1, BRK2+2
>> NURMDSW HEADER+6, PRINTRPT+1, L0
>> NURMDSW(1 HEADER+1, HEADER+4*, WRITE
>> NURMDSW(2 WRITE+4, WRITE+5, D*, E+3*, BRK1+3*, BRK2+3*
>> NUROUT HEADER+1, PRINTRPT+1, L0, L1, L2, WRITE, BRK+2, BRK1+1, BRK2+1
>> NURPAGE HEADER+4*, HEADER+7
>> NURSHDR HEADER+3*, HEADER+7
>> NURSHDR(1 HEADER+5*, HEADER+7
>> NURSHDR(2 HEADER+5*, HEADER+7
>> NURSTYPE WRITE+4, B
>> NURSUMSW HEADER+6, HEADER1, L0, WRITE+3, BRK+1
>> NURTYPE HEADER+3*
U HEADER+2, WRITE+2
>> Y HEADER+4*, HEADER+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All