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 |  Used in RPC |  Global Variables Directly Accessed |  Local Variables |  All
Print Page as PDF
Routine: AMHGR

Package: Mental Health Social Services

Routine: AMHGR


Information

AMHGR ; IHS/CMI/MAW - AMH Behavioral Health GUI Reports 9/30/2008 3:29:28 PM ;

Source Information

Source file <AMHGR.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Mental Health Social Services 8 (ENCFORM,NRECDISP,SUICDSP)^AMHBHDSP  DISPLAST^AMHBHRP5  TPP^AMHBHTPP  (EXIT,INIT)^AMHGRAP  ($$PAD,$$SP,PCCL,PCCM)^AMHGRU  ($$LVDT,ADO)^AMHGU  GUI^AMHLEGPP  GUI^AMHLEIV3  
IHS VA Utilities 1 GUIR^XBLM  
Patient Care Component 1 EN^APCDVDSG  
Uncategorized 1 DEBUG^%Serenji  

Entry Points

Name Comments DBIA/ICR reference
HS(RETVAL,AMHSTR) ;-- get health summary data from BPC
EF(RETVAL,AMHSTR) ;-- call the encounter form display
BHREC(RETVAL,AMHSTR) ;-- get a viewable display of the Mental Health Encounter out of ^AMHREC
PCC(RETVAL,AMHSTR) ;-- display pcc visit
INTAKE(RETVAL,AMHSTR) ;-- get intake display
FS(RETVAL,AMHSTR) ;-- return patient reg face sheet
PCCM(RETVAL,AMHSTR) ;-- get pcc medication listing
BROWSE(RETVAL,AMHSTR) ;-- call the browse visits RPC
EFG(RETVAL,AMHSTR) ;-- call the encounter form display group
DEBUG(AMHRET,AMHSTR) ;-- debugger
SF(RETVAL,AMHSTR) ;-- call the suicide form display
TP(RETVAL,AMHSTR) ;-- print treatment plan
APPT(RETVAL,AMHSTR) ;-- get patient appointments
PCCL(RETVAL,AMHSTR) ;-- get pcc labs

External References

Name Field # of Occurrence
DEBUG^%Serenji DEBUG+1
ENCFORM^AMHBHDSP EF+11
NRECDISP^AMHBHDSP BHREC+10
SUICDSP^AMHBHDSP SF+10
DISPLAST^AMHBHRP5 BROWSE+15
TPP^AMHBHTPP TP+19
EXIT^AMHGRAP APPT+20
INIT^AMHGRAP APPT+11
$$PAD^AMHGRU PCCL+44, PCCL+46, PCCL+69, PCCL+71
$$SP^AMHGRU PCCL+28, PCCL+31, PCCL+53, PCCL+56
PCCL^AMHGRU PCCL+13
PCCM^AMHGRU PCCM+11
$$LVDT^AMHGU PCCL+22, PCCL+23
ADO^AMHGU HS+1
GUI^AMHLEGPP EFG+17
GUI^AMHLEIV3 INTAKE+21
EN^APCDVDSG PCC+12
GUIR^XBLM HS+10, FS+10

Used in RPC

