refactoring - using handlebars to dinamically change patient dataset template.