Added support for multiple invoice templates, varying patient names