From c6555ddd4fa10684137e5dc54cbc1c389ae143dc Mon Sep 17 00:00:00 2001 From: James Agnew Date: Wed, 29 Mar 2017 15:23:23 +0800 Subject: [PATCH] DaoConfig#setAllowInlineMatchUrlReferences now defaults to true --- .../src/main/java/ca/uhn/fhir/jpa/dao/DaoConfig.java | 6 ++++-- src/changes/changes.xml | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/DaoConfig.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/DaoConfig.java index 52805df00a1..3392437a0a4 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/DaoConfig.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/DaoConfig.java @@ -40,7 +40,7 @@ public class DaoConfig { // *** // update setter javadoc if default changes // *** - private boolean myAllowInlineMatchUrlReferences = false; + private boolean myAllowInlineMatchUrlReferences = true; private boolean myAllowMultipleDelete; private boolean myDefaultSearchParamsCanBeOverridden = false; @@ -296,7 +296,9 @@ public class DaoConfig { * to "Patient?identifier=12345", this is reference match URL will be resolved and replaced according * to the usual match URL rules. *

- * Default is false for now, as this is an experimental feature. + * Default is {@link true} beginning in HAPI FHIR 2.4, since this + * feature is now specified in the FHIR specification. (Previously it + * was an experimental/rpposed feature) *

* * @since 1.5 diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 16ac5de552d..b4a764c99f4 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -26,6 +26,12 @@ Web testing UI displayed an error when a transaction was pasted into the UI for a DSTU2 server. Thanks to Suresh Kumar for reporting! + + DaoConfig#setAllowInlineMatchUrlReferences() now defaults to + true]]> since inline conditional references + are now a part of the FHIR specification. Thanks to Jan Dědek for + pointing this out! +