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.