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

Package: Nursing Service

Routine: NURCES2


Information

NURCES2 ;HIRMFO/YH-END OF SHIFT REPORT PART 3 - ITEMIZED I/O DATA ;7/15/97

Source Information

Source file <NURCES2.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
General Medical Record - IO 5 FINDCA^GMRYCATH  SELSITE^GMRYMNT  NEXT^GMRYRP1  (SAVE,SAVEIV,SETSIFT)^GMRYRP2  REPORT1^GMRYRP3  
Nursing Service 4 VM^NURCES1  IV^NURCES3  ALLERGY^NURCES4  FITLINE^NURCES5  
Registration 1 INP^VADPT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Nursing Service 2 NURCES0  NURCES01  

Entry Points

Name Comments DBIA/ICR reference
PRINT2
HEADER ; PRINTING OF HEADING ROUTINE
SETIV ;SET IV TEXT
IVM ;SET IV MAINTENANCE IN ^TMP($J,"GMRY"
CHANGED ;
SETUT ;
SCARE ;
CHANGED1 ;
IVTUBE ;OBTAIN LAST TUBING CHANGED
TUBING
PTDATA ;
SETARRY ;SET DATA IN ^TMP($J,"GMRY", FOR EACH PATIENT

External References

Name Field # of Occurrence
FINDCA^GMRYCATH SETUT+1
SELSITE^GMRYMNT IVTUBE+1
NEXT^GMRYRP1 SCARE+2
SAVE^GMRYRP2 SETARRY+3
SAVEIV^GMRYRP2 SETARRY+4
SETSIFT^GMRYRP2 SCARE+2
REPORT1^GMRYRP3 SETARRY+5
VM^NURCES1 PTDATA+26
IV^NURCES3 SETIV+1
ALLERGY^NURCES4 PTDATA+4
FITLINE^NURCES5 PTDATA+2, PTDATA+3, PTDATA+5
INP^VADPT PTDATA+5

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: !,NURDT,?20,"END-OF-SHIFT REPORT",?40,"UNIT: ",NPWARD
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: ?$S(NOPT=1:90,NOPT=2:55,1:55),"TOUR: "_+$E($P(GMRSTRT,".",2),1,2)_":"_$E($P(GMRSTRT,".",2)_"00",3,4)_"-"_+$E($P(Y,".",2),1,2)_":",$E($P(Y,".",2),3,4)
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: ?$S(NOPT=1:118,NOPT=2:72,1:72),"PAGE:",NURPAGE
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !,"ROOM-BED/NAME/SSN/",?25,"|ADMITTING DX/ |PT |LATEST VITALS"
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: ?68,"|PATIENT PROBLEMS"
  • Condition for execution: NOPT=1
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: !,"SPECIALTY/DIET/ALLERGIES",?25,"|DATE/MDs",?42,"|CAT|"
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: ?68,"|",!,NURX,!
  • Condition for execution: NOPT=1
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: !,$E(NURX,1,79),!
  • Condition for execution: NOPT=2
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: $E(NPT(NN),1,25)
  • Line Location: PRINT2+0
Function Call: WRITE
  • Prompt: $E(NADM(NN),1,16)
  • Line Location: PRINT2+1
Function Call: WRITE
  • Prompt: NCL(NN)
  • Line Location: PRINT2+2
Function Call: WRITE
  • Prompt: NVM(NN)
  • Line Location: PRINT2+3
Function Call: WRITE
  • Prompt: NPR(NN)
  • Line Location: PRINT2+4
Function Call: WRITE
  • Prompt: !
  • Line Location: PRINT2+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(126 - [#126] SETARRY+1, SETARRY+2, IVM+1, IVM+2, SCARE+1, SCARE+2, SCARE+3, SETUT+2, SETUT+3, TUBING
, CHANGED+1, CHANGED1+1
^TMP($J SETARRY+2!, SETUT+3*
^VA(200 - [#200] PTDATA+9, PTDATA+10, PTDATA+18, PTDATA+19

Label References

Name Line Occurrences
CHANGED TUBING
CHANGED1 CHANGED+1
IVM SETARRY+4
IVTUBE SETIV+1
SCARE IVM+2
SETIV SETARRY+5
SETUT SCARE+3
TUBING IVTUBE+1

Naked Globals

Name Field # of Occurrence
^( IVM+2, PTDATA+10, PTDATA+19
^(0 SETUT+3, CHANGED1+1
^(3 SETUT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DA IVM+2*, SCARE+1, SCARE+2, SCARE+3, SETUT+2, SETUT+3
>> DA(1 SETARRY+2*, IVM+2, SCARE+1, SCARE+2, SCARE+3, SETUT+2, SETUT+3
>> DFN SETARRY+1, SETARRY+2, IVM+1, SETUT+2, TUBING, CHANGED+1, CHANGED1+1
DTIME HEADER+1
G PTDATA+8!, PTDATA+9*, PTDATA+10, PTDATA+17!, PTDATA+18*, PTDATA+19
G(1 PTDATA+10*, PTDATA+11, PTDATA+12, PTDATA+19*, PTDATA+20, PTDATA+21
G(2 PTDATA+10*, PTDATA+14, PTDATA+15, PTDATA+19*, PTDATA+23, PTDATA+24
GCT IVTUBE+2!
GCT( TUBING
GDA SCARE+3*, SETUT+2, SETUT+3, IVTUBE+2!, TUBING*, CHANGED+1, CHANGED1+1
GDA(1 CHANGED+1*
GDA(2 CHANGED+1*, CHANGED1+1
GDATA IVTUBE+2!
>> GDAY SCARE+2*
>> GDCIV SETARRY+1*
GDT IVTUBE+2!
>> GFH PTDATA+3
GIVDT IVTUBE+2!
>> GMRFIN SCARE+2, HEADER+2
>> GMRINDT SCARE+2*, SETUT+3
>> GMROUT SETARRY+1*
>> GMRSTRT SCARE+2, HEADER+4
GMRXY IVTUBE+1, IVTUBE+2!
GMRXY( IVTUBE+1, TUBING
>> GPACK PTDATA+26, PTDATA+27
>> GPORT SETUT+2*, SETUT+3
>> GQ SETARRY+1*
>> GQT SETARRY+1*
GRPT SETARRY+1*, SETARRY+5!
GSAVE SETARRY+5!
>> GSAVEH SETARRY+2*
>> GSHIFT SETUT+3
GSITE IVM+2*, SETUT+1, SETUT+3, IVTUBE+2!, TUBING*, CHANGED1+1
GSITE( SETUT+1*, SETUT+3
GST IVTUBE+2!
>> GSTRT SCARE+2*, SCARE+3, SETUT+3
>> GTOTLI SETARRY+5
>> GTOTLO SETARRY+5
GYES IVTUBE+2!, TUBING*, CHANGED+1, CHANGED1+1*
>> II SETARRY+3*
IOF HEADER+3
IOST HEADER+1
>> N IVTUBE+1*, TUBING
>> N1 PTDATA+2
>> NADM PTDATA+5*, PTDATA+6*, PTDATA+7*, PTDATA+9*, PTDATA+11*, PTDATA+12*, PTDATA+13, PTDATA+14*, PTDATA+15*, PTDATA+16
, PTDATA+18*, PTDATA+20*, PTDATA+21*, PTDATA+22, PTDATA+23*, PTDATA+24*, PTDATA+25, PTDATA+26*, PTDATA+27*
>> NADM( PTDATA+6*, PTDATA+7*, PTDATA+9*, PTDATA+11*, PTDATA+12*, PTDATA+13*, PTDATA+14*, PTDATA+15*, PTDATA+16*, PTDATA+18*
, PTDATA+20*, PTDATA+21*, PTDATA+22*, PTDATA+23*, PTDATA+24*, PTDATA+25*, PTDATA+26*, PTDATA+27*, PRINT2+1
>> NCL( PRINT2+2
>> NCL(1 PTDATA+5*
>> NDIET PTDATA+3
>> NN PRINT2, PRINT2+1, PRINT2+2, PRINT2+3, PRINT2+4
>> NOPT HEADER+4, HEADER+5, HEADER+6, HEADER+7, PRINT2+4
>> NPR( PRINT2+4
>> NPT PTDATA+2*, PTDATA+3
>> NPT( PRINT2
>> NPT(1 PTDATA+1*
>> NPT(2 PTDATA+2*
>> NPT(3 PTDATA+2*
>> NPWARD HEADER+4
>> NSSN PTDATA+2
>> NURCAT PTDATA+5
>> NURDT HEADER+4
>> NURPAGE HEADER+3*, HEADER+5
>> NURQUIT HEADER+1*
>> NURSW1 HEADER+1, HEADER+3*
NURTLTI SETARRY+5*, PTDATA+26, PTDATA+28!
NURTLTO SETARRY+5*, PTDATA+27, PTDATA+28!
NURTUBE IVTUBE+1!, TUBING*, CHANGED1+1*
NURTUBE( CHANGED1+1*
>> NURX HEADER+7
>> NVM( PRINT2+3
>> NVM(1 PTDATA+26*
>> VADM(4 PTDATA+7
>> VADM(5 PTDATA+7
>> VAIN(11 PTDATA+8, PTDATA+9
>> VAIN(2 PTDATA+17, PTDATA+18
>> VAIN(3 PTDATA+2
>> VAIN(5 PTDATA+1
>> VAIN(7 PTDATA+6
>> VAIN(9 PTDATA+5
>> X HEADER+1*
>> Y HEADER+2*, HEADER+4, PTDATA+6*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All