Situation
After enabling the Group Therapy feature, when I create an encounter, I am not able to edit or sign the encounter details. I have checked all the ACL permissions, and it appears that the Administrator group has full access to the Group Therapy feature. I need to add that I can edit and sign the attendance notes.
Any help and guidance will be appreciated.
OpenEMR Version
7.0.3 (4)
Browser:
Chrome
Operating System
MacOS
Search
Group Therapy Edit and Sign Issue
Logs
The Error Log when I click on the Edit button:
[Mon Jun 30 13:12:48.961941 2025] [php:warn] [pid 694588] [client 68.5.84.67:59028] PHP Warning: Undefined variable $therapyGroupCategories in /var/www/html/interface/forms/newGroupEncounter/common.php on line 280, referer: /interface/patient_file/encounter/encounter_top.php?set_encounter=37
[Mon Jun 30 13:12:48.961998 2025] [php:error] [pid 694588] [client 68.5.84.67:59028] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /var/www/html/interface/forms/newGroupEncounter/common.php:280\nStack trace:\n#0 /var/www/html/interface/forms/newGroupEncounter/common.php(280): in_array()\n#1 /var/www/html/interface/forms/newGroupEncounter/view.php(26): require_once(ââŚâ)\n#2 /var/www/html/interface/patient_file/encounter/view_form.php(50): require_once(ââŚâ)\n#3 {main}\n thrown in /var/www/html/interface/forms/newGroupEncounter/common.php on line 280, referer: /interface/patient_file/encounter/encounter_top.php?set_encounter=37
Error Log when I try the eSign:
[Mon Jun 30 13:15:17.831811 2025] [php:warn] [pid 560810] [client 68.5.84.67:59065] PHP Warning: Trying to access array offset on false in /var/www/html/interface/patient_file/encounter/forms.php on line 333, referer: /interface/patient_file/encounter/encounter_top.php?set_encounter=37
[Mon Jun 30 13:15:17.846993 2025] [php:warn] [pid 560810] [client 68.5.84.67:59065] PHP Warning: Undefined array key âsquadâ in /var/www/html/interface/patient_file/encounter/forms.php on line 620, referer: /interface/patient_file/encounter/encounter_top.php?set_encounter=37
[Mon Jun 30 13:15:17.976484 2025] [php:warn] [pid 560810] [client 68.5.84.67:59065] PHP Warning: Trying to access array offset on false in /var/www/html/interface/therapy_groups/therapy_groups_models/users_model.php on line 61, referer: /interface/patient_file/encounter/encounter_top.php?set_encounter=37
[Mon Jun 30 13:15:17.976510 2025] [php:warn] [pid 560810] [client 68.5.84.67:59065] PHP Warning: Trying to access array offset on false in /var/www/html/interface/therapy_groups/therapy_groups_models/users_model.php on line 61, referer: /interface/patient_file/encounter/encounter_top.php?set_encounter=37
[Mon Jun 30 13:15:44.502290 2025] [php:notice] [pid 694588] [client 68.5.84.67:59074] ERROR: OpenEMR SQL Escaping ERROR of the following string: form_newGroupEncounter, referer: /interface/patient_file/encounter/forms.php
root@openemr-creatorsoft-demo:/var/log/apache2#
I cannot tell precisely what your situation is, but per the docs, âThe default active user permissions for Groups are not sufficient to fully use the group module.â
And then see how creating a group encounter is dependent on having a group properly and fully configured.
Check out the docs and come back here with any questions you may still have!
Best- Harley
Thank you for the response. I followed the documentation to the T. I even enabled Group Therapy on the demo site (https://demo.openemr.io/openemr) with the same result. I also tried it by creating a new group and giving it all Group permissions, with the same results.
Essentially, I am not able to Edit or Sign the group details. Additionally, when I go to the patientâs dashboard and open the Group encounter, I donât see the group notes or attendance records.
You can try the Group function in the demo site that I have enabled.
I have configured the Group Therapy, and I would appreciate it if you could give it a try. In the event that this is a bug, how do we typically report it to the development team to get it fixed?
I donât see which user group you updated the group ACLs for.
The admin ACL has them of course, but none of the groups of the other users youâve assigned as counselors do.
ernie stent - accountant
billy smith - admin
fred stone - clinician
Re: opening the encounter summary, in the attendeeâs encounter hx, in the visit summary click the âeditâ link (oval) up there next to the e-sign link to open the visit details.
@AZS this is a technical oversight. I have fixed this in the past and made repo for it but it never got into the code base. It is not you. There are a lot of features and functions in the group feature that are incomplete or donât work. I could work with you to get them to work like they should but that is going to be and expanse. Look me up on the professional support page. If you want to engage. Send and email to support@ehrcommunityhelpdesk.com
I would be interested in this too, Because of the limitiations I am not using this feature yet, mainly because the group encounters do not show up in the individual patientsâ encounter list. This would be VERY useful for veterinary use too (I am already using openEMR for vets since a few yearsâŚstill on 5.0* though for various compatibilty reasonsâŚ