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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: YS150PST

Package: Mental Health

Routine: YS150PST


Information

YS150PST ;SLC/BLD - MH Exchange Sample Code ; 10/11/18 3:01pm

Source Information

Source file <YS150PST.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Mental Health 2 ($$INCLUDE,INSTALLQ)^YTXCHG  FMUPD^YTXCHGU  

Entry Points

Name Comments DBIA/ICR reference
EXPDATE ; export date used to update 601.71:18
PRE ; nothing necessary
POST ; post-init
; UPDSET^YTXCHG("TAG","RTN") will loop through the array returned by TAG^RTN
; and install the specification supplied by that Instrument Exchange entry
; name.
MODDATA ; Set new dates for tests listed so the GUI will reload the definition
; This is best done in the account where the build is created so that the
; original and destination accounts match.
INSTDT ;
CHGNM(OLD,NEW) ; Change test name
SCREEN ; sample line to put in DATA SCREEN of KIDS build
; $$INCLUDE^YTXCHG(Y,"TAG","RTN") calls TAG^RTN to get an array of
; instrument exchange entries to include in the build. It sets Y
; to true if the entry should be included.
;
XCHGLST(ARRAY) ; return array of instrument exchange entries
; ARRAY(cnt,1)=instrument exchange entry name
; ARRAY(cnt,2)=instrument exchange entry creation date
ENTRIES ; New MHA instruments ^ Exchange Entry Date
LPSTAFF ; Loop through instruments to set staff entry only
UPDSTAFF(NAME,VALUE) ; Update STAFF ENTRY ONLY field
STAFF ;Staff Entry Only Instruments

External References

Name Field # of Occurrence
$$INCLUDE^YTXCHG SCREEN+5
INSTALLQ^YTXCHG POST+12
FMUPD^YTXCHGU MODDATA+12, CHGNM+7, UPDSTAFF+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^YTT(601.71 - [#601.71] MODDATA+6, CHGNM+3, UPDSTAFF+2

Label References

Name Line Occurrences
CHGNM POST+9, POST+10
LPSTAFF POST+13
MODDATA POST+14
UPDSTAFF LPSTAFF+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY XCHGLST~
ARRAY( XCHGLST+6*, XCHGLST+7*
I POST+5~, MODDATA+3~, MODDATA+5*, XCHGLST+4~, XCHGLST+5*, XCHGLST+6, XCHGLST+7, LPSTAFF+1~, LPSTAFF+2*
IEN POST+5~, MODDATA+6*, MODDATA+7, MODDATA+12, CHGNM+2~, CHGNM+3*, CHGNM+4, CHGNM+7, UPDSTAFF+1~, UPDSTAFF+2*
, UPDSTAFF+5
LSTEDT POST+5~, POST+8*, CHGNM+6
NAME UPDSTAFF~, UPDSTAFF+2
NEW POST+5~, POST+7*, POST+9*, POST+10*, CHGNM~, CHGNM+5
NEWDT POST+5~, MODDATA+3~, MODDATA+4*, MODDATA+8
OLD POST+5~, POST+7*, POST+9*, POST+10*, CHGNM~, CHGNM+3
REC POST+5~, MODDATA+3~, MODDATA+12, CHGNM+2~, CHGNM+7, UPDSTAFF+1~, UPDSTAFF+5
REC( CHGNM+5*
REC(18 MODDATA+8*, CHGNM+6*, UPDSTAFF+4*
REC(26 MODDATA+9*
REC(28 MODDATA+10*
REC(9 MODDATA+11*
REC(94 UPDSTAFF+3*
U XCHGLST+6, XCHGLST+7, LPSTAFF+3, LPSTAFF+4
VALUE UPDSTAFF~, UPDSTAFF+3
X MODDATA+3~, MODDATA+5*, MODDATA+6, MODDATA+9, MODDATA+10, MODDATA+11, XCHGLST+4~, XCHGLST+5*, XCHGLST+6, XCHGLST+7
LPSTAFF+1~, LPSTAFF+2, LPSTAFF+3*, LPSTAFF+5
Y SCREEN+5, LPSTAFF+1~, LPSTAFF+4*, LPSTAFF+5
YTXLOG POST+5~

Marked Items

Name Field # of Occurrence
$T(EDTDATE+1 UPDSTAFF+4
$T(ENTRIES+I XCHGLST+5
$T(EXPDATE+1 POST+8, MODDATA+4
$T(INSTDT+I MODDATA+5
$T(STAFF+I LPSTAFF+3, LPSTAFF+4
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All