How to disable Fee Sheet from the providers

brainknight wrote on Tuesday, November 18, 2014:

Hello Dears,

Please I need help,

I need to disable (Hide) the fee sheet in the left navigation area from our providers (clinicians and physicians)

So I need the providers to be not allowed to see the fee sheet at all.

The Front Office and Admins are the only responsible for fee sheet, payments and billing.

Thank you in advance.

Regards,
B. K.

fsgl wrote on Wednesday, November 19, 2014:

See attached.

brainknight wrote on Thursday, November 20, 2014:

Dear fsgl,

Thank you for your help, but still the Fees is shown and accessible by clinicians and physicians.

I tried to move every thing in the attached that you sent to me but still accessible when create encounter by clinician or phy…

Please if any code modification to solve this it may be better.

I searched in:
left_nav.php
load_form.php

but I couldn’t find the suitable code (I am not a professional programmer)

Thank You in advance.

Regards,

B. K.

fsgl wrote on Thursday, November 20, 2014:

A code change will be necessary, see this thread.

brainknight wrote on Sunday, November 23, 2014:

Dear Fsgl,

Thank you very much for your support.

Please can you guide me as I am not a professional programmer, Just I need to hide the Fees menu from our providers.

Which file I need to modify and which line modifications exactly.

Sorry for interrupting you.

Thank you in advance.

My Regards.

B. K.

fsgl wrote on Sunday, November 23, 2014:

I’m not a programmer either. Sorry.

What I could suggest is sending a message to Kayode & requesting his help in this thread.

brainknight wrote on Sunday, November 23, 2014:

Dear fsgl,

Thank you for your support and also for your suggestion, I sent him a message and hope to help us in this.

Many Thanks again.

My Regards.

fsgl wrote on Sunday, November 23, 2014:

It was my pleasure.

Regret that I could not do more.

blankev wrote on Sunday, November 23, 2014:

fsgl mentioned the option of: Disable-Write for Physicians.

There is an option a little bit above:

View Physicians you need to also disable this.

Do this for both: Clinicians and Physicians

Since these are Global functions you might have to restart Open-Emr to activate.

brainknight wrote on Monday, November 24, 2014:

Dear Pieter,

Thank you for the clarifications,

Unfortunately I tried all that …but still the Fees menu shown for the clinicians and physicians.

I hope to find a solution for that.

Thank you again.

Regards.

blankev wrote on Monday, November 24, 2014:

I tried my suggestions in a DEMO version. But was not able to complete. Needed to make a Physician and a Clinician. But had no definite answer.

Most probably best thing to do is contact the Developer of the ACL part of OpenEMR.

Finetuning of ACL is not for the faint hearted, but the HELP file of ACL is self explaining. It gives good examples of how to make changes for permissions, etc.

brainknight wrote on Monday, November 24, 2014:

Dears fsgl, Pieter.

Thank you very much for your consideration,

I sent an email to the developers of ACL, I hope to give us a solution.

I will get back to you.

Thank you again.

Regards.

fsgl wrote on Monday, November 24, 2014:

Tried earlier this morning to run the grep “acl_check” for interface/patient_file
/encouter but got nowhere fast as commandline said that the folder is non-existent. That is not true. Probably looking in wrong place or the syntax incorrect in the command.

It’s still a big mystery as how to proceed after grep. Unfortunately there is no Wiki article about changing the code.

If after a few days there is no response; the remaining option is to impose upon Brady, who wrote the code for ACL. Brady is mired deeply in Meaningful Use at present, therefore I did not suggest contacting him initially.

cmswest wrote on Monday, November 24, 2014:

add this to interface/forms/fee_sheet/new.php at line 25 above $alertmsg

if (!acl_check('acct','bill')) die("Not authorized!");

fsgl wrote on Monday, November 24, 2014:

Thanks, Stephen, for coming to the rescue.


brainknight,

To make Stephen’s instructions more explicit:

  1. If your operating system is Windows, go to xampp\htdocs\openemr\interface\forms\fee_sheet\new.php
  2. if Linux, path depicted on the top of attachment.

cmswest wrote on Monday, November 24, 2014:

no prob, may also want to add above to interface/forms/misc_billing_options/new.php

also find this in left_nav.php

// TajEmo Work by CB 2012/06/21 10:41:15 AM hides fees if disabled in globals ?>

and change line below to this:

<?php if((!isset($GLOBALS['enable_fees_in_left_menu']) || $GLOBALS['enable_fees_in_left_menu'] == 1) && acl_check('acct','bill')){ ?>

so that fees don’t show in left nav, the previous tweak prevents fee sheet from being accessed from the encounter as well as left_nav

cmswest wrote on Monday, November 24, 2014:

might be easier to view here

yehster wrote on Monday, November 24, 2014:

Thanks for the github commit.

This is a bug fix that ought to go into the official code base.

arnabnaha wrote on Monday, November 24, 2014:

suppose, in a clinic, there is one physician who does his/her billing himself/herself. In this case, locking the fee sheet panel completely will cause big issues. What I suggest to stephen is, to add a mechanism so that the feature/bug fix can be customised per individual user of openemr

yehster wrote on Monday, November 24, 2014:

Stephen’s fix is appropriate even for that situation as it corrects an oversight in the ACL implementation. (If you don’t have permissions for billing, you shouldn’t see those entries…)

…be customised per individual user of openemr

This is exactly what can happen through ACL with the bug fix.