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

Package: Mental Health Social Services

Routine: AMHLEAR1


Information

AMHLEAR1 ; IHS/CMI/LAB - ACTIVITY RECORD FORM DATA ENTRY CREATE RECORD ;

Source Information

Source file <AMHLEAR1.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Mental Health Social Services 3 RECCHECK^AMHLE2  ($$IINTAKE,EN)^AMHLEDEL  CALLDIE^AMHLEIN  
VA Fileman 2 FILE^DICN  ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health Social Services 1 AMHLEAR  

Entry Points

Name Comments DBIA/ICR reference
PAUSE ;
POV ;create pov records
PROV ;create provider entries
CREATE ;create mhss record
XIT ;clean up and exit
DEL ;

External References

Name Field # of Occurrence
RECCHECK^AMHLE2 POV+4
$$IINTAKE^AMHLEDEL DEL+1
EN^AMHLEDEL DEL+3
CALLDIE^AMHLEIN CREATE+4
FILE^DICN CREATE+2, PROV+2, POV+2
^DIR PAUSE+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Creating new record "
  • Line Location: CREATE+2
Function Call: WRITE
  • Prompt: !!,$C(7),$C(7),"Behavioral Health Record is NOT complete!! Deleting Record.",!
  • Line Location: CREATE+3
Function Call: WRITE
  • Prompt: !!,"ERROR -- Incomplete record!! Deleting record!!"
  • Line Location: CREATE+5
Function Call: WRITE
  • Prompt: !!,"Creating provider record failed.!! Notify site manager!",!!
  • Line Location: PROV+3
Function Call: WRITE
  • Prompt: !!,"Creating pov visit failed.!! Notify site manager!",!!
  • Line Location: POV+3
Function Call: WRITE
  • Prompt: !,"Incomplete record!! Deleting record!!"
  • Line Location: POV+4
Function Call: WRITE
  • Prompt: !!?20,"***COMPLETED SUCCESSFUL ENTRY OF RECORD***",!!!!
  • Line Location: POV+5
Function Call: WRITE
  • Prompt: ?25,"You may now enter a new Encounter Date",!
  • Line Location: POV+6
Function Call: WRITE
  • Prompt: ?40,"OR",!
  • Line Location: POV+7
Function Call: WRITE
  • Prompt: ?23,"You may '^' to discontinue Data Entry",!!
  • Line Location: POV+8
Function Call: WRITE
  • Prompt: !!,"This visit has an Initial Intake with Updates, it can not be deleted",!,"until the update documents have been deleted."
  • Line Location: DEL+1
Routine Call
  • DIR
  • Line Location:
    • PAUSE+1

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

Label References

Name Line Occurrences
DEL CREATE+5, POV+4
PAUSE CREATE+3, DEL+1, DEL+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHACTN CREATE+1*
AMHAWIXX CREATE+1!
>> AMHDATE CREATE+2
AMHHIT XIT+2!
>> AMHOKAY POV+4*
>> AMHPOV( POV+1, POV+2
>> AMHPROV( PROV+1, PROV+2
>> AMHR CREATE+4*, DEL+1, DEL+2
>> AMHRDEL DEL+2*
AMHX PROV+1*, PROV+2, POV+1*, POV+2, XIT+2!
D0 CREATE+2!, PROV+2!, POV+2!, XIT+1!
DA CREATE+2!, CREATE+4*, PROV+2!, POV+2!, XIT+1!
DD CREATE+2!, PROV+2!, POV+2!
DI XIT+1!
DIADD CREATE+2*!, PROV+2*!, POV+2*!
DIC CREATE+2!*, PROV+2!*, POV+2!*, XIT+1!
DIC("DR" CREATE+2*, PROV+2*, POV+2*
DIC(0 CREATE+2*, PROV+2*, POV+2*
DIE CREATE+2!, CREATE+4*, PROV+2!, POV+2!
DIR PAUSE+1!
DIR("A" PAUSE+1*
DIR(0 PAUSE+1*
>> DIRUT PAUSE+1*
DIU XIT+1!
DLAYGO CREATE+2*!, PROV+2*!, POV+2*!
DO CREATE+2!, PROV+2!, POV+2!, XIT+1!
DR CREATE+2!, CREATE+4*, PROV+2!, POV+2!, XIT+1!
>> DUOUT PAUSE+1
U PROV+2, POV+2
X CREATE+2*!, PROV+2*!, POV+2*!, XIT+1!
Y CREATE+3, CREATE+4, CREATE+5, PROV+3, POV+3, XIT+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables |  All