IVMCQ2 ;ALB/KCL - API FOR FINANCIAL QUERIES (continued) ; 27-APR-95
Source file <IVMCQ2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| MONITOR | ; Description:  This entry point is used to monitor the IVM FINANCIAL
 ; QUERY LOG file and check for query transmissions that have not been ; responded to for more than 2 days. If a query is > 2 days old, the ; corresponding entry in the IVM FINANCIAL QUERY LOG file will be ; updated/closed and a new financial query may be sent.  | 
|
| FIND(DFN,IVMMSG,IVMRECD,IVMCR,IVMCS) | ; Description: Used to find and update
 ; entry in IVM FINANCIAL QUERY LOG file.  | 
|
| FINDQ | ||
| UPD(DFN,IVMDA,IVMRECD,IVMCR,IVMCS) | ; Description: Used to update record found in IVM FINANCIAL QUERY LOG file.
 | 
|
| UPDQ | ||
| FINDMSG(MSGID) | ;
 ; Description: Used to find a record in the IVM FINANCIAL QUERY LOG ; file, given the unique message id assigned to the query by the ; HL7 package.  | 
|
| GET(IEN,IVMQRY) | ;
 ; Description: Used to obtain a record in the IVM FINANCIAL QUERY LOG ; file. The values are returned in the IVMQRY() array.  | 
|
| DELETE(IEN) | ;
 ; Description: Delete record in the IVM FINANCIAL QUERY LOG file, ; given the internal entry number (IEN).  | 
|
| LASTQRY(DFN) | ; Description: Used to find the last financial query for a patient.
 | 
|
| OPEN(DFN) | ; Description: Used to determine if a patient has a financial query that is open (QUERY STATUS=TRANSMITTED).
 | 
|
| SENT(DFN,IVMDT) | ; Description: Used to determine if a query was sent for a patien on a specific date.
 | 
|
| SENTQ | ||
| QRYQUE(DFN) | ; Description: Queue off job to send a financial query to the
 ; the HEC. This does first check to see if a query is needed.  | 
|
| QRYQUE2(DFN,DUZ,NOTIFY,OPTION) | ; Description: Queue off job to send a financial query to the
 ; the HEC. This version does NOT first check to see if a query is ; needed, but does check to see if a query is currently open.  | 
|
| QUERY(DFN) | ; Description: Determine if a financial query should be sent to the HEC.
 | 
|
| NOTIFY(QRYIEN) | ; Description: Send notification message of reply received for financial query.
 | 
|
| MSGQ | 
| FileNo | Call Tags | 
|---|---|
| ^IVM(301.62 - [#301.62] | Classic Fileman Calls, EXTERNAL^DILFD |