Annotation Type 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 type IdDt annotated with the IdParam annotation, as well as a parameter of type TagList which will contain the list of tags to be deleted. Note that for a server implementation, the type() 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 type IdDt annotated with the
    invalid reference
    VersionIdParam
    annotation, and a parameter of type IdDt annotated with the IdParam annotation, as well as a parameter of type TagList which will contain the list of tags to be deleted. Note that for a server implementation, the type() annotation is optional if the method is defined in a resource provider, since the type is implied.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends IBaseResource>
    If set to a type other than the default (which is IResource , this method is expected to return a TagList containing only tags which are specific to the given resource type.
    This method allows the return type for this method to be specified in a non-type-specific way, using the text name of the resource, e.g.
  • Element Details

    • type

      If set to a type other than the default (which is IResource , 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
    • typeName

      This method allows the return type for this method to be specified in a non-type-specific way, using the text name of the resource, e.g. "Patient". This attribute should be populate, or type() should be, but not both.
      Since:
      5.4.0
      Default:
      ""