Print Page as PDF
Free text bulletin ICR (4374)

Free text bulletin    ICR (4374)

Name Value
NUMBER 4374
IA # 4374
DATE CREATED 2004/02/25
CUSTODIAL PACKAGE ADVERSE REACTION TRACKING
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE GMRAPES0
NAME Free text bulletin
GENERAL DESCRIPTION
This documents the use of the $$SENDREQ function to
send a bulletin to a mail group indicating a request to add a free text
allergy for a patient.  A message is sent when a user cannot find an adequate
match when entering an allergy for a patient.  The message includes important
allergy data as well as contact information for the user.
STATUS Active
DURATION Till Otherwise Agreed
ID GMRAPES0
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$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.
SUBSCRIBING PACKAGE ORDER ENTRY/RESULTS REPORTING