$$RXBIL(.IBINP,.IBERR) |
The function $$RXBIL^IBNCPDPU() determines the
respective IB/AR Bill, matching to the given ECME Number, Fill Date and the
Patient Name (optional).
$$RXBIL^IBNCPDPU(.IBINP,.IBERR) returns IEN of the IB Bill (file #399), or 0
if the given ECME Number has not been matched.
If the ECME Number was not matched, the parameter IBERR passed by reference is
set to text description of the problem.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
.IBINP |
Input |
The following will be passed to Integrated Billing:
IBINP("ECME") - the 7-digit or 12-digit ECME Reference Number; IBINP("FILLDT")
- the Rx Fill Date, YYYYMMDD or FileMan format; IBINP("PNM") (optional) - the
patient's last name.
|
.IBERR |
Output |
Optional parameter passed by reference. If the
matching function was successfull, the parameter IBERR will contain null
string. If the matching was unsuccessful, IBERR contains text description of
the error.
|
$$RXBIL |
Output |
the function returns IEN of the IB Bill (file #399)
if matching is successful, or 0 if the given ECME Number has not been matched.
|
|
$$REJECT(IBECME,IBDATE) |
The new procedure will be used by Accounts Receivable
to check if the e-claim has been rejected by the payer. The call will only be
made if the matching bill is not found in IB/AR. If the electronic EOB
reference number is not "matched" in IB, and if it conforms to to the ECME
format (?1.12N), and the PAID AMOUNT on the electronic EOB is zero, there is
a chance that the EEOB is related to the rejected e-Pharmacy claims. In those
cases AR will be making the call to this function to make sure that the
electronic EOB is related to the reject. The function will be checking the
Claims Tracking (CT) record to determine the status of the claim. The status
in CT will be updated by the "SUBMITTED" event from ECME. If the Payer's
response never received due to any reason, the function will be returning "0".
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
IBECME |
Input |
Required: the ECME number (the Reference Number) as
it is shown in the electronic EOB.
|
IBDATE |
Input |
The date of service as it is reported in the EEOB.
Could be in YYYYMMDD format, or the FileMan format (YYYMMDD). The parameter
is optional. If not passed, the function will return the latest claim
information.
|
$$REJECT |
Output |
"1" if the e-Pharmacy claim was rejected. "0" - if
the claim was not rejected, or payer response not received.
|
|