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

Package: Mental Health Social Services

Routine: AMHEXD2


Information

AMHEXD2 ; IHS/CMI/LAB - PROCESS RECORD ;

Source Information

Source file <AMHEXD2.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Mental Health Social Services 3 ($$MCD,$$MCR,$$PI)^AMHRLU  $$ENC^AMHRLU2  ($$PPAFFL,$$PPCLSC,$$PPINI)^AMHUTIL  
DRG Grouper 1 $$CPT^ICPTCOD  
IHS Patient 1 ^AUPNPAT  
IHS VA Utilities 1 ($$PROVAFFL,$$PROVCLSC,$$PROVINI)^XBFUNC1  
VA Fileman 1 EN^DIQ1  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Mental Health Social Services 3 AMHEXC1  AMHEXD  AMHEXRE  

Entry Points

Name Comments DBIA/ICR reference
LOENC
DISP ;inpatient disposition
MCAID ;
CONT
DUZ2
MIN
DOB ;
COMRES ;
POVS ;get problems first 4
ACT
DATE
PATIENT ;
TX ;
CPT1 ;
APWI ;
SEX ;
RECORD ;EP
PROV1
LBLK(V,L) ;left blank fill
CPT2 ;
NS ;S X=$P(AMHREC,U,9) I 'X S AMHE="E011" Q
EM ;evaluation&management
LZERO(V,L) ;left zero fill
COMM
TRIBE ;
PI ;EP
INT ;
PROV ;get providers
CHART ;
PROG
RECTYPE
MCARE ;

External References

