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]
|
|