Class Operation


  • @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","FHIROperationAdmin"})
    @RequestScoped
    public class Operation
    extends FHIRResource
    • Field Detail

      • httpHeaders

        @Context
        protected javax.ws.rs.core.HttpHeaders httpHeaders
      • securityContext

        @Context
        protected javax.ws.rs.core.SecurityContext securityContext
    • Method Detail

      • invoke

        @GET
        @Path("${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("operationName")
                                                String operationName)
      • invoke

        @POST
        @Path("${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("operationName")
                                                String operationName,
                                                Resource resource)
      • invokeDelete

        @DELETE
        @Path("${operationName}")
        public javax.ws.rs.core.Response invokeDelete​(@PathParam("operationName")
                                                      String operationName)
      • invoke

        @GET
        @Path("{resourceTypeName}/${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("resourceTypeName")
                                                String resourceTypeName,
                                                @PathParam("operationName")
                                                String operationName)
      • invoke

        @POST
        @Path("{resourceTypeName}/${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("resourceTypeName")
                                                String resourceTypeName,
                                                @PathParam("operationName")
                                                String operationName,
                                                Resource resource)
      • invoke

        @GET
        @Path("{resourceTypeName}/{logicalId}/${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("resourceTypeName")
                                                String resourceTypeName,
                                                @PathParam("logicalId")
                                                String logicalId,
                                                @PathParam("operationName")
                                                String operationName)
      • invoke

        @POST
        @Path("{resourceTypeName}/{logicalId}/${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("resourceTypeName")
                                                String resourceTypeName,
                                                @PathParam("logicalId")
                                                String logicalId,
                                                @PathParam("operationName")
                                                String operationName,
                                                Resource resource)
      • invoke

        @GET
        @Path("{resourceTypeName}/{logicalId}/_history/{versionId}/${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("resourceTypeName")
                                                String resourceTypeName,
                                                @PathParam("logicalId")
                                                String logicalId,
                                                @PathParam("versionId")
                                                String versionId,
                                                @PathParam("operationName")
                                                String operationName)
      • invoke

        @POST
        @Path("{resourceTypeName}/{logicalId}/_history/{versionId}/${operationName}")
        public javax.ws.rs.core.Response invoke​(@PathParam("resourceTypeName")
                                                String resourceTypeName,
                                                @PathParam("logicalId")
                                                String logicalId,
                                                @PathParam("versionId")
                                                String versionId,
                                                @PathParam("operationName")
                                                String operationName,
                                                Resource resource)