Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: IBECUS2

Package: Integrated Billing

Routine: IBECUS2


Information

IBECUS2 ;DVAMC/RLM - TRICARE PHARMACY BILL TRANSACTION ;14-AUG-96

Source Information

Source file <IBECUS2.m>

Entry Points

Name Comments DBIA/ICR reference
EN ; Attempt to bill a prescription directly to the FI.
; Input: IBKEY -- 1 ; 2, where
; 1 = Pointer to the prescription in file #52
; 2 = Pointer to the refill in file #52.1, or
; 0 for the original fill
; IBKEYD -- 1 ^ 2 ^ 3 ^ 4 ^ 5, where
; 1 = Rx label printing device
; 2 = Pointer to the Pharmacy in file #59
; 3 = Pointer to the Pharmacy user in file #200
; 4 = Pointer to the billing transaction
; in file #351.5 (cancellations only)
; 5 = Product Selection Reason
; (Resubmissions only)
; IBCHSET -- Pointer to the Charge Set in file #363.1
; IBPRESCR -- Facility Prescriber ID number
OUT ; - send transaction to the commercial pos package
ENQ
TASK(IBDESC) ; Queue off label print, charge creation and cancellation jobs
; Input: IBDESC -- 1 ; 2 , where
; 1 = routine label to execute
; 2 = task description
DATE(X) ; Set date in the format yyyymmdd, or 8 spaces.
FILL(X,LEN) ; Zero-fill, right justified.
LJUST(X,LEN) ; Space-fill, left justified.
STRIPL(X) ; Strip leading spaces.
NDC(X) ; Massage the NDC as it is stored in Pharmacy
; Input: X -- The NDC as it is stored in Pharmacy
; Output: X -- The NDC in the format 5N 1"-" 4N 1"-" 2N
NDCQ

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(2)
  • Line Location: OUT+1
Function Call: WRITE
  • Prompt: IBLINE(I)
  • Line Location: OUT+2
Function Call: WRITE
  • Prompt: $C(3)
  • Line Location: OUT+3
Function Call: WRITE
  • Prompt: !
  • Line Location: OUT+4
Function Call: READ
  • Variable: IBRESP(1)#220
  • Timeout: 120
  • Line Location: OUT+7
Function Call: READ
  • Variable: IBRESP(2)#220
  • Timeout: 60,IBRESP(3):60
  • Line Location: OUT+8
Info |  Source |  Entry Points |  Interaction Calls