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

Package: Mental Health Social Services

Routine: AMHGSTP


Information

AMHGSTP ; IHS/CMI/MAW - AMHG Save Treatment Plan 3/7/2009 8:49:18 PM ;

Source Information

Source file <AMHGSTP.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Mental Health Social Services 3 (A,ADDAXIS4,DELAXIS4,RD,TP)^AMHGETP  $$SCI^AMHGT  (ARRAY,CATSTR)^AMHGU  
Uncategorized 1 DEBUG^%Serenji  
VA Fileman 1 ^DIK  

Entry Points

Name Comments DBIA/ICR reference
PRB(RETVAL,AMHSTR) ;-- save treatment plan problem, called from clsTreatmentPlanDataEntry.SaveProblem
DEBUG(RETVAL,AMHSTR) ;-- debug entry point
NARR(RETVAL,AMHSTR) ;save narrative, called from clsTreatmentPlanDataEntry.SaveNarrative method
FNDAXIS4(PI,RC) ;-- see if axis 4 exists
RD(RETVAL,AMHSTR) ;save review data, called from clsTreatmentPlanDataEntry.SaveReviewData method
DX(RETVAL,AMHSTR) ;-- save treatment plan DX, called from clsTreatmentPlanDataEntry.SaveDx
DEL(RETVAL,AMHSTR) ;-- mark a record as deleted
TP(RETVAL,AMHSTR) ;-- save treatment plan, called from clsTreatmentPlanDataEntry.SaveTreatmentPlan
AXIS4(D,RC,A4) ;-- file axis 4 data

External References

Name Field # of Occurrence
DEBUG^%Serenji DEBUG+1
A^AMHGETP PRB+17, PRB+18, PRB+19, DX+12, NARR+12
ADDAXIS4^AMHGETP AXIS4+9
DELAXIS4^AMHGETP AXIS4+11
RD^AMHGETP RD+17
TP^AMHGETP TP+26
$$SCI^AMHGT TP+13
ARRAY^AMHGU TP+25, PRB+16, RD+14, RD+15, RD+16
CATSTR^AMHGU TP+7, PRB+7, DX+7, NARR+7, RD+7, DEL+6
^DIK DEL+9

Used in RPC

