Build: #168 was successful Changes by Wyclif Luyima

Code commits

Git

  • Wyclif Luyima

    Wyclif Luyima d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0

    Follow up to Add order_type column to orders table - TRUNK-4287
    Follow  - TRUNK-4287

    • api/src/main/java/org/openmrs/DrugOrder.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/java/org/openmrs/Order.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/java/org/openmrs/TestOrder.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/java/org/openmrs/api/OrderService.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/java/org/openmrs/api/db/hibernate/HibernateOrderDAO.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/java/org/openmrs/api/handler/PatientDataUnvoidHandler.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/java/org/openmrs/api/handler/PatientDataVoidHandler.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/java/org/openmrs/api/impl/OrderServiceImpl.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/main/resources/liquibase-update-to-latest.xml (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/java/org/openmrs/DrugOrderTest.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/java/org/openmrs/OrderEntryIntegrationTest.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/java/org/openmrs/OrderTest.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/java/org/openmrs/api/OrderServiceTest.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/java/org/openmrs/api/PatientServiceTest.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/java/org/openmrs/api/handler/PatientDataUnvoidHandlerTest.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/java/org/openmrs/api/handler/PatientDataVoidHandlerTest.java (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/resources/org/openmrs/include/standardTestDataset.xml (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
    • api/src/test/resources/org/openmrs/util/databasechange/UpgradeTest-convertOrdererToProvider.xml (version d846c3fa80d8552ea6fd1b4f36cbdda1373db5e0)
  • Wyclif Luyima

    Wyclif Luyima 33030683a45006fe9623d08c7b697827f1e1cfca

    Add order_type column to orders table - TRUNK-4287
    TRUNK-4287: order_type field added to Order.hbm.xml

    TRUNK-4287: Updated OrderService.getOrders(...) and OrderService.getActiveOrders(...) that should use OrderType as a parameter, not a java class

    TRUNK-4287: Boundaries removed from OrderService.getOrders(...), OrderService.getActiveOrders(...) and OrderService.getOrder(...)

    TRUNK-4287: Changed the methods in the OrderDAO.java and in the HibernateOrderDAO.java implementation

    TRUNK-4287: Set order_type column

    TRUNK-4287: Test if there's any order which has no type, then set all orders with a matching row in the test_order or drug_order table of their type

    TRUNK-4287: Changes applied as advised

    • api/src/main/java/org/openmrs/Order.java (version 33030683a45006fe9623d08c7b697827f1e1cfca)
    • api/src/main/java/org/openmrs/api/OrderService.java (version 33030683a45006fe9623d08c7b697827f1e1cfca)
    • api/src/main/java/org/openmrs/api/db/OrderDAO.java (version 33030683a45006fe9623d08c7b697827f1e1cfca)
    • api/src/main/java/org/openmrs/api/db/hibernate/HibernateOrderDAO.java (version 33030683a45006fe9623d08c7b697827f1e1cfca)
    • api/src/main/resources/liquibase-update-to-latest.xml (version 33030683a45006fe9623d08c7b697827f1e1cfca)
    • api/src/main/resources/org/openmrs/api/db/hibernate/Order.hbm.xml (version 33030683a45006fe9623d08c7b697827f1e1cfca)