Demographics: EDIT always available - even for Clinicians - How to disable?

andyflces wrote on Thursday, July 31, 2014:

Does anyone know where to turn of the “EDIT” feature (and button) in the patient demographics section so that only limited access groups (i.e., admin, front office staff, etc.) have access to edit the patient demographics? Our clinicians keep updating records which causes billing issues.

I have checked the ACL settings, but no matter what I do, it doesn’t change the edit section. What controls this? I have even tried to reset the ACL settings for clinicians to the ones in the demo site - without success.

We use Open EMR 4.1.1

Thanks!

fsgl wrote on Thursday, July 31, 2014:

If removing the ACO Patients-Demographics from the ARO Clinicians-addonly does not solve the problem, the code will require reworking.

yehster wrote on Thursday, July 31, 2014:

// Check authorization.
if ($pid) {
if (!acl_check(‘patients’, ‘demo’, ‘’, ‘write’))
die(xl(‘Updating demographics is not authorized.’));
if ($result[‘squad’] && ! acl_check(‘squads’, $result[‘squad’]))
die(xl(‘You are not authorized to access this squad.’));
} else {
if (!acl_check(‘patients’, ‘demo’, ‘’, array(‘write’,‘addonly’) ))
die(xl(‘Adding demographics is not authorized.’));
}

This is the check done on the demographics_full page.

andyflces wrote on Monday, August 11, 2014:

Just to double-check my understanding on this: Does the file permissions of the operating system (we use Win Server 2008 R2) have anything to do with this? I don’t think so, but I want to ask… :slight_smile:

bradymiller wrote on Sunday, August 17, 2014:

Hi,
The file permissions of OS has nothing do do with this.
-brady
OpenEMR