added template to handle ehpas format