@Override
  public List<BahmniOrder> ordersForOrderType(
      String patientUuid,
      List<Concept> concepts,
      Integer numberOfVisits,
      List<String> obsIgnoreList,
      String orderTypeUuid,
      Boolean includeObs) {
    List<BahmniOrder> bahmniOrders = new ArrayList<>();
    List<Order> orders;
    if (numberOfVisits == null || numberOfVisits == 0) {
      orders = orderService.getAllOrders(patientUuid, orderTypeUuid, null, null);
    } else {
      orders = orderService.getAllOrdersForVisits(patientUuid, orderTypeUuid, numberOfVisits);
    }

    for (Order order : orders) {
      Collection<BahmniObservation> obs =
          bahmniObsService.observationsFor(
              patientUuid, concepts, null, obsIgnoreList, false, order);
      BahmniOrder bahmniOrder = createBahmniOrder(order, obs, includeObs);

      bahmniOrders.add(bahmniOrder);
    }
    return bahmniOrders;
  }
 @Override
 public List<BahmniOrder> ordersForOrderUuid(
     String patientUuid, List<Concept> concepts, List<String> obsIgnoreList, String orderUuid) {
   List<BahmniOrder> bahmniOrders = new ArrayList<>();
   Order order = orderService.getOrderByUuid(orderUuid);
   Collection<BahmniObservation> obs =
       bahmniObsService.observationsFor(patientUuid, concepts, null, obsIgnoreList, false, order);
   BahmniOrder bahmniOrder = createBahmniOrder(order, obs, true);
   bahmniOrders.add(bahmniOrder);
   return bahmniOrders;
 }
 @Override
 public List<BahmniOrder> ordersForVisit(
     String visitUuid,
     String orderTypeUuid,
     List<String> conceptNames,
     List<Concept> obsIgnoreList) {
   List<Order> orders = orderService.getAllOrdersForVisitUuid(visitUuid, orderTypeUuid);
   List<BahmniOrder> bahmniOrders = new ArrayList<>();
   for (Order order : orders) {
     Collection<BahmniObservation> observations =
         bahmniObsService.getObservationForVisit(
             visitUuid, conceptNames, obsIgnoreList, false, order);
     BahmniOrder bahmniOrder = createBahmniOrder(order, observations, true);
     bahmniOrders.add(bahmniOrder);
   }
   return bahmniOrders;
 }