Thank you for referring $Name$ for a Home Medication Review. $P_GName$ was interviewed on $Date_of_Review$.$extraText$All medications were reviewed in light of the information you provided in the referral and that obtained during the interview.
[b]where $extraText$ could be empty or text with multiple lines.[/b]
[b]if it's empty the output will be[/b]
Thank you for referring $Name$ for a Home Medication Review. $P_GName$ was interviewed on $Date_of_Review$. All medications were reviewed in light of the information you provided in the referral and that obtained during the interview.
[b]if it's not empty, the output will be[/b]
Thank you for referring $Name$ for a Home Medication Review. $P_GName$ was interviewed on $Date_of_Review$.
/*this is new line*/
Warning, it's extra text for following reasons:
- Reason 1
/*this is new line*/
All medications were reviewed in light of the information you provided in the referral and that obtained during the interview.
[b]but the addTemplateVarible can't recognise \n and the replaceTemplateVariableByHTML can't recognise <br> at the start and the end of $extraText$ the output will become[/b]
Thank you for referring $Name$ for a Home Medication Review. $P_GName$ was interviewed on $Date_of_Review$. Warning, it's extra text for following reasons:
- Reason 1 All medications were reviewed in light of the information you provided in the referral and that obtained during the interview.
[b]so How can I replace that template variable with text into a seperated paragraph[/b]