Annotation Type Update


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Update
    RESTful method annotation to be used for the FHIR update method.

    Update is used to save an update to an existing resource (using its ID and optionally a version ID). It also may allow a client to save a new resource using an ID of its choosing.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<? extends IResource> type
      The return type for this search method.
    • Element Detail

      • type

        Class<? extends IResourcetype
        The return type for this search method. This generally does not need to be populated for a server implementation, since servers will return only one resource per class, but generally does need to be populated for client implementations.
        Default:
        ca.uhn.fhir.model.api.IResource.class