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: AMH40P8

Package: Mental Health Social Services

Routine: AMH40P8


Information

AMH40P8 ; IHS/CMI/LAB - POST INIT BH 4.0 P8

Source Information

Source file <AMH40P8.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA Fileman 4 (,IX)^DIC  FILE^DICN  ^DIE  ^DIK  
Kernel 3 ($$CJ,$$UP)^XLFSTR  $$ADD^XPDMENU  ($$VERSION,MES)^XPDUTL  

Entry Points

Name Comments DBIA/ICR reference
PRE ;
EDITC ;
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 ;
SORRY(X) ;
DSM10
FIXF1420 ;
ADDZ86 ;
POST ;EP
ADDDSMV ;add all new dsm v codes
ADDZ86E ;

External References

Name Field # of Occurrence
^DIC INSTALLD+9, INSTALLD+12
IX^DIC INSTALLD+6
FILE^DICN DSM10+24, ADDZ86+7
^DIE FIXF1420+6, EDITC+2, INACTPC+9, ADDZ86E+2
^DIK PRE+2, PRE+3
$$CJ^XLFSTR ENV+2, ENV+3, ENV+4, ENV+5, ENV+6, ENV+7, ADDDSMV+1, INACTPC+1, IMES+1, SORRY+4
$$UP^XLFSTR DSM10+16
$$ADD^XPDMENU POST+4, POST+6, POST+8, POST+10, POST+12, POST+14
$$VERSION^XPDUTL ENV+2, ENV+4, ENV+6
MES^XPDUTL ENV+2, ENV+3, ENV+4, ENV+5, ENV+6, ENV+7, ADDDSMV+1, DSM10+6, DSM10+27, EDITC+3
, EDITC+4, INACTPC+1, INACTPC+10, ADDZ86+10, IMES+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Attempt to add SUICIDE SCREENING REPORTS option failed.."
  • Line Location: POST+5
Function Call: WRITE
  • Prompt: !,"Attempt to add AMH GAD ONE PATIENT option failed.."
  • Line Location: POST+7
Function Call: WRITE
  • Prompt: !,"Attempt to add AMH GAD ONE PATIENT option failed.."
  • Line Location: POST+9
Function Call: WRITE
  • Prompt: !,"Attempt to add AMH GAD MULTIPLE PATIENTS option failed.."
  • Line Location: POST+11
Function Call: WRITE
  • Prompt: !,"Attempt to add AMH GAD MULTIPLE PATIENTS option failed.."
  • Line Location: POST+13
Function Call: WRITE
  • Prompt: !,"Attempt to add SBIRT REPORT option failed.."
  • Line Location: POST+15
Function Call: WRITE
  • Prompt: !,"ERROR ON ",AMHX," ",AMHCODE," ",DIC("DR")
  • Line Location: DSM10+25
Function Call: WRITE
  • Prompt: !,"ERROR ON ",AMHX," ",AMHCODE," ",DIC("DR")
  • Line Location: ADDZ86+8
Function Call: WRITE
  • Prompt: *7,!,$$CJ^XLFSTR("Sorry....FIX IT!",IOM)
  • Line Location: SORRY+4
