YS151PST ;SLC/KCM - MH Exchange Sample Code ; 10/11/18 3:01pm
Source file <YS151PST.m>
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. |
|
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. ; |
|
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 | ; Change test name
|
|
NMCHG | ;USED TO CHANGE THE NAME OF AN INSTRUMENT
|
|
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
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^YTT(601.71 - [#601.71] | MODDATA+6, CHGNM+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | XCHGLST~ |
ARRAY( | XCHGLST+6*, XCHGLST+7* |
I | MODDATA+3~, MODDATA+5*, CHGNM+2*, XCHGLST+4~, XCHGLST+5*, XCHGLST+6, XCHGLST+7 |
IEN | MODDATA+6*, MODDATA+11, CHGNM+1~, CHGNM+4*, CHGNM+5, CHGNM+8 |
LSTEDT | POST+5~, POST+6*, CHGNM+7 |
NEW | CHGNM+1~, CHGNM+3*, CHGNM+6 |
NEWDT | MODDATA+3~, MODDATA+4*, MODDATA+7 |
OLD | CHGNM+1~, CHGNM+3*, CHGNM+4 |
REC | MODDATA+3~, MODDATA+11, MODDATA+12!, CHGNM+1~, CHGNM+8 |
REC( | CHGNM+6* |
REC(18 | MODDATA+7*, CHGNM+7* |
REC(26 | MODDATA+8* |
REC(28 | MODDATA+9* |
REC(9 | MODDATA+10* |
U | XCHGLST+6, XCHGLST+7 |
X | MODDATA+3~, MODDATA+5*, MODDATA+6, MODDATA+8, MODDATA+9, MODDATA+10, CHGNM+2*, CHGNM+3, XCHGLST+4~, XCHGLST+5* , XCHGLST+6, XCHGLST+7 |
>> Y | SCREEN+5 |