RA-1762 Edit Style configuration support for defaultEncounterTemplate in Patient Dashboard

Hello everyone,

I was working on customising the edit and view button for encounters that are displayed in patient dashboard.

When I was diving deep into that, I managed to find that the default viewEncounterWithHtmlFormController present in htmlformentryui has support for switching styles in edit form. Currently it’s has support for SimpleUi and Standard UI. So when you pass editStyle as a parameter, it can switch between the current edit styles and also possibly future edit styles.

I created an improvement card regarding this and also I have worked on it with PR raised. Please share your thoughts.