Name Field # of Occurrence
$$MCD^AMHRLU MCAID+1
$$MCR^AMHRLU MCARE+1
$$PI^AMHRLU PI+1
$$ENC^AMHRLU2 CHART+1
$$PPAFFL^AMHUTIL PROV+2
$$PPCLSC^AMHUTIL PROV+3
$$PPINI^AMHUTIL PROV+4
^AUPNPAT PATIENT+3
EN^DIQ1 COMM+4, COMRES+8
$$CPT^ICPTCOD EM+2, CPT1+2, CPT2+2
$$PROVAFFL^XBFUNC1 PROV1+2
$$PROVCLSC^XBFUNC1 PROV1+3
$$PROVINI^XBFUNC1 PROV1+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUTTCOM - [#9999999.05] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPROB - [#9002012.2] POVS+2
^AMHREC - [#9002011] RECORD+2, CPT1+2, CPT2+2
^AMHRPRO - [#9002011.01] POVS+2
^AMHRPRO("AD" POVS+1, POVS+2
^AMHRPROC - [#9002011.04] CPT1+2, CPT2+2
^AMHRPROC("AD" CPT1+1, CPT2+1
^AMHRPROV - [#9002011.02] PROV1+1
^AMHRPROV("AD" PROV+1, PROV1+1
^AMHTACT - [#9002012] ACT+1, ACT+2
^AMHTPLT - [#9002013.6] DISP+1
^AMHTSET - [#9002012.1] CONT+1, CONT+2
^AMHXLOG - [#9002014] RECTYPE+1
^AUPNPAT - [#9000001] DOB+3, COMRES+1, COMRES+3, TRIBE+1
^AUTTCOM - [#9999999.05] COMM+1, COMM+5, COMRES+4, COMRES+5, COMRES+9
^AUTTLOC - [#9999999.06] DUZ2, LOENC+1
^AUTTTRI - [#9999999.03] TRIBE+2, TRIBE+3
^DPT - [#2] PATIENT+4
^UTILITY("DIQ1" COMM+4!, COMRES+8!

Label References

Name Line Occurrences
$$LBLK DISP+1, APWI+1, INT+1, PROV+5, PROV1+5, PROV1+9, POVS+2, POVS+3, PATIENT+1, PATIENT+5
$$LZERO NS+2, MIN+1
TX RECTYPE+2, DATE+1, DUZ2+1, PROG+1, LOENC+2, COMM+3, COMM+7, ACT+3, CONT+4, NS+3
, MIN+2, DISP+2, APWI+2, INT+2, PROV1, PROV1+6, PROV1+9, POVS+2, POVS+3, PATIENT+1
, PATIENT+5, CHART+2, SEX+2, DOB+2, COMRES+6, COMRES+11, TRIBE+4, MCARE+3, MCAID+3, PI+3
, EM+3, CPT1+3, CPT2+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% CPT2+1*, CPT2+2, LZERO+1~, LZERO+2*, LBLK+1~, LBLK+2*
>> AMH("RUN LOG" , RECTYPE+1
>> AMHAFF PROV+2*, PROV1, PROV1+2*, PROV1+6
>> AMHC PROV1+1*, PROV1+7*, PROV1+9, POVS+2*, POVS+3
>> AMHCOM COMM*, COMM+1, COMM+4, COMM+5, COMRES+1*, COMRES+2, COMRES+3*, COMRES+4, COMRES+5, COMRES+8
, COMRES+9
>> AMHDISC PROV+3*, PROV1, PROV1+3*, PROV1+6
>> AMHDUZ2 DUZ2+1*
>> AMHE RECORD+1*, RECORD+2*, DATE*, DUZ2*, PROG*, LOENC*, LOENC+1*, COMM*, COMM+1*, COMM+2*
, ACT*, ACT+1*, ACT+2*, CONT*, CONT+1*, CONT+2*, MIN*, PROV+1*, PROV+2*, PROV+3*
, PROV+4*, PROV1+1, PROV1+2*, PROV1+3*, PROV1+4*, PROV1+10, POVS+1*, SEX+1*, DOB+1*, DOB+3*
, COMRES+2*, COMRES+3*, COMRES+4*, COMRES+5*, TRIBE+1*, TRIBE+2*, TRIBE+3*
>> AMHINI PROV+4*, PROV+5*, PROV1, PROV1+4*, PROV1+5*, PROV1+6
>> AMHLOC LOENC+2*
>> AMHNAME PATIENT+4*, PATIENT+5
>> AMHO("RUN" RECTYPE, RECTYPE+1
>> AMHPAT PATIENT+2*, PATIENT+3, PATIENT+4, CHART+1, DOB+3, COMRES+1, COMRES+3, TRIBE+1, MCARE+1, MCAID+1
, PI+1
>> AMHR RECORD+2, RECTYPE+1, PROV+1, PROV+2, PROV+3, PROV+4, PROV1+1, POVS+1, POVS+2, CPT1+1
, CPT1+2, CPT2+1, CPT2+2
>> AMHREC RECTYPE, DATE, PROG, LOENC, COMM, ACT, CONT, NS+1, MIN, DISP+1
, APWI+1, INT+1, PATIENT+1, PATIENT+2, MCARE+1, MCAID+1, PI+1, EM+1, EM+2
AMHRIEN PROV1+1*, POVS+2*, POVS+4!
AMHRTYPE RECORD+1!
AMHTMP COMM+4!, COMRES+8!
AMHTMP( COMM+5, COMRES+9
>> AMHTX RECORD+1*, TX+1*
>> AMHX PROV1+1*, PROV1+2, PROV1+3, PROV1+4
>> AUPNDOB DOB+1, DOB+2
>> AUPNSEX SEX+1, SEX+2
>> C CPT2+1*
>> DA COMM+4*, COMRES+8*
DIC COMM+4*!, COMRES+8*!
DIQ COMM+4*!, COMRES+8*!
DIQ(0 COMM+4*, COMRES+8*
DR COMM+4*!, COMRES+8*!
DUZ(2 DUZ2
I PROV1+9*, POVS+3*, LZERO+1~, LZERO+2*, LBLK+1~, LBLK+2*
L LZERO~, LZERO+2, LBLK~, LBLK+2
P POVS+2*, POVS+4!
U RECTYPE, RECTYPE+1, DATE, DUZ2, PROG, LOENC, LOENC+1, COMM, COMM+1, COMM+5
, ACT, ACT+2, CONT, CONT+2, NS+1, MIN, DISP+1, APWI+1, INT+1, PROV1+1
, POVS+2, PATIENT+1, PATIENT+2, PATIENT+4, COMRES+3, COMRES+5, COMRES+9, TRIBE+1, TRIBE+2, TRIBE+3
, MCARE+1, MCAID+1, PI+1, EM+1, EM+2, CPT1+2, CPT2+2
V LZERO~, LZERO+2*, LZERO+3, LBLK~, LBLK+2*, LBLK+3
X RECTYPE*, RECTYPE+1*, DATE*, DUZ2*, DUZ2+1, PROG*, LOENC*, LOENC+1*, LOENC+2, COMM+1*
, COMM+2, COMM+5*, COMM+6*, ACT*, ACT+1, ACT+2*, CONT*, CONT+1, CONT+2*, CONT+3*
, NS+1*, NS+2*, MIN*, MIN+1*, DISP+1*, APWI+1*, INT+1*, PROV1*, PROV1+6*, PROV1+9*
, POVS+2*, POVS+3*, POVS+4!, PATIENT+1*, PATIENT+5*, CHART+1*, SEX+2*, DOB+2*, COMRES+5*, COMRES+9*
, COMRES+10*, TRIBE+1*, TRIBE+2, TRIBE+3*, MCARE+1*, MCARE+2*, MCAID+1*, MCAID+2*, PI+1*, PI+2*
, EM+1*, EM+2*, CPT1+2*, CPT2+2*, TX+1
>> Y PATIENT+3*, COMRES+1*, CPT1+1*, CPT1+2, CPT2+1*
>> Z LZERO+2*, LBLK+2*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All