Open emr ACL setup

rahuluser wrote on Friday, August 21, 2015:

How to modify open emr ACL setup?
My requirement is :

If there were two doctors, say A and B. Doctor A ‘provided’ a new patient for consultation. And the front office staff writes, provider as Doctor A on patient’s dempgraphics.

And, when the Doctor A logging in, and should only see the patients provided by him(not required to see other patients deatils ). Also, other doctors are not permitted to see Doctor A’s patient details.

I have tried in open emr demo and canot achieve. It sometimes shows this error :
Site ID is missing from session data!
ACL Administration Not Authorized.

How to achieve this.
Please Help immediatly.

fsgl wrote on Friday, August 21, 2015:

Assuming the goal is to permit access to Patient Summary & Encounter History only to the attending physician, try the following:

  1. See this.
  2. Backup before making any changes.
  3. For physicians involved, grant ACO, Sensitivitities High, & move normal sensitivities to Inactive column. See 1.
  4. Into openemr/interface/patient_file/summary/demographics.php insert:
    if (!acl_check(‘sensitivities’,‘high’)) die(“Access Denied.”);
  5. Designate each encounter as high sensitivity. See 2.

If the task is to hide Encounter History only, change Step 4 by inserting into openemr/interface/patient_files/encounter/forms.php:

if (!acl_check(‘sensitivities’,‘high’)) die(“Access Denied.”);

1 Like

fsgl wrote on Friday, August 21, 2015:

If Sensitivities, High does not work, try the ACO depicted in attachment.

kodusote wrote on Friday, August 21, 2015:

Dear fsgl,

I think your second option should be the first option. It is simpler to implement and it has worked in all instances I have tried it. It limits each provider to his/her own encounters ONLY and he/she is unable to see the encounters of others.

Kayode

fsgl wrote on Friday, August 21, 2015:

Hi Kayode,

Thanks for your input. Did not have the opportunity to test either options (merely theorizing). Anything that works & is simpler is preferred.

Will let the OP work through the Wiki article because he may very well need to know the techniques in the future.