RPC Name Call Tags
AMHG SAVE TREATMENT PLAN TP
AMHG SAVE TREATMENT PROBLEM PRB
AMHG SAVE TREATMENT NARRATIVE NARR
AMHG SAVE TREATMENT REVIEW RD
AMHG DELETE TREATMENT PLAN DEL
AMHG SAVE TP DX DX

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMHPTXP - [#9002011.56] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" TP+1, PRB+1, DX+1, NARR+1, RD+1, DEL+1
^AMHPTXP - [#9002011.56] FNDAXIS4+3, FNDAXIS4+4
^AMHTMP($J TP+6!, PRB+6!, DX+6!, NARR+6!, RD+6!, DEL+7!

Label References

Name Line Occurrences
$$FNDAXIS4 AXIS4+9
AXIS4 PRB+20

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A4 PRB+2~, PRB+16, PRB+20, AXIS4~, AXIS4+11
A4( AXIS4+3, AXIS4+5
AMHA1 PRB+2~, PRB+11*, PRB+17
AMHA2 PRB+2~, PRB+12*, PRB+18
AMHA3 PRB+2~, PRB+13*, PRB+19
AMHA4 PRB+2~, PRB+14*, PRB+16
AMHA5 TP+18*, TP+26, PRB+2~, PRB+15*
AMHCA TP+2~, TP+19*, TP+26
AMHCD TP+2~, TP+20*, TP+26
AMHCS TP+2~, TP+21*, TP+26
AMHDA AXIS4+1~, AXIS4+3*, AXIS4+5
AMHDC TP+2~, TP+16*, TP+26
AMHDE TP+2~, TP+11*, TP+26
AMHDM TP+2~, TP+8*, TP+26, PRB+2~, PRB+8*, PRB+20, DX+2~, DX+8*, NARR+2~, NARR+8*
, RD+2~, RD+8*, DEL+2~
AMHDP TP+2~, TP+17*, TP+26
AMHDX DX+2~, DX+11*, DX+12
AMHER TP+2~, TP+29, PRB+2~, PRB+23, DX+2~, DX+15, NARR+2~, NARR+15, RD+2~, RD+20
, DEL+2~, DEL+12
AMHGAF TP+2~, TP+23*, TP+26
AMHI TP+2~, TP+5*, TP+27, TP+28*, TP+29, TP+30, PRB+2~, PRB+5*, PRB+21, PRB+22*
, PRB+23, PRB+24, DX+2~, DX+5*, DX+13, DX+14*, DX+15, DX+16, NARR+2~, NARR+5*
, NARR+13, NARR+14*, NARR+15, NARR+16, RD+2~, RD+5*, RD+18, RD+19*, RD+20, RD+21
, DEL+2~, DEL+5*, DEL+10, DEL+11*, DEL+12, DEL+13
>> AMHIEN TP+26, TP+29
AMHNARR NARR+2~, NARR+11*, NARR+12
AMHP TP+2~, TP+10*, TP+26, PRB+2~, PRB+10*, DX+2~, DX+10*, NARR+2~, NARR+10*, RD+2~
, RD+10*
AMHPP TP+2~, TP+24*, TP+25
AMHPRBL TP+2~, TP+22*, TP+26
AMHPRG TP+2~, TP+12*, TP+13*, TP+26
AMHRD TP+2~, TP+15*, TP+26, RD+2~, RD+11*, RD+14
AMHRDP RD+2~, RD+12*, RD+15
AMHREC TP+2~, TP+9*, TP+26, PRB+2~, PRB+9*, PRB+17, PRB+18, PRB+19, PRB+20, PRB+23
, DX+2~, DX+9*, DX+12, DX+15, NARR+2~, NARR+9*, NARR+12, NARR+15, RD+2~, RD+9*
, RD+17, RD+20, DEL+2~, DEL+8*, DEL+9, DEL+12
AMHRPS RD+2~, RD+13*, RD+16
AMHSTR DEBUG~, TP~, TP+7, TP+8, TP+9, TP+10, TP+11, TP+12, TP+14, TP+15
, TP+16, TP+17, TP+18, TP+19, TP+20, TP+21, TP+22, TP+23, TP+24, PRB~
, PRB+7, PRB+8, PRB+9, PRB+10, PRB+11, PRB+12, PRB+13, PRB+14, PRB+15, DX~
, DX+7, DX+8, DX+9, DX+10, DX+11, NARR~, NARR+7, NARR+8, NARR+9, NARR+10
, NARR+11, RD~, RD+7, RD+8, RD+9, RD+10, RD+11, RD+12, RD+13, DEL~
, DEL+6, DEL+8
AMHTD TP+2~, TP+14*, TP+26
D AXIS4~, AXIS4+10
>> DA DEL+9*
>> DIK DEL+9*
MTC FNDAXIS4+1~, FNDAXIS4+2*, FNDAXIS4+3, FNDAXIS4+4*, FNDAXIS4+5
P TP+2~, TP+3*, TP+8, TP+9, TP+10, TP+11, TP+12, TP+14, TP+15, TP+16
, TP+17, TP+18, TP+19, TP+20, TP+21, TP+22, TP+23, TP+24, PRB+2~, PRB+3*
, PRB+8, PRB+9, PRB+10, PRB+11, PRB+12, PRB+13, PRB+14, PRB+15, DX+2~, DX+3*
, DX+8, DX+9, DX+10, DX+11, NARR+2~, NARR+3*, NARR+8, NARR+9, NARR+10, NARR+11
, RD+2~, RD+3*, RD+8, RD+9, RD+10, RD+11, RD+12, RD+13, DEL+2~, DEL+3*
, DEL+8
PCODE AXIS4+4~, AXIS4+7*
PDA FNDAXIS4+1~, FNDAXIS4+3*, FNDAXIS4+4
PI FNDAXIS4~, FNDAXIS4+4
PIEN AXIS4+4~, AXIS4+6*, AXIS4+9
PNARR AXIS4+4~, AXIS4+8*
PP TP+2~, TP+25, TP+26
R TP+2~, TP+3*, PRB+2~, PRB+3*, DX+2~, DX+3*, AXIS4+1~, AXIS4+2*, AXIS4+6, AXIS4+7
, AXIS4+8, NARR+2~, NARR+3*, RD+2~, RD+3*, DEL+2~, DEL+3*
RC AXIS4~, AXIS4+9, AXIS4+11, FNDAXIS4~, FNDAXIS4+3, FNDAXIS4+4
RD RD+2~, RD+14, RD+17
RDP RD+2~, RD+15, RD+17
RETVAL DEBUG~, TP~, TP+4*, TP+27, TP+29, TP+30, PRB~, PRB+4*, PRB+21, PRB+23
, PRB+24, DX~, DX+4*, DX+13, DX+15, DX+16, NARR~, NARR+4*, NARR+13, NARR+15
, NARR+16, RD~, RD+4*, RD+18, RD+20, RD+21, DEL~, DEL+4*, DEL+10, DEL+12
, DEL+13
RPS RD+2~, RD+16, RD+17
STR AXIS4+4~, AXIS4+5*, AXIS4+6, AXIS4+7, AXIS4+8
U FNDAXIS4+4
>> X TP+1*, PRB+1*, DX+1*, NARR+1*, RD+1*, DEL+1*
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All