source: FOIAVistA/trunk/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DG53E451.m@ 1397

Last change on this file since 1397 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 2.4 KB
Line 
1DG53E451 ;BRM - Patch DG*5.3*451 Install Utility Routine #2 ; 4/14/04 8:16am
2 ;;5.3;Registration;**451**; Aug 13,1993
3 ;
4 Q
5 ;
6EDITINC ; edit a few entries to the INCONSISTENT DATA ELEMENTS file (#38.6)
7 N DGK,DGWP,ROOT,DGFDA,DGWP,DGIEN,DGERR,DGTITL
8 D BMES^XPDUTL(" >> Editing entries 37-40 in the INCONSISTENT DATA ELEMENTS file (#38.6)")
9 F DGK=37:1:40 D
10 .K DGFDA,ROOT,DGWP
11 .S ROOT="DGFDA(38.6,"""_DGK_","")"
12 .D @DGK Q:'$D(DGFDA)
13 .S DGIEN(1)=DGK
14 .S DGTITL=@ROOT@(.01)
15 .D UPDATE^DIE("E","DGFDA","DGIEN","DGERR")
16 .I $D(DGERR) D BMES^XPDUTL(" >>> ERROR! "_DGTITL_" could not be edited in file #38.6"),MES^XPDUTL(DGERR("DIERR",1)_": "_DGERR("DIERR",1,"TEXT",1)) Q
17 .D BMES^XPDUTL(" "_DGTITL_" successfully edited.")
18 Q
1937 ;
20 S @ROOT@(.01)="POW DATA MISSING OR INCOMPLETE"
21 S @ROOT@(2)="PRISONER OF WAR STATUS INDICATED, RELATED DATA MISSING OR INCOMPLETE"
22 S @ROOT@(3)=3
23 S @ROOT@(50)="DGWP"
24 S DGWP(1,0)="Inconsistency results when the user responds YES to the WERE YOU A"
25 S DGWP(2,0)="PRISONER OF WAR prompt and any (or all) of the following prompts are"
26 S DGWP(3,0)="left unanswered: POW WAR, POW FROM DATE, POW TO DATE. This inconsistency "
27 S DGWP(4,0)="also results when an imprecise date (without at least month and year "
28 S DGWP(5,0)="precision) is entered."
29 Q
3038 ;
31 S @ROOT@(.01)="POW DATES INCONSISTENT"
32 S @ROOT@(2)="'PRISONER OF WAR' STATUS INDICATED, TO DATE PRECEDES FROM DATE"
33 S @ROOT@(3)=3
34 S @ROOT@(50)="DGWP"
35 S DGWP(1,0)="Inconsistency results when the user responds YES to the WERE YOU A"
36 S DGWP(2,0)="A PRISONER OF WAR prompt and the 'from' date does not precede the 'to'"
37 S DGWP(3,0)="date."
38 Q
3939 ;
40 S @ROOT@(.01)="COMBAT DATA MISSING/INCOMPLETE"
41 S @ROOT@(2)="COMBAT SERVICE INDICATED, RELATED DATA MISSING OR INCOMPLETE"
42 S @ROOT@(3)=3
43 S @ROOT@(50)="DGWP"
44 S DGWP(1,0)="Inconsistency results when the user responds YES to the IN COMBAT (Y/N)"
45 S DGWP(2,0)="and any (or all) of the following prompts are left unanswered: COMBAT"
46 S DGWP(3,0)="WHERE, COMBAT FROM DATE, COMBAT TO DATE. This inconsistency also results"
47 S DGWP(4,0)="when an imprecise date (without at least month and year precision) is"
48 S DGWP(5,0)="entered."
49 Q
5040 ;
51 S @ROOT@(.01)="COMBAT DATES INCONSISTENT"
52 S @ROOT@(2)="COMBAT SERVICE INDICATED, TO DATE PRECEDES FROM DATE"
53 S @ROOT@(3)=3
54 S @ROOT@(50)="DGWP"
55 S DGWP(1,0)="Inconsistency results when the COMBAT (Y/N) prompt is answered YES"
56 S DGWP(2,0)="but the 'to' date precedes the 'from' date of service."
57 Q
Note: See TracBrowser for help on using the repository browser.