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

Package: Mental Health Social Services

Routine: AMH30P4D


Information

AMH30P4D ; IHS/CMI/LAB - POST INIT BH ; [ 12/23/04 7:30 AM ]

Source Information

Source file <AMH30P4D.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
IHS VA Utilities 1 ^XBFMK  
VA Fileman 1 ^DIE  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health Social Services 1 AMH30P4  

Entry Points

Name Comments DBIA/ICR reference
LOCACT ;
INTER ;
SUBSTAN ;
EMPLOY ;
RELATION ;
EDUC ;
OVERDOSE ;
PREVIOUS ;
UPDSA ;
UPDOD ;
SUB ; CONVERT 3'S TO 2

External References

Name Field # of Occurrence
^DIE AMH30P4D+14, SUB+4, EMPLOY+5, PREVIOUS+5, RELATION+5, LOCACT+5, EDUC+5
^XBFMK AMH30P4D+15, SUB+6, EMPLOY+4, EMPLOY+7, PREVIOUS+4, PREVIOUS+7, RELATION+4, RELATION+7, LOCACT+4, LOCACT+7
, EDUC+4, EDUC+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"SUB drug missing ",AMHX," ",AMHY
  • Line Location: UPDSA+5
Function Call: WRITE
  • Prompt: !!,"SUBSTANCE drug conversion for ien ",AMHX," failed."
  • Line Location: UPDSA+8
Function Call: WRITE
  • Prompt: !!,"drug missing ",AMHX," ",AMHZ
  • Line Location: UPDOD+5
Function Call: WRITE
  • Prompt: !!,"overdose drug conversion for ien ",AMHX," failed."
  • Line Location: UPDOD+8
Function Call: WRITE
  • Prompt: !!,"error updating substance used from 3 to 2 ien ",AMHX
  • Line Location: SUB+5
Function Call: WRITE
  • Prompt: !,"error converting employed on form ien ",AMHX
  • Line Location: EMPLOY+6
Function Call: WRITE
  • Prompt: !,"error converting PREVIOUS ATTEMPTS on form ien ",AMHX
  • Line Location: PREVIOUS+6
Function Call: WRITE
  • Prompt: !,"error converting RELATIONSHIP STATUS on form ien ",AMHX
  • Line Location: RELATION+6
Function Call: WRITE
  • Prompt: !,"error converting LOCATION OF ACT on form ien ",AMHX
  • Line Location: LOCACT+6
Function Call: WRITE
  • Prompt: !,"error converting EDUCATION LEVEL on form ien ",AMHX
  • Line Location: EDUC+6
