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

Package: Mental Health Social Services

Routine: AMHLE2


Information

AMHLE2 ; IHS/CMI/LAB - DE CONT. ;

Source Information

Source file <AMHLE2.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
Mental Health Social Services 8 $$ESIG^AMHESIG  MHPL^AMHLE2  PAUSE^AMHLEA  CALLDIE^AMHLEIN  START^AMHPCCL  EN1^AMHPL  ($$PPINT,$$PPNAME)^AMHUTIL  $$IMP^AMHUTIL2  
IHS VA Utilities 2 $$VAL^XBDIQ1  EN^XBNEW  
Patient Care Component 1 ^APCDVDLT  
Registration 1 FULL^VALM1  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 20

Package Total Caller Graph
Mental Health Social Services 20 AMHBHRU  AMHBL  AMHCDBL  AMHEGR1  AMHEGS  AMHGPCCL  AMHLE2  AMHLEA  
AMHLEA1  AMHLEA2  AMHLEAR1  AMHLEDV  AMHLEE  AMHLEER  AMHLEGP1  AMHLEIC  
AMHLENS  AMHLENS1  AMHLEP2  AMHLEP4  

Entry Points

Name Comments DBIA/ICR reference
TASK1 ;
PRVLINK(P) ;EP
PROBMENU ;;
PCCLINK ;EP - PCCLINK
EP1(AMHPAT) ;EP called from protocol
VISIT ;
DELPT ;delete .02 field of all record entries if not patient related
RECCHECK ;EP - check record for completeness
TASK ;
PCCLINK1 ;
PCCLINK2 ;
EP ;EP = CALLED FROM SCREENMAN
MHPL ;EP - update mh/ss problem list

External References

Name Field # of Occurrence
$$ESIG^AMHESIG PCCLINK+6, TASK+3
MHPL^AMHLE2 EP1+6
PAUSE^AMHLEA RECCHECK+14, PCCLINK+7, TASK+4
CALLDIE^AMHLEIN DELPT+3, MHPL+14, PCCLINK2+6
START^AMHPCCL TASK1+1
EN1^AMHPL MHPL+13
$$PPINT^AMHUTIL PCCLINK1+1
$$PPNAME^AMHUTIL MHPL+11
$$IMP^AMHUTIL2 VISIT+16
^APCDVDLT PCCLINK2+5
^DIR MHPL+7
FULL^VALM1 EP1+1
$$VAL^XBDIQ1 VISIT+6
EN^XBNEW EP+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Location of Encounter Missing!"
  • Line Location: RECCHECK+4
Function Call: WRITE
  • Prompt: !,"Community of Service Missing!"
  • Line Location: RECCHECK+5
Function Call: WRITE
  • Prompt: !,"Activity Type Missing!"
  • Line Location: RECCHECK+6
Function Call: WRITE
  • Prompt: !,"Type of Contact Missing!"
  • Line Location: RECCHECK+7
Function Call: WRITE
  • Prompt: !,"No primary Provider!"
  • Line Location: RECCHECK+9
Function Call: WRITE
  • Prompt: !,"Activity Time Missing!"
  • Line Location: RECCHECK+13
Function Call: WRITE
  • Prompt: !!,"Please EDIT this record."
  • Line Location: RECCHECK+14
Function Call: WRITE
  • Prompt: !!,"Behavioral Health Patient Diagnosis List Update Menu",!
  • Line Location: MHPL+4
Function Call: WRITE
  • Prompt: !?11,AMHJ,") ",AMHX
  • Line Location: MHPL+5
Function Call: WRITE
  • Prompt: !!,"Error encountered in updating BH Diagnosis List for ",$P(^DPT(AMHPAT,0),U)
  • Line Location: MHPL+15
Function Call: WRITE
  • Prompt: !!,"No PCC Link...Note not signed."
  • Line Location: PCCLINK+7
