diff --git a/pom.xml b/pom.xml index 6b79e9a..6b414af 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ ca.uhn.hapi.fhir hapi-fhir - 7.0.2 + 7.2.0 hapi-fhir-jpaserver-starter diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java b/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java index d113c7e..10ea4a6 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java @@ -2,7 +2,7 @@ package ca.uhn.fhir.jpa.starter.common; import ca.uhn.fhir.jpa.api.config.JpaStorageSettings; import ca.uhn.fhir.jpa.binary.api.IBinaryStorageSvc; -import ca.uhn.fhir.jpa.binstore.DatabaseBlobBinaryStorageSvcImpl; +import ca.uhn.fhir.jpa.binstore.DatabaseBinaryContentStorageSvcImpl; import ca.uhn.fhir.jpa.config.HibernatePropertiesProvider; import ca.uhn.fhir.jpa.model.config.PartitionSettings; import ca.uhn.fhir.jpa.model.config.PartitionSettings.CrossPartitionReferenceMode; @@ -88,7 +88,7 @@ public class FhirServerConfigCommon { } /** - * Configure FHIR properties around the the JPA server via this bean + * Configure FHIR properties around the JPA server via this bean */ @Bean public JpaStorageSettings jpaStorageSettings(AppProperties appProperties) { @@ -264,7 +264,7 @@ public class FhirServerConfigCommon { @Lazy @Bean public IBinaryStorageSvc binaryStorageSvc(AppProperties appProperties) { - DatabaseBlobBinaryStorageSvcImpl binaryStorageSvc = new DatabaseBlobBinaryStorageSvcImpl(); + DatabaseBinaryContentStorageSvcImpl binaryStorageSvc = new DatabaseBinaryContentStorageSvcImpl(); if (appProperties.getMax_binary_size() != null) { binaryStorageSvc.setMaximumBinarySize(appProperties.getMax_binary_size()); diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/cr/StarterCrR4Config.java b/src/main/java/ca/uhn/fhir/jpa/starter/cr/StarterCrR4Config.java index fd9af65..4c0c5be 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/cr/StarterCrR4Config.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/cr/StarterCrR4Config.java @@ -68,7 +68,6 @@ public class StarterCrR4Config { @Bean CareGapsProperties careGapsProperties(CrProperties theCrProperties) { var careGapsProperties = new CareGapsProperties(); - careGapsProperties.setThreadedCareGapsEnabled(false); careGapsProperties.setCareGapsReporter(theCrProperties.getCareGapsReporter()); careGapsProperties.setCareGapsCompositionSectionAuthor(theCrProperties.getCareGapsSectionAuthor()); return careGapsProperties; diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/ips/StarterIpsConfig.java b/src/main/java/ca/uhn/fhir/jpa/starter/ips/StarterIpsConfig.java index 0b1db60..17f72b7 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/ips/StarterIpsConfig.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/ips/StarterIpsConfig.java @@ -1,12 +1,12 @@ package ca.uhn.fhir.jpa.starter.ips; import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.jpa.api.dao.DaoRegistry; import ca.uhn.fhir.jpa.ips.api.IIpsGenerationStrategy; import ca.uhn.fhir.jpa.ips.generator.IIpsGeneratorSvc; import ca.uhn.fhir.jpa.ips.generator.IpsGeneratorSvcImpl; +import ca.uhn.fhir.jpa.ips.jpa.DefaultJpaIpsGenerationStrategy; import ca.uhn.fhir.jpa.ips.provider.IpsOperationProvider; -import ca.uhn.fhir.jpa.ips.strategy.DefaultIpsGenerationStrategy; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Conditional; @@ -14,7 +14,7 @@ import org.springframework.context.annotation.Conditional; public class StarterIpsConfig { @Bean IIpsGenerationStrategy ipsGenerationStrategy() { - return new DefaultIpsGenerationStrategy(); + return new DefaultJpaIpsGenerationStrategy(); } @Bean @@ -24,7 +24,7 @@ public class StarterIpsConfig { @Bean public IIpsGeneratorSvc ipsGeneratorSvcImpl( - FhirContext theFhirContext, IIpsGenerationStrategy theGenerationStrategy, DaoRegistry theDaoRegistry) { - return new IpsGeneratorSvcImpl(theFhirContext, theGenerationStrategy, theDaoRegistry); + FhirContext theFhirContext, IIpsGenerationStrategy theGenerationStrategy) { + return new IpsGeneratorSvcImpl(theFhirContext, theGenerationStrategy); } }