| $$CHK(ORIG,REF) | 
This entry point is used to determine if Pharmacy
will allow a specific prescription/refill to be billed to the CHAMPUS/Tricare
fiscal intermediary.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
ORIG | 
Input | 
ORIG is a pointer to the specific prescription in
file #52 for which authorization to bill the fiscal intermediary is being
requested.
 
 | 
REF | 
Input | 
REF is a pointer to the refill in file #52.1 for the
prescription ORIG.  If authorization is requested for the original fill of the
prescription, then REF will be 0.
 
 | 
$$CHK | 
Output | 
0 = prescription/refill should not be billed
1 = should not be billed
 
 | 
 
 | 
LABEL(RX,PSOLAP,PSOSITE,DUZ,PSOTRAMT) | 
This entry point is called by Integrated Billing from
a background to print the presciption label after authorization to bill the
prescription has been electronically received from the Tricare fiscal
intermediary.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
RX | 
Input | 
RX is a pointer to the prescription, in file #52, for
the prescription whose label must be printed.
 
 | 
PSOLAP | 
Input | 
PSOLAP is the device on which the label should be
printed.
 
 | 
PSOSITE | 
Input | 
PSOSITE is a pointer to the Pharmacy in file #59 in
which the medication was dispensed.
 
 | 
DUZ | 
Input | 
DUZ is a pointer to the user in file #200 who
originally requested that the prescription label be printed.
 
 | 
PSOTRAMT | 
Input | 
PSOTRAMT is the copayment amount to be charged to the
patient for the prescription.  This amount is printed on the prescription
label.
 
 | 
 
 | 
$$TRANS(ORIG,REF,PSOV) | 
This call is used to collect prescription information
which is used to build the message which is electronically transmitted to the
fiscal intermediary.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
ORIG | 
Input | 
ORIG is a pointer to the prescription in file #52 for
the prescription for which information is being requested.
 
 | 
REF | 
Input | 
REF is pointer to the refill in file #52.1 for the
prescription for which information is being requested.  If information for the
original fill is being requested, then REF is set to 0.
 
 | 
PSOV | 
Output | 
PSOV is passed by reference to this routine.
Prescription information is returned from this routine by populating an array
of this referenced variable.
The array definition is as follows:
PSOV("NDC") - the NDC number of the prescribed drug, from file #50 PSOV("DIV")
- the dispensinf Pharmacy from file #59 PSOV("FDT") - the date the
prescription was filled, which is the
Last Fill (#101) field, or if blank, the Dispensed
(#25) field from file #52.  PSOV("RX#") - the prescription
number from file #52 (field #.01) PSOV("QTY") - the quantity (QTY, field #7)
of the prescription
from file #52 PSOV("SUP") - the Days Supply (field #8) of the
prescription from
file #52 PSOV("ISS") - the Issue Date (field #1) of the
prescription from
file #52 PSOV("#REF") - the number of refills (field #9)
authorized for the
prescription, from file 52.  PSOV("COMP") - Compound Code for
the drug of the prescription.
If the DEA, SPECIAL HANDLING (#3) field of the drug
contains a 0 (zero), a 2 will be returned.  If it does
not contain a 0 (zero), a 1 will be returned.  PSOV("DEA") -
This is the DEA# (#53.2) field from the NEW PERSON (#200)
file, for the Provider associated with the original fill
of the prescription.
 | 
$$TRANS | 
Output | 
1 = Adequate information exists for CHAMPUS Rx billing purposes.
-1 = Not enough information for CHAMPUS Rx billing pruposes,
mainly no prescription data, or an NDC number cannot
be determined for the drug associated with the Outpatient
prescription.
 
 | 
 
 |