$$SENDREQ(USER,PAT,TEXT,GMRAET) |
This function sends a mail message to the GMRA
REQUEST NEW REACTANT mail group. If successful, the function returns a 1. If
it fails, it sends a 0 along with a description of why it failed. The mail
message will contain allergy information as well as contact information so the
allergy can be added as quickly as possible.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
USER |
Input |
The internal entry number of the user attempting to
add a free text entry. This is essentially the user's DUZ.
|
PAT |
Input |
The internal entry number of the patient involved
with the allergy entry. This is essentially the variable DFN.
|
TEXT |
Input |
This variable holds the text of the allergy entry the
user was trying to add.
|
GMRAET |
Input |
This array, passed by reference, contains any
additional comments the user may have added regarding the request to add the
text entry to the allergy file.
|
|