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: IBBDOC

Package: Integrated Billing

Routine: IBBDOC


Information

IBBDOC ;OAK/ELZ - APIS FOR OTHER PACKAGES FOR PFSS - DOCUMENT ;5-AUG-2004

Source Information

Source file <IBBDOC.m>

Entry Points

Name Comments DBIA/ICR reference
INSUR ;(DFN,IBDT,IBSTAT,IBR,IBFLDS)
; Function to return patient insurance information
; --Input:
; DFN = patient
; IBDT = date insured (optional - default is today's date)
; IBSTAT = Insurance Status filter (combinable based on groups below)
; Group 1
; A = Inactive included (Default is active only)
; Group 2
; R = Not reimbursable included (Default is reimbursable only)
; B = Indemnity included (Default is not included)
; Group 3
; P = Prescription coverage required (Default is all coverages)
; O = Outpatient coverage required (Default is all coverages)
; I = Inpatient coverage only (Default is all coverages)
; E = e-Pharmacy billable coverage required, i.e. should have
; Pharmacy coverage and be able to process e-claims (Default
; is all coverages)
CIDC
SWSTAT ; ()
; Returns the current status of the PFSS On/Off Switch
GETACCT ; (IBBDFN,IBBARFN,IBBEVENT,IBBAPLR,IBBPV1,IBBPV2,IBBPR1,IBBDG1,IBBZCL,IBBDIV,IBBRAIEN,IBBSURG)
; Pass data to IBB for account/visit (ADT) messaging.
GETCHGID ; ()
; Returns a Unique Charge ID.
CHARGE ; (IBBDFN,IBBARFN,IBBCTYPE,IBBUCID,IBBFT1,IBBPR1,IBBDG1,IBBZCL,IBBRXE,IBBORIEN,IBBPROS)
; Pass data to IBB for charge (DFT) messaging.
SETACCT ; (IBBDFN,HLMTIENS)
; Store visit/account # from external billing system in PFSS
; ACCOUNT record; the file #375 record is found based on data
; contained in the HL7 message referenced by HLMTIENS.
; Most of the ADT messages involved originate in VistA and
; are returned by the external billing system with visit#
; attached.
; Some ADT-A01 messages originate in the external billing
; system; these cause a new record to be created in file #375.
;
; Input:
; IBBDFN = Patient; IEN to file #2 [required]
; HLMTIENS = HL7 Message (standard VistA HL7 variable);
; IEN to file #773 [required]
EXTNUM ; (IBBDFN,IBBARFN)
; Obtain the visit/account # of the external billing system
; that has been associated with the PFSS ACCOUNT file (#375)
; record.
;
; Input:
; IBBDFN = Patient; IEN to file #2 [required]
; IBBARFN = Account Reference; IEN to file #375 [required]
Info |  Source |  Entry Points