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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Local Variables |  All
Print Page as PDF
Routine: AMHGUA

Package: Mental Health Social Services

Routine: AMHGUA


Information

AMHGUA ; IHS/CMI/MAW - AMH Behavioral Health GUI Utilities continued 9/8/2008 2:00:25 PM ;

Source Information

Source file <AMHGUA.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Mental Health Social Services 4 $$LVDT^AMHGU  $$NOSHOW^AMHLESM  $$ALLOWVI^AMHUTIL  ($$CHKD,$$DSMVDT)^AMHUTIL1  
Kernel 2 $$UP^XLFSTR  $$EN^XUSHSH  
VA Fileman 2 ^DIK  $$GET1^DIQ  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Uncategorized 1 DEBUG^%Serenji  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health Social Services 1 AMHGU  

Entry Points

Name Comments DBIA/ICR reference
DEBUG(RETVAL,AMHSTR)
CHKDSM(RETVAL,AMHSTR) ;-- check which version of DSM
CURCOD(PIEN) ;-- check the code to see if it is the current version of code set
VC(RETVAL,AMHSTR) ;-- get version number to see if client matches
POV(RET,AMHPAT,AMHD) ;EP -- filter POV if allowed to see
CLNWP(FL,ND,REC) ;-- lets clean up a wp field before refiling
VER(RETVAL,AMHSTR) ;-- check to see if verify code is valid
UU(RETVAL,AMHSTR) ;-- return a list of sites in from BH USER file
LOCK(RETVAL,AMHSTR) ;-- check to see if record is locked
ACTCODE(RETVAL,AMHSTR) ;-- return activity code based on code passed in
TIME(RETVAL,AMHSTR) ;-- get system time out based on user or location
LABG(RETVAL,AMHSTR) ;-- graph labs
VEXIST(RETVAL,AMHSTR) ;-- check to see if there is a visit on the record (used for group edit)

External References

Name Field # of Occurrence
DEBUG^%Serenji DEBUG+1
$$LVDT^AMHGU LABG+22
$$NOSHOW^AMHLESM POV+11
$$ALLOWVI^AMHUTIL POV+12
$$CHKD^AMHUTIL1 POV+18
$$DSMVDT^AMHUTIL1 CURCOD+2
^DIK CLNWP+8
$$GET1^DIQ UU+14, TIME+9, TIME+11, POV+31, POV+32, CURCOD+4, LABG+17, LABG+18, LABG+19, LABG+20
, VEXIST+9, CHKDSM+9
$$VAL^XBDIQ1 POV+5
$$UP^XLFSTR VER+3
$$EN^XUSHSH VER+3

Used in RPC

