$$ERXIEN(RXIEN) |
This entry point returns a pointer to the ERX HOLDING
QUEUE file (#52.49) based on a PRESCRIPTION IEN or PENDING OUTPATIENT ORDER
IEN.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RXIEN |
Input |
Input parameter - PENDING OUTPATIENT ORDERS file
(#52.41) IEN (e.g., "139839P") or PRESCRIPTION file (#52) IEN (e.g.,
12930984).
|
$$ERXIEN |
Output |
Pointer to the ERX HOLDING QUEUE file (#52.49) or ""
(Not an eRx prescription).
|
|
$$ERXCHK(ORDERIEN) |
This entry point returns a pointer to the ERX HOLDING
QUEUE file (#52.49) based on an ORDER IEN.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ORDERIEN |
Input |
Input parameter - ORDER (#100) file IEN.
|
$$CHKERX |
Output |
Pointer to the ERX HOLDING QUEUE file (#52.49) or 0
(Not an eRx prescription).
|
|
ERXDATA(ERXDATA,ERXIEN) |
This entry point returns data from the ERX HOLDING
QUEUE file (#52.49), ERX EXTERNAL PHARMACY file (#52.47), ERX EXTERNAL PERSON
file (#52.48), and ERX EXTERNAL PATIENT file (#52.46); based on the ERX
HOLDING QUEUE (#52.49) IEN.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ERXIEN |
Input |
Input parameter - ERX HOLDING QUEUE file (#52.49)
IEN.
|
ERXDATA |
Output |
The ERXDATA array, passed by reference, returns data
from the ERX HOLDING QUEUE file (#52.49), ERX EXTERNAL PHARMACY file (#52.47),
ERX EXTERNAL PERSON file (#52.48), and ERX EXTERNAL PATIENT file (#52.46) to
be used for Controlled Substance reports.
ERXDATA(1)=null^eRxReceivedDate(FileMan)^eRxDrugName^
VistaDrugIEN^ CSdrugSchedule^
eRxQuantity^eRxRefill^eRxHubID
ERXDATA(2)=providerDEA#^null^providerName^providerDUZ
ERXDATA(3)=null^provStreet1^provCity^provState^
provZip ERXDATA(4)=patientName^patientDFN
ERXDATA(5)=patStreet1^patStreet2^null^patCity^
patState^patZip^patDOB(MM/DD/YYYY)
|
|