Chinese Patient Portal

elandau1260 wrote on Wednesday, August 20, 2014:

Hi folks: I was searching the Wiki on what I had to install in addition to the standard install but could not locate. The patient portal allows a language selection but anything other than English results in an error. Man… I’m trying to learn php but my head gets twisted whenever I try to look at OpemEMR :). lang_language table looks good…'but not sure if I need to install something else?

Thanks
-Ed

blankev wrote on Wednesday, August 20, 2014:

If you use an official new install downloaded from Open-EMR.org the Chinese simplified is included and only have to be activated in Administration Global. If you want Chinese as default language, Click the correct choice just above the Optional Languages.

I really don’t know if this also works for the Off Site Portal or the On site Portal.

If this does not work you might have to include a lot of xl(… coding to get automatic translations from the OpenEMR software. Look in the WIKI pages for translation advise.

elandau1260 wrote on Thursday, August 21, 2014:

Yes. thanks. IN globals, the Default Language is English and the next option (All Languages Allowed) is checked, with the next drop-down, showing Chinese as one of the allowed options. When a patient logs into the patient portal, the option is given to select Chinese (or other languages) but selecting anything but English causes an error.

Anyone else have any ideas?

Thanks,
-Ed

bradymiller wrote on Thursday, August 21, 2014:

Hi,

It is working ok on the demo(try it to ensure it’s not an issue on your browser side):
http://www.open-emr.org/wiki/index.php/OpenEMR_Demo#Patient_Portal_Demo

Are you seeing any errors in your php log?

-brady
OpenEMR

blankev wrote on Thursday, August 21, 2014:

What portal for patients are you talking about? USER portal for doctors, nurses, physicians, is compatible with most languages, but depends on the total of translated constants and definitions?

Or are you trying the Patient portal for patients info?For OpenEMR there are three kind of Patient portals (probably even more). Off-site portal, Local portal, CMS portal.

All have the patient specific hurdles to take. As far as I remember the CMS portal does not have Chinese for the patient, unless the WordPress has an inbuilt option to have the Chinese language activated.

FireFox and Explorer need a tweak somewhere in settings to accept foreign languages with different characters, needs to be activated for the different non-latin characters.

elandau1260 wrote on Thursday, August 21, 2014:

Intermittent issues are so much harder to root-cause! Given the responses above, I tried Firefox (I had been trying with Chrome on a x64 Windows 7 machine) and got a different error.

First, the “patient portal” I am talking about it https://domain.com/patients/?site=XXX.

On firefox, I no longer get an error (image on the top-right of the screen that said “Ooops, something went wrong”)… and I am now able to get SOME languages such as spanish but choosing Chinese (simplified or traditional) results in a bunch of question-marks (?) instead of text.

Now I went back to Chrome… surprised there was such a big difference between the two browsers and Chrome no longer gave me the error (Opps image on the top right) but now gives me the same question-marks.

It is trying to translate and just gives up?? The OpenEMR demo site seems to work fine!

so maybe I’m missing some files? I have the latest update

blankev wrote on Thursday, August 21, 2014:

As Brady mentioned, your Browser might give the headache. Somewhere about a year ago there was explained how to include different Characters to show correct text in the Browser, in the OpenEMR foums.

Or it could even be a file somewhere in your computer software. I can’t remember the exact advise, it was the solution for my problems of unrecognized characters like Chinese. No more ??? for text that is different from Latin characters.

Start digging or wait, sometimes somebody else comes with the solution. Good luck.

fsgl wrote on Thursday, August 21, 2014:

The Native Patient Portal works with a local machine.

If you are talking about a hosted OpenEMR, then the Third Party Patient Portal is a horse of a different color.

blankev wrote on Thursday, August 21, 2014:

May be this will solve your problem?

elandau1260 wrote on Friday, August 22, 2014:

SOLVED.

For some reason, the lang_definitions was using LATIN instead of UTF8.

When I imported the same table from another server I also host OpenEMR on back into this one, it worked. I don’t understand how it could have configured to Latin in the first place but at least that fixed it.

Just documenting in case someone else has this same issue.