openmrs/openmrs-core — pull request #731 by coldcue (2014-03-06 20:58:12+00:00)
Title: Trunk 4287

- [x] Add a required order_type column to the orders table
- [x] Add orderType field to Order class and update Order.hbm.xml file
- [ ] Set order_type column for existing orders, use the order types added by TRUNK-4292 **dependency**
- [x] Update OrderService.getOrders(...) and OrderService.getActiveOrders(...) should use OrderType as a parameter, not a java class

I've made these changes, please review