}
protected Map<String, Object> generateOutputForForm(String form,
Map<String, String> data) {
Map<String, Object> info = new HashMap<String, Object>();
SelectedProcedures selectedProcedures = new SelectedProcedures(emergencyId);
String[] sps =data.get("Suggested Procedures").substring(1).split("_");
for (String string : sps) {
if (string != null && string != "") {
selectedProcedures.addSelectedProcedureName(string);
}
}
info.put("selectedProcedures", selectedProcedures);
return info;
}