Class Patch
- java.lang.Object
-
- org.linuxforhealth.fhir.server.resources.FHIRResource
-
- org.linuxforhealth.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 org.linuxforhealth.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, jakarta.json.JsonArray array, java.lang.String ifMatch, boolean forceUpdate)
javax.ws.rs.core.Response
conditionalPatch(java.lang.String type, Parameters parameters, java.lang.String ifMatch, boolean forceUpdate)
javax.ws.rs.core.Response
patch(java.lang.String type, java.lang.String id, jakarta.json.JsonArray array, java.lang.String ifMatch, boolean forceUpdate)
javax.ws.rs.core.Response
patch(java.lang.String type, java.lang.String id, Parameters parameters, java.lang.String ifMatch, boolean forceUpdate)
-
Methods inherited from class org.linuxforhealth.fhir.server.resources.FHIRResource
addETagAndLastModifiedHeaders, addHeaders, addHeaders, buildAbsoluteUri, buildOperationOutcomeIssue, buildRestException, buildRestException, buildUnsupportedResourceTypeException, checkInitComplete, checkType, exceptionResponse, exceptionResponse, exceptionResponse, exceptionResponse, getFhirVersion, 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-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)
-
-