Offsite Portal Patient Link Bug

bradymiller wrote on Wednesday, October 12, 2011:

Hi Z&H Healthcare,

The setting in globals for Offsite Patient Portal Site Address is being used in both these settings in OpenEMR:
1. When click on the ‘Portal Activity’ setting (for provider portal)
2. When setting a username/password for patient print out/email

The issue arises in setting number 2 above since it is:
https://mydocsportal.com/provider.php

There should be another global setting for the patient portal site link. To do this and to make it work in a 4.1 patch suggest following:
1. Create another global to hold the ‘Offsite Patient Portal Site Address (Patient Link)’ with the patient’s portal link
2. In the openemr/interface/patient_file/summary/create_portallogin.php use the new global setting. IF the new global setting does not exist, then use a hard-coded setting to your portal. (the reason we do this is because after using the patch, the globals will not be updated unless the patient uses the Administration->globals (and hits the Save button), so important to make it work if the setting does not exist yet.

thanks,
-brady

zhhealthcare wrote on Thursday, October 13, 2011:

Hi Brady,
We completed the modifications what you said and committed to the github:https://github.com/zhhealthcare/openemr/commit/eafa41f4e1881c78cfe8dd57f6861eab889c79c4
Thanks And Regards
Jacob T.Paul

bradymiller wrote on Thursday, October 13, 2011:

Hi Jacob,
Just committed this to sourceforge (will also include it in the next 4.1 patch also).
thanks for the contribution,
-brady