Routine Call
  • DIE
  • Line Location:
    • FIXF1420+6
    • EDITC+2
    • INACTPC+9
    • ADDZ86E+2
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
^AMHPROB - [#9002012.2] Classic Fileman Calls
^AMHTPCAD - [#9002012.3] Classic Fileman Calls
^AMHSORT - [#9002013.3] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPCIN - [#9002012.35] INACTPC+2, INACTPC+3, INACTPC+4, INACTPC+9
^AMHPROB - [#9002012.2] FIXF1420+4, FIXF1420+5, DSM10+15, DSM10+16, DSM10+27, EDITC+4, INACTPC+7, INACTPC+10, ADDZ86+10
^AMHPROB("B" DSM10+14, INACTPC+6, ADDZ86+1, ADDZ86E+1
^AMHPROB("C" FIXF1420+3
^AMHPROBC("B" DSM10+5
^AMHSORT - [#9002013.3] PRE+2
^AMHTPCAD - [#9002012.3] PRE+3, FIXF1420+2, ADDDSMV+2, DSM10+1, DSM10+3, DSM10+4, DSM10+7, DSM10+8, DSM10+9, DSM10+10
^AMHTPCAD("B" FIXF1420+1

Label References

Name Line Occurrences
$$INSTALLD ENV+8
ADDDSMV POST+3
ADDZ86 POST+1
ADDZ86E ADDZ86+1
EDITC DSM10+18
FIXF1420 POST+2
IMES INSTALLD+7, INSTALLD+10, INSTALLD+14
SORRY ENV+2, ENV+4, ENV+6, ENV+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHC INACTPC+4*, INACTPC+6
>> AMHCODE DSM10+1*, DSM10+2, DSM10+6, DSM10+14, DSM10+22, DSM10+25, EDITC+3, ADDZ86+8
>> AMHCS DSM10+10*, DSM10+23, EDITC+1
>> AMHEHR DSM10+8*, DSM10+23, EDITC+1
>> AMHICD DSM10+7*, DSM10+23, EDITC+1
>> AMHIEN FIXF1420+3*, FIXF1420+4, FIXF1420+5, FIXF1420+6
>> AMHNARR DSM10+3*, DSM10+16, DSM10+23, EDITC+1
>> AMHNOBH DSM10+9*, DSM10+23, EDITC+1
>> AMHPC DSM10+4*, DSM10+5, DSM10+6
>> AMHPCC DSM10+5*, DSM10+6, DSM10+23, EDITC+1
AMHSTAL INSTALLD~, INSTALLD+4, INSTALLD+8, INSTALLD+11, IMES+1
>> AMHT FIXF1420+2*, FIXF1420+3
AMHX PRE+1~, PRE+2*, PRE+3*, FIXF1420+1*, FIXF1420+2, ADDDSMV+2*, DSM10+1, DSM10+3, DSM10+4, DSM10+7
, DSM10+8, DSM10+9, DSM10+10, DSM10+25, INACTPC+2*, INACTPC+3, INACTPC+4, INACTPC+9, ADDZ86+8
AMHY DSM10+14*, DSM10+15, DSM10+16, DSM10+17, INACTPC+6*, INACTPC+7, INACTPC+9, INACTPC+10, INSTALLD+3~, INSTALLD+13*
, INSTALLD+15
>> D INSTALLD+5*
D0 DSM10+20!, DSM10+25!, DSM10+26!, ADDZ86+3!, ADDZ86+8!, ADDZ86+9!
DA PRE+1~, PRE+2*!, PRE+3*!, FIXF1420+6*!, DSM10+12!, DSM10+13*, DSM10+14, DSM10+17*, DSM10+18, DSM10+25!
, DSM10+26!, EDITC+3!, EDITC+4, EDITC+5!, INACTPC+9*!, ADDZ86+8!, ADDZ86+9!, ADDZ86E+1*, ADDZ86E+2!
DD DSM10+20!, DSM10+25!, DSM10+26!, ADDZ86+3!, ADDZ86+8!, ADDZ86+9!
DIADD DSM10+20!, DSM10+22*, DSM10+25!, DSM10+26!, ADDZ86+3!, ADDZ86+5*, ADDZ86+8!, ADDZ86+9!
DIC DSM10+20!, DSM10+22*, DSM10+25!, DSM10+26!, ADDZ86+3!, ADDZ86+5*, ADDZ86+8!, ADDZ86+9!, INSTALLD+3~, INSTALLD+5*
, INSTALLD+8*, INSTALLD+11*
DIC("DR" DSM10+23*, DSM10+25, ADDZ86+6*, ADDZ86+8
DIC(0 DSM10+22*, ADDZ86+5*, INSTALLD+5*
DIE FIXF1420+6*!, DSM10+12!, EDITC+1*, EDITC+3!, EDITC+5!, INACTPC+9*!, ADDZ86E+2*!
DIFQ SORRY+1!
DIK PRE+1~, PRE+2*!, PRE+3*!
DITC DSM10+21*, DSM10+25!, DSM10+26!, ADDZ86+4*, ADDZ86+8!, ADDZ86+9!
DLAYGO DSM10+20!, DSM10+22*, DSM10+25!, DSM10+26!, ADDZ86+3!, ADDZ86+5*, ADDZ86+8!, ADDZ86+9!
DO DSM10+25!, DSM10+26!, ADDZ86+8!, ADDZ86+9!
DR FIXF1420+6*!, DSM10+12!, DSM10+25!, DSM10+26!, EDITC+1*, EDITC+3!, EDITC+5!, INACTPC+9*!, ADDZ86+8!, ADDZ86+9!
, ADDZ86E+2*!
IOM ADDDSMV+1, INACTPC+1, IMES+1, SORRY+4
U FIXF1420+2, FIXF1420+5, DSM10+1, DSM10+3, DSM10+4, DSM10+7, DSM10+8, DSM10+9, DSM10+10, DSM10+15
, DSM10+16, DSM10+27, EDITC+4, INACTPC+3, INACTPC+4, INACTPC+9, INACTPC+10, ADDZ86+10
X ENV+1*, POST+4*, POST+5, POST+6*, POST+7, POST+8*, POST+9, POST+10*, POST+11, POST+12*
, POST+13, POST+14*, POST+15, DSM10+22*, ADDZ86+5*, INSTALLD+3~, INSTALLD+4*, INSTALLD+8*, INSTALLD+11*, SORRY~
, SORRY+2, SORRY+3
>> XPDDIQ( ENV+1*
>> XPDQUIT SORRY+2*, SORRY+3*
Y DSM10+25, DSM10+27, EDITC+3, ADDZ86+8, ADDZ86+10, INSTALLD+3~, INSTALLD+7, INSTALLD+8, INSTALLD+10, INSTALLD+11
, INSTALLD+13, IMES+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