protected String getSubstitution(FormEntrySession session, FormSubmissionController controllerActions,
Map<String, String> parameters) {
Map<String, Object> temp = new HashMap<String, Object>();
temp.putAll(parameters);
temp.put("encounterType", true);
EncounterDetailSubmissionElement element = new EncounterDetailSubmissionElement(session.getContext(), temp);
session.getSubmissionController().addAction(element);
return element.generateHtml(session.getContext());
}