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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: AMHBL

Package: Mental Health Social Services

Routine: AMHBL


Information

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

Source Information

Source file <AMHBL.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Mental Health Social Services 3 ^AMHEKL  PCCLINK^AMHLE2  ^AMHLEIN  
VA Fileman 3 DD^%DT  C^%DTC  ^DIR  

Entry Points

Name Comments DBIA/ICR reference
BD ;get beginning date
CONT ;
D ; Run by encounter date
ED ;get ending date
GETDATES ;
XIT ;
PROC ;
EP ;
D1 ;

External References

Name Field # of Occurrence
DD^%DT ED+1, ED+4
C^%DTC ED+4
^AMHEKL XIT+3
PCCLINK^AMHLE2 PROC+6
^AMHLEIN EP+3
^DIR BD+2, ED+1, CONT+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This routine will backload PCC visits from the BH package for a date",!,"range specified by the user.",!
  • Line Location: EP+2
Function Call: WRITE
  • Prompt: !!,"No PCC link is active. Check PCC Master Control file, or MHSS Site Parameter",!,"file.",!!
  • Line Location: EP+4
Function Call: WRITE
  • Prompt: !!,"*** PLEASE TURN OFF THE INTERACTIVE PCC LINK BEFORE YOU RUN THIS ROUTINE",!,"AND THEN REMEMBER TO SET IT BACK WHEN DONE.",!
  • Line Location: EP+5
Function Call: WRITE
  • Prompt: !,"Please enter the date range for which visits will be created from BH package.",!
  • Line Location: BD+1
Function Call: WRITE
  • Prompt: !
  • Line Location: BD+2
Function Call: WRITE
  • Prompt: !
  • Line Location: ED+1
Function Call: WRITE
  • Prompt: "."
  • Line Location: PROC+5
Function Call: WRITE
  • Prompt: !!,"ALL DONE",!
  • Line Location: XIT+1
Routine Call
  • DIR
  • Line Location:
    • BD+2
    • ED+1
    • CONT+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHREC - [#9002011] D1+1, PROC+1, PROC+3
^AMHREC("B" D+1, D1+1
^AMHSITE - [#9002013] EP+5

Label References

Name Line Occurrences
BD ED+2
D1 D+1
PROC D1+1
XIT EP+4, BD+3, CONT+2, CONT+3

Naked Globals

Name Field # of Occurrence
^(0 D1+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AMHACTN PROC+6*, XIT+2!
AMHBD BD+4*, ED+1, ED+4, XIT+2!
AMHBDD ED+4*, XIT+2!
AMHBL EP+1*, XIT+2!
AMHED ED+3*, ED+4, D+1, XIT+2!
AMHEDD ED+4*, XIT+2!
AMHLPCC EP+4, XIT+2!
AMHODAT D+1*, D1+1, XIT+2!
>> AMHPTYPE PROC+3*
AMHR D1+1*, PROC+1, PROC+3, XIT+2!
AMHR0 D1+1*, PROC+4, XIT+2!
AMHRCNT D1+1*, XIT+2!
AMHSD ED+4*, D+1, XIT+2!
DIR BD+2!, ED+1!, CONT+1!
DIR("A" BD+2*, ED+1*, CONT+1*
DIR("B" CONT+1*
DIR(0 BD+2*, ED+1*, CONT+1*
>> DIRUT BD+2*, BD+3, ED+1*, ED+2, CONT+1*, CONT+2
>> DUOUT BD+2, ED+1, CONT+1
DUZ(2 EP+5
U EP+5, D1+1, PROC+1, PROC+3, PROC+4
>> X ED+4
>> X1 ED+4*
>> X2 ED+4*
>> Y BD+4, ED+1*, ED+3, ED+4*, CONT+3
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All