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

Package: General Medical Record - IO

Routine: GMRYSE1


Information

GMRYSE1 ;HIRMFO/YH-ITEMIZED PATIENT I/O REPORT BY SHIFT PART 2 ;3/11/97

Source Information

Source file <GMRYSE1.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
General Medical Record - IO 3 (FOOTER,INISHFT,INITOT,TITLE)^GMRYRP3  SUM^GMRYSE2  (WHR,WLINE)^GMRYSE3  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
General Medical Record - IO 3 GMRYSE0  GMRYSE2  GMRYSE3  

Entry Points

Name Comments DBIA/ICR reference
BODY ;
Q
FOOTER ;
ILABEL ;
DAYP ;FIELD TO SAVE '+' CODE FOR DAY TOTAL
CHKPR ;
HEADER2 ;
OLABEL ;
CHKTYP ;
NPOS ;OBTAIN NURSE POSITION
REPORT ;
SHFTP ;FIELD TO SAVE '+' CODE FOR SHIFT TOTAL

External References

Name Field # of Occurrence
FOOTER^GMRYRP3 FOOTER+2
INISHFT^GMRYRP3 BODY+2
INITOT^GMRYRP3 BODY+2
TITLE^GMRYRP3 REPORT+1
SUM^GMRYSE2 BODY+2
WHR^GMRYSE3 NPOS+1
WLINE^GMRYSE3 NPOS+4, NPOS+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?5,"NO DATA FOR THIS PERIOD",!!
  • Line Location: BODY+1
Function Call: WRITE
  • Prompt: !
  • Line Location: FOOTER+1
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: REPORT+2
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: HEADER2+2
Function Call: WRITE
  • Prompt: !,?GCOL,"PATIENT INTAKE/OUTPUT REPORT BY SHIFT AND EVENT TYPE"
  • Line Location: HEADER2+4
Function Call: WRITE
  • Prompt: ?GCOL,"PAGE: ",GPC
  • Line Location: HEADER2+4
Function Call: WRITE
  • Prompt: !,?GCOL,$S(GRPT=9:$E(GMRX,1,46),1:GMRX),!
  • Line Location: HEADER2+5
Function Call: WRITE
  • Prompt: ?GCOL,GMRDT1," - ",GMRDT2,!
  • Line Location: HEADER2+5
Function Call: WRITE
  • Prompt: GY_"(continued)",!
  • Line Location: HEADER2+6
Function Call: WRITE
  • Prompt: ?14,$S(GIO="IN":$P($G(^GMRD(126.56,+GTYPE,0)),"^")_" intake vol: ",GIO="OUT":$P($G(^GMRD(126.58,+GTYPE,0)),"^")_" output vol: ",1:""),GAMOUNT_$S(GAMOUNT>0!(GAMOUNT="0"):" mls",1:"")
  • Line Location: NPOS+2
Function Call: WRITE
  • Prompt: " "_$P(^GMRD(126.6,+GSUB,0),"^")
  • Line Location: NPOS+3
Function Call: WRITE
  • Prompt: ?GCOL,$E($P($P(^VA(200,GNURSE,0),"^"),",",2)),$E($P(^(0),"^"))
  • Line Location: NPOS+6
Function Call: WRITE
  • Prompt: "/"_$S(GPOS="R":"RN",GPOS="L":"LPN",GPOS="N":"NA",GPOS="C":"CL",1:"OTH")
  • Line Location: NPOS+8
Function Call: WRITE
  • Prompt: !
  • Line Location: Q+0
Function Call: WRITE
  • Prompt: ?2,"INTAKE:",!
  • Line Location: CHKPR+2
Function Call: WRITE
  • Prompt: ?2,"OUTPUT:",!
  • Line Location: CHKPR+3
Function Call: WRITE
  • Prompt: ?4,$S(GSUB=1:"PO",GSUB=2:"NASOGASTRIC",GSUB=3:"GASTROTOMY",GSUB=4:"PHARYNGOTOMY",1:"OTHER")
  • Line Location: CHKTYP+2
Function Call: WRITE
  • Prompt: ?4,$P(^GMRD(126.6,+GSUB,0),"^")
  • Line Location: CHKTYP+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMRD(126.56 - [#126.56] NPOS+2, ILABEL+1
^GMRD(126.58 - [#126.58] NPOS+2, OLABEL+1
^GMRD(126.6 - [#126.6] NPOS+3, CHKTYP+3
^NURSF(211.8 - [#211.8] NPOS+7
^TMP($J BODY+1
^VA(200 - [#200] NPOS+6

Label References

Name Line Occurrences
BODY REPORT+2
DAYP BODY+2
FOOTER REPORT+2, HEADER2+1
HEADER2 REPORT+2, CHKPR+1, CHKTYP+1
Q NPOS+6
SHFTP BODY+2

Naked Globals

Name Field # of Occurrence
^(0 NPOS+6, NPOS+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DTIME REPORT+2, HEADER2+2
>> GAMOUNT NPOS+2
GCATH REPORT+3!
>> GCOL HEADER2+4*, HEADER2+5*, NPOS+6*
>> GDATA NPOS+1, NPOS+4, NPOS+5
>> GDIP( DAYP+1*
>> GDOP( DAYP+2*
>> GIO NPOS+2, NPOS+3, NPOS+4, CHKPR+2, CHKPR+3, CHKTYP+2, CHKTYP+3
>> GITEM NPOS+5*, NPOS+6*
>> GLAB ILABEL+1*, ILABEL+2*, OLABEL+1*
GLEFT REPORT+3!
>> GLOC NPOS+7*
>> GMRDOT REPORT+2*
>> GMRDT1 HEADER2+5
>> GMRDT2 HEADER2+5
>> GMROUT REPORT+2*, HEADER2+2*, CHKPR+1, CHKTYP+1
>> GMRX REPORT+2*, HEADER2+5
>> GN(1 SHFTP+1, DAYP+1
>> GN(2 SHFTP+2, DAYP+2
>> GNURSE NPOS+1*, NPOS+6, NPOS+7
>> GPC HEADER2+3, HEADER2+4*
>> GPOS NPOS+7*, NPOS+8
>> GPRT(1 CHKPR+2*
>> GPRT(2 CHKPR+3*
>> GQ HEADER2+2
>> GQT REPORT+2*, HEADER2+1, HEADER2+2, HEADER2+4*
GREASON REPORT+3!
>> GRNDIP BODY+2*
>> GRNDOP BODY+2*
>> GRPT REPORT+2, HEADER2+5
>> GSIP( SHFTP+1*
>> GSOP( SHFTP+2*
>> GSUB NPOS+3, CHKTYP+2, CHKTYP+3
>> GTEXT NPOS+1*
GTOTAL REPORT+3!
>> GTXT(1 NPOS+4*, NPOS+5*
>> GTYPE NPOS+2
GY REPORT+3!, HEADER2+6
>> II ILABEL+1, ILABEL+2, OLABEL+1, SHFTP+1*, SHFTP+2*, DAYP+1*, DAYP+2*
IOF HEADER2+3
IOM HEADER2+4, HEADER2+5, NPOS+6
IOSL FOOTER+1, CHKPR+1, CHKTYP+1
IOST FOOTER+1, REPORT+2, HEADER2+2, HEADER2+3
>> X FOOTER+1*, REPORT+2*, HEADER2+2*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All