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

Package: Mental Health Social Services

Routine: AMHCDBL1


Information

AMHCDBL1 ; IHS/CMI/LAB - backload pcc visits ;

Source Information

Source file <AMHCDBL1.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA Fileman 3 FILE^DICN  ^DIE  IX1^DIK  
IHS VA Utilities 2 $$VAL^XBDIQ1  ^XBFMK  
Mental Health Social Services 1 PCCLINK^AMHCDBL  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health Social Services 1 AMHCDBL  

Entry Points

Name Comments DBIA/ICR reference
PROBCONV ;
N ;
IN ;EP
TD ;EP
PROVPOV ;now create pov/provider
PCONV(P) ;

External References

Name Field # of Occurrence
PCCLINK^AMHCDBL PROVPOV+10, N+48
FILE^DICN IN+6, IN+30, PROVPOV+2, PROVPOV+7, TD+6, N+11, N+39, N+45
^DIE IN+8, IN+11, TD+8, TD+10
IX1^DIK IN+54, N+35
$$VAL^XBDIQ1 IN+45, IN+47, IN+49, N+26, N+28, N+30
^XBFMK IN+27, IN+55, PROVPOV+4, PROVPOV+9, N+9, N+36, N+41, N+47

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"INITIAL entry not complete, skipping ",AMHIEN
  • Line Location: IN+3
Function Call: WRITE
  • Prompt: !!,$C(7),$C(7),"Error creating Behavioral Health Record!! Deleting Record.",!
  • Line Location: IN+7
Function Call: WRITE
  • Prompt: !!,"error editing MHSS Record entry ",AMHIEN," ",AMHMIEN
  • Line Location: IN+12
Function Call: WRITE
  • Prompt: !!,"Creating STAGING TOOL entry failed!!!",$C(7),$C(7)
  • Line Location: IN+31
Function Call: WRITE
  • Prompt: !!,"Creating Primary Provider entry failed!!!",$C(7),$C(7)
  • Line Location: PROVPOV+3
Function Call: WRITE
  • Prompt: !!,"Creating POV entry failed!!!",$C(7),$C(7)
  • Line Location: PROVPOV+8
Function Call: WRITE
  • Prompt: !!,"TDC entry not complete, skipping ",AMHIEN
  • Line Location: TD+3
Function Call: WRITE
  • Prompt: !!,$C(7),$C(7),"Error creating Behavioral Health Record!! Deleting Record.",!
  • Line Location: TD+7
Function Call: WRITE
  • Prompt: !!,"error editing MHSS Record entry ",AMHIEN," ",AMHMIEN
  • Line Location: TD+11
Function Call: WRITE
  • Prompt: !,"no primary problem on discharge ",AMHIEN," ",AMHCDST
  • Line Location: TD+15
Function Call: WRITE
  • Prompt: !!,"Creating STAGING TOOL entry failed!!!",$C(7),$C(7)
  • Line Location: N+12
Function Call: WRITE
  • Prompt: !!,"Creating Primary Provider entry failed!!!",$C(7),$C(7)
  • Line Location: N+40
Function Call: WRITE
  • Prompt: !!,"Creating POV entry failed!!!",$C(7),$C(7)
  • Line Location: N+46
