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

22 lines
728 B
Mathematica

GMRAY18G ;SLC/DAN-CREATE NEW-STYLE XREF ;12/20/04 16:01
;;4.0;Adverse Reaction Tracking;**18**;Mar 29, 1996
;
N GMRAXR,GMRARES,GMRAOUT
S GMRAXR("FILE")=120.814
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 upon entry or edit"
S GMRAXR("DESCR",1)="Sends data to HDR related to ID BAND when entered or edited."
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)=1
S GMRAXR("VAL",2,"COLLATION")="F"
D CREIXN^DDMOD(.GMRAXR,"k",.GMRARES,"GMRAOUT")
Q