Please see: https://en.wikipedia.org/wiki/Variable_data_printing
We will do this by combining
- Trackers for the structured data (name, date of birth, services consumed, etc.)
- Wiki for the template texts
- Natural Language Generation to make each document feel like it was written by a human.