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

Package: Integrated Billing

Routine: IBCRHU1


Information

IBCRHU1 ;ALB/ARH - RATES: UPLOAD UTILITIES ;22-MAY-1996

Source Information

Source file <IBCRHU1.m>

Entry Points

Name Comments DBIA/ICR reference
GETXTMP(IBXRF,ARR,ARR1,CS) ; get list of available files
; Output: ARR(file) = upload file description ^ total cnt
; ARR(file,subfile) = I ^ count ^ billable item type ^ charge set
; ARR1(I) = file ^ subfile
DISP(ARR) ; display list of available files by number
DISP1(IBXRF,ARR,ARR1,CS) ; get and display uploaded files
CHKDUP(CS,IBLN,ADD) ; check that item would not be a duplicate
; check on same charge but different date removed so each version is complete even if the charge does not change
CHKDUPQ
CHKLN(BI,IBLN) ; check if data in line item is valid Billable Item
; Input: IBLN= item ^ eff dt ^ inact dt ^ charge ^ cpt modifier
; Output: if data not good: x ^ error description
; w/ x=1 - line/data warning - bad data but field not required
; x=2 - line/data error - bad required data, item can not be loaded into CM
; x=3 - subfile/set error stop all processing
; do not have to check if NDC is in source, since it is added if not there
; check on cpt-modifier pair removed with RC v2.0, charge pairings do not match official pairings
CHKLNQ
CHKFL(CS,FILE,IBSUBFL) ; Check the Charge Set and Host file are defined and match ok
; Output: if check is ok: 0
; if data not good: x ^ error description
; w/ x=3 - subfile/set error stop all processing
CHKFLQ
RVCD(CS,IBITEM) ; *634 - assign Revenue Code #124 to 5 ms-drg charges
; Input: charge set, charge item
; Output: 0 or 1
RVCDQ
VDATE(X) ; check for valid date, *667 check for valid year

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?5,IBX,?55,"Count = ",$P(IBLN,U,2)
  • Line Location: DISP+5
Function Call: WRITE
  • Prompt: !,?5,$P(IBLN,U,1)
  • Line Location: DISP+6
Function Call: WRITE
  • Prompt: !!,?6,"Subfile",?30,"Item",?39,"Count",?49,"Charge Set",!,?6,"-------",?30,"----",?39,"-----",?49,"-------------------------"
  • Line Location: DISP+7
Function Call: WRITE
  • Prompt: !,?2,+IBLN,?6,IBY,?30,$E($$EXPAND^IBCRU1(363.3,.04,$P(IBLN,U,3)),1,5),?39,$P(IBLN,U,2),?49,$E($P($G(^IBE(363.1,+$P(IBLN,U,4),0)),U,1),1,30)
  • Line Location: DISP+10
Function Call: WRITE
  • Prompt: !
  • Line Location: DISP+11
Info |  Source |  Entry Points |  Interaction Calls