Skip to content

Commit

Permalink
Applying auto format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wluyima committed Jan 22, 2014
1 parent 64b539d commit 316b83c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions api/src/main/java/org/openmrs/api/OrderService.java
Expand Up @@ -180,10 +180,9 @@ public <Ord extends Order> List<Ord> getOrders(Class<Ord> orderClassType, List<P
public Long getNextOrderNumberSeedSequenceValue();

/**
* Gets the order matching the specified order number and its previous orders in the
* ordering they occurred, i.e if this order has a previous order,
* fetch it and if it also has a previous order then fetch it until
* the original one with no previous order is reached
* Gets the order matching the specified order number and its previous orders in the ordering
* they occurred, i.e if this order has a previous order, fetch it and if it also has a previous
* order then fetch it until the original one with no previous order is reached
*
* @param orderNumber the order number whose history to get
* @return a list of orders for given order number
Expand All @@ -192,8 +191,8 @@ public <Ord extends Order> List<Ord> getOrders(Class<Ord> orderClassType, List<P
public List<Order> getOrderHistoryByOrderNumber(String orderNumber);

/**
* Gets orders with a null stoppedDate or and are not auto expired.
* Note this does not return DC orders i.e orders where Order.action == DISCONTINUE
* Gets orders with a null stoppedDate or and are not auto expired. Note this does not return DC
* orders i.e orders where Order.action == DISCONTINUE
*
* @param patient the patient
* @param orderClass the order class
Expand All @@ -205,8 +204,9 @@ public <Ord extends Order> List<Ord> getOrders(Class<Ord> orderClassType, List<P
public <Ord extends Order> List<Ord> getActiveOrders(Patient patient, Class<Ord> orderClass, CareSetting careSetting,
Boolean includeVoided);

/** Retrieve care setting by type
*
/**
* Retrieve care setting by type
*
* @param careSettingId
* @return the care setting
* @since 1.10
Expand All @@ -215,7 +215,7 @@ public <Ord extends Order> List<Ord> getActiveOrders(Patient patient, Class<Ord>

/**
* Gets OrderFrequenecy that matches the specified orderFrequencyId
*
*
* @param orderFrequencyId the id to match against
* @return OrderFrequency
* @since 1.10
Expand Down
3 changes: 2 additions & 1 deletion api/src/main/java/org/openmrs/api/impl/OrderServiceImpl.java
Expand Up @@ -241,7 +241,8 @@ public List<Order> getOrderHistoryByOrderNumber(String orderNumber) {
}

/**
* @see org.openmrs.api.OrderService#getActiveOrders(org.openmrs.Patient, java.lang.Class, org.openmrs.CareSetting, java.lang.Boolean)
* @see org.openmrs.api.OrderService#getActiveOrders(org.openmrs.Patient, java.lang.Class,
* org.openmrs.CareSetting, java.lang.Boolean)
*/
@Override
@Transactional(readOnly = true)
Expand Down

0 comments on commit 316b83c

Please sign in to comment.