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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: GMTSPSG

Package: Health Summary

Routine: GMTSPSG


Information

GMTSPSG ; SLC/JER,KER - UD Rx Summary Component (V4.5) ; 08/27/2002

Source Information

Source file <GMTSPSG.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Health Summary 3 MAIN^GMTSPSG5  REGDT4^GMTSU  CKP^GMTSUP  
Inpatient Medications 1 ENHS^PSJEEU0  
Kernel 1 $$VERSION^XPDUTL  

Entry Points

Name Comments DBIA/ICR reference
MAIN ; Controls Branching
NOPSJ ; Handles case where routine ^PSJEEU0 not installed
WRT ; Writes the Unit Dose Component
HEAD ; Prints Header

External References

Name Field # of Occurrence
MAIN^GMTSPSG5 MAIN+1
REGDT4^GMTSU WRT+10
CKP^GMTSUP NOPSJ+1, WRT+11, WRT+15, WRT+16, HEAD+1
ENHS^PSJEEU0 MAIN+4, MAIN+5
$$VERSION^XPDUTL MAIN+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: MAIN+9
Function Call: WRITE
  • Prompt: "Inpatient Pharmacy version 3.2 or greater is required.",!
  • Line Location: NOPSJ+1
Function Call: WRITE
  • Prompt: $E(DRG,1,36),?38,DOSE,?50,STAT,?57,SD,?69,FD,!
  • Line Location: WRT+15
Function Call: WRITE
  • Prompt: ?2,SIG," ",RT
  • Line Location: WRT+16

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^UTILITY("PSG" MAIN+4!, MAIN+6, MAIN+8, MAIN+10!
^UTILITY("PSIV" MAIN+10!

Label References

Name Line Occurrences
HEAD WRT+12, WRT+15
NOPSJ MAIN+4
WRT MAIN+8, WRT+16

Naked Globals

Name Field # of Occurrence
^( MAIN+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DOSE WRT+1~, WRT+14*, WRT+15
DRG WRT+1~, WRT+2*, WRT+15
FD WRT+1~, WRT+2*, WRT+9, WRT+15
GMI MAIN+2~, MAIN+7*, WRT+11, WRT+12, WRT+13*
GMR MAIN+2~, MAIN+8*, WRT+2, WRT+14
>> GMRANGE WRT+9
>> GMTS1 WRT+9
>> GMTS2 MAIN+3, WRT+9
>> GMTSLO HEAD+2
>> GMTSNPG WRT+11, WRT+12, WRT+15, WRT+16
>> GMTSQIT MAIN+8, NOPSJ+1, WRT+11, WRT+15, WRT+16, HEAD+1
GMV WRT+1~, WRT+10*
IOSL HEAD+2
IX MAIN+2~, MAIN+7*, MAIN+8*
ON MAIN+2~
PS MAIN+2~
PSIVREA MAIN+2~
PSJEDT MAIN+2~, MAIN+3*
PSJNKF MAIN+2~, MAIN+3*
PSJPFWD MAIN+2~
RT WRT+1~, WRT+14*, WRT+16
SD WRT+1~, WRT+2*, WRT+9, WRT+15
SIG WRT+1~, WRT+14*, WRT+16
STAT WRT+1~, WRT+2*, WRT+15
TN MAIN+2~
U WRT+2, WRT+14
UDS MAIN+2~
>> X WRT+10*

Marked Items

Name Field # of Occurrence
$T(ENHS^PSJEEU0 MAIN+4
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All