File tree Expand file tree Collapse file tree 7 files changed +14
-11
lines changed
java/de/numcodex/feasibility_gui_backend/terminology/api
resources/static/v3/api-docs
test/java/de/numcodex/feasibility_gui_backend/terminology Expand file tree Collapse file tree 7 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ jobs:
157
157
needs : tests
158
158
runs-on : ubuntu-latest
159
159
env :
160
- ONTOLOGY_GIT_TAG : v3.8.3
160
+ ONTOLOGY_GIT_TAG : v3.9.0-experimental.0
161
161
ELASTIC_HOST : http://localhost:9200
162
162
ELASTIC_FILEPATH : https://github.com/medizininformatik-initiative/fhir-ontology-generator/releases/download/TAGPLACEHOLDER/
163
163
ELASTIC_FILENAME : elastic.zip
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ services:
139
139
environment :
140
140
ES_HOST : http://dataportal-elastic
141
141
ES_PORT : 9200
142
- ONTO_GIT_TAG : v3.8.3
142
+ ONTO_GIT_TAG : v3.9.0-experimental.0
143
143
ONTO_REPO : https://github.com/medizininformatik-initiative/fhir-ontology-generator/releases/download
144
144
DOWNLOAD_FILENAME : elastic.zip
145
145
EXIT_ON_EXISTING_INDICES : false
Original file line number Diff line number Diff line change 27
27
<java .version>17</java .version>
28
28
<mockwebserver .version>4.12.0</mockwebserver .version>
29
29
<okhttp3 .version>4.10.0</okhttp3 .version>
30
- <ontology-tag >v3.8.3 </ontology-tag >
30
+ <ontology-tag >v3.9.0-experimental.0 </ontology-tag >
31
31
</properties >
32
32
33
33
<dependencies >
Original file line number Diff line number Diff line change @@ -23,10 +23,11 @@ public record AttributeDefinition(
23
23
@ JsonProperty (value = "min" ) Double min ,
24
24
@ JsonProperty (value = "max" ) Double max ,
25
25
@ JsonProperty ("referencedCriteriaSet" ) String referencedCriteriaSet ,
26
- @ JsonProperty ("referencedValueSet" ) String referencedValueSet
26
+ @ JsonProperty ("referencedValueSet" ) List < String > referencedValueSets
27
27
) {
28
28
public AttributeDefinition {
29
29
selectableConcepts = (selectableConcepts == null ) ? List .of () : selectableConcepts ;
30
30
allowedUnits = (allowedUnits == null ) ? List .of () : allowedUnits ;
31
+ referencedValueSets = (referencedValueSets == null ) ? List .of () : referencedValueSets ;
31
32
}
32
33
}
Original file line number Diff line number Diff line change @@ -1445,10 +1445,12 @@ components:
1445
1445
type : string
1446
1446
examples :
1447
1447
- http://fdpg.mii.cds/CriteriaSet/Diagnose/icd-10-gm
1448
- referencedValueSet :
1449
- type : string
1450
- examples :
1451
- - http://hl7.org/fhir/sid/icd-o-3
1448
+ referencedValueSets :
1449
+ type : array
1450
+ items :
1451
+ type : string
1452
+ examples :
1453
+ - http://hl7.org/fhir/sid/icd-o-3
1452
1454
type :
1453
1455
type : string
1454
1456
examples :
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ void testConstructorWithValues() {
24
24
.min (0.0 )
25
25
.max (0.0 )
26
26
.referencedCriteriaSet (null )
27
- .referencedValueSet (null )
27
+ .referencedValueSets (null )
28
28
.build ();
29
29
30
30
assertNotNull (attributeDefinition );
@@ -48,7 +48,7 @@ public void testConstructorWithNull() {
48
48
.min (0.0 )
49
49
.max (0.0 )
50
50
.referencedCriteriaSet (null )
51
- .referencedValueSet (null )
51
+ .referencedValueSets (null )
52
52
.build ();
53
53
54
54
assertNotNull (attributeDefinition );
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ private AttributeDefinition createAttributeDefinition() {
238
238
.type (ValueDefinitonType .CONCEPT )
239
239
.optional (false )
240
240
.referencedCriteriaSet ("http://my.reference.criteria/set" )
241
- .referencedValueSet ( "http://my.reference.value/set" )
241
+ .referencedValueSets ( List . of ( "http://my.reference.value/set" ) )
242
242
.comparator (Comparator .EQUAL )
243
243
.precision (1.0 )
244
244
.selectableConcepts (List .of (createTermCode ()))
You can’t perform that action at this time.
0 commit comments