RPC Name Call Tags
AMHG CHECK UU UU
AMHG GET ACTIVITY CODE ACTCODE
AMHG GET VERSION VC
AMHG CHECK LOCK LOCK
AMHG GET TIMEOUT TIME
AMHG CHECK VERIFY CODE VER
AMHG GET GRAPH LABS LABG
AMHG CHECK VISIT EXISTS VEXIST
AMHG CHECK DSM CHKDSM

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^XTV(8989.3 - [#8989.3] GET1^DIQ
^AUPNVLAB - [#9000010.09] GET1^DIQ
^AMHREC - [#9002011] GET1^DIQ
^AMHRPRO - [#9002011.01] GET1^DIQ
^AMHPROB - [#9002012.2] GET1^DIQ
^AMHSITE - [#9002013] GET1^DIQ
^AUTTLOC - [#9999999.06] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHBHUSR - [#9002013.11] UU+8, UU+11
^AMHREC("AE" POV+9, POV+10
^AMHRPRO - [#9002011.01] POV+14, POV+16
^AMHRPRO("AD" POV+13
^AMHSITE - [#9002013] POV+11
^AMHTACT - [#9002012] ACTCODE+13
^AMHTACT("B" ACTCODE+9
^AMHTMP($J UU+6!, ACTCODE+6!, VC+3!, VC+9*, VC+13*, VC+14*, VC+19*, VC+20*, VC+21*, VC+23*
, LOCK+7!, TIME+7!, LABG+8!, VEXIST+4!, CHKDSM+4!
^AUPNVLAB("AA" LABG+14, LABG+15
^DIC - [#1] LOCK+9, CLNWP+3
^DIC(9.4 - [#9.4] VC+11, VC+15, VC+16, VC+17
^TMP("AMHTMP" POV+4!, POV+22*, POV+26, POV+28, POV+30
^VA(200 - [#200] VER+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% POV+2~
AMHA POV+2~, POV+9*, POV+10, LABG+1~, LABG+18*, LABG+22
AMHACT ACTCODE+1~, ACTCODE+3*, ACTCODE+9, ACTCODE+16
AMHB POV+2~, POV+13*, POV+14, POV+16, POV+22, LABG+1~, LABG+3*, LABG+11
AMHBD LABG+1~, LABG+11*, LABG+14
AMHC POV+2~, POV+5*, POV+19
AMHC1 POV+2~, POV+7*
AMHCC POV+2~, POV+9*, POV+19*
AMHCHK VC+4~
AMHCN POV+23~, POV+24*, POV+29*, POV+33, POV+35
AMHCNT POV+2~, POV+8*, POV+20*, POV+22
AMHD POV~, POV+18, LABG+1~, LABG+16*, LABG+22, CHKDSM+1~, CHKDSM+9*, CHKDSM+10*, CHKDSM+12
AMHDA UU+10~, UU+11*, UU+14, LABG+13~, LABG+14*, LABG+15, LABG+16
AMHDATA ACTCODE+12~, ACTCODE+13*, ACTCODE+14
AMHDSC ACTCODE+12~, ACTCODE+14*, ACTCODE+16
AMHDUZ TIME+1~, TIME+3*, TIME+9
AMHDUZ2 TIME+1~, TIME+4*
AMHE LABG+1~, LABG+4*, LABG+12
AMHED LABG+1~, LABG+12*, LABG+14
AMHFILE LOCK+1~, LOCK+3*, LOCK+9
AMHGL LOCK+1~, LOCK+9*, LOCK+10
AMHI UU+1~, UU+4*, UU+7, UU+9, UU+12*, UU+15, UU+16, ACTCODE+1~, ACTCODE+4*, ACTCODE+7
, ACTCODE+11, ACTCODE+15*, ACTCODE+16, ACTCODE+17, VC+4~, VC+5*, VC+9, VC+10*, VC+13, VC+14
, VC+19, VC+20, VC+21, VC+23, LOCK+1~, LOCK+5*, LOCK+8, LOCK+15*, LOCK+16, LOCK+17
, TIME+1~, TIME+5*, TIME+8, TIME+12*, TIME+13, TIME+14, LABG+1~, LABG+7*, LABG+10, LABG+21*
, LABG+22, LABG+23, VEXIST+1~, VEXIST+6*, VEXIST+7, VEXIST+8*, VEXIST+10, VEXIST+11, CHKDSM+6*, CHKDSM+7
, CHKDSM+8*, CHKDSM+12, CHKDSM+13
AMHIEN ACTCODE+8~, ACTCODE+9*, ACTCODE+10, ACTCODE+13, ACTCODE+16, LOCK+1~, LOCK+4*, LOCK+10, LABG+13~, LABG+15*
, LABG+17, LABG+18, LABG+19, LABG+20
AMHL LABG+1~, LABG+6*, LABG+14, LABG+15
AMHLOC UU+13~, UU+14*, UU+15
AMHMSG POV+2~
AMHP LABG+1~, LABG+5*, LABG+14, LABG+15
AMHPAT POV~, POV+3, POV+9, POV+10
AMHPIEN POV+15~, POV+16*, POV+18, POV+22
AMHPKG VC+4~, VC+11*, VC+12, VC+15, VC+16, VC+17
AMHPTCH VC+4~, VC+17*, VC+18
AMHPTCHI VC+4~
AMHPVER VER+1~, VER+4*, VER+5
AMHR LABG+1~, LABG+17*, LABG+22
AMHREC LOCK+1~, LOCK+10*, LOCK+12, LOCK+13, VEXIST+1~, VEXIST+3*, VEXIST+9
AMHRH LABG+1~, LABG+20*
AMHRL LABG+1~, LABG+19*
AMHS CHKDSM+1~, CHKDSM+3*, CHKDSM+9
AMHSTR DEBUG~, UU~, UU+3, ACTCODE~, ACTCODE+3, VC~, VC+6, LOCK~, LOCK+3, LOCK+4
, TIME~, TIME+3, TIME+4, VER~, VER+2, LABG~, LABG+3, LABG+4, LABG+5, LABG+6
, VEXIST~, VEXIST+3, CHKDSM~, CHKDSM+3
AMHT POV+2~, POV+10*, POV+11, POV+12, POV+13, POV+19
AMHTCNT POV+23~, POV+26*, POV+28, POV+30
AMHTDA POV+23~, POV+28*, POV+30, POV+31, POV+32
AMHTIEN POV+23~, POV+30*, POV+33
AMHUSR UU+1~, UU+3*, UU+8, UU+11
AMHV POV+2~, POV+9*, POV+10, POV+19*
AMHVAL LOCK+1~, LOCK+11*, LOCK+14*, LOCK+16, TIME+1~, TIME+9*, TIME+10, TIME+11*, TIME+13, VER+1~
, VER+5*, VER+6
AMHVAL1 POV+2~, POV+31*, POV+33
AMHVAL2 POV+2~, POV+32*, POV+33
AMHVALI TIME+1~
AMHVER VC+4~, VC+15*, VC+16, VC+18, VER+1~, VER+2*, VER+3
AMHVERI VC+4~, VC+16*, VC+17
AMHVERIN VC+4~, VC+6*, VC+18
AMHVVER VER+1~, VER+3*, VER+5
AMHX VEXIST+1~, VEXIST+9*, VEXIST+10
CV CURCOD+1~, CURCOD+2*, CURCOD+3*, CURCOD+4
>> DA CLNWP+6*
>> DA(1 CLNWP+2*
>> DIK CLNWP+7*
DUZ VER+4, POV+12
DUZ(2 POV+5, POV+11, CURCOD+2
FL CLNWP~, CLNWP+3
GL CLNWP+1~, CLNWP+3*, CLNWP+4, CLNWP+7
GLN CLNWP+1~, CLNWP+4*, CLNWP+5
ND CLNWP~, CLNWP+4, CLNWP+7
P UU+1~, UU+2*, UU+3, ACTCODE+1~, ACTCODE+2*, ACTCODE+3, VC+1~, VC+2*, VC+6, LOCK+1~
, LOCK+2*, LOCK+3, LOCK+4, TIME+1~, TIME+2*, TIME+3, TIME+4, LABG+1~, LABG+2*, LABG+3
, LABG+4, LABG+5, LABG+6, VEXIST+1~, VEXIST+2*, VEXIST+3, CHKDSM+1~, CHKDSM+2*, CHKDSM+3
PIEN CURCOD~, CURCOD+4
R ACTCODE+1~, ACTCODE+2*, ACTCODE+16, LOCK+1~, LOCK+2*
RDA CLNWP+1~, CLNWP+5*, CLNWP+6
REC CLNWP~, CLNWP+2, CLNWP+4, CLNWP+7
RET POV~, POV+33, POV+35
RETVAL DEBUG~, UU~, UU+5*, UU+7, UU+9, UU+15, UU+16, ACTCODE~, ACTCODE+5*, ACTCODE+7
, ACTCODE+11, ACTCODE+16, ACTCODE+17, VC~, VC+8*, LOCK~, LOCK+6*, LOCK+8, LOCK+16, LOCK+17
, TIME~, TIME+6*, TIME+8, TIME+13, TIME+14, VER~, VER+6*, LABG~, LABG+9*, LABG+10
, LABG+22, LABG+23, VEXIST~, VEXIST+5*, VEXIST+7, VEXIST+10, VEXIST+11, CHKDSM~, CHKDSM+5*, CHKDSM+7
, CHKDSM+12, CHKDSM+13
S POV+2~
U ACTCODE+14, VER+4, POV+11, POV+14, POV+16, POV+30, POV+33, LABG+22
X POV+2~
Y POV+2~
Z POV+2~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Local Variables |  All