}
if (o.getOrderer() == null) {
setOrderer(o, session);
}
if (o.getCareSetting() == null) {
CareSetting careSetting = getCareSetting(session, submission);
o.setCareSetting(careSetting);
}
session.getSubmissionActions().getCurrentEncounter().addOrder(o);
if (discontinuationOrder != null) {
session.getSubmissionActions().getCurrentEncounter().addOrder(discontinuationOrder);