Class Patch


  • @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 Patch
    extends FHIRResource
    • Method Detail

      • patch

        @Consumes("application/json-patch+json")
        @Produces({"application/fhir+json","application/json"})
        @Path("{type}/{id}")
        public javax.ws.rs.core.Response patch​(@PathParam("type")
                                               String type,
                                               @PathParam("id")
                                               String id,
                                               javax.json.JsonArray array,
                                               @HeaderParam("If-Match")
                                               String ifMatch,
                                               @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED")
                                               boolean onlyIfModified)
      • patch

        @Path("{type}/{id}")
        public javax.ws.rs.core.Response patch​(@PathParam("type")
                                               String type,
                                               @PathParam("id")
                                               String id,
                                               Parameters parameters,
                                               @HeaderParam("If-Match")
                                               String ifMatch,
                                               @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED")
                                               boolean onlyIfModified)
      • conditionalPatch

        @Consumes("application/json-patch+json")
        @Produces({"application/fhir+json","application/json"})
        @Path("{type}")
        public javax.ws.rs.core.Response conditionalPatch​(@PathParam("type")
                                                          String type,
                                                          javax.json.JsonArray array,
                                                          @HeaderParam("If-Match")
                                                          String ifMatch,
                                                          @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED")
                                                          boolean onlyIfModified)
      • conditionalPatch

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