Superbill

mdsupport wrote on Wednesday, February 27, 2013:

Sharing this code we have used to transition offices continuing to use paper superbills for use by billers.  Although this is based on printed_fee_sheet.php, it does not support batch printing which we wanted to eliminate from the process.

A related change is necessary to aid billers in viewing the billing notes.

This eliminated lot of printing, scanning and tracking related issues.

juggernautsei wrote on Wednesday, February 27, 2013:

You guys did a great job on condensing the form to just two pages.

I downloaded the three files
printed_fee_sheet.php
billing_report.php
billingrep.inc

I placed it on the 4.1.1(10) code base.
I can see the printed fee sheet but if I select an encounter and then trying to launch the fee sheet. I get nothing but a blank window.

My goal was to have the printed fee sheet populate the check box next to the codes that were entered from an encounter where the fees have been entered from the electronic fee sheet. Does this code do that?

Sherwin

juggernautsei wrote on Wednesday, February 27, 2013:

BTW -  Thanks for the code

mdsupport wrote on Thursday, February 28, 2013:

You are getting blank window probably because of a require or some syntax problem or ACL issue(?) or unhandled form_fill value or the script did not get the session data of pid_list and encounter.  If all else fails, we can email you the code.  But before that here is some idea of where this code is working -

0. If you notice, git file is a new file called alt_printed_fee_sheet.php.  We copy alt._printed… as printed… after all patches / upgrades.

1. Apart from the fee_sheet table entries, all other codes have to be selected in codes table with the superbill tag which is used as group header.  We have deleted all standard release fee_sheet entries and rely purely on services/codes.  (may be that part is causing the problem in your system)

2. To rule out problems with session variables, run the report from blank forms - this should give codes from original superbill as well as top 20 ICD9 codes for the entire practice showing under a different section.

3. Select a patient and get superbill from Popups on main screen.  This should show patient data and the diag codes would be specific to the patient.

4. Select an encounter and get superbill from Popups.  This should show encounter description from forms_encounter.  If there are any billing entries, they would appear in the first (top) section.

5. If your ACL permits coding_a or coding for that encounter, you should get radio buttons for all entries and 5 or so blank text boxes for data entry.  The top will also show ‘Bill’ button.  If you enter billing data, the page will refresh with updated billing note (not shown in full as it can be long).

6. Codes already entered in billing are not selectable through other sections and are highlighted accordingly.

We have made the design modular so you can keep adding special sections while using a common table layout.  We also wanted a predictable layout - so compared to the original approach, the layout is not dependent on number of entries in the table.

Let us know if something is wrong.