Package org.openmrs

Examples of org.openmrs.CareSetting


      }
      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);
View Full Code Here


    }
  }
 
  private CareSetting getCareSetting(FormEntrySession session, HttpServletRequest submission) {
    Integer careSettingId = Integer.valueOf((String) careSettingWidget.getValue(session.getContext(), submission));
    CareSetting careSetting = Context.getOrderService().getCareSetting(careSettingId);
    return careSetting;
  }
View Full Code Here

        o.setUuid(UUID.randomUUID().toString());
      if (o.getOrderer() == null) {
        setOrderer(o, session);
      }
      if (o.getCareSetting() == null) {
        CareSetting careSetting = getCareSetting(session, submission);
        o.setCareSetting(careSetting);
      }
     
      Order discontinuationOrder = null;
      if (discontinuedDate != null) {
View Full Code Here

TOP

Related Classes of org.openmrs.CareSetting

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.