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 |  Marked Items |  All
Print Page as PDF
Routine: AMH40P4

Package: Mental Health Social Services

Routine: AMH40P4


Information

AMH40P4 ; IHS/CMI/LAB - POST INIT BH 16 Apr 2009 7:37 AM 01 Aug 2009 5:37 AM ; 13 Apr 2010 3:54 PM

Source Information

Source file <AMH40P4.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Kernel 4 $$CJ^XLFSTR  DEL^XPDKEY  (ADD,DELETE,RENAME)^XPDMENU  ($$VERSION,MES)^XPDUTL  
VA Fileman 4 (,IX)^DIC  FILE^DICN  ^DIE  ^DIK  
DRG Grouper 1 (,$$ICDDX)^ICDEX  
M Transfer 1 GUIEP^BMXPO  

Entry Points

Name Comments DBIA/ICR reference
PRE ;
FLAG4 ;
FLAGOC ;FLAG ALL OTHER CODES AS DSV IV OR PC
INACTPC ;
ENV ;EP
INSTALLD(AMHSTAL) ;EP - Determine if patch AMHSTAL was installed, where
; APCLSTAL is the name of the INSTALL. E.g "AG*6.0*11".
IMES ;
SETDSMD ;
FLAGTP ;
DSM10
SORRY(X) ;
POST ;EP
BMXPO ;-- update the RPC file
ADDDSMV ;add all new dsm v codes
CLEAN(APP) ;-- clean out the RPC multiple first

External References

Name Field # of Occurrence
GUIEP^BMXPO BMXPO+5
^DIC INSTALLD+9, INSTALLD+12
IX^DIC INSTALLD+6
FILE^DICN ADDDSMV+27, DSM10+24
^DIE PRE+8, SETDSMD+3, FLAGTP+5, FLAGOC+9, INACTPC+8, FLAG4+8
^DIK PRE+2, PRE+3, PRE+4, PRE+5, CLEAN+6
^ICDEX FLAGOC+7
$$ICDDX^ICDEX FLAGOC+7
$$CJ^XLFSTR ENV+2, ENV+3, ENV+4, ENV+5, ENV+6, ENV+7, IMES+1, SORRY+4
DEL^XPDKEY POST+4
ADD^XPDMENU POST+8, POST+9
DELETE^XPDMENU POST+5, POST+7
RENAME^XPDMENU POST+6
$$VERSION^XPDUTL ENV+2, ENV+4, ENV+6
MES^XPDUTL ENV+2, ENV+3, ENV+4, ENV+5, ENV+6, ENV+7, ADDDSMV+9, DSM10+6, IMES+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"ERROR ON ",AMHX," ",AMHCODE," ",DIC("DR")
  • Line Location: ADDDSMV+28
Function Call: WRITE
  • Prompt: !,"ERROR ON ",AMHX," ",AMHCODE," ",DIC("DR")
  • Line Location: DSM10+25
Function Call: WRITE
  • Prompt: *7,!,$$CJ^XLFSTR("Sorry....FIX IT!",IOM)
  • Line Location: SORRY+4
Routine Call
  • DIE
  • Line Location:
    • PRE+8
    • SETDSMD+3
    • FLAGTP+5
    • FLAGOC+9
    • INACTPC+8
    • FLAG4+8
Routine Call
  • DIC
  • Line Location:
    • INSTALLD+9
    • INSTALLD+12
