Skip to content

Commit

Permalink
Merge branch 'hapifhir:master' into updated-helm-chart
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed Feb 13, 2024
2 parents f19bc3b + e1d902c commit 78a8bb1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public class AppProperties {
private Integer bundle_batch_pool_size = 20;
private Integer bundle_batch_pool_max_size = 100;
private final Set<String> local_base_urls = new HashSet<>();
private final Set<String> logical_urls = new HashSet<>();

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

Expand Down Expand Up @@ -595,6 +596,10 @@ public Set<String> getLocal_base_urls() {
return local_base_urls;
}

public Set<String> getLogical_urls() {
return logical_urls;
}

public Boolean getIg_runtime_upload_enabled() {
return ig_runtime_upload_enabled;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public JpaStorageSettings jpaStorageSettings(AppProperties appProperties) {
jpaStorageSettings.setFilterParameterEnabled(appProperties.getFilter_search_enabled());
jpaStorageSettings.setAdvancedHSearchIndexing(appProperties.getAdvanced_lucene_indexing());
jpaStorageSettings.setTreatBaseUrlsAsLocal(new HashSet<>(appProperties.getLocal_base_urls()));
jpaStorageSettings.setTreatReferencesAsLogical(new HashSet<>(appProperties.getLogical_urls()));

if (appProperties.getLastn_enabled()) {
jpaStorageSettings.setLastNEnabled(true);
Expand Down
9 changes: 9 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ hapi:
mdm_rules_json_location: "mdm-rules.json"
# local_base_urls:
# - https://hapi.fhir.org/baseR4
logical_urls:
- http:https://terminology.hl7.org/*
- https://terminology.hl7.org/*
- http:https://snomed.info/*
- https://snomed.info/*
- http:https://unitsofmeasure.org/*
- https://unitsofmeasure.org/*
- http:https://loinc.org/*
- https://loinc.org/*
# partitioning:
# allow_references_across_partitions: false
# partitioning_include_in_search_hashes: false
Expand Down

0 comments on commit 78a8bb1

Please sign in to comment.