Skip to content

Commit

Permalink
Update StarterIpsConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
barhodes committed Mar 4, 2024
1 parent b3aa943 commit 1c58e4d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
import ca.uhn.fhir.jpa.ips.generator.IIpsGeneratorSvc;
import ca.uhn.fhir.jpa.ips.generator.IpsGeneratorSvcImpl;
import ca.uhn.fhir.jpa.ips.provider.IpsOperationProvider;
import ca.uhn.fhir.jpa.ips.strategy.DefaultIpsGenerationStrategy;
import ca.uhn.fhir.jpa.ips.jpa.DefaultJpaIpsGenerationStrategy;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;

@Conditional(IpsConfigCondition.class)
public class StarterIpsConfig {
@Bean
IIpsGenerationStrategy ipsGenerationStrategy() {
return new DefaultIpsGenerationStrategy();
return new DefaultJpaIpsGenerationStrategy();
}

@Bean
Expand All @@ -25,6 +25,6 @@ public IpsOperationProvider ipsOperationProvider(IIpsGeneratorSvc theIpsGenerato
@Bean
public IIpsGeneratorSvc ipsGeneratorSvcImpl(
FhirContext theFhirContext, IIpsGenerationStrategy theGenerationStrategy, DaoRegistry theDaoRegistry) {
return new IpsGeneratorSvcImpl(theFhirContext, theGenerationStrategy, theDaoRegistry);
return new IpsGeneratorSvcImpl(theFhirContext, theGenerationStrategy);
}
}

0 comments on commit 1c58e4d

Please sign in to comment.