Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: TIUPS106

TIUPS106.m

Go to the documentation of this file.
  1. TIUPS106 ;SLC/JER,MKB,ASMR/BL - post install for 106 ; 10/16/15 2:12pm
  1. ;;1.0;TEXT INTEGRATION UTILITIES;**106**;Jun 20, 1997;Build 328
  1. ;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. MAIN ;controls branching
  1. D NEWXREF
  1. Q
  1. ;
  1. NEWXREF ;creates new index "AEVT" on Documents file #8925
  1. D DELIXN^DDMOD(8925,"AVPR","W")
  1. N TIUARR,TIURES
  1. S TIUARR("FILE")=8925
  1. S TIUARR("NAME")="AEVT"
  1. S TIUARR("TYPE")="MU"
  1. S TIUARR("USE")="A"
  1. S TIUARR("EXECUTION")="R"
  1. S TIUARR("ACTIVITY")="R"
  1. S TIUARR("SET CONDITION")="S X=(X2(12)'="""")" ;Patient defined
  1. S TIUARR("KILL CONDITION")="S X=(X2(1)="""")" ;Document type deleted
  1. S TIUARR("SET")="D DOC^TIUDDX"
  1. S TIUARR("KILL")="D DOC^TIUDDX"
  1. S TIUARR("SHORT DESCR")="Data Update Event"
  1. S TIUARR("DESCR",1)="This is an action index that broadcasts when any of the fields"
  1. S TIUARR("DESCR",2)="in this index are changed. No actual cross-reference nodes are"
  1. S TIUARR("DESCR",3)="set or killed."
  1. S TIUARR("VAL",1)=.01
  1. S TIUARR("VAL",2)=.05
  1. S TIUARR("VAL",3)=.06
  1. S TIUARR("VAL",4)=.07
  1. S TIUARR("VAL",5)=.08
  1. S TIUARR("VAL",6)=1202
  1. S TIUARR("VAL",7)=1205
  1. S TIUARR("VAL",8)=1301
  1. S TIUARR("VAL",9)=1405
  1. S TIUARR("VAL",10)=1701
  1. S TIUARR("VAL",11)=2101
  1. S TIUARR("VAL",12)=.02
  1. D CREIXN^DDMOD(.TIUARR,"kW",.TIURES)
  1. ; Compiled xrefs require Activity=R so set NoReIndex flag [DBIA 4754]
  1. S:$G(TIURES) ^DD("IX",+TIURES,"NOREINDEX")=1
  1. Q