
Uses of Class
ca.uhn.fhir.context.ParserOptions
Packages that use ParserOptions
-
Uses of ParserOptions in ca.uhn.fhir.context
Methods in ca.uhn.fhir.context that return ParserOptionsModifier and TypeMethodDescriptionFhirContext.getParserOptions()
Returns the parser options object which will be used to supply default options to newly created parsersParserOptions.setDontEncodeElementsForSummaryMode
(String... theEncodeElements) This option specifies one or more elements that should be excluded when the parser is encoding a resource insummary mode
, even if the element is a part of the base FHIR specification's list of summary elements.ParserOptions.setDontEncodeElementsForSummaryMode
(Collection<String> theDontEncodeElements) This option specifies one or more elements that should be excluded when the parser is encoding a resource insummary mode
, even if the element is a part of the base FHIR specification's list of summary elements.ParserOptions.setDontStripVersionsFromReferencesAtPaths
(String... thePaths) If supplied value(s), any resource references at the specified paths will have their resource versions encoded instead of being automatically stripped during the encoding process.ParserOptions.setDontStripVersionsFromReferencesAtPaths
(Collection<String> thePaths) If supplied value(s), any resource references at the specified paths will have their resource versions encoded instead of being automatically stripped during the encoding process.ParserOptions.setEncodeElementsForSummaryMode
(String... theEncodeElements) This option specifies one or more elements that should be included when the parser is encoding a resource insummary mode
, even if the element is not a part of the base FHIR specification's list of summary elements.ParserOptions.setEncodeElementsForSummaryMode
(Collection<String> theEncodeElements) This option specifies one or more elements that should be included when the parser is encoding a resource insummary mode
, even if the element is not a part of the base FHIR specification's list of summary elements.ParserOptions.setOverrideResourceIdWithBundleEntryFullUrl
(boolean theOverrideResourceIdWithBundleEntryFullUrl) If set totrue
(which is the default), the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id if the fullUrl is defined.ParserOptions.setStripVersionsFromReferences
(boolean theStripVersionsFromReferences) If set totrue
(which is the default), resource references containing a version will have the version removed when the resource is encoded.
Methods in ca.uhn.fhir.context with parameters of type ParserOptionsModifier and TypeMethodDescriptionvoid
FhirContext.setParserOptions
(ParserOptions theParserOptions) Sets the parser options object which will be used to supply default options to newly created parsers