diff --git a/pom.xml b/pom.xml index 356ab2c..e7c4f12 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 17 1 - 3.21.0 + 3.22.0 diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCdsCrService.java b/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCdsCrService.java index 414993c..9a256af 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCdsCrService.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCdsCrService.java @@ -1,12 +1,11 @@ package ca.uhn.fhir.jpa.starter.cdshooks; import ca.uhn.fhir.context.FhirVersionEnum; +import ca.uhn.fhir.repository.IRepository; import ca.uhn.fhir.rest.api.server.RequestDetails; import ca.uhn.fhir.rest.api.server.cdshooks.CdsServiceRequestJson; -import ca.uhn.hapi.fhir.cdshooks.api.ICdsConfigService; import org.hl7.fhir.instance.model.api.IBaseParameters; import org.hl7.fhir.instance.model.api.IPrimitiveType; -import org.opencds.cqf.fhir.api.Repository; import org.opencds.cqf.fhir.cr.hapi.cdshooks.CdsCrService; import org.opencds.cqf.fhir.utility.adapter.IAdapterFactory; @@ -16,8 +15,8 @@ public class UpdatedCdsCrService extends CdsCrService { private final IAdapterFactory adapterFactory; public UpdatedCdsCrService( - RequestDetails theRequestDetails, Repository theRepository, ICdsConfigService theCdsConfigService) { - super(theRequestDetails, theRepository, theCdsConfigService); + RequestDetails theRequestDetails, IRepository theRepository) { + super(theRequestDetails, theRepository); adapterFactory = IAdapterFactory.forFhirContext(theRepository.fhirContext()); } diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCrDiscoveryService.java b/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCrDiscoveryService.java index f01873e..2bc82f0 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCrDiscoveryService.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/UpdatedCrDiscoveryService.java @@ -1,11 +1,11 @@ package ca.uhn.fhir.jpa.starter.cdshooks; +import ca.uhn.fhir.repository.IRepository; import org.hl7.fhir.instance.model.api.IIdType; -import org.opencds.cqf.fhir.api.Repository; import org.opencds.cqf.fhir.cr.hapi.cdshooks.discovery.CrDiscoveryService; public class UpdatedCrDiscoveryService extends CrDiscoveryService { - public UpdatedCrDiscoveryService(IIdType thePlanDefinitionId, Repository theRepository) { + public UpdatedCrDiscoveryService(IIdType thePlanDefinitionId, IRepository theRepository) { super(thePlanDefinitionId, theRepository); maxUriLength = 6000; }