Open MCIR opened 8 months ago
Oh my goodness, Ciru.
In this build I dropped several functions which were built into EncounterPro with encryption. These functions and procedures did not have any reference in our source that I could see, and I could not obtain the source from the database because it was encrypted.
One of these was dbo.fn_is_valid_encounter_owner which your error is complaining about.
While I try to figure out exactly what that function did, you can create a "fake" one that will always say every owner is valid with this script:
create function dbo.fn_is_valid_encounter_owner @.***_id varchar(24), @encounter_id varchar(24)) returns integer as begin return 1 end
The other functions I dropped with this same logic are
dbo.fn_user_checksum dbo.fn_user_license_level dbo.jmj_set_checksum dbo.jmj_set_user_checksum
I'm very sorry about this, I just didn't see any usage at all so now I'll need to figure out how it is getting called and what it should do.
On Sun, Mar 24, 2024 at 1:16 AM Madeline Wanjiru @.***> wrote:
Assigned #49 https://github.com/christillman/encounterpro_os/issues/49 to @christillman https://github.com/christillman.
— Reply to this email directly, view it on GitHub https://github.com/christillman/encounterpro_os/issues/49#event-12224301265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEGTU2KMMCRGTFYDBQ4XITYZVXDHAVCNFSM6AAAAABFETLRSWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGIZDIMZQGEZDMNI . You are receiving this because you were assigned.Message ID: @.***>
-- Chris Tillman Developer
It is okay Chris. Let me run the script right now. Thank you
Contact Details
rcirur@gmail.com
What happened?
In summary, after the installation of version 7.2.1.8, users are now not able to create a patient appointment (encounter). After accessing the patient chart and following the steps to create a new appointment, clicking the 'Finished' button immediately generates an error message stating that a new encounter was not created. I tried reinstalling 7.2.1.7, in an attempt to resolve the issue, but unfortunately, the error persists. The error messages are the same in version 7.2.1.7 and version 7.2.1.8. The error messages show 7.2.1.7 because the videos were recorded after i rolled back to version 7.2.1.7. The error messages in both versions are the same.
The same error message occurs when users attempt to create a new patient chart.
Please select the links to view videos, illustrating the 2 issues.
How did it happen?
Please select the links to view videos, illustrating the 2 issues.
Expectations
With version 7.2.1.8, users should be able to create a new patient appointment and create a new patient record with no error messages.
Urgency and Importance
The issue is critical. As a result of this error, users can no longer use the system for patient-related activities until it's resolved. The clinic has had to revert to paper. Currently, the system allows viewing existing data, but writing or adding new information is unavailable because the system is not creating new patient appointments or allowing the creation of new patient charts.
Version
other
Relevant log output
Code of Conduct