RPC Name Call Tags
AMHG GET HEALTH SUMMARY HS
AMHG GET FACE SHEET FS
AMHG GET MHSS RECORD DISPLAY BHREC
AMHG GET PCC RECORD DISPLAY PCC
AMHG GET BROWSE VISITS BROWSE
AMHG PRINT ENCOUNTER FORM EF
AMHG PRINT SUICIDE FORM SF
AMHG PRINT TREATMENT PLAN TP
AMHG GET INTAKE DISPLAY INTAKE
AMHG PRINT ENC FORM GROUP EFG
AMHG REPORT PCC MEDICATIONS PCCM
AMHG REPORT PCC LABS PCCL
AMHG REPORT PAT APPTS APPT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" FS+1, INTAKE+1, BHREC+1, PCC+1, BROWSE+1, EF+1, EFG+1, SF+1, TP+1, PCCM+1
, APPT+1, PCCL+1
^AMHGROUP - [#9002011.67] EFG+13, EFG+15
^AMHTMP($J FS+6!, INTAKE+9!, BHREC+4!, BHREC+7*, PCC+6!, PCC+15*, PCC+16*, BROWSE+4!, BROWSE+7*, EF+4!
, EF+7*, EFG+4!, EFG+7*, SF+4!, SF+7*, TP+4!, TP+7*, PCCM+7!, PCCM+10*, APPT+7!
, APPT+10*, PCCL+8!, PCCL+11*, PCCL+12*
^APCHSCTL("B" HS+6
^TMP("AMHDPA" APPT+12!, APPT+14, APPT+15, APPT+19!
^TMP("AMHDSPMEDS" PCCM+13, PCCM+14, PCCM+18!
^TMP("AMHLABG" PCCL+16, PCCL+17, PCCL+77!
^TMP("AMHLABV" PCCL+33, PCCL+34, PCCL+35, PCCL+58, PCCL+59, PCCL+60, PCCL+78!
^TMP("AMHS" EF+19!
^TMP("AMHVDSG" BHREC+16!
^TMP($J EFG+27!
^XTMP("AMHFS" FS+12, FS+16, FS+19, FS+22!
^XTMP("AMHGEF" EF+20!
^XTMP("AMHHS" HS+12, HS+16, HS+19, HS+22!
^XTMP("AMHITK" INTAKE+22, INTAKE+26, INTAKE+29, INTAKE+33!
^XTMP("AMHLV" PCC+13, PCC+17, PCC+20, PCC+23!
^XTMP("AMHRPT" BROWSE+21!
^XTMP("AMHSF" SF+17!
^XTMP("AMHTP" TP+26!

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AGDENT FS+22!
AGMVDF FS+22!
AGOPT FS+22!
AMHABN PCCL+14~, PCCL+38*, PCCL+44, PCCL+63*, PCCL+69
AMHAL FS+22!
AMHB PCCM+2~, PCCM+5*, PCCM+11, APPT+2~, APPT+5*, APPT+11, PCCL+2~, PCCL+5*, PCCL+13
AMHBD BROWSE+2~, BROWSE+10*, BROWSE+15
AMHCALL HS+2~, FS+2~, INTAKE+2~, PCC+2~
AMHCDT PCCL+14~, PCCL+42*, PCCL+44, PCCL+67*, PCCL+69
AMHCNT PCCL+14~, PCCL+19*, PCCL+25
AMHDA HS+2~, HS+16*, HS+19, FS+2~, FS+16*, FS+19, INTAKE+2~, INTAKE+26*, INTAKE+29, BHREC+11~
, BHREC+12*, BHREC+14, PCC+2~, PCC+17*, PCC+20, BROWSE+16~, BROWSE+17*, BROWSE+19, EF+13~, EF+14*
, EF+16, EF+17, EFG+11~, EFG+13*, EFG+15, EFG+18~, EFG+19*, EFG+22, SF+11~, SF+12*
, SF+14, SF+15, TP+20~, TP+21*, TP+23, TP+24, PCCM+12~, PCCM+13*, PCCM+14, APPT+13~
, APPT+14*, APPT+15, PCCL+14~, PCCL+16*, PCCL+17, PCCL+25, PCCL+33*, PCCL+34, PCCL+35, PCCL+58*
, PCCL+59, PCCL+60, PCCL+69
AMHDATA HS+17~, HS+19*, HS+20, FS+17~, FS+19*, FS+20, INTAKE+27~, INTAKE+29*, INTAKE+30, INTAKE+31
, PCC+18~, PCC+20*, PCC+21, EFG+21~, EFG+22*, EFG+24, EFG+25, PCCM+12~, PCCM+14*, PCCM+16
, APPT+13~, APPT+15*, APPT+17, PCCL+14~, PCCL+17*, PCCL+18, PCCL+19, PCCL+20, PCCL+21, PCCL+35*
, PCCL+36, PCCL+37, PCCL+38, PCCL+39, PCCL+40, PCCL+41, PCCL+42, PCCL+60*, PCCL+61, PCCL+62
, PCCL+63, PCCL+64, PCCL+65, PCCL+66, PCCL+67
>> AMHDM PCCL+7*, PCCL+11, PCCL+12, PCCL+13, PCCL+15, PCCL+26, PCCL+51
AMHE PCCM+2~, PCCM+6*, PCCM+11, APPT+2~, APPT+6*, APPT+11, PCCL+2~, PCCL+6*, PCCL+13
AMHEARLY PCCL+14~, PCCL+20*, PCCL+22*, PCCL+25
AMHED BROWSE+2~, BROWSE+11*, BROWSE+15
AMHERR HS+2~, FS+2~, SF+2~
AMHFORM EF+2~, EF+9*, EF+11, EFG+2~, EFG+9*, EFG+17
AMHGUI HS+22!, FS+22!, PCC+9~, PCC+10*, PCC+12, SF+17!
AMHI HS+2~, HS+7*, HS+8, HS+13*, HS+14, HS+15, HS+18*, HS+20, HS+21, FS+2~
, FS+5*, FS+8, FS+13*, FS+14, FS+15, FS+18*, FS+20, FS+21, INTAKE+2~, INTAKE+8*
, INTAKE+11, INTAKE+23*, INTAKE+24, INTAKE+25, INTAKE+28*, INTAKE+31, INTAKE+32, BHREC+2~, BHREC+6*, BHREC+7
, BHREC+13*, BHREC+14, BHREC+15, PCC+2~, PCC+5*, PCC+8, PCC+14*, PCC+15, PCC+16, PCC+19*
, PCC+21, PCC+22, BROWSE+2~, BROWSE+6*, BROWSE+7, BROWSE+18*, BROWSE+19, BROWSE+20, EF+2~, EF+6*
, EF+7, EF+15*, EF+17, EF+18, EFG+2~, EFG+6*, EFG+7, EFG+20*, EFG+25, EFG+26
, SF+2~, SF+6*, SF+7, SF+13*, SF+15, SF+16, TP+2~, TP+6*, TP+7, TP+22*
, TP+24, TP+25, PCCM+2~, PCCM+9*, PCCM+10, PCCM+15*, PCCM+16, PCCM+17, APPT+2~, APPT+9*
, APPT+10, APPT+16*, APPT+17, APPT+18, PCCL+2~, PCCL+10*, PCCL+11, PCCL+12, PCCL+24*, PCCL+25
, PCCL+27*, PCCL+29, PCCL+30*, PCCL+32, PCCL+43*, PCCL+45, PCCL+47*, PCCL+48, PCCL+49*, PCCL+50
, PCCL+52*, PCCL+54, PCCL+55*, PCCL+57, PCCL+68*, PCCL+70, PCCL+72*, PCCL+73, PCCL+74*, PCCL+75
, PCCL+76
AMHIEN BHREC+2~, BHREC+8*, BHREC+10, PCCL+14~, PCCL+34*, PCCL+35, PCCL+44, PCCL+59*, PCCL+60
AMHLAST PCCL+14~, PCCL+21*, PCCL+23*, PCCL+25
AMHN BROWSE+2~, BROWSE+9*, BROWSE+15
AMHOP PCCL+14~, PCCL+41*, PCCL+46, PCCL+66*, PCCL+71
AMHOPT BROWSE+2~, BROWSE+8*, BROWSE+15
AMHP PCCM+2~, PCCM+4*, PCCM+11, APPT+2~, APPT+4*, APPT+11, PCCL+2~, PCCL+4*, PCCL+13
AMHPAT HS+2~, FS+2~, INTAKE+2~, INTAKE+6*, INTAKE+21, PCC+2~, BROWSE+2~, BROWSE+13*, BROWSE+15
AMHPRG BROWSE+2~, BROWSE+12*, BROWSE+15
AMHR TP+15~, TP+16*, TP+17
AMHREC INTAKE+2~, INTAKE+7*, INTAKE+21, EF+2~, EF+8*, EF+11, EFG+2~, EFG+8*, EFG+13, EFG+15
, SF+2~, SF+8*, SF+10, TP+2~, TP+8*, TP+19
>> AMHRECI EFG+15*, EFG+16
AMHRES PCCL+14~, PCCL+37*, PCCL+44, PCCL+62*, PCCL+69
AMHRET DEBUG~
AMHREV TP+2~, TP+10*, TP+12, TP+13, TP+14, TP+16
AMHRH PCCL+14~, PCCL+40*, PCCL+46, PCCL+65*, PCCL+71
AMHRL PCCL+14~, PCCL+39*, PCCL+46, PCCL+64*, PCCL+71
AMHRP TP+2~, TP+11*, TP+19
AMHRP( TP+17*
AMHRRY EFG+2~, EFG+17
AMHRRY("RECS ADDED" , EFG+16*
AMHSTR DEBUG~, HS~, HS+4, HS+5, FS~, FS+4, INTAKE~, INTAKE+5, INTAKE+6, INTAKE+7
, INTAKE+14, INTAKE+17, BHREC~, BHREC+8, PCC~, PCC+4, BROWSE~, BROWSE+8, BROWSE+9, BROWSE+10
, BROWSE+11, BROWSE+12, BROWSE+13, EF~, EF+8, EF+9, EFG~, EFG+8, EFG+9, SF~
, SF+8, TP~, TP+8, TP+9, TP+10, PCCM~, PCCM+4, PCCM+5, PCCM+6, APPT~
, APPT+4, APPT+5, APPT+6, PCCL~, PCCL+4, PCCL+5, PCCL+6, PCCL+7
AMHTSI PCCL+14~, PCCL+18*, PCCL+25
AMHTYP INTAKE+2~, INTAKE+5*, INTAKE+21, TP+2~, TP+9*, TP+19
AMHTYPE HS+2~, FS+2~, INTAKE+2~, PCC+2~
AMHUP INTAKE+15~, INTAKE+17*, INTAKE+18, INTAKE+19, INTAKE+20
AMHUPS INTAKE+2~, INTAKE+4*, INTAKE+21
AMHUPS( INTAKE+20*
AMHVIEN PCC+2~, PCC+4*, PCC+12
AMHVST PCCL+14~, PCCL+36*, PCCL+61*
AMHZ HS+22!, FS+22!, INTAKE+33!, BHREC+16!, PCC+23!, BROWSE+21!, EF+19!, EFG+27!, SF+17!, TP+26!
APCHSPAT HS+4*, HS+22!
APCHSTYP HS+5*, HS+6*, HS+22!
DFN HS+22!, FS+2~, FS+4*, FS+22!, INTAKE+13!, INTAKE+33!, BHREC+9!, BHREC+16!, PCC+11!, PCC+23!
, BROWSE+14!, BROWSE+21!, EF+10!, EF+19!, EFG+10!, EFG+27!, SF+9!, SF+17!, TP+18!, TP+26!
HDR APPT+2~
I INTAKE+15~, INTAKE+18*, INTAKE+19, INTAKE+20, EFG+2~, EFG+12*, EFG+14*, EFG+16, TP+13*, TP+14
, TP+16
IOM HS+9*, FS+9*, INTAKE+12*
>> LINE PCCL+28*, PCCL+29, PCCL+31*, PCCL+32, PCCL+44*, PCCL+45, PCCL+46*, PCCL+48, PCCL+53*, PCCL+54
, PCCL+56*, PCCL+57, PCCL+69*, PCCL+70, PCCL+71*, PCCL+73
P HS+2~, HS+3*, HS+4, HS+5, FS+2~, FS+3*, FS+4, INTAKE+2~, INTAKE+3*, INTAKE+5
, INTAKE+6, INTAKE+7, INTAKE+14, INTAKE+17, BHREC+2~, BHREC+3*, BHREC+8, PCC+2~, PCC+3*, PCC+4
, BROWSE+2~, BROWSE+3*, BROWSE+8, BROWSE+9, BROWSE+10, BROWSE+11, BROWSE+12, BROWSE+13, EF+2~, EF+3*
, EF+8, EF+9, EFG+2~, EFG+3*, EFG+8, EFG+9, SF+2~, SF+3*, SF+8, TP+2~
, TP+3*, TP+8, TP+9, TP+10, PCCM+2~, PCCM+3*, PCCM+4, PCCM+5, PCCM+6, APPT+2~
, APPT+3*, APPT+4, APPT+5, APPT+6, PCCL+2~, PCCL+3*, PCCL+4, PCCL+5, PCCL+6, PCCL+7
R INTAKE+15~, INTAKE+16*, INTAKE+18, INTAKE+19, INTAKE+20, EFG+2~, EFG+3*
RETTMP BHREC+10, BHREC+12, BHREC+14, BROWSE+14!, BROWSE+15, BROWSE+17, BROWSE+19, EF+10!, EF+11, EF+12*
, EF+14, EF+16, EF+17, EFG+10!, EFG+17, EFG+19, EFG+22, SF+9!, SF+10, SF+12
, SF+14, SF+15, TP+18!, TP+19, TP+21, TP+23, TP+24
RETVAL HS~, HS+8, HS+14, HS+15, HS+20, HS+21, FS~, FS+7*, FS+8, FS+14
, FS+15, FS+20, FS+21, INTAKE~, INTAKE+10*, INTAKE+11, INTAKE+24, INTAKE+25, INTAKE+31, INTAKE+32
, BHREC~, BHREC+5*, BHREC+14, BHREC+15, PCC~, PCC+7*, PCC+8, PCC+21, PCC+22, BROWSE~
, BROWSE+5*, BROWSE+19, BROWSE+20, EF~, EF+5*, EF+17, EF+18, EFG~, EFG+5*, EFG+25
, EFG+26, SF~, SF+5*, SF+15, SF+16, TP~, TP+5*, TP+24, TP+25, PCCM~
, PCCM+8*, PCCM+16, PCCM+17, APPT~, APPT+8*, APPT+17, APPT+18, PCCL~, PCCL+9*, PCCL+25
, PCCL+29, PCCL+32, PCCL+45, PCCL+48, PCCL+50, PCCL+54, PCCL+57, PCCL+70, PCCL+73, PCCL+75
, PCCL+76
U PCCL+18, PCCL+19, PCCL+20, PCCL+21, PCCL+25, PCCL+36, PCCL+37, PCCL+38, PCCL+39, PCCL+40
, PCCL+41, PCCL+42, PCCL+61, PCCL+62, PCCL+63, PCCL+64, PCCL+65, PCCL+66, PCCL+67
>> X FS+1*, INTAKE+1*, BHREC+1*, PCC+1*, BROWSE+1*, EF+1*, EFG+1*, SF+1*, TP+1*, PCCM+1*
, APPT+1*, PCCL+1*
Y HS+22!, FS+22!
ZTIO HS+22!, FS+22!, INTAKE+33!, BHREC+16!, PCC+23!, BROWSE+21!, EF+19!, EFG+27!, SF+17!, TP+26!
ZTQUEUED HS+22!, FS+22!, INTAKE+33!, BHREC+16!, PCC+23!, BROWSE+21!, EF+19!, EFG+27!, SF+17!, TP+26!
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Local Variables |  All