Print Page as PDF
DBIA3143 ICR (3143)

DBIA3143    ICR (3143)

Name Value
NUMBER 3143
IA # 3143
DATE CREATED 2000/07/13
CUSTODIAL PACKAGE INPATIENT MEDICATIONS
CUSTODIAL ISC Birmingham
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSJORAPI
NAME DBIA3143
GENERAL DESCRIPTION
This agreement allows the Clinical Reminders package to
call the Inpatient Medications V.5.0  package for patient and order
information, based on a specified date range and a specified list of
medications.
STATUS Active
KEYWORDS PSJORAPI
DURATION Till Otherwise Agreed
ID PSJORAPI
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
EN(PSJB,PSJE,PSJX,PSJDT,PSJN)
This entry point return patient and order information
in a TMP global to the subscribing package, based on the criteria passed into
the call.
VARIABLES TYPE VARIABLES DESCRIPTION
PSJB Input
This is the beginning date to search by, in VA
FileMan format.
PSJE Input
This is the ending date for the search, in VA FileMan
format.
PSJX Input
This is the medication array for the search.  It can
be two types.

PSJX("123;PSDRUG(") where 123 is the internal entry number, and PSDRUG
indicates that the entry number corresponds with an entry in the DRUG file
(#50).

PSJX("321;PSNDF(50.6,") where 321 is the internal entry number, and
PSNDF(50.6, indicates that the entry number corresponds with an entry in the
VA GENERIC file (#50.6).
PSJDT Input
This variable is not used by the Inpatient
Medications package.  It is included to make it easier for the Clinical
Reminders package to make the call in the same format to both the Inpatient
Medications and the Outpatient Pharmacy packages.
PSJN Input
This is the first subscript of the TMP global that is
returned.  It may be "PSI".  The TMP global may be killed before and after
use.
TMP(PSJN,$J,DFN,#,0) Output
This is returned in the format ^TMP(PSJN,$J,DFN,#,0).

This node contains the medication criteria finding.  This would be in the
format of the PSJX input array.
TMP(PSJN,$J,DFN,#,1) Output
This is returned in the format ^TMP(PSJN,$J,DFN,#,1).

This node contains 5 pieces.

Piece 1 is the Start Date/Time of the order.  Piece 2 is always null.  Piece 3
is the name (#.01) of the Drug from the DRUG file (#50), regardless of whether
the finding was based on the DRUG file (#50) or VA GENERIC file (#50.6)
criteria.  Piece 4 is always null.  Piece 5 is the Stop Date/Time of the
order.

Pieces 2 and 4 are left null in order to make the call correspond with the
Outpatient Pharmacy call. Piece 2 in the Outpatient Pharmacy call is the
Release Date, Inpatient Medications doesn't have any data that corresponds
with that data so we leave this piece null.  Piece 4 in the Outpatient
Pharmacy call is the Days Supply, again Inpatient Medications has no data that
corresponds to this so we leave it null.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
CLINICAL REMINDERS Salt Lake City