How to Modify template for patient documents

fredmon wrote on Friday, March 10, 2017:

I would like to know on how to modify the template for patient documents in such a way that I can also put in the patient’s age and civil status. And also to rearrange the patient’s name from FIRST NAME, MIDDLE NAME AND LAST NAME to LASTNAME, FIRST NAME and MIDDLE NAME.

Is there any php script that I need to change so as to add variable for these modifications to work?

Thanks.

bradymiller wrote on Saturday, March 11, 2017:

Hi Fred,

This can all be done in Administration->Layouts->Demographics gui. If this is a production instance, recommend making a functional backup before making any changes there.

Note there is an option on the birthdate field that will display the age.

-brady
OpenEMR