muccg / rdrf

The Rare Disease Registry Framework (RDRF) is an open source tool for the creation of web-based patient registries.
GNU Affero General Public License v3.0
15 stars 8 forks source link

Survey request emails must be handled by RDRF notification #902

Closed gmaloneccg closed 5 years ago

gmaloneccg commented 5 years ago

Email received when sending POEM PROMS survey displays text for CIC CRC PROMS survey. The first line is; “You are receiving this email because you agreed to take part in the Continuous Improvement in Care – Cancer Project.” Test result in Google Drive.

mouneyrac commented 5 years ago

check email template object (email notification)

mouneyrac commented 5 years ago

This is what we want to create as template for CIC: subject: {{registry_name}} {{survey_name}} Survey Request topic: Hello {{display_name}}

You are receiving this email because you agreed to take part in the Continuous Improvement in Care - Cancer Project.

We would appreciate if you could complete the following survey prior to your next appointment with the doctor.

Your answers will help your doctor to identify any areas where you are having problems, so that these can be addressed promptly.

Please click on the following link to begin the survey:

{{email_link}}

mouneyrac commented 5 years ago

We need to provide the subject/topic for POEM too (and angelman probably) before testing this issue once merged. Obviously these notification template need to be set on each staging site and use by a notification Survey Request type.

gmaloneccg commented 5 years ago

Failed 20190902 11:54am. Emails not received when sent, for patients in both POEM and CIC. In admin page for CIC, options relating to emails return an empty list. Example: Email Templates Empty list for Email Templates

gmaloneccg commented 5 years ago

Tested for CIC, passed 20190902 12:12pm. Followup PROMS survey received and completed, and pulled correctly. Test result in Drive.