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

Package: PAID

Routine: PRSNRLS0


Information

PRSNRLS0 ;WOIFO/KJS - All Activity at a Nursing Location - Summary and Detailed;12-8-2011

Source Information

Source file <PRSNRLS0.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
PAID 5 $$ASK^PRSLIB00  ($$ISACTIVE,$$ISNURSE,$$POCRANGE)^PRSNUT01  $$PRIMLOC^PRSNUT03  PIKGROUP^PRSNUT04  $$AMT^PRSPSAPU  
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
PAID 1 PRSNR NURLOC ACTIVITY  

Entry Points

Name Comments DBIA/ICR reference
COORD ;Entry point for VANOD Coordinator
; Coordinator has no access limits so let them pick any group
MAIN ;
REPORT ;for group of location
INFO ;Find nurse information to display in report
DATA ;Extract display data from POCD array
TOTTIME ;
; save hours into work array
HDRSUM ;Display header for report of Individual Nurse Activity
PRTSUM ; Loop through Totals array and print each one
PPP ;
HDRDET ;Display header for report of Individual Nurse Activity
PRTDET ;Print report
TYPE ;Choose summary or detailed group activity report
DATE ; User is prompted for a date range
QUE ;call to generate and display report for individual activity

External References

Name Field # of Occurrence
^%ZIS QUE+3
^%ZISC REPORT+49
^%ZTLOAD QUE+17
^DIR TYPE+6
$$ASK^PRSLIB00 PPP+7, PRTDET+20
$$ISACTIVE^PRSNUT01 REPORT+18
$$ISNURSE^PRSNUT01 INFO+7
$$POCRANGE^PRSNUT01 DATE+2
$$PRIMLOC^PRSNUT03 INFO+10
PIKGROUP^PRSNUT04 COORD+3
$$AMT^PRSPSAPU DATA+12

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?TAB,GHD,!
  • Line Location: REPORT+21
Function Call: WRITE
  • Prompt: ?TAB
  • Line Location: REPORT+22
Function Call: WRITE
  • Prompt: "-"
  • Line Location: REPORT+22
Function Call: WRITE
  • Prompt: !!,"End of Report"
  • Line Location: REPORT+48
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDRSUM+2
Function Call: WRITE
  • Prompt: ?20,"All Activity at a Nurse Location Summary Report"
  • Line Location: HDRSUM+4
Function Call: WRITE
  • Prompt: !,?15,EXTBEG_" - "_EXTEND,?45,"Run Date: ",TODAY,?70,"Page: ",$J(PG,3)
  • Line Location: HDRSUM+5
Function Call: WRITE
  • Prompt: !
  • Line Location: HDRSUM+6
Function Call: WRITE
  • Prompt: !,"Nurse Name",?21,"Type of",?32,"Type of",?48,"Primary Location",?68,"# of",?75,"T&L"
  • Line Location: HDRSUM+7
Function Call: WRITE
  • Prompt: !,"Skill Mix",?22,"Time",?33,"Work",?68,"Hours",?75,"Unit"
  • Line Location: HDRSUM+8
Function Call: WRITE
  • Prompt: !,"--------------------------------------------------------------------------------"
  • Line Location: HDRSUM+9
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTSUM+10
Function Call: WRITE
  • Prompt: !,$E(PRSNAME,1,19)
  • Line Location: PPP+1
Function Call: WRITE
  • Prompt: ?21,TT,?32,$E(TWD,1,14),?48,$E($P(PRIMLOC,U,3),1,18),?66,$J(HOURS,7,2),?75,PRSNTL
  • Line Location: PPP+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PPP+3
Function Call: WRITE
  • Prompt: " ",$E(SKILMIX,1,17)
  • Line Location: PPP+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDRDET+2
Function Call: WRITE
  • Prompt: ?20,"All Activity at a Nurse Location Detail Report"
  • Line Location: HDRDET+4
