Package com.ibm.fhir.server.resources
Class Patch
- java.lang.Object
-
- com.ibm.fhir.server.resources.FHIRResource
-
- com.ibm.fhir.server.resources.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
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.server.resources.FHIRResource
AUDIT_LOGGING_ERR_MSG, context, fhirConfig, HTTP_DATETIME_FORMATTER, httpServletRequest, securityContext, uriInfo
-
-
Constructor Summary
Constructors Constructor Description Patch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
conditionalPatch(String type, Parameters parameters, String ifMatch, boolean onlyIfModified)
javax.ws.rs.core.Response
conditionalPatch(String type, jakarta.json.JsonArray array, String ifMatch, boolean onlyIfModified)
javax.ws.rs.core.Response
patch(String type, String id, Parameters parameters, String ifMatch, boolean onlyIfModified)
javax.ws.rs.core.Response
patch(String type, String id, jakarta.json.JsonArray array, String ifMatch, boolean onlyIfModified)
-
Methods inherited from class com.ibm.fhir.server.resources.FHIRResource
addHeaders, buildOperationOutcomeIssue, buildRestException, buildRestException, checkInitComplete, exceptionResponse, exceptionResponse, exceptionResponse, exceptionResponse, getAbsoluteUri, getPersistenceImpl, getRequestBaseUri, getRequestUri, isDeleteSupported, isUpdateCreateEnabled, parseIfModifiedSince, toUri
-
-
-
-
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, jakarta.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, jakarta.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)
-
-