TEE examinations consist of numerous different cuts. While some of them can be very similar, others are completely unique. There are attributes which can be diagnosed only in a specific cut whereas some can be diagnosed in several cuts. It was necessary to develop a template system in which the cuts can be described in a simple domain specific language.
Since it’s possible to edit attributes in multiple cuts, input has to be synchronized between different cuts.
In order to generate a PDF report, the input values have to be transformed and layed out properly. This is achieved by first inserting the input values into a HTML template which is then rendered to PDF. The resulting PDF can be shared with other applications, e.g. by e-mail.