Function Call: WRITE
  • Prompt: !,?15,EXTBEG_" - "_EXTEND,?45,"Run Date: ",TODAY,?70,"Page: ",$J(PG,3)
  • Line Location: HDRDET+5
Function Call: WRITE
  • Prompt: !
  • Line Location: HDRDET+6
Function Call: WRITE
  • Prompt: !,"Nurse Name",?21,"Last 4",?29,"Start/",?38,"Type of",?49,"Mand",?57,"Meal",?63,"Primary Location/"
  • Line Location: HDRDET+7
Function Call: WRITE
  • Prompt: !,"Skill Mix",?23,"SSN/",?29,"Stop",?39,"Time",?50,"OT",?57,"Time",?64,"Type of Work"
  • Line Location: HDRDET+8
Function Call: WRITE
  • Prompt: !,"Date",?23,"T&L",?29,"Time"
  • Line Location: HDRDET+9
Function Call: WRITE
  • Prompt: !,"--------------------------------------------------------------------------------"
  • Line Location: HDRDET+10
Function Call: WRITE
  • Prompt: !,$E(PRSNAME,1,19)
  • Line Location: PRTDET+1
Function Call: WRITE
  • Prompt: !," ",PRSNDATE
  • Line Location: PRTDET+3
Function Call: WRITE
  • Prompt: ?22,$E(PRSNSSN,6,9)
  • Line Location: PRTDET+4
Function Call: WRITE
  • Prompt: ?29,PRSNST
  • Line Location: PRTDET+5
Function Call: WRITE
  • Prompt: ?38,PRSNLNG
  • Line Location: PRTDET+6
Function Call: WRITE
  • Prompt: ?51,PRSNM
  • Line Location: PRTDET+7
Function Call: WRITE
  • Prompt: ?58,MEAL
  • Line Location: PRTDET+8
Function Call: WRITE
  • Prompt: ?65,$E($P(PRIMLOC,U,3),1,14)
  • Line Location: PRTDET+9
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTDET+10
Function Call: WRITE
  • Prompt: " ",$E(SKILMIX,1,17)
  • Line Location: PRTDET+11
Function Call: WRITE
  • Prompt: ?22,PRSNTL
  • Line Location: PRTDET+12
Function Call: WRITE
  • Prompt: ?29,PRSNSP
  • Line Location: PRTDET+13
Function Call: WRITE
  • Prompt: ?65,$E(PRSNTWD,1,14)
  • Line Location: PRTDET+14
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTDET+15
Function Call: WRITE
  • Prompt: " ",PRSNDATE,!
  • Line Location: PRTDET+17
Function Call: WRITE
  • Prompt: !,"Request "_ZTSK_" queued."
  • Line Location: QUE+18
Routine Call
  • %ZIS
  • Line Location:
    • QUE+3
