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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: AMHLE

Package: Mental Health Social Services

Routine: AMHLE


Information

AMHLE ; IHS/CMI/LAB - MENTAL HLTH ROUTINE 16-AUG-1994 ;

Source Information

Source file <AMHLE.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Mental Health Social Services 5 EN^AMHEKL  $$ESIGREQ^AMHESIG  PAUSE^AMHLEA  (,$$CTR)^AMHLEIN  GATHER^AMHLEL  
Registration 3 EN^VALM  TERM^VALM0  ($$FTIME,CLEAR,FULL)^VALM1  
Kernel 2 ($$DOW,$$FMTE)^XLFDT  DISP^XQORM1  
IHS Patient 1 ($$DOB,$$HRN)^AUPNPAT  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 9

Package Total Caller Graph
Mental Health Social Services 9 AMHEGR  AMHEGS  AMHLEA  AMHLEE  AMHLEER  AMHLEP1  AMHLEP2  AMHNAVR  
AMHSFR  

Entry Points

Name Comments DBIA/ICR reference
HELP ;EP -- help code
EN ; EP -- main entry point for AMH UPDATE ACTIVITY RECORDS
HDR ;EP -- header code
EOJ ;EOJ CLEANUP
GETTYPE ;EP
EXPND ; -- expand code
START ; Write Header
INIT ;EP -- init variables and list array
EXIT ; -- exit code
TEXT ;
DISPDG ;EP
GETDATE ;EP - GET DATE OF ENCOUNTER

External References

Name Field # of Occurrence
EN^AMHEKL START+6, EOJ+2
$$ESIGREQ^AMHESIG HDR+2
PAUSE^AMHLEA START+5
^AMHLEIN START+11
$$CTR^AMHLEIN DISPDG+3
GATHER^AMHLEL INIT+3
$$DOB^AUPNPAT DISPDG+2
$$HRN^AUPNPAT DISPDG+2
^DIR GETTYPE+4, GETDATE+2
EN^VALM EN+3
TERM^VALM0 START+1
$$FTIME^VALM1 HDR+2
CLEAR^VALM1 EOJ+1, EN+4
FULL^VALM1 START+13, GETTYPE+1
$$DOW^XLFDT HDR+2
$$FMTE^XLFDT DISPDG+2
DISP^XQORM1 HELP+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?80-$L(X)\2,X
  • Line Location: START+8
Function Call: WRITE
  • Prompt: !!
  • Line Location: START+10
Function Call: WRITE
  • Prompt: !,"Please enter the appropriate set of defaults to be used in Data entry.",!,"This applies to default clinic, location, community and program.",!
  • Line Location: GETTYPE+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: GETDATE+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !!,"You are processing a record for the following sensitive patient:",!
  • Line Location: DISPDG+1
Function Call: WRITE
  • Prompt: !?5,$P(^DPT(AMHPAT,0),U,1),?40,"DOB: ",$$FMTE^XLFDT($$DOB^AUPNPAT(AMHPAT)),?65,"HRN: ",$$HRN^AUPNPAT(AMHPAT,DUZ(2))
  • Line Location: DISPDG+2
Function Call: WRITE
  • Prompt: !,$$CTR^AMHLEIN(AMHRESU(X))
  • Line Location: DISPDG+3
Routine Call
  • VALM
  • Line Location:
    • EN+3
Routine Call
  • DIR
  • Line Location:
    • GETTYPE+4
    • GETDATE+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] DISPDG+2
^TMP("AMHVRECS" HDR+4!, EXIT+1!

Label References

Name Line Occurrences
EN START+13
EOJ START+14
EXIT START+13
GETDATE START+13
GETTYPE START+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHDASH HDR+1, HDR+3
>> AMHDATE START+13*, GETDATE+2*, GETDATE+4*, HDR+2
>> AMHDET START+2
AMHKDTIM EN+6!
>> AMHPAT DISPDG+2
>> AMHPATCE GETTYPE+1
>> AMHPTYPE START+13*, GETTYPE+2*, GETTYPE+6*
AMHRCNT HDR+4*, INIT+4, EXIT+1!
>> AMHRESU( DISPDG+3
DA GETTYPE+4!
DIR GETTYPE+4!, GETDATE+2!
DIR("A" GETTYPE+4*, GETDATE+2*
DIR(0 GETTYPE+4*, GETDATE+2*
>> DIRUT GETTYPE+5, GETDATE+2*, GETDATE+3
DT GETDATE+2
>> DUOUT GETDATE+2
DUZ(2 DISPDG+2
IOF START+7, GETTYPE+1
>> IORVOFF START+4
>> IORVON START+3
J START+8*, START+9!
U DISPDG+2
VALMCC EN+2*, EXIT+2!
>> VALMCNT INIT+4*, INIT+5
VALMHDR EXIT+2!
VALMHDR(1 HDR+1*
VALMHDR(2 HDR+2*
VALMHDR(3 HDR+3*
VALMHDR(4 HDR+4*, HDR+5*
>> VALMSG INIT+2*, INIT+5*
X START+8*, START+9!, HELP+1*, DISPDG+3*
>> Y START+2, GETTYPE+6, GETDATE+4

Marked Items

Name Field # of Occurrence
$T(TEXT+J START+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All