DGADTTM2 ;ALB/RMM-CREATE NEW-STYLE XREF ;12:21 PM 24 May 2005
;;5.3;REGISTRATION;**665**;Aug 13,1993
;
; This routine adds the new style cross-reference ADTTM2 which triggers
; an update for the CONFIDENTIAL ADDR CHANGE DT/TM field (#.14112) in
; the PATIENT File #2.
;
N DGENXR,DGENRES,DGENOUT
S DGENXR("FILE")=2
S DGENXR("NAME")="ADTTM2"
S DGENXR("TYPE")="MU"
S DGENXR("USE")="A"
S DGENXR("EXECUTION")="R"
S DGENXR("ACTIVITY")=""
S DGENXR("SHORT DESCR")="CONFIDENTIAL ADDRESS Cross-Reference"
S DGENXR("DESCR",1)="This cross-reference will update the CONFIDENTIAL ADDR CHANGE DT/TM field"
S DGENXR("DESCR",2)="when the confidential address data changes for a patient."
S DGENXR("SET")="D CONF^DGDDDTTM"
S DGENXR("KILL")="D CONF^DGDDDTTM"
S DGENXR("VAL",1)=.1411
S DGENXR("VAL",1,"COLLATION")="F"
S DGENXR("VAL",2)=.1412
S DGENXR("VAL",2,"COLLATION")="F"
S DGENXR("VAL",3)=.1413
S DGENXR("VAL",3,"COLLATION")="F"
S DGENXR("VAL",4)=.1414
S DGENXR("VAL",4,"COLLATION")="F"
S DGENXR("VAL",5)=.1415
S DGENXR("VAL",5,"COLLATION")="F"
S DGENXR("VAL",6)=.1416
S DGENXR("VAL",6,"COLLATION")="F"
S DGENXR("VAL",7)=.1417
S DGENXR("VAL",7,"COLLATION")="F"
S DGENXR("VAL",8)=.1418
S DGENXR("VAL",8,"COLLATION")="F"
S DGENXR("VAL",9)=.14105
S DGENXR("VAL",9,"COLLATION")="F"
D CREIXN^DDMOD(.DGENXR,"W",.DGENRES,"DGENOUT")
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDGADTTM2 1390 printed Nov 22, 2024@17:51:11 Page 2
DGADTTM2 ;ALB/RMM-CREATE NEW-STYLE XREF ;12:21 PM 24 May 2005
+1 ;;5.3;REGISTRATION;**665**;Aug 13,1993
+2 ;
+3 ; This routine adds the new style cross-reference ADTTM2 which triggers
+4 ; an update for the CONFIDENTIAL ADDR CHANGE DT/TM field (#.14112) in
+5 ; the PATIENT File #2.
+6 ;
+7 NEW DGENXR,DGENRES,DGENOUT
+8 SET DGENXR("FILE")=2
+9 SET DGENXR("NAME")="ADTTM2"
+10 SET DGENXR("TYPE")="MU"
+11 SET DGENXR("USE")="A"
+12 SET DGENXR("EXECUTION")="R"
+13 SET DGENXR("ACTIVITY")=""
+14 SET DGENXR("SHORT DESCR")="CONFIDENTIAL ADDRESS Cross-Reference"
+15 SET DGENXR("DESCR",1)="This cross-reference will update the CONFIDENTIAL ADDR CHANGE DT/TM field"
+16 SET DGENXR("DESCR",2)="when the confidential address data changes for a patient."
+17 SET DGENXR("SET")="D CONF^DGDDDTTM"
+18 SET DGENXR("KILL")="D CONF^DGDDDTTM"
+19 SET DGENXR("VAL",1)=.1411
+20 SET DGENXR("VAL",1,"COLLATION")="F"
+21 SET DGENXR("VAL",2)=.1412
+22 SET DGENXR("VAL",2,"COLLATION")="F"
+23 SET DGENXR("VAL",3)=.1413
+24 SET DGENXR("VAL",3,"COLLATION")="F"
+25 SET DGENXR("VAL",4)=.1414
+26 SET DGENXR("VAL",4,"COLLATION")="F"
+27 SET DGENXR("VAL",5)=.1415
+28 SET DGENXR("VAL",5,"COLLATION")="F"
+29 SET DGENXR("VAL",6)=.1416
+30 SET DGENXR("VAL",6,"COLLATION")="F"
+31 SET DGENXR("VAL",7)=.1417
+32 SET DGENXR("VAL",7,"COLLATION")="F"
+33 SET DGENXR("VAL",8)=.1418
+34 SET DGENXR("VAL",8,"COLLATION")="F"
+35 SET DGENXR("VAL",9)=.14105
+36 SET DGENXR("VAL",9,"COLLATION")="F"
+37 DO CREIXN^DDMOD(.DGENXR,"W",.DGENRES,"DGENOUT")
+38 QUIT