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

Package: Mental Health Social Services

Routine: AMHGPCC


Information

AMHGPCC ; IHS/CMI/MAW - AMHG PCC Visit Links 3/5/2009 8:10:19 AM ;

Source Information

Source file <AMHGPCC.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Mental Health Social Services 3 EN^AMHBHRU  $$LVDT^AMHGU  $$PPAFFL^AMHUTIL  
IHS Changes To Scheduling 1 GETVISIT^BSDAPI4  
Patient Care Component Reports 1 ($$PRIMPOV,$$PRIMPROV)^APCLV  
Uncategorized 1 DEBUG^%Serenji  
VA Fileman 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
DEBUG(RETVAL,AMHSTR) ;-- debug entry point
GETCLN ;determine clinic to pass
PCC(RETVAL,AMHSTR) ;-- create/edit PCC visit from MHSS RECORD ENTRY
GETTYPE ;get type of visit - use loc current type or affiliation of provider
ACT(RETVAL,AMHSTR) ;-- check to see if the activity code can be passed to PCC
GETCLN1 ;
KILL ;
LIST(RETVAL,AMHSTR) ;-- get a list of visits for the user to choose from
BSDAPI(AMHV,AMHR) ;-- get list of visits and return amhv

External References

Name Field # of Occurrence
DEBUG^%Serenji DEBUG+1
EN^AMHBHRU PCC+10
$$LVDT^AMHGU LIST+13
$$PPAFFL^AMHUTIL GETTYPE+4
$$PRIMPOV^APCLV LIST+18, LIST+19
$$PRIMPROV^APCLV LIST+17
GETVISIT^BSDAPI4 BSDAPI+23
$$GET1^DIQ PCC+14, LIST+16, LIST+21, LIST+22

Used in RPC