Routine Call
  • DIR
  • Line Location:
    • MHPL+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNPAT - [#9000001] Classic Fileman Calls
^AMHREC - [#9002011] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPROB - [#9002012.2] VISIT+10, VISIT+11, VISIT+12, VISIT+13, VISIT+14, VISIT+15, VISIT+17, VISIT+18
^AMHREC - [#9002011] RECCHECK+1, RECCHECK+2, RECCHECK+15, PCCLINK+3, PCCLINK+5, PCCLINK2+4, PCCLINK2+5, VISIT+4, VISIT+16, VISIT+21
, VISIT+23, TASK+3
^AMHRPRO - [#9002011.01] VISIT+10, VISIT+11, VISIT+12, VISIT+13, VISIT+14, VISIT+15, VISIT+17, VISIT+18
^AMHRPRO("AD" RECCHECK+11, VISIT+9
^AMHRPROV - [#9002011.02] RECCHECK+8
^AMHRPROV("AD" RECCHECK+8
^AMHSITE - [#9002013] PRVLINK+2, PRVLINK+4, PRVLINK+6
^AMHTACT - [#9002012] VISIT+23
^DIC - [#1] DELPT+1, DELPT+2
^DPT - [#2] MHPL+15
^VA(200 - [#200] MHPL+12

Label References

Name Line Occurrences
$$PRVLINK PCCLINK1+1
DELPT RECCHECK+15
MHPL MHPL+17
PCCLINK2 PCCLINK+2, PCCLINK+3, PCCLINK+4
TASK PCCLINK2+2
TASK1 TASK+2
VISIT PCCLINK2+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A PRVLINK+3~, PRVLINK+4*, PRVLINK+5, PRVLINK+6
>> AMHACTN RECCHECK+15, PCCLINK+2, PCCLINK2+1, PCCLINK2+2, TASK+2
>> AMHAUTH MHPL+11*, MHPL+12*
>> AMHDATE EP1+3*
AMHDNKA VISIT+1!, VISIT+9*, VISIT+10*, VISIT+11*, VISIT+12*, VISIT+13*, VISIT+14*, VISIT+15*, VISIT+20
>> AMHERROR RECCHECK+3*, RECCHECK+4*, RECCHECK+5*, RECCHECK+6*, RECCHECK+7*, RECCHECK+9*, RECCHECK+10*, RECCHECK+11*, RECCHECK+13*, RECCHECK+14
>> AMHGOT VISIT+9*, VISIT+17*, VISIT+18*, VISIT+22
>> AMHIAIG TASK+3
>> AMHIMP VISIT+16*, VISIT+17, VISIT+18
AMHJ MHPL+2!, MHPL+5*, MHPL+6!
>> AMHLOC EP1+4*, MHPL+3*
>> AMHLPCC PCCLINK+7, PCCLINK1+1
>> AMHOKAY RECCHECK+3*, RECCHECK+4*, RECCHECK+5*, RECCHECK+6*, RECCHECK+7*, RECCHECK+9*, RECCHECK+10*, RECCHECK+11*, RECCHECK+13*
AMHPAT EP1~, MHPL+13, MHPL+14, MHPL+15
>> AMHPLC MHPL+10*, MHPL+13
>> AMHR RECCHECK+1, RECCHECK+2, RECCHECK+8, RECCHECK+11, RECCHECK+15, MHPL+11, PCCLINK+3, PCCLINK+5, PCCLINK+6, PCCLINK1+1
, PCCLINK2+4, PCCLINK2+5, PCCLINK2+6, VISIT+3, VISIT+4, VISIT+6, VISIT+9, VISIT+16, VISIT+21, VISIT+23
, TASK+3
>> AMHREC RECCHECK+2*, RECCHECK+4, RECCHECK+5, RECCHECK+6, RECCHECK+7, RECCHECK+13
AMHTEXT MHPL+2!, MHPL+6!
>> AMHVDFN DELPT+3*
>> AMHVDG DELPT+2*, DELPT+3
>> AMHVDLT PCCLINK+4, PCCLINK2+1, PCCLINK2+2
>> AMHVFLE DELPT+1*, DELPT+2
>> AMHVI DELPT+3*
>> AMHVIGL DELPT+3*
>> AMHVIGR DELPT+2*, DELPT+3
>> AMHVISIT PCCLINK2+4, PCCLINK2+7, VISIT+2*, TASK1+1*
>> AMHVL DELPT+1*
AMHX MHPL+2!, MHPL+5*, MHPL+6!, VISIT+9*, VISIT+10, VISIT+11, VISIT+12, VISIT+13, VISIT+14, VISIT+15
, VISIT+17, VISIT+18
>> APCDOVRR MHPL+1*
>> APCDVDLT PCCLINK2+5*
DA DELPT+3*, MHPL+14*!, PCCLINK2+6*
>> DFN MHPL+13*
DIE DELPT+3*, MHPL+14*!, PCCLINK2+6*
DIE("NO^" MHPL+14*
DIR MHPL+7!
DIR("A" MHPL+7*
DIR("B" MHPL+7*
DIR(0 MHPL+7*
>> DIRUT MHPL+7*, MHPL+8
>> DITC DELPT+3*
DIU MHPL+16!
DIV MHPL+16!
DR DELPT+3*, MHPL+14*!, PCCLINK2+6*
DT EP1+3
>> DUOUT MHPL+7
DUZ MHPL+12
DUZ(2 EP1+4, MHPL+3, PRVLINK+2, PRVLINK+4, PRVLINK+6
IOF EP1+2, EP+1
P PRVLINK~, PRVLINK+1, PRVLINK+2, PRVLINK+4
U RECCHECK+4, RECCHECK+5, RECCHECK+6, RECCHECK+7, RECCHECK+8, RECCHECK+13, RECCHECK+15, DELPT+3, MHPL+12, MHPL+15
, PCCLINK+5, PCCLINK+7, PCCLINK2+4, PCCLINK2+5, PRVLINK+6, VISIT+4, VISIT+10, VISIT+11, VISIT+12, VISIT+13
, VISIT+14, VISIT+15, VISIT+16, VISIT+17, VISIT+18, VISIT+21, VISIT+23, TASK+3
X RECCHECK+8*, MHPL+16!, PCCLINK+1!, PCCLINK+6*, PCCLINK+7
Y RECCHECK+8*, RECCHECK+9, RECCHECK+10, MHPL+9, MHPL+10, MHPL+15, MHPL+16!
>> ZTQUEUED DELPT+3

Marked Items

Name Field # of Occurrence
$T(PROBMENU+AMHJ MHPL+5
$T(PROBMENU+AMHPLC MHPL+14
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 |  Marked Items |  All