$$STATUS(RX,RFL) |
Returns the Rx's ECME Status (calls STATUS^BPSOSRX).
Examples: E PAYABLE, E REJECTED, etc.
|
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).
|
$$STATUS |
Output |
Prescription claim status in the following format: E
PAYABLE, E REJECTED, E STRANDED, etc.
|
|
$$RXSITE(RX,RFL) |
Returns the DIVISION (Pointer to the OUTPATIENT SITE
file (#59)) for the prescription/fill.
|
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).
|
$$RXSITE |
Output |
Prescription/fill DIVISION.
|
|
$$RXFLDT(RX,RFL) |
Returns the FILL DATE for the prescription/fill.
|
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).
|
$$RXFLDT |
Output |
Prescription/fill FILL DATE.
|
|
AUTOREL(RX,RFL,RLDT,NDC,SRC,STS,HNG) |
This procedure performs the ePharmacy checks and
subsequent submission of ePharmacy prescription that are automatically
released (e.g., CMOP prescriptions).
|
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).
|
RLDT |
Input |
Prescription/fill RELEASE DATE.
|
NDC |
Input |
Prescription/fill NDC (National Drug Code).
|
SRC |
Input |
Source of Call. There are currently two possible
sources:
C - CMOP
A - AUTOMATED DISPENSING MACHINE
|
STS |
Input |
Release status: "S" - Successful or "U" -
Unsuccessful
|
HNG |
Input |
Hang time. This time is used in case the NDC passed
in is different than the NDC currently on file for the prescription/fill.
After re-submitting the prescription/fill to the third party payer, the
process will wait this hang time. If the prescr
iption returned from the payer as PAYABLE, the NDC is then saved on the DRUG
file (#50) as the LAST USED NDC for the Division who entered the
prescription/fill.
|
|
$$RETRX(RX,FL) |
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RX |
Input |
Pointer to the PRESCRIPTON file 52.
|
RFL |
Input |
Pointer to the REFILL multiple (52.1) in the
PRESCRIPTION file 52.
(Default: most recent fill)
|
$$RETRX |
Output |
in the next CMOP transmission or Print Local From Suspense run
0 - Prescription should NOT be re-transmitted to ECME
1 - Prescription should be re-transmitted to ECME
|
|
$$RXRLDT(RX,RFL) |
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
$$RXRLDT |
Output |
RELEASE DATE for the prescription/fill.
|
RX |
Input |
Pointer to the PRESCRITION file 52.
|
RFL |
Input |
Pointer to the REFILL multiple (52.1) in the
PRESCRIPTION file 52. To indicate the Original fill, pass in 0 (zero).
|
|