Package com.ibm.fhir.server.resources
Class Search
- java.lang.Object
-
- com.ibm.fhir.server.resources.FHIRResource
-
- com.ibm.fhir.server.resources.Search
-
@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 Search 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 Search()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
_search(String type)
javax.ws.rs.core.Response
search(String type)
javax.ws.rs.core.Response
searchAllGet()
javax.ws.rs.core.Response
searchAllPost()
javax.ws.rs.core.Response
searchCompartment(String compartment, String compartmentId, String type)
-
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
-
search
@GET @Path("{type}") public javax.ws.rs.core.Response search(@PathParam("type") String type)
-
searchCompartment
@GET @Path("{compartment}/{compartmentId}/{type}") public javax.ws.rs.core.Response searchCompartment(@PathParam("compartment") String compartment, @PathParam("compartmentId") String compartmentId, @PathParam("type") String type)
-
_search
@POST @Consumes("application/x-www-form-urlencoded") @Path("{type}/_search") public javax.ws.rs.core.Response _search(@PathParam("type") String type)
-
searchAllGet
@GET @Path("/") public javax.ws.rs.core.Response searchAllGet()
-
searchAllPost
@POST @Consumes("application/x-www-form-urlencoded") @Path("_search") public javax.ws.rs.core.Response searchAllPost()
-
-