Letter generator internationalization

bradymiller wrote on Monday, July 20, 2009:

hey,
The letter generator is a cool gem in OpenEMR that is labeled ‘Letter’ in the popup menu in the left navigation menu.  Just committed changes to cvs (development tip and 3.1.0 developement branch) towards internationalization:
1. Added option for printing via CSS html, so can now print special characters.
2. Added an autosave function to save template to the ‘autosave’ file whenever click the ‘Generate Letter’ button (created to allow going back to the form after generating a css html print view)
3. Created mechanism to allow actual translations of the special field tags. It’s pretty cool, and will always save the tags to files in english, so will work with multi-lingual clinics.
4. Placed all required source stuff to translate evything (note, the actual message body is not translated) (most of the translations won’t show up until I place them in the translation spreadsheet in a couple weeks)

Only file modified (it should be fully compatible with previous versions):
openemr/interface/patient_file/letter.php

It’ll show up in the cvs demo tomorrow AM, test it out and let me know if any issues.

-brady

cfapress wrote on Monday, July 20, 2009:

Hi Brady,

From my cursory test it worked just fine. Granted, I’m in the US so international letters don’t really apply. But, the CSS version came out just fine.

Jason

blankev wrote on Monday, July 20, 2009:

Yes Brady,

this is pritty COOL! But today in most recent version of OpenEMR demo version I did not find any button to save the letter in the Client’s personal files. Everything I tried saves them as a template and in due time the Choose template Button will be over crowded. Or did I tried this modification way too quick and do I need some patience?

Pimm

bradymiller wrote on Monday, July 20, 2009:

Pimm,
It still saves all templates to the same place.
-brady

cfapress wrote on Wednesday, July 22, 2009:

Pimm,

The letter generator does not save a copy of any letter, other than a template. So if you wanted to write a letter to a patient and record a copy of it you’d need to print the letter, scan it, and attach it to the Documents area of a patient’s record.

However, I like your idea of saving a copy of the letter to a patient. Perhaps that could be a new feature to the letter-writer?

Jason

cmswest wrote on Tuesday, February 25, 2014:

is there a way to access the letter generator?

a provider’s office would like to automate the letters that are sent out for certain screening procedures

thanks

cmswest wrote on Saturday, March 01, 2014:

found answer thanks to this thread:

https://sourceforge.net/p/openemr/discussion/202504/thread/075a66e5/