Class FhirDstu2Resource
- java.lang.Object
-
- org.apache.camel.quarkus.component.fhir.it.FhirDstu2Resource
-
@Path("/dstu2") @ApplicationScoped public class FhirDstu2Resource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.CamelContextcontext(package private) javax.enterprise.inject.Instance<ca.uhn.fhir.context.FhirContext>fhirContextInstance(package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description FhirDstu2Resource()
-
Method Summary
-
-
-
Method Detail
-
capabilities
@Path("/capabilities") @GET @Produces("text/plain") public String capabilities(@QueryParam("encodeAs") String encodeAs)
-
createPatientAsStringResource
@Path("/createPatientAsStringResource") @POST @Produces("application/json") public javax.json.JsonObject createPatientAsStringResource(@QueryParam("firstName") String firstName, @QueryParam("lastName") String lastName, @QueryParam("address") String address, @QueryParam("encodeAs") String encodeAs)
-
createPatient
@Path("/createPatient") @POST @Produces("application/json") public javax.json.JsonObject createPatient(@QueryParam("firstName") String firstName, @QueryParam("lastName") String lastName, @QueryParam("address") String address)
-
fhir2json
@Path("/fhir2json") @GET @Produces("application/octet-stream") public javax.ws.rs.core.Response fhir2json(@QueryParam("firstName") String firstName, @QueryParam("lastName") String lastName, @QueryParam("address") String address) throws Exception- Throws:
Exception
-
fhir2xml
@Path("/fhir2xml") @GET @Produces("application/octet-stream") public javax.ws.rs.core.Response fhir2xml(@QueryParam("firstName") String firstName, @QueryParam("lastName") String lastName, @QueryParam("address") String address) throws Exception- Throws:
Exception
-
deletePatientByModel
@Path("/deletePatient/byModel") @DELETE @Produces("text/plain") public String deletePatientByModel(@QueryParam("id") String id)
-
deletePatientById
@Path("/deletePatient/byId") @DELETE @Produces("text/plain") public String deletePatientById(@QueryParam("id") String id)
-
deletePatientByIdPart
@Path("/deletePatient/byIdPart") @DELETE @Produces("text/plain") public String deletePatientByIdPart(@QueryParam("id") String id)
-
deletePatientByUrl
@Path("/deletePatient/byUrl") @DELETE @Produces("text/plain") public String deletePatientByUrl(@QueryParam("cache") boolean noCache)
-
historyOnInstance
@Path("/history/onInstance") @GET @Produces("text/plain") public int historyOnInstance(@QueryParam("id") String id)
-
historyOnServer
@Path("/history/onServer") @GET @Produces("text/plain") public int historyOnServer()
-
historyOnType
@Path("/history/onType") @GET @Produces("text/plain") public int historyOnType()
-
loadPageByUrl
@Path("/load/page/byUrl") @GET @Produces("text/plain") public int loadPageByUrl()
-
loadPageNext
@Path("/load/page/next") @GET @Produces("text/plain") public int loadPageNext()
-
loadPagePrevious
@Path("/load/page/previous") @GET @Produces("text/plain") public int loadPagePrevious(@QueryParam("encodeAsXml") boolean encodeAsXml)
-
metaAdd
@Path("/meta") @POST @Produces("text/plain") public int metaAdd(@QueryParam("id") String id)
-
metaDelete
@Path("/meta") @DELETE @Produces("text/plain") public int metaDelete(@QueryParam("id") String id)
-
metaGetFromResource
@Path("/meta/getFromResource") @GET @Produces("text/plain") public int metaGetFromResource(@QueryParam("id") String id)
-
metaGetFromServer
@Path("/meta/getFromServer") @GET @Produces("text/plain") public int metaGetFromServer()
-
metaGetFromType
@Path("/meta/getFromType") @GET @Produces("text/plain") public int metaGetFromType(@QueryParam("preferResponseType") boolean preferResponseType)
-
operationOnInstance
@Path("/operation/onInstance") @GET @Produces("text/plain") public String operationOnInstance(@QueryParam("id") String id)
-
operationOnInstanceVersion
@Path("/operation/onInstanceVersion") @GET @Produces("text/plain") public String operationOnInstanceVersion(@QueryParam("id") String id)
-
operationOnServer
@Path("/operation/onServer") @GET @Produces("text/plain") public boolean operationOnServer()
-
operationOnType
@Path("/operation/onType") @GET @Produces("text/plain") public String operationOnType()
-
operationProcessMessage
@Path("/operation/processMessage") @GET @Produces("text/plain") public String operationProcessMessage()
-
patchById
@Path("/patch/byId") @PATCH @Produces("text/plain") public String patchById(@QueryParam("id") String id, String patch)
-
patchByStringId
@Path("/patch/byStringId") @PATCH @Produces("text/plain") public String patchByStringId(@QueryParam("id") String id, @QueryParam("preferResponseTypes") boolean preferResponseTypes, String patch)
-
patchByUrl
@Path("/patch/byUrl") @PATCH @Produces("text/plain") public String patchByUrl(@QueryParam("id") String id, String patch) throws UnsupportedEncodingException- Throws:
UnsupportedEncodingException
-
readPatientById
@Path("/readPatient/byId") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientById(@QueryParam("id") String id)
-
readPatientByLongId
@Path("/readPatient/byLongId") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByLongId(@QueryParam("id") String id)
-
readPatientByStringId
@Path("/readPatient/byStringId") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByStringId(@QueryParam("id") String id)
-
readPatientByIdAndStringResource
@Path("/readPatient/byIdAndStringResource") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByIdAndStringResource(@QueryParam("id") String id)
-
readPatientByLongIdAndStringResource
@Path("/readPatient/byLongIdAndStringResource") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByLongIdAndStringResource(@QueryParam("id") String id)
-
readPatientByStringIdAndStringResource
@Path("/readPatient/byStringIdAndStringResource") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByStringIdAndStringResource(@QueryParam("id") String id)
-
readPatientByStringIdAndVersion
@Path("/readPatient/byStringIdAndVersion") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByStringIdAndVersion(@QueryParam("id") String id, @QueryParam("version") String version)
-
readPatientByStringIdAndVersionWithResourceClass
@Path("/readPatient/byStringIdAndVersionWithResourceClass") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByStringIdAndVersionWithResourceClass(@QueryParam("id") String id, @QueryParam("version") String version)
-
readPatientByIUrl
@Path("/readPatient/byIUrl") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByIUrl(@QueryParam("id") String id)
-
readPatientByUrl
@Path("/readPatient/byUrl") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByUrl(@QueryParam("id") String id)
-
readPatientByStringUrlAndStringResource
@Path("/readPatient/byStringUrlAndStringResource") @GET @Produces("application/json") public javax.ws.rs.core.Response readPatientByStringUrlAndStringResource(@QueryParam("id") String id)
-
readByUrlAndStringResource
@Path("/readPatient/byUrlAndStringResource") @GET @Produces("application/json") public javax.ws.rs.core.Response readByUrlAndStringResource(@QueryParam("id") String id, @QueryParam("prettyPrint") boolean prettyPrint)
-
searchByUrl
@Path("/search/byUrl") @GET @Produces("application/json") public javax.ws.rs.core.Response searchByUrl(@QueryParam("id") String id)
-
transactionWithBundle
@Path("/transaction/withBundle") @GET @Produces("text/plain") public String transactionWithBundle()
-
transactionWithStringBundle
@Path("/transaction/withStringBundle") @GET @Produces("text/plain") public String transactionWithStringBundle()
-
transactionWithResources
@Path("/transaction/withResources") @GET @Produces("text/plain") public int transactionWithResources(@QueryParam("summaryEnum") boolean summaryEnum)
-
updateResource
@Path("/update/resource") @POST public void updateResource(@QueryParam("id") String id) throws ParseException- Throws:
ParseException
-
updateResourceWithoutId
@Path("/update/resource/withoutId") @POST public void updateResourceWithoutId(@QueryParam("id") String id) throws ParseException- Throws:
ParseException
-
updateResourceWithStringId
@Path("/update/resource/withStringId") @POST public void updateResourceWithStringId(@QueryParam("id") String id) throws ParseException- Throws:
ParseException
-
updateResourceAsString
@Path("/update/resource/asString") @POST public void updateResourceAsString(@QueryParam("id") String id) throws ParseException- Throws:
ParseException
-
updateResourceAsStringWithStringId
@Path("/update/resource/asStringWithStringId") @POST public void updateResourceAsStringWithStringId(@QueryParam("id") String id) throws ParseException- Throws:
ParseException
-
updateResourceBySearchUrl
@Path("/update/resource/bySearchUrl") @POST @Produces("text/plain") public String updateResourceBySearchUrl(@QueryParam("id") String id) throws Exception- Throws:
Exception
-
updateResourceByUrlAndResourceAsString
@Path("/update/resource/bySearchUrlAndResourceAsString") @POST @Produces("text/plain") public String updateResourceByUrlAndResourceAsString(@QueryParam("id") String id) throws Exception- Throws:
Exception
-
validateResource
@Path("/validate/resource") @GET @Produces("text/plain") public String validateResource()
-
validateResourceAsString
@Path("/validate/resourceAsString") @GET @Produces("text/plain") public String validateResourceAsString()
-
-