GMRAY18K ;SLC/DAN-CREATE NEW-STYLE XREF ;9:10 AM 7 Sep 2004
;;4.0;Adverse Reaction Tracking;**18**;Mar 29, 1996
;
N GMRAXR,GMRARES,GMRAOUT
S GMRAXR("FILE")=120.8503
S GMRAXR("NAME")="AHDR"
S GMRAXR("TYPE")="MU"
S GMRAXR("USE")="A"
S GMRAXR("EXECUTION")="R"
S GMRAXR("ACTIVITY")=""
S GMRAXR("SHORT DESCR")="Send data to HDR"
S GMRAXR("DESCR",1)="Send data to HDR when entries are added or edited in this multiple."
S GMRAXR("SET")="Q:$D(DIU(0)) D SETOB^GMRAHDR"
S GMRAXR("KILL")="Q:$D(DIU(0)) D KILLOB^GMRAHDR"
S GMRAXR("WHOLE KILL")="Q"
S GMRAXR("VAL",1)=.01
S GMRAXR("VAL",1,"COLLATION")="F"
S GMRAXR("VAL",2)=1
S GMRAXR("VAL",2,"COLLATION")="F"
S GMRAXR("VAL",3)=1.5
S GMRAXR("VAL",3,"COLLATION")="F"
S GMRAXR("VAL",4)=2
S GMRAXR("VAL",4,"COLLATION")="F"
S GMRAXR("VAL",5)=3
S GMRAXR("VAL",5,"COLLATION")="F"
S GMRAXR("VAL",6)=4
S GMRAXR("VAL",6,"COLLATION")="F"
S GMRAXR("VAL",7)=5
S GMRAXR("VAL",7,"COLLATION")="F"
S GMRAXR("VAL",8)=7
S GMRAXR("VAL",8,"COLLATION")="F"
S GMRAXR("VAL",9)=8
S GMRAXR("VAL",9,"COLLATION")="F"
S GMRAXR("VAL",10)=9
S GMRAXR("VAL",10,"COLLATION")="F"
S GMRAXR("VAL",11)=10
S GMRAXR("VAL",11,"COLLATION")="F"
S GMRAXR("VAL",12)=10.1
S GMRAXR("VAL",12,"COLLATION")="F"
S GMRAXR("VAL",13)=10.2
S GMRAXR("VAL",13,"COLLATION")="F"
S GMRAXR("VAL",14)=11
S GMRAXR("VAL",14,"COLLATION")="F"
S GMRAXR("VAL",15)=12
S GMRAXR("VAL",15,"COLLATION")="F"
S GMRAXR("VAL",16)=13
S GMRAXR("VAL",16,"COLLATION")="F"
S GMRAXR("VAL",17)=14
S GMRAXR("VAL",17,"COLLATION")="F"
S GMRAXR("VAL",18)=15
S GMRAXR("VAL",18,"COLLATION")="F"
S GMRAXR("VAL",19)=16
S GMRAXR("VAL",19,"COLLATION")="F"
S GMRAXR("VAL",20)=17
S GMRAXR("VAL",20,"COLLATION")="F"
D CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
Q
GMRAY18K ;SLC/DAN-CREATE NEW-STYLE XREF ;9:10 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.8503
+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")="Send data to HDR"
+11 SET GMRAXR("DESCR",1)="Send data to HDR when entries are added or edited in this multiple."
+12 SET GMRAXR("SET")="Q:$D(DIU(0)) D SETOB^GMRAHDR"
+13 SET GMRAXR("KILL")="Q:$D(DIU(0)) D KILLOB^GMRAHDR"
+14 SET GMRAXR("WHOLE KILL")="Q"
+15 SET GMRAXR("VAL",1)=.01
+16 SET GMRAXR("VAL",1,"COLLATION")="F"
+17 SET GMRAXR("VAL",2)=1
+18 SET GMRAXR("VAL",2,"COLLATION")="F"
+19 SET GMRAXR("VAL",3)=1.5
+20 SET GMRAXR("VAL",3,"COLLATION")="F"
+21 SET GMRAXR("VAL",4)=2
+22 SET GMRAXR("VAL",4,"COLLATION")="F"
+23 SET GMRAXR("VAL",5)=3
+24 SET GMRAXR("VAL",5,"COLLATION")="F"
+25 SET GMRAXR("VAL",6)=4
+26 SET GMRAXR("VAL",6,"COLLATION")="F"
+27 SET GMRAXR("VAL",7)=5
+28 SET GMRAXR("VAL",7,"COLLATION")="F"
+29 SET GMRAXR("VAL",8)=7
+30 SET GMRAXR("VAL",8,"COLLATION")="F"
+31 SET GMRAXR("VAL",9)=8
+32 SET GMRAXR("VAL",9,"COLLATION")="F"
+33 SET GMRAXR("VAL",10)=9
+34 SET GMRAXR("VAL",10,"COLLATION")="F"
+35 SET GMRAXR("VAL",11)=10
+36 SET GMRAXR("VAL",11,"COLLATION")="F"
+37 SET GMRAXR("VAL",12)=10.1
+38 SET GMRAXR("VAL",12,"COLLATION")="F"
+39 SET GMRAXR("VAL",13)=10.2
+40 SET GMRAXR("VAL",13,"COLLATION")="F"
+41 SET GMRAXR("VAL",14)=11
+42 SET GMRAXR("VAL",14,"COLLATION")="F"
+43 SET GMRAXR("VAL",15)=12
+44 SET GMRAXR("VAL",15,"COLLATION")="F"
+45 SET GMRAXR("VAL",16)=13
+46 SET GMRAXR("VAL",16,"COLLATION")="F"
+47 SET GMRAXR("VAL",17)=14
+48 SET GMRAXR("VAL",17,"COLLATION")="F"
+49 SET GMRAXR("VAL",18)=15
+50 SET GMRAXR("VAL",18,"COLLATION")="F"
+51 SET GMRAXR("VAL",19)=16
+52 SET GMRAXR("VAL",19,"COLLATION")="F"
+53 SET GMRAXR("VAL",20)=17
+54 SET GMRAXR("VAL",20,"COLLATION")="F"
+55 DO CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
+56 QUIT