Print Page as PDF
RE-INDEX 'AD' CROSS-REFERENCE ON SECONDARY MENU OPTIONS ICR (5612)

RE-INDEX 'AD' CROSS-REFERENCE ON SECONDARY MENU OPTIONS    ICR (5612)

Name Value
NUMBER 5612
IA # 5612
FILE NUMBER 200
GLOBAL ROOT VA(200,
DATE CREATED 2011/03/02
CUSTODIAL PACKAGE KERNEL
USAGE Private
TYPE File
DBIC APPROVAL STATUS APPROVED
NAME RE-INDEX 'AD' CROSS-REFERENCE ON SECONDARY MENU OPTIONS
GENERAL DESCRIPTION
The Laboratory System Re-engineering Project (LSRP)
Rollback Tool Kit (RTK) has a onetime request to re-index the 'AD'
cross-reference on the SECONDARY MENU OPTIONS field (#203) in the NEW PERSON
file (#200). The re-indexing will take place in the post-init for patch
LR*5.2*393 in routine LR393. The code is as follows:

REINDEX  ; -- index 'AD' xref on NEW PERSON file
D MES^XPDUTL("Re-indexing 'AD' Cross Reference on SECONDARY MENU
OPTIONS (#203) field")
D MES^XPDUTL("in the NEW PERSON (#200) file...")
N LRDUZ
S LRDUZ=0
F  S LRDUZ=$O(^VA(200,LRDUZ)) Q:'LRDUZ  D
. N DIK,DA
. Q:'$O(^VA(200,LRDUZ,203,0))
. S DA(1)=LRDUZ,DIK="^VA(200,"_DA(1)_",203,",DIK(1)=".01^AD" D
ENALL^DIK
D MES^XPDUTL("Done re-indexing.")
Q
GLOBAL REFERENCE
GLOBAL REFERENCE FIELD NUMBER
VA(200,DA(1),203,0)
FIELD NUMBER ACCESS FIELD NAME LOCATION
203 Read w/Fileman SECONDARY MENU OPTIONS 203;0
STATUS Active
KEYWORDS
  • LSRP
  • ROLLBACK
DURATION Till Otherwise Agreed
ID VA(200,
SUBSCRIBING PACKAGE LAB SERVICE
DATE ACTIVATED 2011/03/07