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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: IBCRHBSZ

Package: Integrated Billing

Routine: IBCRHBSZ


Information

IBCRHBSZ ;ALB/ARH - RATES: UPLOAD (RC 2+) DIVISION FUNCTIONS ; 10-OCT-03

Source Information

Source file <IBCRHBSZ.m>

Entry Points

Name Comments DBIA/ICR reference
SITEDV(DIV) ; return the host file site data on the division passed in
; input: site number, output: 0 or 'IFN of site in IBCR RC SITE ^ site number ^ site name ^ 3-digit zip ^ type'
RGDV(DV) ; return Billing Region data on division passed in
; Input: site number, output 0 or 'IFN of region in 363.31 ^ site number ^ site city,st ^ 3-digit zip ^ type'
MSGDIV(SITE) ; check if division selected is defined as a division (40.8) on the system
SETRGZIP ; for all existing Billing Regions, set the sites 3-digit zip code into the Identifier field (363.31,.02)
; and set the Facility type into the Type field (363.31,.03)
; the 3-digit zip was not available with RC v1, so Regions created for RC v1 will not have this field set
; the type field was not available until RC v2, so Regions created before RC 2 will not have this field set
CHKRGZIP ; for all existing Billing Regions, check to ensure each division assigned is actually within that Region
; Check the Billing Region zip/type against the Host files zip/type for the site
; Also the 3-digit zip of the Regions Divisions must match the 3-digit zip of the Regions primary division
; if the 3-digit zips do not match, the Division is deleted from the Region

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?5,$P(IBX,U,2),?15,$P(IBX,U,1)," is a valid Medical Center division on your system.",!
  • Line Location: MSGDIV+4
Function Call: WRITE
  • Prompt: !!,?5,SITE," is already assigned to Billing Region: ",IBRG,!
  • Line Location: MSGDIV+9
Function Call: WRITE
  • Prompt: !!,?5,"*** ",SITE," is NOT defined as a Medical Center Division on your system ***",!
  • Line Location: MSGDIV+10
Function Call: WRITE
  • Prompt: @IOF,!,"********************************************************************************"
  • Line Location: CHKRGZIP+34
Function Call: WRITE
  • Prompt: !,"Error Found: Billing Regions found in Charge Master with Incorrect Zip or Type."
  • Line Location: CHKRGZIP+35
Function Call: WRITE
  • Prompt: !,"Billing Regions are defined by both the 3-digit zip code and Type of Facility."
  • Line Location: CHKRGZIP+36
Function Call: WRITE
  • Prompt: !!,"There are Charge Master Billing Regions whose Zip or Type do not match the "
  • Line Location: CHKRGZIP+37
Function Call: WRITE
  • Prompt: !,"settings of that primary division in the new host files.",!
  • Line Location: CHKRGZIP+38
Function Call: WRITE
  • Prompt: !!,?3,"Billing Region",?32,"CM Zip-Type",?47,"HF Zip-Type",!,?3,"--------------------------------------------------------------------------"
  • Line Location: CHKRGZIP+40
Function Call: WRITE
  • Prompt: !,?3,IBRGFN,?35,$P(IBLN,U,1),"-",$P(IBLN,U,2),?50,$P(IBLN,U,3),"-",$P(IBLN,U,4)
  • Line Location: CHKRGZIP+42
Function Call: WRITE
  • Prompt: !!,"IT IS POSSIBLE THERE ARE PROBLEMS WITH THE CHARGES, PLEASE CONTACT SUPPORT."
  • Line Location: CHKRGZIP+44
Function Call: WRITE
  • Prompt: !,"********************************************************************************",!
  • Line Location: CHKRGZIP+45
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CHKRGZIP+46
Function Call: WRITE
  • Prompt: @IOF,!,"********************************************************************************"
  • Line Location: CHKRGZIP+50
Function Call: WRITE
  • Prompt: !,"Error Found: Incorrect Billing Regions found in the Charge Master."
  • Line Location: CHKRGZIP+51
Function Call: WRITE
  • Prompt: !!,"Billing Regions are defined by the 3-digit zip code identifier and "
  • Line Location: CHKRGZIP+52
Function Call: WRITE
  • Prompt: !,"Type of Facility of the primary division. Only Divisions with the "
  • Line Location: CHKRGZIP+53
Function Call: WRITE
  • Prompt: !,"same 3-digit zip code and type should be assigned to a Billing Region."
  • Line Location: CHKRGZIP+54
Function Call: WRITE
  • Prompt: !!,"There were Divisions incorrectly associated with Billing Regions in the"
  • Line Location: CHKRGZIP+55
Function Call: WRITE
  • Prompt: !,"Charge Master. For the following Billing Regions, the corresponding "
  • Line Location: CHKRGZIP+56
Function Call: WRITE
  • Prompt: !,"Division has been deleted."
  • Line Location: CHKRGZIP+57
Function Call: WRITE
  • Prompt: !!,?3,"Billing Region",?43,"Division(s) Deleted",!,?3,"--------------------------------------------------------------------------"
  • Line Location: CHKRGZIP+58
Function Call: WRITE
  • Prompt: !,?3,$E($P(IBLN,U,1),1,23),?26,"(",$P(IBLN,U,2),"-",$P(IBLN,U,3),")"
  • Line Location: CHKRGZIP+61
Function Call: WRITE
  • Prompt: ?43,$P(IBLN,U,2),?50,$E($P(IBLN,U,1),1,20),?72,"(",$P(IBLN,U,3),"-",$P(IBLN,U,4),")",!
  • Line Location: CHKRGZIP+64
Function Call: WRITE
  • Prompt: !,"IT IS LIKELY THE ABOVE DIVISIONS NO LONGER HAVE ANY REASONABLE CHARGES ASSIGNED."
  • Line Location: CHKRGZIP+66
Function Call: WRITE
  • Prompt: !,"********************************************************************************",!
  • Line Location: CHKRGZIP+67
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CHKRGZIP+68

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^IBE(363.31 - [#363.31] Classic Fileman Calls
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call