Print Page as PDF
DBIA4823 ICR (4823)

DBIA4823    ICR (4823)

Name Value
NUMBER 4823
IA # 4823
DATE CREATED 2005/12/07
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSO5252
NAME DBIA4823
GENERAL DESCRIPTION
This API shall return the following fields from the
CLOZAPINE PRESCRIPTION OVERRIDES file (#52.52) for the IEN or free text entry
received: DATE/TIME, PRESCRIPTION NUMBER, USER ENTERING, APPROVING TEAM
MEMBER, REASON FOR LOCKOUT, and COMMENTS.
STATUS Active
DURATION Till Otherwise Agreed
ID PSO5252
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
EN(LIST,IEN,RX#,SDATE,EDATE)
EN^PSO5252(LIST,IEN,RX#,SDATE,EDATE)

Input:
LIST
IEN
RX#
SDATE
EDATE

Where:
LIST = Subscript name used in the ^TMP global [required]
IEN = Internal record number in CLOZAPINE PRESCRIPTION OVERRIDES file
(#52.52) [optional]
RX# = Pointer to PRESCRIPTION file (#52) [optional]
SDATE = Starting Date [optional]
EDATE = Ending Date [optional]

Note: If RX # is passed in without IEN, lookup is done on ^PS(52.52,"A". If no
IEN and no RX # is passed, "B" cross-reference shall be used to return
Override RXs.

Output:
^TMP($J,LIST,0)=Total entries returned by patient or -1^NO DATA FOUND
^TMP($J,LIST,IEN,.01)= DATE TIME (52.52,.01)
^TMP($J,LIST,IEN,1)=PRESCRIPTION NUMBER (52.52,1)^RX # (52,.01)
^TMP($J,LIST,IEN,2)=USER ENTERING (52.52,2)^NAME (200,.01)
^TMP($J,LIST,IEN,3)=APPROVING TEAM MEMBER (52.52,3)^NAME (200,.01)
^TMP($J,LIST,IEN,4)=REASON FOR LOCKOUT (52.52,4)^External Format for the Set
of Codes
^TMP($J,LIST,IEN,5)=COMMENTS (52.52,5)
^TMP($J,LIST,"B",DATE TIME,IEN)=""
VARIABLES TYPE VARIABLES DESCRIPTION
LIST Both
Subscript name used in the ^TMP global [required]
IEN Input
Internal entry number from CLOZAPINE PRESCRIPTION
OVERRIDES file (#52.52) [optional]
RX# Input
Pointer to PRESCRIPTION file (#52) [optional]
SDATE Input
Starting date/time if data is to be returned within
date range using the DATE TIME field (#.01) B cross-reference from CLOZAPINE
PRESCRIPTION OVERRIDES file (#52.52). [optional]
EDATE Input
Ending date/time if data is to be returned within
date range using the DATE TIME field (#.01) B cross-reference from CLOZAPINE
PRESCRIPTION OVERRIDES file (#52.52). [optional]