You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by jp...@apache.org on 2019/03/05 11:14:33 UTC

[camel] branch master updated: Update hapi-fhir to 3.7.0 (Gale)

This is an automated email from the ASF dual-hosted git repository.

jpoth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d200ee  Update hapi-fhir to 3.7.0 (Gale)
1d200ee is described below

commit 1d200ee4d5cc0a9703f4c969961ecff7d1ca87d8
Author: jpoth <po...@gmail.com>
AuthorDate: Tue Mar 5 12:13:54 2019 +0100

    Update hapi-fhir to 3.7.0 (Gale)
---
 .../src/main/docs/fhirJson-dataformat.adoc          |  6 ++----
 .../src/main/docs/fhirXml-dataformat.adoc           |  6 ++----
 .../apache/camel/component/fhir/FhirDataFormat.java | 12 ------------
 .../fhir/FhirCustomClientConfigurationIT.java       |  6 ++++++
 .../spring/FhirDataformatConfigSpringTest.java      |  2 --
 .../FhirDataformatDefaultConfigSpringTest.java      |  1 -
 .../fhir/FhirDataFormatConfigSpringTest.xml         | 12 ------------
 .../camel/model/dataformat/FhirDataformat.java      | 21 ---------------------
 parent/pom.xml                                      |  2 +-
 .../springboot/FhirJsonDataFormatConfiguration.java | 16 ----------------
 .../springboot/FhirXmlDataFormatConfiguration.java  | 16 ----------------
 11 files changed, 11 insertions(+), 89 deletions(-)

diff --git a/components/camel-fhir/camel-fhir-component/src/main/docs/fhirJson-dataformat.adoc b/components/camel-fhir/camel-fhir-component/src/main/docs/fhirJson-dataformat.adoc
index c656ce5..fe8d099 100644
--- a/components/camel-fhir/camel-fhir-component/src/main/docs/fhirJson-dataformat.adoc
+++ b/components/camel-fhir/camel-fhir-component/src/main/docs/fhirJson-dataformat.adoc
@@ -12,7 +12,7 @@ JSON parser to parse to/from JSON format to/from a HAPI-FHIR's `IBaseResource`.
 === FHIR JSON Format Options
 
 // dataformat options: START
-The FHIR JSon dataformat supports 14 options, which are listed below.
+The FHIR JSon dataformat supports 13 options, which are listed below.
 
 
 
@@ -23,7 +23,6 @@ The FHIR JSon dataformat supports 14 options, which are listed below.
 | prettyPrint | false | Boolean | Sets the pretty print flag, meaning that the parser will encode resources with human-readable spacing and newlines between elements instead of condensing output as much as possible.
 | serverBaseUrl |  | String | Sets the server's base URL used by this parser. If a value is set, resource references will be turned into relative references if they are provided as absolute URLs but have a base matching the given base.
 | omitResourceId | false | Boolean | If set to true (default is false) the ID of any resources being encoded will not be included in the output. Note that this does not apply to contained resources, only to root resources. In other words, if this is set to true, contained resources will still have local IDs but the outer/containing ID will not have an ID.
