Print Page as PDF
DBIA2211 ICR (2211)

DBIA2211    ICR (2211)

Name Value
NUMBER 2211
IA # 2211
DATE CREATED 1997/10/29
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
CUSTODIAL ISC Birmingham
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOORDA
NAME DBIA2211
GENERAL DESCRIPTION
Inpatient Medications requests permission to call
(Outpatient Pharmacy) ^PSOORDA.  This call builds the ^TMP("PSJAL" and
^TMP("PSJDA" globals that contain the patients Allergy/Adverse Reaction
information to display on the ListMan screen.
STATUS Active
DURATION Till Otherwise Agreed
ID PSOORDA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
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
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
INPATIENT MEDICATIONS Birmingham