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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: AMHLECOC

Package: Mental Health Social Services

Routine: AMHLECOC


Information

AMHLECOC ; IHS/CMI/LAB - MENTAL HLTH ROUTINE ;

Source Information

Source file <AMHLECOC.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 3 DD^%DT  ^DIC  ^DIE  
IHS VA Utilities 2 ^XBFMK  $$EXTSET^XBFUNC  

Entry Points

Name Comments DBIA/ICR reference
DIE ;
X ;

External References

Name Field # of Occurrence
DD^%DT AMHLECOC+5, AMHLECOC+6, AMHLECOC+7
^DIC DIE+1
^DIE DIE+3
^XBFMK DIE+1
$$EXTSET^XBFUNC AMHLECOC+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Current OPEN/ADMIT/CLOSE Dates:",!
  • Line Location: AMHLECOC+3
Function Call: WRITE
  • Prompt: !?10,"CASE OPEN DATE: "
  • Line Location: AMHLECOC+5
Function Call: WRITE
  • Prompt: Y
  • Line Location: AMHLECOC+5
Function Call: WRITE
  • Prompt: !?10,"CASE ADMIT DATE: "
  • Line Location: AMHLECOC+6
Function Call: WRITE
  • Prompt: Y
  • Line Location: AMHLECOC+6
Function Call: WRITE
  • Prompt: !?10,"CASE CLOSED DATE: "
  • Line Location: AMHLECOC+7
Function Call: WRITE
  • Prompt: Y
  • Line Location: AMHLECOC+7
Function Call: WRITE
  • Prompt: !?10,"OUTCOME: ",$$EXTSET^XBFUNC(9002011.55,.08,$P(^AMHPATR(AMHPAT,0),U,8))
  • Line Location: AMHLECOC+8
Function Call: WRITE
  • Prompt: !!
  • Line Location: AMHLECOC+10
Function Call: WRITE
  • Prompt: !!,"FAILED TO ADD PATIENT TO BH PATIENT DATA FILE"
  • Line Location: DIE+1
Function Call: WRITE
  • Prompt: !!,"Can't lock global"
  • Line Location: DIE+2
Routine Call
  • DIE
  • Line Location:
    • DIE+3
Routine Call
  • DIC
  • Line Location:
    • DIE+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMHPATR - [#9002011.55] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPATR - [#9002011.55] AMHLECOC+4, AMHLECOC+5, AMHLECOC+6, AMHLECOC+7, AMHLECOC+8, DIE+1, DIE+2, DIE+4

Label References

Name Line Occurrences
DIE AMHLECOC+4
X DIE+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHPAT AMHLECOC+4, AMHLECOC+5, AMHLECOC+6, AMHLECOC+7, AMHLECOC+8, DIE+1, DIE+2, DIE+3, DIE+4
DA DIE+2!, DIE+3*, DIE+5!
>> DIC DIE+1*
>> DIC(0 DIE+1*
DIE DIE+2!, DIE+3*, DIE+5!
DIU DIE+2!, DIE+5!
DIV DIE+2!, DIE+5!
DIW DIE+5!
>> DLAYGO DIE+1*
DR DIE+2!, DIE+3*, DIE+5!
U AMHLECOC+5, AMHLECOC+6, AMHLECOC+7, AMHLECOC+8
>> X DIE+1*
>> Y AMHLECOC+5*, AMHLECOC+6*, AMHLECOC+7*, DIE+1
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All