Deprecated API
Contents
- Terminally Deprecated
- Exception Classes
- Fields
- Methods
- Constructors
- Enum Constants
- Annotation Type Elements
-
ElementDescriptionsince 7.7. Use
FhirContext.forVersion(FhirVersionEnum)
insteadsince 7.7. UseFhirContext.forCached(FhirVersionEnum)
insteadThe name parameter is not used for anythingThis value is not used anywhere
-
Exception ClassDescriptionUse
PreconditionFailedException
instead - This exception is strangely named and will be removed at some point.
-
FieldDescriptionThe
IResource.getId()
resource ID will now be populated with the version ID via theIdDt.getVersionIdPart()
methodTheIResource.getId()
resource ID will now be populated with the version ID via theIdDt.getVersionIdPart()
method
-
MethodDescriptionDeprecated in HAPI FHIR 5.0.0. Use
FhirContext.newFhirPath()
instead.since 7.7. UseFhirContext.forVersion(FhirVersionEnum)
insteadsince 7.7. UseFhirContext.forCached(FhirVersionEnum)
insteadPlease useIValidationSupport.CodeValidationIssue.getType()
instead.Please useIValidationSupport.CodeValidationIssue.getDetails()
instead. That has support for multiple codings.Please useIValidationSupport.CodeValidationIssue.getDiagnostics()
instead.Please use methodIValidationSupport.CodeValidationResult.addIssue(CodeValidationIssue)
instead.Please use methodIValidationSupport.CodeValidationResult.getIssues()
instead.Please use methodIValidationSupport.CodeValidationResult.setIssues(List)
instead.This method has been deprecated in HAPI FHIR 7.0.0. UseIValidationSupport.lookupCode(ValidationSupportContext, LookupCodeRequest)
instead.This method has been deprecated in HAPI FHIR 7.0.0. UseIValidationSupport.lookupCode(ValidationSupportContext, LookupCodeRequest)
instead.This value is not used anywhereDo not use, will be removedUseDescription.value()
instead. Deprecated in 5.4.0.UseBaseIdentifiableElement.getElementSpecificId()
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)UseBaseIdentifiableElement.setElementSpecificId(String)
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)UseBaseIdentifiableElement.setElementSpecificId(String)
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)This method is not used by HAPI at this point, so there isn't much point to keeping it around. We are not deleting it just so that we don't break existing implementer code, but you do not need to supply an implementation of this code in your own structures. Deprecated in HAPI FHIR 2.3 (Jan 2017). See See for a discussion about this.UseIIdentifiableElement.getElementSpecificId()
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)UseIIdentifiableElement.setElementSpecificId(String)
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)UseIIdentifiableElement.setElementSpecificId(String)
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)Tags wil become immutable in a future release of HAPI, soTagList.addTag(String, String, String)
should be used insteadget/setMissing is not supported in StringDt. UseTokenParam
instead if you need this functionalityget/setMissing is not supported in StringDt. UseTokenParam
instead if you need this functionalityget/setMissing is not supported in StringDt. UseStringParam
instead if you need this functionalityget/setMissing is not supported in StringDt. UseStringParam
instead if you need this functionalityget/setMissing is not supported in StringDt. UseQuantityParam
instead if you need this functionalityget/setMissing is not supported in StringDt. UseQuantityParam
instead if you need this functionalityUseBaseOperationOutcome.BaseIssue.setDiagnostics(String)
instead - Field was renamed in DSTU2UseIdDt.getIdPartAsBigDecimal()
instead (this method was deprocated because its name is ambiguous)get/setMissing is not supported in StringDt. UseStringParam
instead if you need this functionalityget/setMissing is not supported in StringDt. UseStringParam
instead if you need this functionalityThis was deprecated in HAPI FHIR 4.1.0 as it provides duplicate functionality to theIVersionSpecificBundleFactory.addRootPropertiesToBundle(String, BundleLinks, Integer, IPrimitiveType<Date>)
andIVersionSpecificBundleFactory.addResourcesToBundle(List, BundleTypeEnum, String, BundleInclusionRule, Set)
methodsAs of HAPI 3.0.0 this method has been deprecated, as the operation is now called "capabilities". UseIGenericClient.capabilities()
insteadUseread() fluent method
instead (deprecated in HAPI FHIR 3.0.0)Useread() fluent method
instead (deprecated in HAPI FHIR 3.0.0)Useread() fluent method
instead (deprecated in HAPI FHIR 3.0.0)Use LoggingInterceptor as a client interceptor registered to your client instead, as this provides much more fine-grained control over what is logged. This method will be removed at some point (deprecated in HAPI 1.6 - 2016-06-16)Useupdate() fluent method
instead (deprecated in HAPI FHIR 3.0.0)Useupdate() fluent method
instead (deprecated in HAPI FHIR 3.0.0)Usevalidate() fluent method
instead (deprecated in HAPI FHIR 3.0.0)Useread() fluent method
instead (deprecated in HAPI FHIR 3.0.0)Useread() fluent method
instead (deprecated in HAPI FHIR 3.0.0)UseIRestfulClientFactory.getServerValidationMode()
instead (this method is a synonym for that method, but this method is poorly named and will be removed at some point)UseIRestfulClientFactory.setServerValidationMode(ServerValidationModeEnum)
instead. This method was incorrectly named.Use the client logging interceptor to log requests and responses instead. See here for more information.UseIHistoryUntyped.returnBundle(Class)
instead, which has the exact same functionality. This was deprecated in HAPI FHIR 4.0.0 in order to be consistent with the similar method on the search operation.This parameter is badly named, since FHIR calls this parameter "_count" and not "_limit". UseIQuery.count(int)
instead (it also sets the _count parameter)theValue does not do anything, useUriClientParam.matches()
insteadUse {QuantityParam.getSystem()
} insteadUseTokenParam.setModifier(TokenParamModifier)
insteadJust use Objects.equals() instead;UseValidationResult.toOperationOutcome()
instead since this method returns a view.ValidationResult.toOperationOutcome()
is identical to this method, but has a more suitable name so this method will be removed at some point.
-
ConstructorDescriptionIt is recommended that you use one of the static initializer methods instead of this method, e.g.
FhirContext.forDstu2()
orFhirContext.forDstu3()
orFhirContext.forR4()
It is recommended that you use one of the static initializer methods instead of this method, e.g.FhirContext.forDstu2()
orFhirContext.forDstu3()
orFhirContext.forR4()
It is recommended that you use one of the static initializer methods instead of this method, e.g.FhirContext.forDstu2()
orFhirContext.forDstu3()
orFhirContext.forR4()
It is recommended that you use one of the static initializer methods instead of this method, e.g.FhirContext.forDstu2()
orFhirContext.forDstu3()
orFhirContext.forR4()
The name parameter is not used for anythingThere is no reason to create a tag with a term and not a scheme, so this constructor will be removedThis constructor is provided only for serialization support. Do not call it directly!This constructor has a dependency on a specific model version and will be removed. Deprecated in HAPI 1.6 - 2016-07-02This doesn't make sense, since an identifier is not a resource ID and shouldn't generate a 404 if it isn't found - Should be removedUse constructor with FhirContext argument
-
Enum ConstantDescriptionThis mode causes even FHIR's default profiles to be exported in the resource metadata section. This is not generally expected behaviour from other systems and it offers no real benefit, so it will be removed at some point. This option was deprecated in HAPI 1.5
-
Annotation Type ElementDescriptionDo not use, will be removedUse
Description.value()
instead. Deprecated in 5.4.0.