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, searchHelper, 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(java.lang.String type, Parameters parameters, java.lang.String ifMatch, boolean onlyIfModified)
javax.ws.rs.core.Response
conditionalPatch(java.lang.String type, jakarta.json.JsonArray array, java.lang.String ifMatch, boolean onlyIfModified)
javax.ws.rs.core.Response
patch(java.lang.String type, java.lang.String id, Parameters parameters, java.lang.String ifMatch, boolean onlyIfModified)
javax.ws.rs.core.Response
patch(java.lang.String type, java.lang.String id, jakarta.json.JsonArray array, java.lang.String ifMatch, boolean onlyIfModified)
-
Methods inherited from class com.ibm.fhir.server.resources.FHIRResource
addETagAndLastModifiedHeaders, addHeaders, addHeaders, buildAbsoluteUri, buildOperationOutcomeIssue, buildRestException, buildRestException, buildUnsupportedResourceTypeException, checkInitComplete, checkType, exceptionResponse, exceptionResponse, exceptionResponse, exceptionResponse, getPersistenceImpl, getRequestUri, getSearchHelper, 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") java.lang.String type, @PathParam("id") java.lang.String id, jakarta.json.JsonArray array, @HeaderParam("If-Match") java.lang.String ifMatch, @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED") boolean onlyIfModified)
-
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-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") java.lang.String type, jakarta.json.JsonArray array, @HeaderParam("If-Match") java.lang.String ifMatch, @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED") boolean onlyIfModified)
-
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-UPDATE-IF-MODIFIED") boolean onlyIfModified)
-
-