1
1
package ca .uhn .fhir .jpa .starter .ips ;
2
2
3
3
import ca .uhn .fhir .context .FhirContext ;
4
- import ca .uhn .fhir .jpa .api .dao .DaoRegistry ;
5
4
import ca .uhn .fhir .jpa .ips .api .IIpsGenerationStrategy ;
6
5
import ca .uhn .fhir .jpa .ips .generator .IIpsGeneratorSvc ;
7
6
import ca .uhn .fhir .jpa .ips .generator .IpsGeneratorSvcImpl ;
7
+ import ca .uhn .fhir .jpa .ips .jpa .DefaultJpaIpsGenerationStrategy ;
8
8
import ca .uhn .fhir .jpa .ips .provider .IpsOperationProvider ;
9
- import ca . uhn . fhir . jpa . ips . strategy . DefaultIpsGenerationStrategy ;
9
+
10
10
import org .springframework .context .annotation .Bean ;
11
11
import org .springframework .context .annotation .Conditional ;
12
12
13
13
@ Conditional (IpsConfigCondition .class )
14
14
public class StarterIpsConfig {
15
15
@ Bean
16
16
IIpsGenerationStrategy ipsGenerationStrategy () {
17
- return new DefaultIpsGenerationStrategy ();
17
+ return new DefaultJpaIpsGenerationStrategy ();
18
18
}
19
19
20
20
@ Bean
@@ -24,7 +24,7 @@ public IpsOperationProvider ipsOperationProvider(IIpsGeneratorSvc theIpsGenerato
24
24
25
25
@ Bean
26
26
public IIpsGeneratorSvc ipsGeneratorSvcImpl (
27
- FhirContext theFhirContext , IIpsGenerationStrategy theGenerationStrategy , DaoRegistry theDaoRegistry ) {
28
- return new IpsGeneratorSvcImpl (theFhirContext , theGenerationStrategy , theDaoRegistry );
27
+ FhirContext theFhirContext , IIpsGenerationStrategy theGenerationStrategy ) {
28
+ return new IpsGeneratorSvcImpl (theFhirContext , theGenerationStrategy );
29
29
}
30
30
}
0 commit comments