RPC Name Call Tags
AMHG CREATE/EDIT VISIT PCC
AMHG GET PCC VISITS LIST
AMHG CHECK ACTIVITY PCC ACT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNVSIT - [#9000010] GET1^DIQ
^AMHREC - [#9002011] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" PCC+1, LIST+1, ACT+1
^AMHREC - [#9002011] PCC+9, BSDAPI+3
^AMHSITE - [#9002013] BSDAPI+17, GETTYPE+1
^AMHTACT - [#9002012] ACT+10
^AMHTMP($J PCC+6!, LIST+6!, ACT+6!
^AMHTSET - [#9002012.1] BSDAPI+10, GETCLN+5, GETCLN+6
^APCCCTRL - [#9001000] GETTYPE+3, GETTYPE+5
^AUPNVSIT - [#9000010] LIST+13, LIST+14
^DIC(19 - [#19] BSDAPI+16
^DIC(40.7 - [#40.7] GETCLN+5, GETCLN+6, GETCLN1+3, GETCLN1+4

Label References

Name Line Occurrences
BSDAPI LIST+8
GETCLN1 GETCLN+4
GETTYPE BSDAPI+5
KILL BSDAPI+2

Naked Globals

Name Field # of Occurrence
^(0 GETTYPE+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AMHCLN LIST+12~, LIST+21*, LIST+24
AMHDA LIST+10~, LIST+11*, LIST+13, LIST+14, LIST+16, LIST+17, LIST+18, LIST+19, LIST+21, LIST+22
, LIST+24
AMHDATA LIST+12~
AMHDT LIST+12~, LIST+13*, LIST+24
AMHER PCC+2~, PCC+12*, PCC+17
>> AMHERRR BSDAPI+24*, BSDAPI+25
AMHGRET PCC+2~, PCC+10, PCC+11, PCC+12, PCC+13
AMHI PCC+2~, PCC+5*, PCC+15, PCC+16*, PCC+17, PCC+18, LIST+2~, LIST+5*, LIST+9, LIST+23*
, LIST+24, LIST+25, ACT+2~, ACT+5*, ACT+8, ACT+9*, ACT+10, ACT+11
AMHIEN PCC+2~, PCC+7*, PCC+9, PCC+10, PCC+14, LIST+2~, LIST+7*, LIST+8, ACT+2~, ACT+7*
, ACT+10
AMHIN LIST+26!, BSDAPI+1!, BSDAPI+23
AMHIN("APCDAPPT" BSDAPI+13*
AMHIN("APCDCAF" BSDAPI+17*
AMHIN("APCDEVM" BSDAPI+15*
AMHIN("APCDOLOC" BSDAPI+14*
AMHIN("APCDOPT" BSDAPI+16*
AMHIN("NEVER ADD" , BSDAPI+18*
AMHIN("PAT" BSDAPI+7*
AMHIN("SITE" BSDAPI+8*
AMHIN("SRV CA T" , BSDAPI+10*
AMHIN("TIME R ANGE" , BSDAPI+19*
AMHIN("USR" BSDAPI+20*
AMHIN("VISIT DATE" , BSDAPI+4*, TYPE" , BSDAPI+6*
AMHLOC LIST+12~, LIST+16*, LIST+24
AMHPOV LIST+12~, LIST+20*, LIST+24
AMHPOVC LIST+12~, LIST+18*, LIST+20
AMHPOVN LIST+12~, LIST+19*, LIST+20
AMHPRV LIST+12~, LIST+17*, LIST+24
AMHR BSDAPI~, BSDAPI+3, GETTYPE+4
>> AMHR0 BSDAPI+3*, BSDAPI+4, BSDAPI+7, BSDAPI+8, BSDAPI+10, BSDAPI+13, BSDAPI+14, BSDAPI+15, GETTYPE+3, GETCLN+3
, GETCLN1+1, GETCLN1+3
AMHREC PCC+2~, PCC+14*, PCC+17
AMHSC LIST+12~, LIST+22*, LIST+24
AMHSEL LIST+2~, LIST+8
AMHSEL( LIST+11
AMHSTR DEBUG~, PCC~, PCC+7, PCC+8, LIST~, LIST+7, ACT~, ACT+7
AMHTM LIST+12~, LIST+14*, LIST+15*, LIST+24
AMHV BSDAPI~, BSDAPI+22!, BSDAPI+23
AMHV( BSDAPI+26
AMHV(0 BSDAPI+24, BSDAPI+26
AMHVS PCC+2~, PCC+8*, PCC+9*, PCC+10
>> AMHVSIT BSDAPI+26*
APCDAFLG KILL+1!
APCDALVR BSDAPI+21!, KILL+1!
APCDALVR("APCDCLN" GETCLN+1*, GETCLN+5*, GETCLN+6*, GETCLN1+1*, GETCLN1+2, GETCLN1+3*, GETCLN1+4*
APCDALVR("APCDTYPE" BSDAPI+6, GETTYPE+1*, GETTYPE+3*, GETTYPE+4*, GETTYPE+5*, GETTYPE+6*
APCDANE KILL+1!
APCDAPPT KILL+1!
APCDATMP KILL+1!
APCDAUTO KILL+1!
APCDCAT KILL+1!
APCDCLN KILL+1!
APCDLOC KILL+1!
APCDOLOC KILL+1!
APCDPAT KILL+1!
APCDTAT KILL+1!
APCDTLOU KILL+1!
APCDTNQ KILL+1!
APCDTPOV KILL+1!
APCDTPRO KILL+1!
APCDTPRV KILL+1!
APCDTPS KILL+1!
APCDTTOP KILL+1!
APCDTYPE KILL+1!
AUPNTALK KILL+1!
>> C4 GETCLN1+3
DUZ BSDAPI+20
DUZ(2 BSDAPI+17, GETTYPE+1, GETTYPE+5
P PCC+2~, PCC+3*, PCC+7, PCC+8, LIST+2~, LIST+3*, LIST+7, ACT+2~, ACT+3*, ACT+7
R PCC+2~, PCC+3*, LIST+2~, LIST+3*, ACT+2~, ACT+3*
RETVAL DEBUG~, PCC~, PCC+4*, PCC+15, PCC+17, PCC+18, LIST~, LIST+4*, LIST+9, LIST+24
, LIST+25, ACT~, ACT+4*, ACT+8, ACT+10, ACT+11
U PCC+9, LIST+13, LIST+14, LIST+24, BSDAPI+4, BSDAPI+7, BSDAPI+8, BSDAPI+10, BSDAPI+13, BSDAPI+14
, BSDAPI+15, BSDAPI+16, BSDAPI+17, BSDAPI+24, BSDAPI+26, GETTYPE+1, GETTYPE+3, GETTYPE+5, GETCLN+3, GETCLN+5
, GETCLN+6, GETCLN1+1, GETCLN1+3, ACT+10
>> V BSDAPI+26*
X PCC+1*, LIST+1*, GETTYPE+3*, GETTYPE+4*, GETTYPE+5*, GETCLN+2~, GETCLN+3*, GETCLN+4, GETCLN+5, GETCLN+6
, ACT+1*
>> XQY0 BSDAPI+16
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All