Package org.openmrs.api

Examples of org.openmrs.api.OrderService


   * @return
   */
  public static Set<Order> standardRegimenToDrugOrders(RegimenSuggestion rs, Date startDate, Patient patient){
    Set<Order> ret = new HashSet<Order>();
    if (rs != null){
      OrderService orderService = Context.getOrderService();
      ConceptService conceptService = Context.getConceptService();
      for (DrugSuggestion ds : rs.getDrugComponents()){
        DrugOrder dor = new DrugOrder();
        Drug drug = Context.getConceptService().getDrugByNameOrId(ds.getDrugId());
        if (drug == null)
View Full Code Here

TOP

Related Classes of org.openmrs.api.OrderService

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.