Routine Call
  • DIR
  • Line Location:
    • TYPE+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRSN(451 - [#451] REPORT+26, REPORT+34, REPORT+37, REPORT+39, REPORT+41, REPORT+42
^PRSN(451.5 - [#451.5] DATA+30, DATA+33
^PRSPC - [#450] REPORT+26, INFO+3, INFO+9
^PRST(457.3 - [#457.3] DATA+19, DATA+23
^PRST(458 - [#458] REPORT+10, REPORT+11, REPORT+35
^TMP($J REPORT+7!, REPORT+24!, REPORT+26*, REPORT+28, REPORT+30, REPORT+50!

Label References

Name Line Occurrences
DATA REPORT+43
DATE MAIN+7
HDRDET REPORT+13, PRTDET+20
HDRSUM REPORT+12, PPP+7
INFO REPORT+32
MAIN COORD+7
PPP PRTSUM+8
PRTDET REPORT+45
PRTSUM REPORT+47
QUE MAIN+9
REPORT QUE+20
TOTTIME REPORT+44
TYPE MAIN+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS QUE+1~, QUE+2*
BEG MAIN+1~, MAIN+3~, REPORT+10, DATE+6*
BEGDAY REPORT+2~, REPORT+10*, REPORT+36
BEGPP REPORT+2~, REPORT+10*, REPORT+33, REPORT+36
CNT PRTSUM+2~, PRTSUM+3*, PRTSUM+7*, PRTSUM+10
DAYBEG MAIN+2~
DAYEND MAIN+2~
DIR TYPE+2~
DIR("?" TYPE+5*
DIR("A" TYPE+4*
DIR(0 TYPE+3*
DIRUT TYPE+2~, TYPE+7
DT REPORT+9, REPORT+18
END MAIN+1~, MAIN+3~, REPORT+11, DATE+7*
ENDDAY REPORT+2~, REPORT+11*, REPORT+37
ENDPP REPORT+2~, REPORT+11*, REPORT+34, REPORT+37
EXTBEG MAIN+1~, HDRSUM+5, HDRDET+5, DATE+8*
EXTEND MAIN+1~, HDRSUM+5, HDRDET+5, DATE+9*
GHD REPORT+6~, REPORT+19*, REPORT+20, REPORT+21, REPORT+22
GROUP COORD+2~, COORD+3
GROUP( REPORT+15, REPORT+16, REPORT+17
GROUP(0 COORD+5, COORD+6, REPORT+16
HOURS REPORT+4~, DATA+12*, TOTTIME+2, PRTSUM+2~, PRTSUM+7*, PPP+2
>> I REPORT+22*
IEN200 REPORT+6~, INFO+9*, INFO+10
IO REPORT+8
IO("Q" QUE+5, QUE+6!
IOF HDRSUM+2, HDRDET+2
IOM REPORT+20
IOP QUE+1~
IOSL PPP+7, PRTDET+20
LOCIEN REPORT+2~, REPORT+17*, REPORT+18, REPORT+26, REPORT+34, REPORT+37, REPORT+39, REPORT+41
LOCNAM REPORT+6~, REPORT+18*, REPORT+19
MEAL REPORT+5~, DATA+9*, DATA+12, PRTDET+8
PG REPORT+2~, REPORT+9*, HDRSUM+3*, HDRSUM+5, HDRDET+3*, HDRDET+5
PICK REPORT+2~, REPORT+14*, REPORT+15*, REPORT+16, REPORT+17
POP QUE+1~, QUE+4
PPIEN REPORT+2~, REPORT+33*, REPORT+34*, REPORT+35, REPORT+36, REPORT+37, REPORT+39, REPORT+41, REPORT+42
PRIMLOC REPORT+6~, INFO+10*, PPP+2, PRTDET+9
PRSD REPORT+6~, REPORT+40*, HDRDET+3*, PRTDET+3, PRTDET+17, PRTDET+18*
PRSIEN REPORT+2~, REPORT+25*, REPORT+26*, REPORT+29*, REPORT+30*, REPORT+34, REPORT+37, REPORT+39, REPORT+41, REPORT+42
INFO+3, INFO+7, INFO+9
PRSL REPORT+3~, INFO+2*, HDRSUM+3*, PPP+1, PPP+4, PPP+6*, HDRDET+3*, PRTDET+1, PRTDET+3, PRTDET+11
PRTDET+17, PRTDET+18*
>> PRSNA REPORT+26*, REPORT+27*, REPORT+28*, REPORT+30
PRSNAME REPORT+3~, INFO+4*, PPP+1, PRTDET+1
PRSNARY REPORT+6~, INFO+3*, INFO+4, INFO+5, INFO+6
PRSNDATE REPORT+3~, REPORT+38*, PRTDET+3, PRTDET+17
PRSNDAY REPORT+2~, REPORT+36*, REPORT+37*, REPORT+38, REPORT+39, REPORT+41, REPORT+42
PRSNDAYS REPORT+3~, REPORT+35*, REPORT+38
PRSNG REPORT+2~, REPORT+16*
PRSNLNG REPORT+6~, DATA+15*, DATA+23*, TOTTIME+2, PRTDET+6
PRSNM REPORT+5~, DATA+36*, PRTDET+7
PRSNRE REPORT+5~
PRSNREC REPORT+5~
PRSNRIEN REPORT+5~
PRSNSP REPORT+4~, DATA+6*, DATA+12, PRTDET+13
PRSNSSN REPORT+3~, INFO+5*, PRTDET+4
PRSNST REPORT+4~, DATA+3*, DATA+12, PRTDET+5
PRSNTIEN REPORT+4~, DATA+19*, DATA+20, DATA+23
PRSNTL REPORT+3~, INFO+6*, PPP+2, PRTDET+12
PRSNTS REPORT+2~, REPORT+40*, REPORT+41*, REPORT+42
PRSNTT REPORT+4~, DATA+15*, DATA+16, DATA+19
PRSNTW REPORT+5~, DATA+26*, DATA+30*
PRSNTWD REPORT+5~, DATA+26*, DATA+33*, TOTTIME+2, PRTDET+14
PRSNVER REPORT+2~, REPORT+39*, REPORT+41, REPORT+42
PRSNWIEN REPORT+4~, DATA+26*, DATA+27, DATA+30, DATA+33
RANGE MAIN+1~, DATE+2*, DATE+4, DATE+6, DATE+7, DATE+8, DATE+9
SKILMIX REPORT+3~, INFO+7*, INFO+8*, PPP+4, PRTDET+11
STOP MAIN+1~, MAIN+4*, MAIN+6, MAIN+8, REPORT+14*, REPORT+15, REPORT+28, REPORT+30, REPORT+34, REPORT+37
REPORT+41, REPORT+46, PRTSUM+4, PRTSUM+6, PPP+7*, PRTDET+20*, TYPE+7*, DATE+4*
>> TAB REPORT+20*, REPORT+21, REPORT+22
TIMEREC REPORT+2~, REPORT+42*, DATA+3, DATA+6, DATA+9, DATA+15, DATA+26, DATA+36
TODAY REPORT+2~, REPORT+9*, HDRSUM+5, HDRDET+5
TT PRTSUM+2~, PRTSUM+3*, PRTSUM+4*, PRTSUM+6, PRTSUM+7, PPP+2
TWD PRTSUM+2~, PRTSUM+5*, PRTSUM+6*, PRTSUM+7, PPP+2
TYPE MAIN+3~, REPORT+12, REPORT+13, REPORT+44, REPORT+45, REPORT+47, TYPE+8*, QUE+8
U COORD+5, COORD+6, REPORT+10, REPORT+11, REPORT+18, REPORT+26, REPORT+38, INFO+4, INFO+5, INFO+6
INFO+7, DATA+3, DATA+6, DATA+9, DATA+15, DATA+23, DATA+26, DATA+30, DATA+33, DATA+36
PPP+2, PRTDET+9, DATE+6, DATE+7, DATE+8, DATE+9
WKTOT REPORT+31~
WKTOT( TOTTIME+2*, PRTSUM+4, PRTSUM+6, PRTSUM+7
X TYPE+2~
Y TYPE+2~, TYPE+8
ZTCPU QUE+7~
ZTDESC QUE+7~, QUE+8*
ZTDTH QUE+7~
ZTIO QUE+7~
ZTKIL QUE+7~
ZTPRI QUE+7~
>> ZTREQ QUE+18*
ZTRTN QUE+7~, QUE+9*
ZTSAVE QUE+7~
ZTSAVE("BEG" QUE+13*
ZTSAVE("END" QUE+14*
ZTSAVE("EXTBEG" QUE+15*
ZTSAVE("EXTEND" QUE+16*
ZTSAVE("GROUP" QUE+10*
ZTSAVE("GROUP(" QUE+11*
ZTSAVE("TYPE" QUE+12*
ZTSK QUE+7~, QUE+18
ZTSYNC QUE+7~
ZTUCI QUE+7~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All