diff --git a/api/src/main/java/org/openmrs/module/labonfhir/api/event/LabCreationListener.java b/api/src/main/java/org/openmrs/module/labonfhir/api/event/LabCreationListener.java index a9d7486..4979b43 100644 --- a/api/src/main/java/org/openmrs/module/labonfhir/api/event/LabCreationListener.java +++ b/api/src/main/java/org/openmrs/module/labonfhir/api/event/LabCreationListener.java @@ -27,6 +27,7 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; +import org.openmrs.module.fhir2.api.search.param.TaskSearchParams; public abstract class LabCreationListener implements EventListener { @@ -86,7 +87,7 @@ public Bundle createLabBundle(Task task) { includes.add(new Include("Task:encounter")); includes.add(new Include("Task:based-on")); - IBundleProvider labBundle = fhirTaskService.searchForTasks(null, null, null, uuid, null, null, includes); + IBundleProvider labBundle = fhirTaskService.searchForTasks(new TaskSearchParams(null, null, null, uuid, null, null, includes)); Bundle transactionBundle = new Bundle(); transactionBundle.setType(Bundle.BundleType.TRANSACTION); diff --git a/pom.xml b/pom.xml index b431476..c3bda6d 100644 --- a/pom.xml +++ b/pom.xml @@ -239,7 +239,7 @@ - 1.6.0 + 1.10.0 2.26.0 1.8 1.8