Skip to content

Commit 164e0a9

Browse files
author
Luke deGruchy
committed
Merge remote-tracking branch 'origin/master' into ja_20231203_hapi_7_0
2 parents aee7f25 + e1d902c commit 164e0a9

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public class AppProperties {
9393
private Integer bundle_batch_pool_size = 20;
9494
private Integer bundle_batch_pool_max_size = 100;
9595
private final Set<String> local_base_urls = new HashSet<>();
96+
private final Set<String> logical_urls = new HashSet<>();
9697

9798
private final List<String> custom_interceptor_classes = new ArrayList<>();
9899

@@ -595,6 +596,10 @@ public Set<String> getLocal_base_urls() {
595596
return local_base_urls;
596597
}
597598

599+
public Set<String> getLogical_urls() {
600+
return logical_urls;
601+
}
602+
598603
public Boolean getIg_runtime_upload_enabled() {
599604
return ig_runtime_upload_enabled;
600605
}

src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public JpaStorageSettings jpaStorageSettings(AppProperties appProperties) {
150150
jpaStorageSettings.setFilterParameterEnabled(appProperties.getFilter_search_enabled());
151151
jpaStorageSettings.setAdvancedHSearchIndexing(appProperties.getAdvanced_lucene_indexing());
152152
jpaStorageSettings.setTreatBaseUrlsAsLocal(new HashSet<>(appProperties.getLocal_base_urls()));
153+
jpaStorageSettings.setTreatReferencesAsLogical(new HashSet<>(appProperties.getLogical_urls()));
153154

154155
if (appProperties.getLastn_enabled()) {
155156
jpaStorageSettings.setLastNEnabled(true);

src/main/resources/application.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,15 @@ hapi:
140140
mdm_rules_json_location: "mdm-rules.json"
141141
# local_base_urls:
142142
# - https://hapi.fhir.org/baseR4
143+
logical_urls:
144+
- http://terminology.hl7.org/*
145+
- https://terminology.hl7.org/*
146+
- http://snomed.info/*
147+
- https://snomed.info/*
148+
- http://unitsofmeasure.org/*
149+
- https://unitsofmeasure.org/*
150+
- http://loinc.org/*
151+
- https://loinc.org/*
143152
# partitioning:
144153
# allow_references_across_partitions: false
145154
# partitioning_include_in_search_hashes: false

0 commit comments

Comments
 (0)