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

Package: Mental Health Social Services

Routine: AMHGRU


Information

AMHGRU ;IHS/CMI/MAW - AMHG REPORT UTILITIES;

Source Information

Source file <AMHGRU.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 2 ($$FMADD,$$FMTE)^XLFDT  $$REPEAT^XLFSTR  
Mental Health Social Services 2 GETMEDS^AMHLEMD  $$ALLOWVI^AMHUTIL  
Uncategorized 1 DEBUG^%Serenji  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health Social Services 1 AMHGR  

Entry Points

Name Comments DBIA/ICR reference
PCCL(PAT,BD,ED,DM) ;EP -- get pcc labs
GETMHMD ;set array ^TMP("AMHSMEDS",$J,"M" OF MEDS IN MH FILE
PAD(DATA,LENGTH) ;EP -- SUBRTN to pad length of data
SP(N) ;EP -- SUBRTN to pad N number of spaces
S1 ;
S(Y,F,C,T) ;
PCCM(AMHPAT,BD,ED) ;EP -- get pcc medications
SETARRAY ;
DEBUG(AMHRET,AMHSTR) ;-- debugger

External References

Name Field # of Occurrence
DEBUG^%Serenji DEBUG+1
GETMEDS^AMHLEMD PCCM+2
$$ALLOWVI^AMHUTIL GETMHMD+6
$$GET1^DIQ PCCL+9, PCCL+10, PCCL+11, PCCL+13, PCCL+14, PCCL+15, PCCL+16, PCCL+17, PCCL+18, PCCL+20
$$FMADD^XLFDT PCCM+1
$$FMTE^XLFDT SETARRAY+6, GETMHMD+7
$$REPEAT^XLFSTR PAD+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNVLAB - [#9000010.09] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHREC - [#9002011] GETMHMD+5, GETMHMD+8
^AMHREC("AE" GETMHMD+3, GETMHMD+4
^AUPNVLAB("AA" PCCL+6, PCCL+7, PCCL+8
^TMP("AMHDSPMEDS" SETARRAY+1!*, S1+1*, S1+2*
^TMP("AMHLABG" PCCL+1!, PCCL+30*
^TMP("AMHLABV" PCCL+2!, PCCL+33*, PCCL+34*
^TMP("AMHSMEDS" SETARRAY+7, SETARRAY+9, GETMHMD+1!, GETMHMD+7*, GETMHMD+8*

Label References

Name Line Occurrences
$$PAD SP+1
GETMHMD PCCM+3
S SETARRAY+5, SETARRAY+6, SETARRAY+7, SETARRAY+8, SETARRAY+9
S1 S+6
SETARRAY PCCM+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % PCCM+1*, S+5*, S1+1*, S1+2
>> %1 PCCM+1*
AMHABN PCCL+4~, PCCL+14*, PCCL+33, PCCL+34
AMHC GETMHMD+2~*, GETMHMD+7*, GETMHMD+8*
AMHCDT PCCL+4~, PCCL+17*, PCCL+33, PCCL+34
AMHCDTI PCCL+4~, PCCL+18*, PCCL+19*, PCCL+33
AMHCNT PCCL+3~
AMHCNT( PCCL+28*, PCCL+29*, PCCL+30
AMHDA PCCL+3~, PCCL+6*, PCCL+7, PCCL+8
AMHIEN PCCL+3~, PCCL+8*, PCCL+9, PCCL+10, PCCL+11, PCCL+13, PCCL+14, PCCL+15, PCCL+16, PCCL+17
, PCCL+18, PCCL+20
AMHLAST GETMHMD+2~*, GETMHMD+3
AMHOEN PCCL+3~, PCCL+7*, PCCL+8, PCCL+12
AMHOP PCCL+4~, PCCL+20*, PCCL+33, PCCL+34
AMHPAT PCCM~, PCCM+2, GETMHMD+3, GETMHMD+4
AMHRES PCCL+4~, PCCL+13*, PCCL+23, PCCL+33, PCCL+34
AMHRES( PCCL+22*, PCCL+23*
AMHRET DEBUG~
AMHRH PCCL+4~, PCCL+16*, PCCL+33, PCCL+34
AMHRL PCCL+4~, PCCL+15*, PCCL+33, PCCL+34
AMHSTR DEBUG~
AMHTEST PCCL+4~, PCCL+9*, PCCL+28, PCCL+29, PCCL+30, PCCL+33, PCCL+34
AMHTEST("EARLY" PCCL+24*, PCCL+26*, PCCL+30
AMHTEST("LAST" PCCL+25*, PCCL+27*, PCCL+30
AMHTSTI PCCL+4~, PCCL+10*, PCCL+22, PCCL+23, PCCL+30
AMHVST PCCL+4~, PCCL+11*, PCCL+33, PCCL+34
AMHVSTI PCCL+4~, PCCL+12*, PCCL+26, PCCL+27
BBD PCCL+3~, PCCL+5*, PCCL+7
BD PCCM~, PCCM+2, SETARRAY+6, PCCL~, PCCL+5
BED PCCL+3~, PCCL+5*, PCCL+7
C GETMHMD+8*, S~
CNT PCCL+3~
DATA PAD~, PAD+1
DM PCCL~, PCCL+21, PCCL+31
DT PCCM+1, GETMHMD+2
DUZ GETMHMD+6
ED PCCM~, PCCM+2, SETARRAY+6, PCCL~, PCCL+5
F S~, S+1*, S+4*
I SETARRAY+7*, SETARRAY+9*, GETMHMD+3~*, GETMHMD+4, GETMHMD+7
LENGTH PAD~, PAD+1
N SP~, SP+1
PAT PCCL~, PCCL+6, PCCL+7, PCCL+8
T S~, S+2*, S+4, S+5
U S1+1, PCCL+30, PCCL+33, PCCL+34
>> X SETARRAY+5*, SETARRAY+6*, SETARRAY+7*, SETARRAY+8*, SETARRAY+9*, GETMHMD+4*, GETMHMD+5, GETMHMD+6, GETMHMD+8, S+4*
, S+5*, S1+2
Y S~, S+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All