Wondering if you could assist again on this. I've discovered a snag with this coding. It appeared to be working well until I discovered that it doesn't take into account if there is no ChargeAmount for one of the FeeSchedules.
For example, I have an OpBillingCode - 455 that only has a FeeSchedule for VHI DC.
With the above suggestion, there is no charge coming across for any Inpatient that happens to have this code.
I was trying to figure out how I can write.... If ChargeAmount = 0, then use the ChargeAmount for the other FeeSchedule.