Code commits

Git

  • Rafal Korytkowski

    Rafal Korytkowski 717180f57c86501bdfcb90787cc2e5bf9909c0eb

    Merge pull request #950 from mhawila/TRUNK-4389
    TRUNK-4389: Added DRUG_ORDER_TYPE_UUID & TEST_ORDER_TYPE_UUID constants ...

  • mhawila <a.mhawila@gmail.com>

    mhawila <a.mhawila@gmail.com> cdb90e75c2fae11492fba94121c05ea3968143f5

    TRUNK-4389: Added DRUG_ORDER_TYPE_UUID & TEST_ORDER_TYPE_UUID constants to OrderType class, Added unit test method saveOrder_shouldSetOrderTypeOfDrugOrderToDrugOrderIfNotSetAndConceptNotMapped to OrderServiceTest, Added unit tests and code to set order type of drug/test order to drug/test order respectively if not set and concept not mapped in saveOrder() method

    • api/src/main/java/org/openmrs/OrderType.java (version cdb90e75c2fae11492fba94121c05ea3968143f5)
    • api/src/main/java/org/openmrs/api/OrderService.java (version cdb90e75c2fae11492fba94121c05ea3968143f5)
    • api/src/main/java/org/openmrs/api/impl/OrderServiceImpl.java (version cdb90e75c2fae11492fba94121c05ea3968143f5)
    • api/src/test/java/org/openmrs/api/OrderServiceTest.java (version cdb90e75c2fae11492fba94121c05ea3968143f5)