Build: #109 was successful Changes by Wyclif Luyima
Code commits
Git
-
Wyclif Luyima 32e20470b583e89a08d66d8af87e144da3eba682
Follow up to add api methods to fetch drugs by reference mappings - TRUNK-4144
- api/src/main/java/org/openmrs/api/ConceptService.java (version 32e20470b583e89a08d66d8af87e144da3eba682)
- api/src/main/java/org/openmrs/api/db/ConceptDAO.java (version 32e20470b583e89a08d66d8af87e144da3eba682)
- api/src/main/java/org/openmrs/api/db/hibernate/HibernateConceptDAO.java (version 32e20470b583e89a08d66d8af87e144da3eba682)
- api/src/main/java/org/openmrs/api/impl/ConceptServiceImpl.java (version 32e20470b583e89a08d66d8af87e144da3eba682)
- api/src/test/java/org/openmrs/api/ConceptServiceTest.java (version 32e20470b583e89a08d66d8af87e144da3eba682)
- api/src/test/resources/org/openmrs/api/include/ConceptServiceTest-getDrugMappings.xml (version 32e20470b583e89a08d66d8af87e144da3eba682)
-
Wyclif Luyima 08c9bc3a94fb1363e1bb28f66e666a39c5fb0e54
Add api methods to fetch drugs by reference mappings - TRUNK-4144 Author: Nicholas Ingosi Magaja <nicotwendelee@gmail.com>
post initial commit changes
looping through the collection
looping through the collection
improved javadoc
post code review
*Include only one method in the dao
*Filter the other method within the serviceimpl
making the drug the root and joining to the drugreferencemap
making the drug the root and joining to the drugreferencemap
linking to drugReferenceMap property and removal of alias to the drug property
checking for null concept source
Enhanced methods and unit tests
Added dataset for unit test
Added unit test dataset and the test methods- api/src/main/java/org/openmrs/api/ConceptService.java (version 08c9bc3a94fb1363e1bb28f66e666a39c5fb0e54)
- api/src/main/java/org/openmrs/api/db/ConceptDAO.java (version 08c9bc3a94fb1363e1bb28f66e666a39c5fb0e54)
- api/src/main/java/org/openmrs/api/db/hibernate/HibernateConceptDAO.java (version 08c9bc3a94fb1363e1bb28f66e666a39c5fb0e54)
- api/src/main/java/org/openmrs/api/impl/ConceptServiceImpl.java (version 08c9bc3a94fb1363e1bb28f66e666a39c5fb0e54)
- api/src/test/java/org/openmrs/api/ConceptServiceTest.java (version 08c9bc3a94fb1363e1bb28f66e666a39c5fb0e54)
- api/src/test/resources/org/openmrs/api/include/ConceptServiceTest-getDrugMappings.xml (version 08c9bc3a94fb1363e1bb28f66e666a39c5fb0e54)