Routine Call
  • DIC
  • Line Location:
    • INSTALLD+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(9.4 - [#9.4] Classic Fileman Calls
^AMHPTXP - [#9002011.56] Classic Fileman Calls
^AMHPROB - [#9002012.2] Classic Fileman Calls
^AMHTPCAD - [#9002012.3] Classic Fileman Calls
^AMHPCIN - [#9002012.35] Classic Fileman Calls
^AMHPROBC - [#9002012.4] Classic Fileman Calls
^AMHSITE - [#9002013] Classic Fileman Calls
^AMHSORT - [#9002013.3] Classic Fileman Calls
^AMHRECD - [#9002014.1] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPCIN - [#9002012.35] PRE+3, INACTPC+1, INACTPC+2, INACTPC+3, FLAG4+1, FLAG4+2, FLAG4+3
^AMHPROB - [#9002012.2] FLAGOC+2, FLAGOC+3, FLAGOC+4, INACTPC+6, INACTPC+7, FLAG4+6, FLAG4+7
^AMHPROB("B" INACTPC+5, FLAG4+5
^AMHPROBC("B" PRE+7, ADDDSMV+8, DSM10+5
^AMHPTXP - [#9002011.56] FLAGTP+4
^AMHRECD - [#9002014.1] PRE+4
^AMHSITE - [#9002013] SETDSMD+1, SETDSMD+2
^AMHSORT - [#9002013.3] PRE+2
^AMHTPCAD - [#9002012.3] PRE+5, ADDDSMV+2, ADDDSMV+3, ADDDSMV+4, ADDDSMV+6, ADDDSMV+7, ADDDSMV+11, ADDDSMV+12, ADDDSMV+13, ADDDSMV+14
, DSM10+1, DSM10+3, DSM10+4, DSM10+8, DSM10+9, DSM10+10, DSM10+11
^DIC(19 - [#19] BMXPO+2, CLEAN+4, CLEAN+7!
^DIC(19.1 - [#19.1] POST+3

Label References

Name Line Occurrences
$$INSTALLD ENV+8, PRE+10, ADDDSMV+1
ADDDSMV POST+16
BMXPO POST+15
CLEAN BMXPO+4
DSM10 ADDDSMV+3
FLAG4 POST+10
FLAGOC POST+13
FLAGTP POST+14
IMES INSTALLD+7, INSTALLD+10, INSTALLD+14
INACTPC POST+11
SETDSMD POST+2
SORRY ENV+2, ENV+4, ENV+6, ENV+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHC INACTPC+3*, INACTPC+5, FLAG4+3*, FLAG4+5
>> AMHCODE ADDDSMV+4*, ADDDSMV+5, ADDDSMV+9, ADDDSMV+25, ADDDSMV+28, DSM10+1*, DSM10+2, DSM10+6, DSM10+22, DSM10+25
>> AMHCS ADDDSMV+14*, ADDDSMV+26, DSM10+11*, DSM10+23
AMHDA CLEAN+3~, CLEAN+4*, CLEAN+5
>> AMHEHR ADDDSMV+12*, ADDDSMV+26, DSM10+9*, DSM10+23
>> AMHICD ADDDSMV+11*, ADDDSMV+26, DSM10+8*, DSM10+23
>> AMHNARR ADDDSMV+6*, ADDDSMV+26, DSM10+3*, DSM10+23
>> AMHNOBH ADDDSMV+13*, ADDDSMV+26, DSM10+10*, DSM10+23
>> AMHPAIN PRE+1*, PRE+10*, FLAGTP+3
>> AMHPC ADDDSMV+7*, ADDDSMV+8, ADDDSMV+9, DSM10+4*, DSM10+5, DSM10+6
>> AMHPCC ADDDSMV+8*, ADDDSMV+9, ADDDSMV+26, DSM10+5*, DSM10+6, DSM10+23
AMHRPC BMXPO+1~, BMXPO+2*, BMXPO+3, BMXPO+4, BMXPO+5
AMHSTAL INSTALLD~, INSTALLD+4, INSTALLD+8, INSTALLD+11, IMES+1
>> AMHX SETDSMD+1*, SETDSMD+2, SETDSMD+3, POST+3*, POST+4, ADDDSMV+2*, ADDDSMV+3, ADDDSMV+4, ADDDSMV+6, ADDDSMV+7
, ADDDSMV+11, ADDDSMV+12, ADDDSMV+13, ADDDSMV+14, ADDDSMV+28, DSM10+1, DSM10+3, DSM10+4, DSM10+8, DSM10+9
, DSM10+10, DSM10+11, DSM10+25, FLAGTP+4*, FLAGTP+5, FLAGOC+2*, FLAGOC+3, FLAGOC+4, FLAGOC+9, INACTPC+1*
, INACTPC+2, INACTPC+3, FLAG4+1*, FLAG4+2, FLAG4+3
AMHY INACTPC+5*, INACTPC+6, INACTPC+7, INACTPC+8, FLAG4+5*, FLAG4+6, FLAG4+7, FLAG4+8, INSTALLD+3~, INSTALLD+13*
, INSTALLD+15
APP CLEAN~, CLEAN+1, CLEAN+4, CLEAN+7
>> C FLAGOC+4*, FLAGOC+5, FLAGOC+7, FLAGOC+10
>> D INSTALLD+5*
D0 ADDDSMV+23!, ADDDSMV+29!, DSM10+20!, DSM10+26!
DA PRE+2*, PRE+3*, PRE+4*, PRE+5*, PRE+6!, PRE+7*, PRE+8, PRE+9!, SETDSMD+3*!, ADDDSMV+29!
, DSM10+26!, FLAGTP+5*!, FLAGOC+9*!, INACTPC+8*!, FLAG4+8*!, CLEAN+5*
DA(1 CLEAN+1*, CLEAN+2
DD ADDDSMV+23!, ADDDSMV+29!, DSM10+20!, DSM10+26!
DIADD ADDDSMV+23!, ADDDSMV+25*, ADDDSMV+29!, DSM10+20!, DSM10+22*, DSM10+26!
DIC ADDDSMV+23!, ADDDSMV+25*, ADDDSMV+29!, DSM10+20!, DSM10+22*, DSM10+26!, INSTALLD+3~, INSTALLD+5*, INSTALLD+8*, INSTALLD+11*
DIC("DR" ADDDSMV+26*, ADDDSMV+28, DSM10+23*, DSM10+25
DIC(0 ADDDSMV+25*, DSM10+22*, INSTALLD+5*
DIE PRE+8*, PRE+9!, SETDSMD+3*!, FLAGTP+5*!, FLAGOC+9*!, INACTPC+8*!, FLAG4+8*!
DIFQ SORRY+1!
DIK PRE+2*, PRE+3*, PRE+4*, PRE+5*, PRE+6!, CLEAN+2*
DITC ADDDSMV+24*, ADDDSMV+29!, DSM10+21*, DSM10+26!
DLAYGO ADDDSMV+23!, ADDDSMV+25*, ADDDSMV+29!, DSM10+20!, DSM10+22*, DSM10+26!
DO ADDDSMV+29!, DSM10+26!
DR PRE+8*, SETDSMD+3*!, ADDDSMV+29!, DSM10+26!, FLAGTP+5*!, FLAGOC+9*!, INACTPC+8*!, FLAG4+8*!
DT INACTPC+8
IOM IMES+1, SORRY+4
>> RETVAL BMXPO+5
>> S FLAGOC+4*, FLAGOC+5*, FLAGOC+6, FLAGOC+7*, FLAGOC+8*, FLAGOC+9, FLAGOC+10
>> T FLAGOC+4*, FLAGOC+7*
U SETDSMD+2, ADDDSMV+3, ADDDSMV+4, ADDDSMV+6, ADDDSMV+7, ADDDSMV+11, ADDDSMV+12, ADDDSMV+13, ADDDSMV+14, DSM10+1
, DSM10+3, DSM10+4, DSM10+8, DSM10+9, DSM10+10, DSM10+11, FLAGOC+3, FLAGOC+4, FLAGOC+7, INACTPC+2
, INACTPC+3, INACTPC+7, FLAG4+2, FLAG4+3, FLAG4+7
X ENV+1*, ADDDSMV+25*, DSM10+22*, INSTALLD+3~, INSTALLD+4*, INSTALLD+8*, INSTALLD+11*, SORRY~, SORRY+2, SORRY+3
>> XPDDIQ( ENV+1*
>> XPDQUIT SORRY+2*, SORRY+3*
Y ADDDSMV+28, DSM10+25, INSTALLD+3~, INSTALLD+7, INSTALLD+8, INSTALLD+10, INSTALLD+11, INSTALLD+13, IMES+1

Marked Items

Name Field # of Occurrence
$T(^ICDEX FLAGOC+7
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 |  Marked Items |  All