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

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

initial load of FOIAVistA 6/30/08 version

File size: 1.3 KB
Line 
1DGADTTM6 ;ALB/RMM-CREATE NEW-STYLE XREF ;1:35 PM 24 May 2005
2 ;;5.3;REGISTRATION;**665**;Aug 13,1993
3 ;
4 ; This routine adds the new style cross-reference ADTTM4 which triggers
5 ; an update for the E2-CONTACT CHANGE DATE/TIME field (#.33012) in
6 ; the PATIENT File #2.
7 ;
8 N DGENXR,DGENRES,DGENOUT
9 S DGENXR("FILE")=2
10 S DGENXR("NAME")="ADTTM6"
11 S DGENXR("TYPE")="MU"
12 S DGENXR("USE")="A"
13 S DGENXR("EXECUTION")="R"
14 S DGENXR("ACTIVITY")=""
15 S DGENXR("SHORT DESCR")="E2-CONTACT Cross-Reference"
16 S DGENXR("DESCR",1)="This cross-reference will update the E2-CONTACT CHANGE DATE/TIME field"
17 S DGENXR("DESCR",2)="when the Secondary Emergency Contact data changes for a patient."
18 S DGENXR("SET")="D ECON2^DGDDDTTM"
19 S DGENXR("KILL")="D ECON2^DGDDDTTM"
20 S DGENXR("VAL",1)=.3311
21 S DGENXR("VAL",1,"COLLATION")="F"
22 S DGENXR("VAL",2)=.3312
23 S DGENXR("VAL",2,"COLLATION")="F"
24 S DGENXR("VAL",3)=.3313
25 S DGENXR("VAL",3,"COLLATION")="F"
26 S DGENXR("VAL",4)=.3314
27 S DGENXR("VAL",4,"COLLATION")="F"
28 S DGENXR("VAL",5)=.3315
29 S DGENXR("VAL",5,"COLLATION")="F"
30 S DGENXR("VAL",6)=.3316
31 S DGENXR("VAL",6,"COLLATION")="F"
32 S DGENXR("VAL",7)=.3317
33 S DGENXR("VAL",7,"COLLATION")="F"
34 S DGENXR("VAL",8)=.3318
35 S DGENXR("VAL",8,"COLLATION")="F"
36 S DGENXR("VAL",9)=.2204
37 S DGENXR("VAL",9,"COLLATION")="F"
38 D CREIXN^DDMOD(.DGENXR,"W",.DGENRES,"DGENOUT")
39 Q
Note: See TracBrowser for help on using the repository browser.