GMRAY18A ;SLC/DAN-CREATE NEW-STYLE XREF ;9:06 AM 7 Sep 2004
;;4.0;Adverse Reaction Tracking;**18**;Mar 29, 1996
;
N GMRAXR,GMRARES,GMRAOUT
S GMRAXR("FILE")=120.8
S GMRAXR("NAME")="AHDR"
S GMRAXR("TYPE")="MU"
S GMRAXR("USE")="A"
S GMRAXR("EXECUTION")="R"
S GMRAXR("ACTIVITY")=""
S GMRAXR("SHORT DESCR")="Sends data to HDR upon entry"
S GMRAXR("DESCR",1)="This cross reference will send the HDR allergy data upon entry or editing "
S GMRAXR("DESCR",2)="of allergy related data."
S GMRAXR("SET")="Q:$D(DIU(0)) D SETADR^GMRAHDR"
S GMRAXR("KILL")="Q:$D(DIU(0)) D KILLADR^GMRAHDR"
S GMRAXR("WHOLE KILL")="Q"
S GMRAXR("VAL",1)=.01
S GMRAXR("VAL",1,"COLLATION")="F"
S GMRAXR("VAL",2)=.02
S GMRAXR("VAL",2,"COLLATION")="F"
S GMRAXR("VAL",3)=1
S GMRAXR("VAL",3,"COLLATION")="F"
S GMRAXR("VAL",4)=3.1
S GMRAXR("VAL",4,"COLLATION")="F"
S GMRAXR("VAL",5)=4
S GMRAXR("VAL",5,"COLLATION")="F"
S GMRAXR("VAL",6)=5
S GMRAXR("VAL",6,"COLLATION")="F"
S GMRAXR("VAL",7)=6
S GMRAXR("VAL",7,"COLLATION")="F"
S GMRAXR("VAL",8)=15
S GMRAXR("VAL",8,"COLLATION")="F"
S GMRAXR("VAL",9)=17
S GMRAXR("VAL",9,"COLLATION")="F"
S GMRAXR("VAL",10)=19
S GMRAXR("VAL",10,"COLLATION")="F"
S GMRAXR("VAL",11)=20
S GMRAXR("VAL",11,"COLLATION")="F"
S GMRAXR("VAL",12)=21
S GMRAXR("VAL",12,"COLLATION")="F"
S GMRAXR("VAL",13)=22
S GMRAXR("VAL",13,"COLLATION")="F"
S GMRAXR("VAL",14)=23
S GMRAXR("VAL",14,"COLLATION")="F"
S GMRAXR("VAL",15)=24
S GMRAXR("VAL",15,"COLLATION")="F"
D CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
Q
GMRAY18A ;SLC/DAN-CREATE NEW-STYLE XREF ;9:06 AM 7 Sep 2004
+1 ;;4.0;Adverse Reaction Tracking;**18**;Mar 29, 1996
+2 ;
+3 NEW GMRAXR,GMRARES,GMRAOUT
+4 SET GMRAXR("FILE")=120.8
+5 SET GMRAXR("NAME")="AHDR"
+6 SET GMRAXR("TYPE")="MU"
+7 SET GMRAXR("USE")="A"
+8 SET GMRAXR("EXECUTION")="R"
+9 SET GMRAXR("ACTIVITY")=""
+10 SET GMRAXR("SHORT DESCR")="Sends data to HDR upon entry"
+11 SET GMRAXR("DESCR",1)="This cross reference will send the HDR allergy data upon entry or editing "
+12 SET GMRAXR("DESCR",2)="of allergy related data."
+13 SET GMRAXR("SET")="Q:$D(DIU(0)) D SETADR^GMRAHDR"
+14 SET GMRAXR("KILL")="Q:$D(DIU(0)) D KILLADR^GMRAHDR"
+15 SET GMRAXR("WHOLE KILL")="Q"
+16 SET GMRAXR("VAL",1)=.01
+17 SET GMRAXR("VAL",1,"COLLATION")="F"
+18 SET GMRAXR("VAL",2)=.02
+19 SET GMRAXR("VAL",2,"COLLATION")="F"
+20 SET GMRAXR("VAL",3)=1
+21 SET GMRAXR("VAL",3,"COLLATION")="F"
+22 SET GMRAXR("VAL",4)=3.1
+23 SET GMRAXR("VAL",4,"COLLATION")="F"
+24 SET GMRAXR("VAL",5)=4
+25 SET GMRAXR("VAL",5,"COLLATION")="F"
+26 SET GMRAXR("VAL",6)=5
+27 SET GMRAXR("VAL",6,"COLLATION")="F"
+28 SET GMRAXR("VAL",7)=6
+29 SET GMRAXR("VAL",7,"COLLATION")="F"
+30 SET GMRAXR("VAL",8)=15
+31 SET GMRAXR("VAL",8,"COLLATION")="F"
+32 SET GMRAXR("VAL",9)=17
+33 SET GMRAXR("VAL",9,"COLLATION")="F"
+34 SET GMRAXR("VAL",10)=19
+35 SET GMRAXR("VAL",10,"COLLATION")="F"
+36 SET GMRAXR("VAL",11)=20
+37 SET GMRAXR("VAL",11,"COLLATION")="F"
+38 SET GMRAXR("VAL",12)=21
+39 SET GMRAXR("VAL",12,"COLLATION")="F"
+40 SET GMRAXR("VAL",13)=22
+41 SET GMRAXR("VAL",13,"COLLATION")="F"
+42 SET GMRAXR("VAL",14)=23
+43 SET GMRAXR("VAL",14,"COLLATION")="F"
+44 SET GMRAXR("VAL",15)=24
+45 SET GMRAXR("VAL",15,"COLLATION")="F"
+46 DO CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
+47 QUIT