I imported a bunch of records with a SQL query. I can see all of the patient data. However, when I click on the patient name, I get an error message that says “demographics not authorized”. Although, if I manually enter a new patient, I can view the demographics without any problem.
I’ve looked at previous posts. I edited the php,ini as specified. I looked at demographics_full.php and it’s settings are correct.
I’m trying to avoid hand-typing 400+ patients. Do anyone have ideas on how to resolve this issue? Any help is highly appreciated.
The only time this should happen is if the logged in user is not authorized for demographics or they are authorized, the system is set up for ‘squads’ (custom atheletic teams) and the user is not authorized for demographics + squads.
I suspect that squads it turned on accidentally somewhere. This happened to me.
The code is in the following file: interface/patient_file/summary/demographics.php
$thisauth = acl_check('patients', 'demo');
if ($thisauth) {
if ($result['squad'] && ! acl_check('squads', $result['squad']))
$thisauth = 0;
}
if (!$thisauth) {
echo "<p>(" . htmlspecialchars(xl('Demographics not authorized'),ENT_NOQUOTES) . ")</p>\n";
echo "</body>\n</html>\n";
exit();
}
Hello to all, and how to restrict the OpenEMR have the receptionist do not have access to the Demographics in the patient, because the receptionist can see the records of the patient, no longer part of Demographics, how do I get this access to it without taking a patient’s access to records