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
    • Constructor Detail

      • Patch

        public Patch()
              throws java.lang.Exception
        Throws:
        java.lang.Exception
    • 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")
                                               java.lang.String type,
                                               @PathParam("id")
                                               java.lang.String id,
                                               jakarta.json.JsonArray array,
                                               @HeaderParam("If-Match")
                                               java.lang.String ifMatch,
                                               @HeaderParam("X-FHIR-FORCE-UPDATE")
                                               boolean forceUpdate)
      • patch

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

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

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