Health plan prescriptions email plan-prescription
A profile contains health plans, and each plan includes prescriptions. Prescriptions have various states, such as “ready,” “recall,” or “picked up”.
In this use case, we want to send a single email to each profile, including all prescriptions that are either ready for pick up or recalled. Click on each tab below for more information on the syntax to use to implement this use case.
Rendered Message
Hi John Doe,
Here are the prescriptions that are either ready for pick up or have been recalled:
Health Plan A
- Prescription ID: pres1
Name: Medication A
State: ready - Prescription ID: pres2
Name: Medication B
State: recall
Health Plan B
- Prescription ID: pres4
Name: Medication D
State: ready
HTML Template
code language-html |
---|
|
Profile Data
code language-javascript |
---|
|
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76