Print Page as PDF
FEE PHARMACY API ICR (4395)

FEE PHARMACY API    ICR (4395)

Name Value
NUMBER 4395
IA # 4395
DATE CREATED 2004/05/04
CUSTODIAL PACKAGE FEE BASIS
CUSTODIAL ISC Washington
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE FBRXUTL
NAME FEE PHARMACY API
GENERAL DESCRIPTION
This routine contains APIs related to the Pharmacy
module of Fee Basis.
STATUS Active
DURATION Till Otherwise Agreed
ID FBRXUTL
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$RXSUM(DATE,STATION_NUMBER)
This extrinsic function returns the count and cost of
prescriptions paid through the fee software for a specified date.
Format:
$$RXSUM^FBRXUTL(DATE,STATION_NUMBER)
Examples:
1. Obtain count and cost for 4/8/2004 and station 688.
>W $$RXSUM(3040408,688)
5^17.55
2. An exception.
>W $$RXSUM^FBRXUTL(3040408)
-1^102^Valid station number not specified.
VARIABLES TYPE VARIABLES DESCRIPTION
DATE Input
(Required) A date in VA FileMan internal format.
This input parameter is used to select prescriptions whose DATE CERTIFIED FOR
PAYMENT field equals this value.
STATION_NUMBER Input
(Required) A 3 digit station number.  This input
parameter is used to select prescriptions based on the VAMC that approved
payment when querying the national Fee Replacement system.  Prescriptions will
be included when the approving station number Starts With this 3 digit value.
For example, prescriptions approved by satellite station 688A1 would be
included for an input parameter equal to 688.  This parameter will not be
evaluated until the API is modified to obtain data from the Fee Replacement
system.
$$RXSUM Output
This function returns a string value
= count ^ total_amount_paid
where
count = the number of prescriptions for the date and station
total_amount_paid = sum of the Amount Paid for the prescriptions in
dollars and cents
OR if an exception occurred
= -1 ^ exception_number ^ exception_text
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
OUTPATIENT PHARMACY Birmingham
Outpatient Pharmacy has subscribed to the $$RXSUM
component.