-| encodeElementsAppliesToResourceTypes |  | Set | If provided, tells the parse which resource types to apply {link #setEncodeElements(Set) encode elements} to. Any resource types not specified here will be encoded completely, with no elements excluded.
 | encodeElementsAppliesToChildResourcesOnly | false | Boolean | If set to true (default is false), the values supplied to setEncodeElements(Set) will not be applied to the root resource (typically a Bundle), but will be applied to any sub-resources contained within it (i.e. search result resources in that bundle)
 | encodeElements |  | Set | If provided, specifies the elements which should be encoded, to the exclusion of all others. Valid values for this field would include: Patient - Encode patient and all its children Patient.name - Encode only the patient's name Patient.name.family - Encode only the patient's family name .text - Encode the text element on any resource (only the very first position may contain a wildcard) .(mandatory) - This is a special case which causes any mandatory fields (m [...]
 | dontEncodeElements |  | Set | If provided, specifies the elements which should NOT be encoded. Valid values for this field would include: Patient - Don't encode patient and all its children Patient.name - Don't encode the patient's name Patient.name.family - Don't encode the patient's family name .text - Don't encode the text element on any resource (only the very first position may contain a wildcard) DSTU2 note: Note that values including meta, such as Patient.meta will work for DSTU [...]
@@ -51,7 +50,7 @@ When using Spring Boot make sure to use the following Maven dependency to have s
 ----
 
 
-The component supports 15 options, which are listed below.
+The component supports 14 options, which are listed below.
 
 
 
@@ -64,7 +63,6 @@ The component supports 15 options, which are listed below.
 | *camel.dataformat.fhirjson.enabled* | Whether to enable auto configuration of the fhirJson data format. This is enabled by default. |  | Boolean
 | *camel.dataformat.fhirjson.encode-elements* | If provided, specifies the elements which should be encoded, to the exclusion of all others. Valid values for this field would include: Patient - Encode patient and all its children Patient.name - Encode only the patient's name Patient.name.family - Encode only the patient's family name .text - Encode the text element on any resource (only the very first position may contain a wildcard) .(mandatory) - This is a special case which causes any [...]
 | *camel.dataformat.fhirjson.encode-elements-applies-to-child-resources-only* | If set to true (default is false), the values supplied to setEncodeElements(Set) will not be applied to the root resource (typically a Bundle), but will be applied to any sub-resources contained within it (i.e. search result resources in that bundle) | false | Boolean
-| *camel.dataformat.fhirjson.encode-elements-applies-to-resource-types* | If provided, tells the parse which resource types to apply {link #setEncodeElements(Set) encode elements} to. Any resource types not specified here will be encoded completely, with no elements excluded. The option is a java.util.Set<java.lang.String> type. |  | String
 | *camel.dataformat.fhirjson.fhir-version* | The version of FHIR to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4 | DSTU3 | String
 | *camel.dataformat.fhirjson.omit-resource-id* | If set to true (default is false) the ID of any resources being encoded will not be included in the output. Note that this does not apply to contained resources, only to root resources. In other words, if this is set to true, contained resources will still have local IDs but the outer/containing ID will not have an ID. | false | Boolean
 | *camel.dataformat.fhirjson.override-resource-id-with-bundle-entry-full-url* | If set to true (which is the default), the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id if the fullUrl is defined. This behavior happens when parsing the source data into a Bundle object. Set this to false if this is not the desired behavior (e.g. the client code wishes to perform additional validation checks between the fullUrl and the resource id). | false | Boolean
diff --git a/components/camel-fhir/camel-fhir-component/src/main/docs/fhirXml-dataformat.adoc b/components/camel-fhir/camel-fhir-component/src/main/docs/fhirXml-dataformat.adoc
index c2b33d4..f54a874 100644
--- a/components/camel-fhir/camel-fhir-component/src/main/docs/fhirXml-dataformat.adoc
+++ b/components/camel-fhir/camel-fhir-component/src/main/docs/fhirXml-dataformat.adoc
@@ -11,7 +11,7 @@ XML parser to parse to/from XML format to/from a HAPI-FHIR's `IBaseResource`.
 === FHIR XML Format Options
 
 // dataformat options: START
-The FHIR XML dataformat supports 14 options, which are listed below.
+The FHIR XML dataformat supports 13 options, which are listed below.
 
 
 
@@ -22,7 +22,6 @@ The FHIR XML dataformat supports 14 options, which are listed below.
 | prettyPrint | false | Boolean | Sets the pretty print flag, meaning that the parser will encode resources with human-readable spacing and newlines between elements instead of condensing output as much as possible.
 | serverBaseUrl |  | String | Sets the server's base URL used by this parser. If a value is set, resource references will be turned into relative references if they are provided as absolute URLs but have a base matching the given base.
 | omitResourceId | false | Boolean | If set to true (default is false) the ID of any resources being encoded will not be included in the output. Note that this does not apply to contained resources, only to root resources. In other words, if this is set to true, contained resources will still have local IDs but the outer/containing ID will not have an ID.
-| encodeElementsAppliesToResourceTypes |  | Set | If provided, tells the parse which resource types to apply {link #setEncodeElements(Set) encode elements} to. Any resource types not specified here will be encoded completely, with no elements excluded.
 | encodeElementsAppliesToChildResourcesOnly | false | Boolean | If set to true (default is false), the values supplied to setEncodeElements(Set) will not be applied to the root resource (typically a Bundle), but will be applied to any sub-resources contained within it (i.e. search result resources in that bundle)
 | encodeElements |  | Set | If provided, specifies the elements which should be encoded, to the exclusion of all others. Valid values for this field would include: Patient - Encode patient and all its children Patient.name - Encode only the patient's name Patient.name.family - Encode only the patient's family name .text - Encode the text element on any resource (only the very first position may contain a wildcard) .(mandatory) - This is a special case which causes any mandatory fields (m [...]
 | dontEncodeElements |  | Set | If provided, specifies the elements which should NOT be encoded. Valid values for this field would include: Patient - Don't encode patient and all its children Patient.name - Don't encode the patient's name Patient.name.family - Don't encode the patient's family name .text - Don't encode the text element on any resource (only the very first position may contain a wildcard) DSTU2 note: Note that values including meta, such as Patient.meta will work for DSTU [...]
@@ -50,7 +49,7 @@ When using Spring Boot make sure to use the following Maven dependency to have s
 ----
 
 
-The component supports 15 options, which are listed below.
+The component supports 14 options, which are listed below.
 
 
 
@@ -63,7 +62,6 @@ The component supports 15 options, which are listed below.
 | *camel.dataformat.fhirxml.enabled* | Whether to enable auto configuration of the fhirXml data format. This is enabled by default. |  | Boolean
 | *camel.dataformat.fhirxml.encode-elements* | If provided, specifies the elements which should be encoded, to the exclusion of all others. Valid values for this field would include: Patient - Encode patient and all its children Patient.name - Encode only the patient's name Patient.name.family - Encode only the patient's family name .text - Encode the text element on any resource (only the very first position may contain a wildcard) .(mandatory) - This is a special case which causes any  [...]
 | *camel.dataformat.fhirxml.encode-elements-applies-to-child-resources-only* | If set to true (default is false), the values supplied to setEncodeElements(Set) will not be applied to the root resource (typically a Bundle), but will be applied to any sub-resources contained within it (i.e. search result resources in that bundle) | false | Boolean
-| *camel.dataformat.fhirxml.encode-elements-applies-to-resource-types* | If provided, tells the parse which resource types to apply {link #setEncodeElements(Set) encode elements} to. Any resource types not specified here will be encoded completely, with no elements excluded. The option is a java.util.Set<java.lang.String> type. |  | String
 | *camel.dataformat.fhirxml.fhir-version* | The version of FHIR to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4 | DSTU3 | String
 | *camel.dataformat.fhirxml.omit-resource-id* | If set to true (default is false) the ID of any resources being encoded will not be included in the output. Note that this does not apply to contained resources, only to root resources. In other words, if this is set to true, contained resources will still have local IDs but the outer/containing ID will not have an ID. | false | Boolean
 | *camel.dataformat.fhirxml.override-resource-id-with-bundle-entry-full-url* | If set to true (which is the default), the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id if the fullUrl is defined. This behavior happens when parsing the source data into a Bundle object. Set this to false if this is not the desired behavior (e.g. the client code wishes to perform additional validation checks between the fullUrl and the resource id). | false | Boolean
diff --git a/components/camel-fhir/camel-fhir-component/src/main/java/org/apache/camel/component/fhir/FhirDataFormat.java b/components/camel-fhir/camel-fhir-component/src/main/java/org/apache/camel/component/fhir/FhirDataFormat.java
index a3e49cc..cba20ec 100644
--- a/components/camel-fhir/camel-fhir-component/src/main/java/org/apache/camel/component/fhir/FhirDataFormat.java
+++ b/components/camel-fhir/camel-fhir-component/src/main/java/org/apache/camel/component/fhir/FhirDataFormat.java
@@ -42,7 +42,6 @@ public abstract class FhirDataFormat extends ServiceSupport implements DataForma
     private List<Class<? extends IBaseResource>> preferTypes;
     private boolean omitResourceId;
     private IIdType forceResourceId;
-    private Set<String> encodeElementsAppliesToResourceTypes;
     private boolean encodeElementsAppliesToChildResourcesOnly;
     private Set<String> encodeElements;
     private Set<String> dontEncodeElements;
@@ -132,14 +131,6 @@ public abstract class FhirDataFormat extends ServiceSupport implements DataForma
         this.forceResourceId = forceResourceId;
     }
 
-    public Set<String> getEncodeElementsAppliesToResourceTypes() {
-        return encodeElementsAppliesToResourceTypes;
-    }
-
-    public void setEncodeElementsAppliesToResourceTypes(Set<String> encodeElementsAppliesToResourceTypes) {
-        this.encodeElementsAppliesToResourceTypes = encodeElementsAppliesToResourceTypes;
-    }
-
     public boolean isEncodeElementsAppliesToChildResourcesOnly() {
         return encodeElementsAppliesToChildResourcesOnly;
     }
@@ -217,9 +208,6 @@ public abstract class FhirDataFormat extends ServiceSupport implements DataForma
         if (ObjectHelper.isNotEmpty(getEncodeElements())) {
             parser.setEncodeElements(getEncodeElements());
         }
-        if (ObjectHelper.isNotEmpty(getEncodeElementsAppliesToResourceTypes())) {
-            parser.setEncodeElementsAppliesToResourceTypes(getEncodeElementsAppliesToResourceTypes());
-        }
         if (ObjectHelper.isNotEmpty(getForceResourceId())) {
             parser.setEncodeForceResourceId(getForceResourceId());
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
index a856cb1..e6e89fa 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
@@ -23,6 +23,7 @@ import ca.uhn.fhir.model.primitive.IdDt;
 import ca.uhn.fhir.model.primitive.UriDt;
 import ca.uhn.fhir.rest.api.EncodingEnum;
 import ca.uhn.fhir.rest.api.MethodOutcome;
+import ca.uhn.fhir.rest.api.RequestFormatParamStyleEnum;
 import ca.uhn.fhir.rest.api.RequestTypeEnum;
 import ca.uhn.fhir.rest.api.SummaryEnum;
 import ca.uhn.fhir.rest.client.api.Header;
@@ -372,6 +373,11 @@ public class FhirCustomClientConfigurationIT extends AbstractFhirTestSupport {
         }
 
         @Override
+        public void setFormatParamStyle(RequestFormatParamStyleEnum requestFormatParamStyleEnum) {
+
+        }
+
+        @Override
         public IUpdate update() {
             return null;
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatConfigSpringTest.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatConfigSpringTest.java
index a908cb5..ff988a0 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatConfigSpringTest.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatConfigSpringTest.java
@@ -64,8 +64,6 @@ public class FhirDataformatConfigSpringTest extends CamelSpringTestSupport {
         assertCollection(dontStripVersionsFromReferencesAtPaths);
         Set<String> encodeElements = fhirJson.getEncodeElements();
         assertCollection(encodeElements);
-        Set<String> encodeElementsAppliesToResourceTypes = fhirJson.getEncodeElementsAppliesToResourceTypes();
-        assertCollection(encodeElementsAppliesToResourceTypes);
         assertTrue(fhirJson.getForceResourceId().getClass().isAssignableFrom(IdType.class));
         assertTrue(fhirJson.getParserErrorHandler().getClass().isAssignableFrom(LenientErrorHandler.class));
         assertTrue(fhirJson.getParserOptions().getClass().isAssignableFrom(ParserOptions.class));
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatDefaultConfigSpringTest.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatDefaultConfigSpringTest.java
index fa4e51f..dbc9ac6 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatDefaultConfigSpringTest.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/dataformat/spring/FhirDataformatDefaultConfigSpringTest.java
@@ -56,7 +56,6 @@ public class FhirDataformatDefaultConfigSpringTest extends CamelSpringTestSuppor
         assertNull(fhirJson.getDontEncodeElements());
         assertNull(fhirJson.getDontStripVersionsFromReferencesAtPaths());
         assertNull(fhirJson.getEncodeElements());
-        assertNull(fhirJson.getEncodeElementsAppliesToResourceTypes());
         assertNull(fhirJson.getForceResourceId());
         assertNull(fhirJson.getParserErrorHandler());
         assertNull(fhirJson.getParserOptions());
diff --git a/components/camel-fhir/camel-fhir-component/src/test/resources/org/apache/camel/dataformat/fhir/FhirDataFormatConfigSpringTest.xml b/components/camel-fhir/camel-fhir-component/src/test/resources/org/apache/camel/dataformat/fhir/FhirDataFormatConfigSpringTest.xml
index 81a629a..0863bbe 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/resources/org/apache/camel/dataformat/fhir/FhirDataFormatConfigSpringTest.xml
+++ b/components/camel-fhir/camel-fhir-component/src/test/resources/org/apache/camel/dataformat/fhir/FhirDataFormatConfigSpringTest.xml
@@ -60,12 +60,6 @@
         <ref bean="patient"/>
       </list>
     </property>
-    <property name="encodeElementsAppliesToResourceTypes">
-      <set>
-        <value>foo</value>
-        <value>bar</value>
-      </set>
-    </property>
     <property name="encodeElements">
       <set>
         <value>foo</value>
@@ -103,12 +97,6 @@
         <ref bean="patient"/>
       </list>
     </property>
-    <property name="encodeElementsAppliesToResourceTypes">
-      <set>
-        <value>foo</value>
-        <value>bar</value>
-      </set>
-    </property>
     <property name="encodeElements">
       <set>
         <value>foo</value>
diff --git a/core/camel-core/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java b/core/camel-core/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java
index bbca136..4cf7cce 100644
--- a/core/camel-core/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java
+++ b/core/camel-core/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java
@@ -66,10 +66,6 @@ public abstract class FhirDataformat extends DataFormatDefinition {
 
     @XmlAttribute
     @Metadata(label = "advanced")
-    private Set<String> encodeElementsAppliesToResourceTypes;
-
-    @XmlAttribute
-    @Metadata(label = "advanced")
     private Boolean encodeElementsAppliesToChildResourcesOnly;
 
     @XmlAttribute
@@ -130,9 +126,6 @@ public abstract class FhirDataformat extends DataFormatDefinition {
         if (ObjectHelper.isNotEmpty(getEncodeElements())) {
             setProperty(camelContext, dataFormat, "encodeElements", getEncodeElements());
         }
-        if (ObjectHelper.isNotEmpty(getEncodeElementsAppliesToResourceTypes())) {
-            setProperty(camelContext, dataFormat, "encodeElementsAppliesToResourceTypes", getEncodeElementsAppliesToResourceTypes());
-        }
         if (ObjectHelper.isNotEmpty(getServerBaseUrl())) {
             setProperty(camelContext, dataFormat, "serverBaseUrl", getServerBaseUrl());
         }
@@ -297,20 +290,6 @@ public abstract class FhirDataformat extends DataFormatDefinition {
         this.omitResourceId = omitResourceId;
     }
 
-    public Set<String> getEncodeElementsAppliesToResourceTypes() {
-        return encodeElementsAppliesToResourceTypes;
-    }
-
-    /**
-     * If provided, tells the parse which resource types to apply {@link #setEncodeElements(Set) encode elements} to. Any
-     * resource types not specified here will be encoded completely, with no elements excluded.
-     *
-     * @param encodeElementsAppliesToResourceTypes resouce types
-     */
-    public void setEncodeElementsAppliesToResourceTypes(Set<String> encodeElementsAppliesToResourceTypes) {
-        this.encodeElementsAppliesToResourceTypes = encodeElementsAppliesToResourceTypes;
-    }
-
     public Boolean isEncodeElementsAppliesToChildResourcesOnly() {
         return encodeElementsAppliesToChildResourcesOnly;
     }
diff --git a/parent/pom.xml b/parent/pom.xml
index d4ace48..136d499 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -271,7 +271,7 @@
     <hadoop2-protobuf-version>2.5.0</hadoop2-protobuf-version>
     <hamcrest-version>2.0.0.0</hamcrest-version>
     <hapi-version>2.3</hapi-version>
-    <hapi-fhir-version>3.5.0</hapi-fhir-version>
+    <hapi-fhir-version>3.7.0</hapi-fhir-version>
     <hawtbuf-version>1.11</hawtbuf-version>
     <hawtdispatch-version>1.22</hawtdispatch-version>
     <hazelcast-version>3.11.2</hazelcast-version>
diff --git a/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java b/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
index cf0740e..2480a1b 100644
--- a/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
@@ -64,13 +64,6 @@ public class FhirJsonDataFormatConfiguration
      */
     private Boolean omitResourceId = false;
     /**
-     * If provided, tells the parse which resource types to apply {link
-     * #setEncodeElements(Set) encode elements} to. Any resource types not
-     * specified here will be encoded completely, with no elements excluded. The
-     * option is a java.util.Set<java.lang.String> type.
-     */
-    private String encodeElementsAppliesToResourceTypes;
-    /**
      * If set to true (default is false), the values supplied to
      * setEncodeElements(Set) will not be applied to the root resource
      * (typically a Bundle), but will be applied to any sub-resources contained
@@ -182,15 +175,6 @@ public class FhirJsonDataFormatConfiguration
         this.omitResourceId = omitResourceId;
     }
 
-    public String getEncodeElementsAppliesToResourceTypes() {
-        return encodeElementsAppliesToResourceTypes;
-    }
-
-    public void setEncodeElementsAppliesToResourceTypes(
-            String encodeElementsAppliesToResourceTypes) {
-        this.encodeElementsAppliesToResourceTypes = encodeElementsAppliesToResourceTypes;
-    }
-
     public Boolean getEncodeElementsAppliesToChildResourcesOnly() {
         return encodeElementsAppliesToChildResourcesOnly;
     }
diff --git a/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java b/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
index e336977..620610b 100644
--- a/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
@@ -64,13 +64,6 @@ public class FhirXmlDataFormatConfiguration
      */
     private Boolean omitResourceId = false;
     /**
-     * If provided, tells the parse which resource types to apply {link
-     * #setEncodeElements(Set) encode elements} to. Any resource types not
-     * specified here will be encoded completely, with no elements excluded. The
-     * option is a java.util.Set<java.lang.String> type.
-     */
-    private String encodeElementsAppliesToResourceTypes;
-    /**
      * If set to true (default is false), the values supplied to
      * setEncodeElements(Set) will not be applied to the root resource
      * (typically a Bundle), but will be applied to any sub-resources contained
@@ -182,15 +175,6 @@ public class FhirXmlDataFormatConfiguration
         this.omitResourceId = omitResourceId;
     }
 
-    public String getEncodeElementsAppliesToResourceTypes() {
-        return encodeElementsAppliesToResourceTypes;
-    }
-
-    public void setEncodeElementsAppliesToResourceTypes(
-            String encodeElementsAppliesToResourceTypes) {
-        this.encodeElementsAppliesToResourceTypes = encodeElementsAppliesToResourceTypes;
-    }
-
     public Boolean getEncodeElementsAppliesToChildResourcesOnly() {
         return encodeElementsAppliesToChildResourcesOnly;
     }