public FormEntryContext(Mode mode) { this.mode = mode; setupExistingData((Encounter) null); translator.setDefaultLocaleStr(LocaleUtility.getDefaultLocale().toString()); }
this.patient = patient; context.setupExistingData(patient); velocityEngine = new VelocityEngine();
context.setupExistingData(encounter); this.xmlDefinition = htmlForm.getXmlData();