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
Print Page as PDF
Routine: IBAMTEDU

Package: Integrated Billing

Routine: IBAMTEDU


Information

IBAMTEDU ;ALB/CPM - MEANS TEST BULLETIN UTILITIES ; 15-JUN-93

Source Information

Source file <IBAMTEDU.m>

Entry Points

Name Comments DBIA/ICR reference
CHG(IBDAT) ; Any charges billed on or after IBDAT?
; Input: IBDAT -- Date on or after which charges have been billed
; Output: 0 -- No charges billed
; 1 -- Charges were billed; IBARR contains array
; of those charges
CHGQ
CHK(IBN) ; Place charge into the array.
; Input: IBN -- Charge to check
CHKQ
CANC ; Cancel any charges for the patient for today.
EP(IBDAT) ; Any billable episodes of care since IBDAT?
; Input: IBDAT -- Date on or after which patient received care
; Output: 0 -- No billable episodes found
; 1 -- Billable episodes were found; IBARR contains an
; array of those episodes
EPQ
BILLCK(IBOE,IBOE0,IBCK,IBPB) ; Check for potentially billable outpt enctr
; IBOE = encounter ien in file 409.68
; IBOE0 = encounter 0-node
; IBCK = array subscriptd by # that, if defined, specifies edit to check
; and exclude if it doesn't pass it
; (0) = check if pt claimed exposure
; (1) = check if non-billable appt type for means test
; (2) = check if non-count clinic
; (3) = check if non-billable clinic
; (4) = check if pt not Means Test copay pt
; (5) = check if pt admitted by midnight same date
; (6) = check if C&P exam same date
; (7) = check if non-billable stop code (third party)
; (8) = check if non-billable stop code (auto-biller)
; (9) = check if disposition and application without exam
; (10) = check if non-billable disposition
; (11) = check if service connected (ck parent only)
; (12) = check if non-billable clinic
; (13) = check if appt status is set (cancelled/noshow/inpt/etc)
; (13.1) = same as (13) except don't exclude if encounter status is non-count
; (14) = check if non-billable appt type for report
; Returns IBPB = the # of the edit that failed
; IBPB(1) = "" if valid appt
; IBPB(2) = "" if valid add/edit stop code
; IBPB(3) = 0-node of disposition file entry if valid disp
; Function returns true if potentially billable or false if not
BILLCKQ
Info |  Source |  Entry Points