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

Package: Integrated Billing

Routine: IBCD4


Information

IBCD4 ;ALB/ARH - AUTOMATED BILLER (ADD NEW BILL - GATHER DX AND PROCEDURES) ;9/5/93

Source Information

Source file <IBCD4.m>

Entry Points

Name Comments DBIA/ICR reference
IDX(PTF,DT1,DT2) ; find 501 movement Diagnosis and 701 Discharge Diagnosisfor a PTF record within bill range
; check for billable bedsection and SC treatement and duplicates
; results: IBT = number of billable movements within date range
; IBMSG(X)=" error message " if any errors found
; ^TMP("IBDX",$J) = PTF IFN
; ^TMP("IBDX",$J,"DX",DX) = MOVE DATE/TIME ^ MOVE IEN ^ POA
; ^TMP("IBDX",$J,-MOVE DATE/TIME, MOVE IEN) = Dx ^ ^ POA
IDXE
RXRF(PIFN,RIFN,IBDT) ; returns data on fill on date for rx (RX # ^ DRUG ^ DAYS SUPPLY ^ FILL DATE ^ QTY ^ NDC #)
CHK() ;other checks
CHKSYS() ;various checks to determine if bill can be created, returns true if passes XXXXXX
CHKSYSE
Info |  Source |  Entry Points