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 |  Local Variables |  All
Print Page as PDF
Routine: AMHLEP3

Package: Mental Health Social Services

Routine: AMHLEP3


Information

AMHLEP3 ; IHS/CMI/LAB - ADD NEW CHR ACTIVITY RECORDS ;

Source Information

Source file <AMHLEP3.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Mental Health Social Services 2 EP1^AMHLESAN  $$PPINT^AMHUTIL  
VA Fileman 1 ^DDS  

Entry Points

Name Comments DBIA/ICR reference
I1 ;S DA=AMHR,DDSFILE=9002011,DR="[AMH INTAKE POVS]" D ^DDS ;pov and other info collection
CASE(P,R,T) ;return 1 if case already opened
SAN ;EP
TP ;
SAN1 ;

External References

Name Field # of Occurrence
EP1^AMHLESAN I1+3
$$PPINT^AMHUTIL CASE+5
^DDS SAN1+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"ERROR IN SCREENMAN FORM!!"
  • Line Location: SAN1+4
Function Call: WRITE
  • Prompt: !,"Location of Encounter Missing!"
  • Line Location: SAN1+8
Function Call: WRITE
  • Prompt: !,"Community of Service Missing!"
  • Line Location: SAN1+9
Function Call: WRITE
  • Prompt: !,"Activity Type Missing!"
  • Line Location: SAN1+10
Function Call: WRITE
  • Prompt: !,"Type of Contact Missing!"
  • Line Location: SAN1+11
Function Call: WRITE
  • Prompt: !,"No primary Provider!",$C(7),$C(7)
  • Line Location: SAN1+13
Function Call: WRITE
  • Prompt: !!,"ERROR IN SCREENMAN FORM!!"
  • Line Location: I1+1
Function Call: WRITE
  • Prompt: !!,"At least one POV IS REQUIRED. Please add one.",!
  • Line Location: I1+2
Routine Call
  • DDS
  • Line Location:
    • SAN1+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPCASE - [#9002011.58] CASE+5
^AMHPCASE("AA" CASE+5
^AMHREC - [#9002011] CASE+5, SAN1+2, SAN1+7
^AMHRPRO("AD" I1+2
^AMHRPROV - [#9002011.02] SAN1+12
^AMHRPROV("AD" SAN1+12

Label References

Name Line Occurrences
SAN1 SAN+1, I1+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHERROR SAN1+6*, SAN1+8*, SAN1+9*, SAN1+10*, SAN1+11*, SAN1+13*, SAN1+14, SAN1+15
>> AMHOKAY SAN1+8*, SAN1+9*, SAN1+10*, SAN1+11*
>> AMHPAT SAN1+2*, I1+3
>> AMHQUIT SAN1+4*
>> AMHR SAN1+2, SAN1+3, SAN1+7, SAN1+12, I1+2, I1+3
>> AMHREC SAN1+7*, SAN1+8, SAN1+9, SAN1+10, SAN1+11
>> DA SAN1+3*
>> DDSFILE SAN1+3*
DIMSG SAN1+4!
>> DR SAN1+3*
H CASE+5~*, CASE+6
IOF SAN1+1
P CASE~, CASE+2, CASE+5
R CASE~, CASE+3, CASE+5
T CASE~, CASE+4, CASE+5
U CASE+1*, CASE+5, SAN1+2, SAN1+8, SAN1+9, SAN1+10, SAN1+11, SAN1+12
X CASE+5~*, SAN1+12*
>> Y SAN1+12*, SAN1+13, SAN1+14
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All