YTXCHGS ;SLC/KCM - MH Exchange Sample Code ; 08-AUG-2016
Source file <YTXCHGS.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| 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. ;  | 
|
| 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
 |