File to modify?

arnabnaha wrote on Sunday, September 20, 2015:

Hello,

Which file to modify to stylise the email sent out by patient reminder? I mean the emails which are send when we run the Administration -> patient reminders -> Process and Send Reminders.

Thanks in Advance,

Arnab

arnabnaha wrote on Friday, September 25, 2015:

Any help on this…please

bradymiller wrote on Sunday, September 27, 2015:

This happens here:

There will need to be a mechanism bullt in to support this. Do you want to style it per action or a global style for all the emails?

teryhill wrote on Sunday, September 27, 2015:

per action

arnabnaha wrote on Sunday, September 27, 2015:

Thank you Brady and Terry…
Per action will be wonderful but for the time being, a global styling of the mail will be good.

regards,
Arnab

bradymiller wrote on Monday, September 28, 2015:

Hi,

There appears to be a “placemaker” feature for this (ie. most of the pieces are there, but not yet fully completed). Note the sql column in rule_action_item sql table called reminder_message. Can actually even edit this field in the Rules GUI when editing a Action in the “Message” field. The only issue is that, the message is not being used in the code linked in my above post. So, to get it to work would need to do two things at the code linked above:

  1. query the action item in rule_action_item table with $reminder[‘category’] and $reminder[‘item’] to see if there is a reminder_message for the action item.
  2. If there is a reminder_message, then use this in the email message.

-brady
OpenEMR