| $$WRKLST(RX,RFL,COMMTXT,USERID,DTTIME,OPECC,RXCOB) | 
External API to store reject codes other that
79/88/Tricare on the OP Reject Worklist.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
RX | 
Input | 
Prescription IEN.
 
 | 
RFL | 
Input | 
Fill number being processed.
 
 | 
COMMTXT | 
Input | 
Array with the comments where:
Name:  COMMTXT
Description:  The number of comments lines
Name:  COMMTXT(1)
Description:   Comment line 1.
Name:   COMMTXT(2)
Description:  Comment line 2.
 
 | 
USERID | 
Input | 
User's IEN.
 
 | 
DTTIME | 
Input | 
Date/time the OPECC sent the fill to the Pharmacy
Reject Worklist.
 
 | 
OPECC | 
Input | 
A value of 1 for OPECC flagged for Pharmacy to
resolve or 0 (zero) not OPECC flagged.
 
 | 
STATUS | 
Output | 
Returns: 1 - success 2 - already in the Pharmacy work
list 0^error text - error flag with the error text message for the User Screen
user.
Example 0 returned values:
0^1-fill not on file.
 
 | 
RXCOB | 
Input | 
Coordination of benefits indicator may contain a
value of 1 (one) for primary, 2 (two) for secondary, or 3 (three) for
tertiary.
 
 | 
 
 | 
$$INLIST(RXIEN,FILL,RXCOB) | 
This API returns whether the prescription fill has
unresolved third party rejects.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
RX | 
Input | 
Prescription IEN
 
 | 
RFL | 
Input | 
Prescription fill number
 
 | 
REJ | 
Output | 
Contains either 1 (one) meaning the prescription has
third party rejects or 0 (zero) meaning the prescription does not have
unresolved third party rejects.
 
 | 
RXCOB | 
Input | 
Coordination of benefits indicator may contain a
value of 1 (one) for primary, 2 (two) for secondary, or 3 (three) for
tertiary.
 
 | 
 
 | 
AUTOREJ(CODES,PSODIV) | 
API to evaluate an array of reject codes to see if
they are allowed to be passed to OP reject Worklist.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
CODES | 
Both | 
Array of reject codes to be evaluated to see if there
are overrides defined for them in EPHARMACY SITE PARAMETERS file (#52.86).
Reject codes defined in this file are allowed to be passed onto the OP Third
Party Reject Worklist. These reject codes are other than 79/88/Tricare third
party reject codes which automatically are stored on the OP Third Party Reject
Worklist.
The following values are returned:
CODES(SEQ,REJECT)= Array of reject codes.  Individual reject codes may be
defined in EPHARMACY SITE PARAMETERS file (#52.86) as override codes meaning
they can pass to the OP Third Party Reject Worklist automatically.  A retuned
value of 1 (one) for a reject code means the code may be automatically passed
to the OP Third Party Reject Worklist.  A value of 0 (zero) means the code may
not be sent.
 
 | 
DIV | 
Input | 
Division for the prescription fill, and this
parameter is optional.
 
 | 
 
 |