[OEM-14] Print functionality for therapy event.
+ [OEM-14] only allow printing for applications that have been, or can be, submitted
+ some phpdoc and general tidying