VistA-WorldVistAEHR/r/ADVERSE_REACTION_TRACKING-G.../GMRAY18M.m

28 lines
887 B
Mathematica
Raw Normal View History

2009-11-29 13:37:14 -05:00
GMRAY18M ;SLC/DAN-CREATE NEW-STYLE XREF ;9:11 AM 7 Sep 2004
;;4.0;Adverse Reaction Tracking;**18**;Mar 29, 1996
;
N GMRAXR,GMRARES,GMRAOUT
S GMRAXR("FILE")=120.8513
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 in this multiple are added or edited."
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)=2
S GMRAXR("VAL",3,"COLLATION")="F"
S GMRAXR("VAL",4)=3
S GMRAXR("VAL",4,"COLLATION")="F"
S GMRAXR("VAL",5)=4
S GMRAXR("VAL",5,"COLLATION")="F"
D CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
Q