
Package ca.uhn.fhir.rest.annotation
Annotation Type DeleteTags
-
@Target(METHOD) @Retention(RUNTIME) public @interface DeleteTags
RESTful method annotation to be used for the FHIR Tag Operations which have to do with deleting tags.-
To delete tag(s) to the given resource
instance, this annotation should contain a
type()
attribute specifying the resource type, and the method should have a parameter of typeIdDt
annotated with theIdParam
annotation, as well as a parameter of typeTagList
which will contain the list of tags to be deleted. Note that for a server implementation, thetype()
annotation is optional if the method is defined in a resource provider, since the type is implied. -
To delete tag(s) on the server to the given version of the
resource instance, this annotation should contain a
type()
attribute specifying the resource type, and the method should have a parameter of typeIdDt
annotated with theVersionIdParam
annotation, and a parameter of typeIdDt
annotated with theIdParam
annotation, as well as a parameter of typeTagList
which will contain the list of tags to be deleted. Note that for a server implementation, thetype()
annotation is optional if the method is defined in a resource provider, since the type is implied.
-
To delete tag(s) to the given resource
instance, this annotation should contain a
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends IBaseResource>
type
If set to a type other than the default (which isIResource
, this method is expected to return a TagList containing only tags which are specific to the given resource type.
-
-
-
Element Detail
-
type
Class<? extends IBaseResource> type
If set to a type other than the default (which isIResource
, this method is expected to return a TagList containing only tags which are specific to the given resource type.- Default:
- org.hl7.fhir.instance.model.api.IBaseResource.class
-
-