Routine Call
  • DIE
  • Line Location:
    • IN+8
    • IN+11
    • TD+8
    • TD+10

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMHREC - [#9002011] Classic Fileman Calls
^AMHRPRO - [#9002011.01] Classic Fileman Calls
^AMHRPROV - [#9002011.02] Classic Fileman Calls
^AMHRCDST - [#9002011.06] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACDIIF - [#9002170] IN+9, IN+14, IN+19, IN+21, IN+22
^ACDIIF("C" IN+2
^ACDPROB - [#9002170.3] IN+16, IN+23, IN+24, TD+16, N+5, N+6
^ACDTDC - [#9002171] TD+9, TD+13, N+1, N+3, N+4
^ACDTDC("C" TD+2
^AMHPROB("B" PROBCONV+1
^AMHRCDST - [#9002011.06] IN+33*, IN+34*, IN+35*, IN+36*, IN+37*, IN+38*, IN+39*, IN+40*, IN+41*, IN+42*
, IN+43*, IN+51*, IN+52*, IN+53*, N+14*, N+15*, N+16*, N+17*, N+18*, N+19*
, N+20*, N+21*, N+22*, N+23*, N+24*, N+32*, N+33*, N+34*
^AMHTCDDR("B" IN+50, N+31
^AMHTCOMP("B" IN+46, IN+48, N+27, N+29

Label References

Name Line Occurrences
$$PCONV PROBCONV+1
N TD+15
PROBCONV IN+26, N+8
PROVPOV IN+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % PROBCONV+1*
>> AMHACOMP IN+44*, IN+48*, IN+52, N+25*, N+29*, N+33
>> AMHACT IN+11, TD+10
>> AMHC IN+18*, IN+20*, IN+24, TD+15*, TD+17*, N+2*, N+6
>> AMHCDST IN+2*, IN+3, IN+9, IN+14, IN+19, IN+21, IN+22, IN+45, IN+47, IN+49
, TD+2*, TD+3, TD+9, TD+13, TD+15, N+1, N+3, N+4, N+26, N+28
, N+30
>> AMHCDVS PROVPOV+11*, N+48*
>> AMHCOMP IN+11, TD+10
>> AMHCOMT IN+11, TD+10
>> AMHDATE IN+4*, IN+5, TD+4*, TD+5
>> AMHDCOM IN+11, TD+10
>> AMHDIFF IN+44*, IN+50*, IN+53, N+25*, N+31*, N+34
>> AMHIEN IN+2, IN+3, IN+12, TD+2, TD+3, TD+11, TD+15
>> AMHLOC IN+11, TD+10
>> AMHMIEN IN+12, TD+11
>> AMHPAT IN+11, IN+29, PROVPOV+1, PROVPOV+7, TD+10, N+10, N+38, N+45
AMHPROB IN+15!, TD+14!, N+43
AMHPROB( IN+24*, PROVPOV+6, PROVPOV+7, N+6*, N+44, N+45, PROBCONV+1*
AMHPROB(1 IN+16*, IN+29, TD+16*, N+10
>> AMHPROV PROVPOV+1, N+38
>> AMHR IN+8*, IN+10, IN+29, PROVPOV+1, PROVPOV+7, TD+8*, TD+10, N+10, N+38, N+45
>> AMHRCOMP IN+44*, IN+46*, IN+51, N+25*, N+27*, N+32
>> AMHSTIEN IN+32*, IN+33, IN+34, IN+35, IN+36, IN+37, IN+38, IN+39, IN+40, IN+41
, IN+42, IN+43, IN+51, IN+52, IN+53, IN+54, N+13*, N+14, N+15, N+16
, N+17, N+18, N+19, N+20, N+21, N+22, N+23, N+24, N+32, N+33
, N+34, N+35
>> AMHSTR0 IN+14*, IN+16, IN+33, IN+34, IN+35, IN+36, IN+37, IN+38, IN+39, IN+40
, IN+41, IN+42, IN+43, TD+13*, TD+15, TD+16, N+14, N+15, N+16, N+17
, N+18, N+19, N+20, N+21, N+22, N+23, N+24
>> AMHTC IN+11, IN+28, IN+29, TD+10, N+10
>> AMHTIME IN+9*, IN+11, TD+9*, TD+10
>> AMHX PROVPOV+6*, PROVPOV+7, N+44*, N+45
D0 IN+6!, IN+30!, PROVPOV+2!, PROVPOV+7!, TD+6!, N+11!, N+39!, N+45!
DA IN+8*!, IN+10*, IN+30!, IN+54*!, PROVPOV+2!, PROVPOV+7!, TD+8*!, TD+10*, N+11!, N+35*!
, N+39!, N+45!
DD IN+6!, IN+30!, PROVPOV+2!, PROVPOV+7!, TD+6!, N+11!, N+39!, N+45!
DG IN+30!, PROVPOV+2!, PROVPOV+7!, N+11!, N+39!, N+45!
DH IN+30!, PROVPOV+2!, PROVPOV+7!, N+11!, N+39!, N+45!
DI IN+30!, PROVPOV+2!, PROVPOV+7!, N+11!, N+39!, N+45!
DIADD IN+5*, IN+6!, IN+29*, IN+30!, PROVPOV+1*, PROVPOV+2!, PROVPOV+7*!, TD+5*, TD+6!, N+10*
, N+11!, N+38*, N+39!, N+45*!
DIC IN+5!*, IN+6!, IN+29*, IN+30!, PROVPOV+1*, PROVPOV+2!, PROVPOV+7*!, TD+5!*, TD+6!, N+10*
, N+11!, N+38*, N+39!, N+45*!
DIC("DR" IN+5*, IN+29*, PROVPOV+1*, PROVPOV+7*, TD+5*, N+10*, N+38*, N+45*
DIC(0 IN+5*, IN+29*, PROVPOV+1*, PROVPOV+7*, TD+5*, N+10*, N+38*, N+45*
DIE IN+6!, IN+8*!, IN+10*, IN+11*, IN+30!, PROVPOV+2!, PROVPOV+7!, TD+6!, TD+8*!, TD+10*
, N+11!, N+39!, N+45!
DIK IN+54*!, N+35*!
DIU IN+30!, PROVPOV+2!, PROVPOV+7!, N+11!, N+39!, N+45!
DIW IN+30!, PROVPOV+2!, PROVPOV+7!, N+11!, N+39!, N+45!
DLAYGO IN+5*, IN+6!, IN+29*, IN+30!, PROVPOV+1*, PROVPOV+2!, PROVPOV+7*!, TD+5*, TD+6!, N+10*
, N+11!, N+38*, N+39!, N+45*!
DO IN+6!, IN+30!, PROVPOV+2!, PROVPOV+7!, TD+6!, N+11!, N+39!, N+45!
DQ IN+30!, PROVPOV+2!, PROVPOV+7!, N+11!, N+39!, N+45!
DR IN+6!, IN+8*!, IN+11*, TD+6!, TD+8*!, TD+10*
DR(2 IN+8*, TD+8*
DT IN+29, N+10
DUZ IN+5, IN+29, TD+5, N+10
>> N IN+22*, IN+23*, IN+24, N+4*, N+5*, N+6
P IN+21*, IN+23, IN+24, N+3*, N+5, N+6, PCONV~, PCONV+1, PCONV+2, PCONV+3
, PCONV+4, PCONV+5, PCONV+6, PCONV+7, PCONV+8, PCONV+9, PCONV+10, PCONV+11, PCONV+12, PCONV+13
, PCONV+14, PCONV+15, PCONV+16, PCONV+17, PCONV+18, PCONV+19, PCONV+20, PCONV+21, PCONV+22, PCONV+23
, PCONV+24, PCONV+25, PCONV+26, PCONV+27, PCONV+28, PCONV+29, PCONV+30, PCONV+31, PCONV+32, PCONV+33
, PCONV+34, PCONV+35, PCONV+36, PCONV+37, PCONV+38, PCONV+39, PCONV+40, PCONV+41, PCONV+42
U IN+9, IN+16, IN+21, IN+22, IN+23, IN+24, IN+29, IN+33, IN+34, IN+35
, IN+36, IN+37, IN+38, IN+39, IN+40, IN+41, IN+42, IN+43, IN+51, IN+52
, IN+53, PROVPOV+7, TD+9, TD+15, TD+16, N+3, N+4, N+5, N+6, N+10
, N+14, N+15, N+16, N+17, N+18, N+19, N+20, N+21, N+22, N+23
, N+24, N+32, N+33, N+34, N+45, PROBCONV+1
X IN+5*, IN+6!, IN+19*, IN+21, IN+22, IN+29*, IN+45*, IN+46, IN+47*, IN+48
, IN+49*, IN+50, PROVPOV+1*, PROVPOV+7*, TD+5*, TD+6!, N+1*, N+3, N+4, N+10*
, N+26*, N+27, N+28*, N+29, N+30*, N+31, N+38*, N+45*, PROBCONV+1*
>> Y IN+7, IN+8, IN+12, IN+31, IN+32, PROVPOV+3, PROVPOV+8, TD+7, TD+8, TD+11
, N+12, N+13, N+40, N+46
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