| Class and Description |
|---|
| ca.uhn.fhir.rest.client.HttpBasicAuthInterceptor
Use
BasicAuthInterceptor instead. Note that BasicAuthInterceptor class is a HAPI client interceptor instead of being a commons-httpclient interceptor, so you register it to your client instance once it's created using IGenericClient.registerInterceptor(IClientInterceptor) or IRestfulClient.registerInterceptor(IClientInterceptor) instead |
ca.uhn.fhir.model.api.PathSpecification
Include should be used instead |
| ca.uhn.fhir.rest.param.QualifiedDateParam
Use
DateParam instead (this class is identical, but was renamed to be less confusing) |
| Exceptions and Description |
|---|
| ca.uhn.fhir.rest.server.exceptions.ResourceVersionNotSpecifiedException
Use
PreconditionFailedException instead - This exception is
strangely named and will be removed at some point. |
| Annotation Type and Description |
|---|
| ca.uhn.fhir.rest.annotation.VersionIdParam
IdDt can now hold both an ID and a version ID, so a single parameter with the
IdParam annotation may be used |
| Field and Description |
|---|
| ca.uhn.fhir.model.api.ResourceMetadataKeyEnum.VERSION_ID
The
IResource.getId() resource ID will now be populated with the version ID via the IdDt.getVersionIdPart() method |
| Method and Description |
|---|
| ca.uhn.fhir.model.api.BundleEntry.addCategory()
Tags wil become immutable in a future release of HAPI, so
BundleEntry.addCategory(String, String, String) should be used instead |
| ca.uhn.fhir.model.api.Bundle.addCategory()
Tags wil become immutable in a future release of HAPI, so
Bundle.addCategory(String, String, String) should be used instead |
| ca.uhn.fhir.model.api.TagList.addTag()
Tags wil become immutable in a future release of HAPI, so
TagList.addTag(String, String, String)
should be used instead |
| ca.uhn.fhir.rest.gclient.IClientExecutable.andLogRequestAndResponse(boolean)
Use the client logging interceptor to log requests and responses instead. See here for more information.
|
| ca.uhn.fhir.model.primitive.IdDt.asBigDecimal()
Use
IdDt.getIdPartAsBigDecimal() instead (this method was deprocated because its name is ambiguous) |
| ca.uhn.fhir.rest.client.IGenericClient.conformance()
Use
IGenericClient.fetchConformance() instead |
| ca.uhn.fhir.rest.client.IGenericClient.create(IBaseResource)
Use
fluent method instead. This method will be removed. |
| ca.uhn.fhir.rest.client.IGenericClient.delete(Class<? extends IBaseResource>, IdDt)
Use
IGenericClient.delete() instead |
| ca.uhn.fhir.rest.client.IGenericClient.delete(Class<? extends IBaseResource>, String)
Use
IGenericClient.delete() instead |
| ca.uhn.fhir.model.api.IIdentifiableElement.getId()
Use
IIdentifiableElement.getElementSpecificId() instead. This method will be removed because it is easily
confused with other ID methods (such as patient#getIdentifier) |
| ca.uhn.fhir.model.api.BundleEntry.getId()
Setting IDs on bundle entries is redundant since resources already have an ID field. Instead of
providing an ID using this method, set the ID on the resource using
IResource.setId(IdDt) or
if this entry represents a deleted resource, use BundleEntry.setDeletedResourceId(IdDt). |
| ca.uhn.fhir.model.api.BaseIdentifiableElement.getId()
Use
BaseIdentifiableElement.getElementSpecificId() instead. This method will be removed because it is easily
confused with other ID methods (such as patient#getIdentifier) |
| ca.uhn.fhir.model.api.BundleEntry.getLinkBase()
Use resource ID to determine base URL
|
| ca.uhn.fhir.model.base.composite.BaseQuantityDt.getMissing()
get/setMissing is not supported in StringDt. Use
QuantityParam instead if you
need this functionality |
| ca.uhn.fhir.model.base.composite.BaseIdentifierDt.getMissing()
get/setMissing is not supported in StringDt. Use
StringParam instead if you
need this functionality |
| ca.uhn.fhir.model.base.composite.BaseCodingDt.getMissing()
get/setMissing is not supported in StringDt. Use
TokenParam instead if you
need this functionality |
| ca.uhn.fhir.model.primitive.StringDt.getMissing()
get/setMissing is not supported in StringDt. Use
StringParam instead if you
need this functionality |
| ca.uhn.fhir.validation.ValidationResult.getOperationOutcome()
Use
ValidationResult.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. |
| ca.uhn.fhir.context.RuntimeResourceDefinition.getResourceProfile() |
| ca.uhn.fhir.rest.client.IRestfulClientFactory.getServerValidationModeEnum()
Use
IRestfulClientFactory.getServerValidationMode() instead |
| ca.uhn.fhir.parser.BaseParser.getSuppressNarratives() |
| ca.uhn.fhir.model.api.BundleEntry.getUpdated()
DSTU2 Note: As of DSTU2, bundle entries no longer have an updated time (this bit of metadata
has been moved to the resource <meta/> element so it is redundant here). In preparation for
DSTU2, it is recommended that you migrate code away from using this method and over to using resource
metadata instead.
|
ca.uhn.fhir.rest.api.MethodOutcome.getVersionId()
MethodOutcome.getId() should return the complete ID including version if it is available |
| ca.uhn.fhir.rest.client.IGenericClient.history(Class<T>, IdDt, DateTimeDt, Integer)
As of 0.9, use the fluent
IGenericClient.history() method instead |
| ca.uhn.fhir.rest.client.IGenericClient.history(Class<T>, String, DateTimeDt, Integer)
As of 0.9, use the fluent
IGenericClient.history() method instead |
| ca.uhn.fhir.rest.server.RestfulServer.isUseBrowserFriendlyContentTypes()
This feature did not work well, and will be removed. Use
ResponseHighlighterInterceptor instead as an interceptor on your server and it will provide more useful syntax
highlighting. Deprocated in 1.4 |
| ca.uhn.fhir.rest.gclient.IQuery.limitTo(int)
This parameter is badly named, since FHIR calls this parameter "_count" and not "_limit". Use
IQuery.count(int) instead (it also sets the _count parameter) |
| ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue.setDetails(String)
Use
BaseOperationOutcome.BaseIssue.setDiagnostics(String) instead - Field was renamed in DSTU2 |
| ca.uhn.fhir.model.api.IIdentifiableElement.setId(IdDt)
Use
IIdentifiableElement.setElementSpecificId(String) instead. This method will be removed because it is easily
confused with other ID methods (such as patient#getIdentifier) |
| ca.uhn.fhir.model.api.BundleEntry.setId(IdDt)
Bundle entries no longer have an ID in DSTU2, as ID is explicitly stated in the resource itself.
|
| ca.uhn.fhir.model.api.BaseIdentifiableElement.setId(IdDt)
Use
BaseIdentifiableElement.setElementSpecificId(String) instead. This method will be removed because it is easily
confused with other ID methods (such as patient#getIdentifier) |
| ca.uhn.fhir.model.api.IIdentifiableElement.setId(String)
Use
IIdentifiableElement.setElementSpecificId(String) instead. This method will be removed because it is easily
confused with other ID methods (such as patient#getIdentifier) |
| ca.uhn.fhir.model.api.BaseIdentifiableElement.setId(String)
Use
BaseIdentifiableElement.setElementSpecificId(String) instead. This method will be removed because it is easily
confused with other ID methods (such as patient#getIdentifier) |
| ca.uhn.fhir.model.api.Tag.setLabel(String)
Tags will become immutable in a future release of HAPI in order to facilitate
ensuring that the TagList acts as an unordered set. Use the constructor to set this field when creating a new
tag object
|
| ca.uhn.fhir.model.api.BundleEntry.setLinkBase(StringDt)
Use resource ID to determine base URL
|
| ca.uhn.fhir.model.base.composite.BaseQuantityDt.setMissing(Boolean)
get/setMissing is not supported in StringDt. Use
QuantityParam instead if you
need this functionality |
| ca.uhn.fhir.model.base.composite.BaseIdentifierDt.setMissing(Boolean)
get/setMissing is not supported in StringDt. Use
StringParam instead if you
need this functionality |
| ca.uhn.fhir.model.base.composite.BaseCodingDt.setMissing(Boolean)
get/setMissing is not supported in StringDt. Use
TokenParam instead if you
need this functionality |
| ca.uhn.fhir.model.primitive.StringDt.setMissing(Boolean)
get/setMissing is not supported in StringDt. Use
StringParam instead if you
need this functionality |
| ca.uhn.fhir.model.api.Tag.setScheme(String)
Tags will become immutable in a future release of HAPI in order to facilitate
ensuring that the TagList acts as an unordered set. Use the constructor to set this field when creating a new
tag object
|
| ca.uhn.fhir.rest.client.IRestfulClientFactory.setServerValidationModeEnum(ServerValidationModeEnum)
Use
IRestfulClientFactory.setServerValidationMode(ServerValidationModeEnum) instead. This method was incorrectly named. |
| ca.uhn.fhir.model.api.Tag.setTerm(String)
Tags will become immutable in a future release of HAPI in order to facilitate
ensuring that the TagList acts as an unordered set. Use the constructor to set this field when creating a new
tag object
|
| ca.uhn.fhir.rest.param.TokenParam.setText(boolean)
Use
TokenParam.setModifier(TokenParamModifier) instead |
| ca.uhn.fhir.model.api.BundleEntry.setUpdated(InstantDt)
DSTU2 Note: As of DSTU2, bundle entries no longer have an updated time (this bit of metadata
has been moved to the resource <meta/> element so it is redundant here). In preparation for
DSTU2, it is recommended that you migrate code away from using this method and over to using resource
metadata instead.
|
| ca.uhn.fhir.rest.server.RestfulServer.setUseBrowserFriendlyContentTypes(boolean)
This feature did not work well, and will be removed. Use
ResponseHighlighterInterceptor instead as an interceptor on your server and it will provide more useful syntax
highlighting. Deprocated in 1.4 |
| ca.uhn.fhir.rest.api.MethodOutcome.setVersionId(IdDt)
Put the ID and version ID into the same IdDt instance and pass it to
MethodOutcome.setId(IIdType) |
| ca.uhn.fhir.context.RuntimeResourceDefinition.toProfile() |
| ca.uhn.fhir.rest.client.IGenericClient.transaction(List<IBaseResource>) |
| ca.uhn.fhir.rest.gclient.IGetPage.url(String)
Use
IGetPage.byUrl(String) instead |
| ca.uhn.fhir.validation.FhirValidator.validate(Bundle) |
| ca.uhn.fhir.validation.FhirValidator.validate(IResource)
use
FhirValidator.validateWithResult(IBaseResource) instead |
| ca.uhn.fhir.rest.client.IGenericClient.vread(Class<T>, IdDt, IdDt)
Deprecated in 0.7 - IdDt can contain an ID and a version, so this class doesn't make a lot of sense
|
| ca.uhn.fhir.rest.client.GenericClient.vread(Class<T>, IdDt, IdDt) |
| Constructor and Description |
|---|
| ca.uhn.fhir.model.primitive.BoundCodeDt()
This constructor is provided only for serialization support. Do not call it directly!
|
| ca.uhn.fhir.rest.api.MethodOutcome(IIdType, IdDt)
Use the constructor which accepts a single IIdType parameter, and include the logical ID and version ID in that IIdType instance
|
| ca.uhn.fhir.rest.api.MethodOutcome(IIdType, IdDt, IBaseOperationOutcome)
Use the constructor which accepts a single IdDt parameter, and include the logical ID and version ID in that IdDt instance
|
| ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException(Class<? extends IResource>, BaseIdentifierDt)
This 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 removed
|
| ca.uhn.fhir.model.api.Tag()
Tags will become immutable in a future release, so this constructor should not be used.
|
| ca.uhn.fhir.model.api.Tag(String)
There is no reason to create a tag with a term and not a scheme, so this constructor will be removed
|
| ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException(IBaseOperationOutcome)
Use constructor with FhirContext argument
|
| Annotation Type Element and Description |
|---|
| ca.uhn.fhir.model.api.annotation.Block.name
Do not use, will be removed
|
Copyright © 2014–2016 University Health Network. All rights reserved.