Class Update


  • @Path("/")
    @Consumes({"application/fhir+json","application/json","application/fhir+xml","application/xml"})
    @Produces({"application/fhir+json","application/json","application/fhir+xml","application/xml"})
    @RolesAllowed("FHIRUsers")
    @RequestScoped
    public class Update
    extends FHIRResource
    • Method Detail

      • update

        @PUT
        @Path("{type}/{id}")
        public javax.ws.rs.core.Response update​(@PathParam("type")
                                                String type,
                                                @PathParam("id")
                                                String id,
                                                Resource resource,
                                                @HeaderParam("If-Match")
                                                String ifMatch,
                                                @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED")
                                                boolean onlyIfModified,
                                                @HeaderParam("If-None-Match")
                                                String ifNoneMatchHdr)
      • conditionalUpdate

        @PUT
        @Path("{type}")
        public javax.ws.rs.core.Response conditionalUpdate​(@PathParam("type")
                                                           String type,
                                                           Resource resource,
                                                           @HeaderParam("If-Match")
                                                           String ifMatch,
                                                           @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED")
                                                           boolean onlyIfModified)