| BEG | 
This entry point builds the ^TMP("PSJDA" global
containing all of the patients allergy and adverse reaction information.
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PSJINPT | 
Input | 
This variable is set to 1 to identify that the call
is coming from the Inpatient Meds routine.
 
 | 
DFN | 
Input | 
This is the patient's IEN number in ^DPT.
 
 | 
TMP global entries | 
Output | 
The call returns all of a patients allergy and
adverse reaction information in the ^TMP("PSJDA",N,0). The variable "N" is the
screen line numbers.  Inpatient Meds uses this ^TMP global to display the
information through ListMan.
Example below.
^TMP("PSJDA",539016357,1,0) =     Verified ^TMP("PSJDA",539016357,2,0) =
Drug: ^TMP("PSJDA",539016357,3,0) =        1 DAVE DRUG
^TMP("PSJDA",539016357,4,0) =      Food: ^TMP("PSJDA",539016357,5,0) =
2 STRAWBERRIES ^TMP("PSJDA",539016357,6,0) =     Other:
^TMP("PSJDA",539016357,7,0) =         ^TMP("PSJDA",539016357,8,0) =
Non-Verified ^TMP("PSJDA",539016357,9,0) =      Drug:
^TMP("PSJDA",539016357,10,0) =        3 CODEINE ^TMP("PSJDA",539016357,11,0) =
4 PENNTUSS ^TMP("PSJDA",539016357,12,0) =        5 RADIOLOGICAL/CONTRAST
MEDIA ^TMP("PSJDA",539016357,13,0) =     Other: ^TMP("PSJDA",539016357,14,0) =
6 DUST
 | 
 
 | 
DSPLY | 
The call returns all of a patients allergy and
adverse reaction information in the ^TMP("PSJAL",N,0). The variable "N" is the
screen line numbers. Inpatient Meds uses this ^TMP global to display the
information through ListMan.
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PSJINPT | 
Input | 
This variable is set to 1 to identify that the call
is coming from the Inpatient Meds routine.
 
 | 
ORN | 
Input | 
This variable is the allergy/adverse reaction number
choosen from the allergy/adverse reaction screen.
 
 | 
DFN | 
Input | 
This is the patient's IEN number in ^DPT.
 
 | 
TMP global | 
Output | 
This call returns detailed information about a single
allergy/adverse reaction for a patient in ^TMP("PSJAL",N,0).  The variable "N"
is the screen line numbers. Inpatient Meds uses this ^TMP global to display
the information through ListMan.
Example below.
^TMP("PSJAL",539016357,1,0) =   Causative Agent: STRAWBERRIES
^TMP("PSJAL",539016357,2,0) =
Severity: ^TMP("PSJAL",539016357,3,0) =       Ingredients:
^TMP("PSJAL",539016357,4,0) = ^TMP("PSJAL",539016357,5,0) =     VA Drug Class:
^TMP("PSJAL",539016357,6,0) =        Originated: 03/10/95 Originator:
ANDERSON,CURTIS ^TMP("PSJAL",539016357,7,0) =          Verified: Yes
OBS/Hist: OBSERVED ^TMP("PSJAL",539016357,8,0) = ^TMP("PSJAL",539016357,9,0)
=          Comments: ^TMP("PSJAL",539016357,10,0) =  Patient reacts severly to
strawberries in any naturally occurring form.  ^TMP("PSJAL",539016357,11,0) =
^TMP("PSJAL",539016357,12,0) =    Signs/Symptoms: HIVES
^TMP("PSJAL",539016357,13,0) =         Mechanism: UNKNOWN
 | 
 
 |