GMRAY18P ;SLC/DAN-CREATE NEW-STYLE XREF ;9:12 AM 7 Sep 2004
;;4.0;Adverse Reaction Tracking;**18**;Mar 29, 1996
;
N GMRAXR,GMRARES,GMRAOUT
S GMRAXR("FILE")=120.85315
S GMRAXR("NAME")="AHDR"
S GMRAXR("TYPE")="MU"
S GMRAXR("USE")="A"
S GMRAXR("EXECUTION")="F"
S GMRAXR("ACTIVITY")=""
S GMRAXR("SHORT DESCR")="Send data to HDR on entry/edit"
S GMRAXR("DESCR",1)="Send data to HDR when the P&T addendum is added."
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"
D CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
Q
GMRAY18P ;SLC/DAN-CREATE NEW-STYLE XREF ;9:12 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.85315
+5 SET GMRAXR("NAME")="AHDR"
+6 SET GMRAXR("TYPE")="MU"
+7 SET GMRAXR("USE")="A"
+8 SET GMRAXR("EXECUTION")="F"
+9 SET GMRAXR("ACTIVITY")=""
+10 SET GMRAXR("SHORT DESCR")="Send data to HDR on entry/edit"
+11 SET GMRAXR("DESCR",1)="Send data to HDR when the P&T addendum is added."
+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 DO CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
+18 QUIT