Routine Call
  • DIE
  • Line Location:
    • AMH30P4D+14
    • SUB+4
    • EMPLOY+5
    • PREVIOUS+5
    • RELATION+5
    • LOCACT+5
    • EDUC+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMHPSUIC - [#9002011.65] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPSUIC - [#9002011.65] AMH30P4D+5, AMH30P4D+6, UPDSA+10*, UPDSA+11*, UPDSA+12*, UPDSA+13, UPDSA+14*, UPDOD+10, UPDOD+11!, UPDOD+12*
, UPDOD+13*, SUB+1, SUB+2, SUB+4, EMPLOY+2, PREVIOUS+2, RELATION+2, INTER+1*, INTER+2*, LOCACT+2
, EDUC+2
^AMHTSDRG("AA" UPDOD+4
^AMHTSSU("AA" UPDSA+4
^XTMP("AMH30P4" OVERDOSE+1, OVERDOSE+2, OVERDOSE+3, OVERDOSE+4, SUBSTAN+1, SUBSTAN+2, SUBSTAN+3, SUBSTAN+4

Label References

Name Line Occurrences
EDUC AMH30P4D+9
EMPLOY AMH30P4D+7
INTER AMH30P4D+11
LOCACT AMH30P4D+10
PREVIOUS AMH30P4D+12
RELATION AMH30P4D+8
SUB AMH30P4D+13
UPDOD OVERDOSE+6, OVERDOSE+7, OVERDOSE+8, OVERDOSE+9, OVERDOSE+10, OVERDOSE+11, OVERDOSE+12, OVERDOSE+13, OVERDOSE+14, OVERDOSE+15
, OVERDOSE+16, OVERDOSE+17, OVERDOSE+18, OVERDOSE+19
UPDSA SUBSTAN+6, SUBSTAN+7, SUBSTAN+8, SUBSTAN+9, SUBSTAN+10, SUBSTAN+11, SUBSTAN+12, SUBSTAN+13, SUBSTAN+14, SUBSTAN+15
, SUBSTAN+16, SUBSTAN+17, SUBSTAN+18, SUBSTAN+19

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHD OVERDOSE+4*, OVERDOSE+6, OVERDOSE+7, OVERDOSE+8, OVERDOSE+9, OVERDOSE+10, OVERDOSE+11, OVERDOSE+12, OVERDOSE+13, OVERDOSE+14
, OVERDOSE+15, OVERDOSE+16, OVERDOSE+17, OVERDOSE+18, OVERDOSE+19, OVERDOSE+20, SUBSTAN+4*, SUBSTAN+6, SUBSTAN+7, SUBSTAN+8
, SUBSTAN+9, SUBSTAN+10, SUBSTAN+11, SUBSTAN+12, SUBSTAN+13, SUBSTAN+14, SUBSTAN+15, SUBSTAN+16, SUBSTAN+17, SUBSTAN+18
, SUBSTAN+19, SUBSTAN+20
>> AMHND OVERDOSE+5*, OVERDOSE+6*, OVERDOSE+7*, OVERDOSE+8*, OVERDOSE+9*, OVERDOSE+10*, OVERDOSE+11*, OVERDOSE+12*, OVERDOSE+13*, OVERDOSE+14*
, OVERDOSE+15*, OVERDOSE+16*, OVERDOSE+17*, OVERDOSE+18*, OVERDOSE+19*, SUBSTAN+5*, SUBSTAN+6*, SUBSTAN+7*, SUBSTAN+8*, SUBSTAN+9*
, SUBSTAN+10*, SUBSTAN+11*, SUBSTAN+12*, SUBSTAN+13*, SUBSTAN+14*, SUBSTAN+15*, SUBSTAN+16*, SUBSTAN+17*, SUBSTAN+18*, SUBSTAN+19*
, UPDSA+4, UPDOD+4
>> AMHNDT OVERDOSE+5*, OVERDOSE+10*, OVERDOSE+11*, OVERDOSE+12*, OVERDOSE+14*, OVERDOSE+15*, SUBSTAN+5*, SUBSTAN+10*, SUBSTAN+11*, SUBSTAN+12*
, SUBSTAN+15*, SUBSTAN+18*, SUBSTAN+19*
>> AMHX AMH30P4D+5*, AMH30P4D+6, AMH30P4D+14, OVERDOSE+1*, OVERDOSE+2, OVERDOSE+3, OVERDOSE+4, SUBSTAN+1*, SUBSTAN+2, SUBSTAN+3
, SUBSTAN+4, UPDSA+5, UPDSA+10, UPDSA+11, UPDSA+12, UPDSA+13, UPDSA+14, UPDOD+5, UPDOD+10, UPDOD+11
, UPDOD+12, UPDOD+13, SUB+1, SUB+2, SUB+4, SUB+5, EMPLOY+2, EMPLOY+5, EMPLOY+6, PREVIOUS+2
, PREVIOUS+5, PREVIOUS+6, RELATION+2, RELATION+5, RELATION+6, INTER+1, INTER+2, LOCACT+2, LOCACT+5, LOCACT+6
, EDUC+2, EDUC+5, EDUC+6
>> AMHY OVERDOSE+2*, OVERDOSE+3, OVERDOSE+4, SUBSTAN+2*, SUBSTAN+3, SUBSTAN+4, UPDSA+5, UPDOD+10, UPDOD+11, UPDOD+12
, UPDOD+13, SUB+1*, SUB+2
>> AMHZ OVERDOSE+3*, OVERDOSE+4, SUBSTAN+3*, SUBSTAN+4, UPDSA+11, UPDSA+12, UPDOD+5, UPDOD+10, UPDOD+11, UPDOD+12
, UPDOD+13
>> C UPDSA+13*, UPDSA+14
>> DA AMH30P4D+14*, SUB+4*, EMPLOY+5*, PREVIOUS+5*, RELATION+5*, LOCACT+5*, EDUC+5*
>> DIE AMH30P4D+14*, SUB+4*, EMPLOY+5*, PREVIOUS+5*, RELATION+5*, LOCACT+5*, EDUC+5*
>> DR AMH30P4D+14*, SUB+4*, EMPLOY+5*, PREVIOUS+5*, RELATION+5*, LOCACT+5*, EDUC+5*
>> N SUB+3*, SUB+4, EMPLOY+1*, EMPLOY+3*, EMPLOY+5, PREVIOUS+1*, PREVIOUS+3*, PREVIOUS+5, RELATION+1*, RELATION+3*
, RELATION+5, LOCACT+1*, LOCACT+3*, LOCACT+5, EDUC+1*, EDUC+3*, EDUC+5
>> O UPDOD+10*, UPDOD+11, EMPLOY+1*, EMPLOY+2*, EMPLOY+3, PREVIOUS+1*, PREVIOUS+2*, PREVIOUS+3, RELATION+1*, RELATION+2*
, RELATION+3, LOCACT+1*, LOCACT+2*, LOCACT+3, EDUC+1*, EDUC+2*, EDUC+3
>> S SUB+2*, SUB+3
U AMH30P4D+6, UPDSA+11, UPDSA+14, UPDOD+10, UPDOD+12, SUB+2, SUB+4, EMPLOY+2, PREVIOUS+2, RELATION+2
, INTER+1, INTER+2, LOCACT+2, EDUC+2
>> X UPDSA+4*, UPDSA+5, UPDSA+11, UPDSA+12, UPDOD+4*, UPDOD+5, UPDOD+12, UPDOD+13
>> Y UPDSA+13*, SUB+5, EMPLOY+6, PREVIOUS+6, RELATION+6, LOCACT+6, EDUC+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All