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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: GMTSYTQL

Package: Health Summary

Routine: GMTSYTQL


Information

GMTSYTQL ;SLC/JMH & ALB/ASF - MHA ADMINS ; 9/7/07 5:35pm

Source Information

Source file <GMTSYTQL.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Health Summary 2 (REGDTM,REGDTM4)^GMTSU  CKP^GMTSUP  
Mental Health 2 ADMINS^YTQAPI5  GAFRET^YTQAPI6  
Kernel 1 ($$FMADD,$$NOW)^XLFDT  
VA FileMan 1 $$EXTERNAL^DILFD  

Entry Points

Name Comments DBIA/ICR reference
EN ; MHA Admin list
OUT ; Output
LINE ; Output One Line
HDR ; Header
GET ; Get and Format Data
ASIGET ;
GAFGET ;get axis5
ITM(X) ; Inverse date to Mental Health formats
DTM(X) ; Current Date and Time (External)

External References

Name Field # of Occurrence
$$EXTERNAL^DILFD OUT+7, OUT+8
REGDTM^GMTSU ITM+1
REGDTM4^GMTSU DTM+1
CKP^GMTSUP LINE+1, HDR+2
$$FMADD^XLFDT EN+6, EN+7, EN+8, EN+9
$$NOW^XLFDT EN+6, EN+8, DTM+1
ADMINS^YTQAPI5 GET+4
GAFRET^YTQAPI6 GAFGET+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: GMTSDAY
  • Line Location: LINE+3
Function Call: WRITE
  • Prompt: ?20,$E(GMTSTN,1,20)
  • Line Location: LINE+4
Function Call: WRITE
  • Prompt: $S($L(GMTSTN)>20:"*",1:" ")
  • Line Location: LINE+5
Function Call: WRITE
  • Prompt: ?41,$E(GMTSOR,1,20)
  • Line Location: LINE+6
Function Call: WRITE
  • Prompt: $S($L(GMTSOR)>20:"*",1:" ")
  • Line Location: LINE+7
Function Call: WRITE
  • Prompt: ?61,$E(GMTSLOC,1,20)
  • Line Location: LINE+8
Function Call: WRITE
  • Prompt: $S($L(GMTSLOC)>20:"*",1:" ")
  • Line Location: LINE+9
Function Call: WRITE
  • Prompt: !
  • Line Location: LINE+10
Function Call: WRITE
  • Prompt: "Date",?20,"Instrument",?41,"Ordered by",?61,"Location",!
  • Line Location: HDR+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.84 - [#601.84] EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] EN+13
^TMP("GMTSYTQL" EN+4!, EN+18, OUT+4, OUT+5, OUT+11!, GET+3!, GET+12, GET+13*, ASIGET+12*, GAFGET+11*
^YSD(627.8 - [#627.8] GAFGET+7
^YSTX(604 - [#604] ASIGET+4, ASIGET+5, ASIGET+7

Label References

Name Line Occurrences
$$DTM EN+11
$$ITM OUT+6
ASIGET GET+16
GAFGET GET+15
GET EN+18
HDR OUT+3, LINE+2, HDR+2
LINE OUT+9
OUT EN+18

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT GET+1~
>> DFN EN+13*, GET+4, ASIGET+4, GAFGET+3
G ASIGET+1~, ASIGET+5*, ASIGET+6, ASIGET+12, GAFGET+1~, GAFGET+6*, GAFGET+7, GAFGET+11
GMTS1 EN+1~, EN+6*, EN+8*, EN+10*
GMTS2 EN+1~, EN+6*, EN+10*
>> GMTSBEG EN+6*, EN+7*, EN+10, GET+9, ASIGET+9, GAFGET+8
GMTSCS EN+1~
GMTSCS(1 EN+17*
GMTSCS(2 EN+17*
GMTSCS(3 EN+17*
GMTSCS(4 EN+17*
GMTSCW EN+1~
GMTSCW("L" EN+16*, HDR+1
GMTSCW(0 EN+14*, EN+15
GMTSCW(1 EN+15*, EN+16, EN+17
GMTSCW(2 EN+15*, EN+16, EN+17
GMTSCW(3 EN+15*, EN+16, EN+17
GMTSCW(4 EN+15*, EN+16
GMTSDATA EN+2~, GET+4, GET+14!, GAFGET+3
GMTSDATA( GET+6, GET+7, GET+8, GET+13, GAFGET+5, GAFGET+6
GMTSDATA(2 GAFGET+4
GMTSDATA(3 GET+5
GMTSDAY EN+1~, OUT+6*, LINE+3
GMTSDTM EN+1~, EN+11*
GMTSELS ASIGET+1~, ASIGET+7*, ASIGET+8
>> GMTSEND EN+6*, EN+8*, EN+9*, EN+10, GET+10, ASIGET+10, GAFGET+9
GMTSGIV EN+2~, OUT+4*, OUT+5, OUT+6, GET+1~, GET+8*, GET+9, GET+10, GET+12*, GET+13
ASIGET+6*, ASIGET+9, ASIGET+10, ASIGET+12, GAFGET+7*, GAFGET+8, GAFGET+9, GAFGET+11
GMTSI EN+3~, OUT+1~, HDR+1~*
GMTSIEN ASIGET+1~, ASIGET+3*, ASIGET+4*, ASIGET+5, ASIGET+7, ASIGET+12
GMTSJ EN+3~, OUT+1~, OUT+5*, OUT+7, OUT+8
GMTSLO EN+1~, EN+11*
GMTSLOC EN+1~, OUT+8*, LINE+8, LINE+9
GMTSLPG EN+1~, EN+11*
GMTSNDM EN+3~, EN+5
GMTSNN EN+3~, OUT+2*, OUT+4, OUT+10*, GET+1~, GET+2*, GET+6, GET+11*, ASIGET+1~, ASIGET+2*
ASIGET+11*, GAFGET+1~, GAFGET+2*, GAFGET+5, GAFGET+10*
GMTSNPG EN+2~, LINE+2, HDR+2
GMTSOR EN+2~, OUT+7*, LINE+6, LINE+7
GMTSQIT EN+2~, LINE+1, HDR+2
GMTSTITL EN+2~, EN+12*
GMTSTN EN+3~, OUT+4*, OUT+5, LINE+4, LINE+5, GET+1~, GET+7*, GET+12, GET+13
GMTSX EN+2~, GET+4, GAFGET+3
GMTSX("COMPLETE" GET+4*
GMTSX("DFN" GET+4*, GAFGET+3*
IOM EN+3~, EN+14
MAX EN+3~, EN+5*, OUT+4, GET+6, GAFGET+5
N EN+2~, GET+6*, GET+7, GET+8, GET+13, GAFGET+1~, GAFGET+5*, GAFGET+6
U OUT+7, OUT+8, GET+7, GET+8, ASIGET+6, ASIGET+7, ASIGET+12, GAFGET+7, GAFGET+11
X GET+1~, ITM~, ITM+1*, DTM~, DTM+1*
Y GET+1~
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All