File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed
java/ca/uhn/fhir/jpa/starter/cr Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 22
22
import org .opencds .cqf .fhir .cr .measure .CareGapsProperties ;
23
23
import org .opencds .cqf .fhir .cr .measure .MeasureEvaluationOptions ;
24
24
import org .opencds .cqf .fhir .utility .ValidationProfile ;
25
+ import org .opencds .cqf .fhir .utility .client .TerminologyServerClientSettings ;
25
26
import org .springframework .boot .context .properties .ConfigurationProperties ;
26
27
import org .springframework .context .annotation .Bean ;
27
28
import org .springframework .context .annotation .Conditional ;
@@ -57,6 +58,11 @@ TerminologySettings terminologySettings(CrProperties theCrProperties) {
57
58
return theCrProperties .getCql ().getTerminology ();
58
59
}
59
60
61
+ @ Bean
62
+ TerminologyServerClientSettings terminologyServerClientSettings (CrProperties theCrProperties ) {
63
+ return theCrProperties .getTerminologyServerClientSettings ();
64
+ }
65
+
60
66
@ Bean
61
67
public EvaluationSettings evaluationSettings (
62
68
CrProperties theCrProperties ,
Original file line number Diff line number Diff line change 1
1
package ca .uhn .fhir .jpa .starter .cr ;
2
2
3
+ import org .opencds .cqf .fhir .utility .client .TerminologyServerClientSettings ;
4
+
3
5
public class CrProperties {
4
6
private Boolean enabled ;
5
7
6
8
private CareGapsProperties careGaps = new CareGapsProperties ();
7
9
private CqlProperties cql = new CqlProperties ();
8
10
11
+ private TerminologyServerClientSettings terminologyServerClientSettings = new TerminologyServerClientSettings ();
12
+
9
13
public Boolean getEnabled () {
10
14
return enabled ;
11
15
}
@@ -29,4 +33,12 @@ public CqlProperties getCql() {
29
33
public void setCql (CqlProperties cql ) {
30
34
this .cql = cql ;
31
35
}
36
+
37
+ public TerminologyServerClientSettings getTerminologyServerClientSettings () {
38
+ return terminologyServerClientSettings ;
39
+ }
40
+
41
+ public void setTerminologyServerClientSettings (TerminologyServerClientSettings terminologyServerClientSettings ) {
42
+ this .terminologyServerClientSettings = terminologyServerClientSettings ;
43
+ }
32
44
}
Original file line number Diff line number Diff line change 89
89
caregaps :
90
90
reporter : " default"
91
91
section_author : " default"
92
+ terminologyServerClientSettings :
93
+ maxRetryCount : 3
94
+ retryIntervalMillis : 1000
95
+ timeoutSeconds : 30
96
+ socketTimeout : 60
92
97
cql :
93
98
use_embedded_libraries : true
94
99
compiler :
Original file line number Diff line number Diff line change 87
87
caregaps :
88
88
reporter : " default"
89
89
section_author : " default"
90
+ terminologyServerClientSettings :
91
+ maxRetryCount : 3
92
+ retryIntervalMillis : 1000
93
+ timeoutSeconds : 30
94
+ socketTimeout : 60
90
95
cql :
91
96
use_embedded_libraries : true
92
97
compiler :
You can’t perform that action at this time.
0 commit comments