Skip to content

Commit

Permalink
MSHR-96: Upgraded Moh-Trac module to fix some pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kaweesi committed Mar 29, 2016
1 parent 4d6a804 commit 9669c29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.openmrs.PatientProgram;
import org.openmrs.Person;
import org.openmrs.api.context.Context;
import org.openmrs.module.mohorderentrybridge.api.MoHOrderEntryBridgeService;
import org.openmrs.module.mohtracportal.service.MohTracPortalService;
import org.openmrs.module.mohtracportal.util.MohTracUtil;
import org.openmrs.module.tracpatienttransfer.service.PatientTransferService;
Expand Down Expand Up @@ -174,7 +175,7 @@ private boolean resumeCare(HttpServletRequest request,
}

// restart drugs
List<DrugOrder> dOrderList = Context.getService(MohTracPortalService.class).getDrugOrdersByPatient(lastObs.getPatient());
List<DrugOrder> dOrderList = Context.getService(MoHOrderEntryBridgeService.class).getDrugOrdersByPatient(lastObs.getPatient());
for (DrugOrder dOrder : dOrderList) {
log.info(">>>>>>>DrugOrder......."
+ dOrder.isDiscontinuedRightNow()
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

<properties>
<openMRSVersion>1.11.5</openMRSVersion>
<mohtracPortalVersion>0.2.5</mohtracPortalVersion>
<mohtracPortalVersion>0.2.6</mohtracPortalVersion>
<mohorderentrybridgeVersion>1.0-beta</mohorderentrybridgeVersion>
</properties>

Expand Down

0 comments on commit 9669c29

Please sign in to comment.