diff --git a/pom.xml b/pom.xml index bcce503..a7e819c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 17 1 - 3.27.0 + 3.28.0 @@ -20,7 +20,7 @@ ca.uhn.hapi.fhir hapi-fhir - 8.5.8-SNAPSHOT + 8.5.9-SNAPSHOT hapi-fhir-jpaserver-starter diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java b/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java index 94f12dd..aefaaa1 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java @@ -126,6 +126,7 @@ public class AppProperties { private Map remote_terminology_service = null; private Boolean match_url_cache_enabled = false; private Boolean index_storage_optimized = false; + private Boolean mark_resources_for_reindexing_upon_search_parameter_change = true; private Integer reindex_thread_count = null; private Integer expunge_thread_count = null; @@ -811,6 +812,16 @@ public class AppProperties { index_storage_optimized = theIndex_storage_optimized; } + public boolean getMark_resources_for_reindexing_upon_search_parameter_change() { + return defaultIfNull(mark_resources_for_reindexing_upon_search_parameter_change, true); + } + + public void setMark_resources_for_reindexing_upon_search_parameter_change( + Boolean mark_resources_for_reindexing_upon_search_parameter_change) { + this.mark_resources_for_reindexing_upon_search_parameter_change = + mark_resources_for_reindexing_upon_search_parameter_change; + } + public Integer getReindex_thread_count() { return reindex_thread_count; } diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java b/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java index da3ce06..3106fa3 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java @@ -190,6 +190,8 @@ public class FhirServerConfigCommon { jpaStorageSettings.setSchedulingDisabled(!appProperties.getDao_scheduling_enabled()); jpaStorageSettings.setIndexStorageOptimized(appProperties.getIndex_storage_optimized()); jpaStorageSettings.setMatchUrlCacheEnabled(appProperties.getMatch_url_cache_enabled()); + jpaStorageSettings.setMarkResourcesForReindexingUponSearchParameterChange( + appProperties.getMark_resources_for_reindexing_upon_search_parameter_change()); jpaStorageSettings.setDeleteEnabled(appProperties.getDelete_enabled()); jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled()); jpaStorageSettings.setExpungeEnabled(appProperties.getExpunge_enabled()); diff --git a/src/main/resources/application-cds.yaml b/src/main/resources/application-cds.yaml index a11eceb..2b0f4d7 100644 --- a/src/main/resources/application-cds.yaml +++ b/src/main/resources/application-cds.yaml @@ -170,6 +170,11 @@ hapi: version: 2.0.0 installMode: STORE_AND_INSTALL installResourceTypes: [ "CodeSystem", "ValueSet", "ConceptMap", "ActivityDefinition", "PlanDefinition", "Library", "Measure", "StructureDefinition" ] + uscql: + name: hl7.fhir.us.cql + version: 1.0.0 + installMode: STORE_AND_INSTALL + installResourceTypes: [ "CodeSystem", "ValueSet", "ConceptMap", "ActivityDefinition", "PlanDefinition", "Library", "Measure", "StructureDefinition" ] # swiss: # name: swiss.mednet.fhir # version: 0.8.0 diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 5dff60e..c0dff53 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -283,6 +283,7 @@ hapi: # Defaults to Runtime.getRuntime().availableProcessors() if not specified # reindex_thread_count: 4 # Number of threads to use for reindex operations # expunge_thread_count: 4 # Number of threads to use for expunge operations + # mark_resources_for_reindexing_upon_search_parameter_change: false # ------------------------------------------------------------------------------- # G. Narrative & Validation