| $$MWC(RX,RFL) | 
Returns the prescription dispensing route: (W)indow,
(M)ail or (C)MOP.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
RX | 
Input | 
Pointer to the PRESCRIPTION file (#52).
 
 | 
RFL | 
Input | 
Pointer to the REFILL multiple (#52.1) in the
PRESCRIPTION file (#52). (Default: latest refill)
 
 | 
$$MWC | 
Output | 
Prescription dispensing route:   W - WINDOW
M - MAIL (LOCAL)
C - CMOP
 
 | 
 
 | 
$$DUR(RX,RFL) | 
This function is used to determine if a prescription
was previously placed on hold due to a host reject error.
A 0 (zero) is returned when reject codes M6, M8, NN, or 99 are present OR if
on suspense hold which means the prescription should not be sent to CMOP.  A 1
(one) is returned if the prescription is not on suspense hold and can be sent
to CMOP.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
RX | 
Input | 
PRESCRIPTION file #52 IEN.
 
 | 
RFL | 
Input | 
Refill number.
 
 | 
 
 | 
$$RXNUM(ECME) | 
The purpose of this function is to return the
internal Prescription IEN given the ECME#.  This function may perform user
interface on the screen so it should never be called in the background or
where screen messages are not desired.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
ECME | 
Input | 
The ECME number is generated in ePharmacy.  It is
either 7 digits or 12 digits depending upon the NCPDP version number being
used by the payer.  This number passed in may or may not contain leading
zeros.  A "+" is performed on the ECME# first thing within this API.
 
 | 
$$RXNUM | 
Output | 
The value of the extrinsic function call is the
internal RX ien (pointer to file# 52).
 
 | 
 
 |