Class FhirDelete
- java.lang.Object
-
- org.apache.camel.component.fhir.api.FhirDelete
-
public class FhirDelete extends Object
API for the "delete" operation, which performs a logical delete on a server resource.
-
-
Constructor Summary
Constructors Constructor Description FhirDelete(ca.uhn.fhir.rest.client.api.IGenericClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hl7.fhir.instance.model.api.IBaseOperationOutcomeresource(org.hl7.fhir.instance.model.api.IBaseResource resource, Map<ExtraParameters,Object> extraParameters)Deletes the given resourceorg.hl7.fhir.instance.model.api.IBaseOperationOutcomeresourceById(String type, String stringId, Map<ExtraParameters,Object> extraParameters)Deletes the resource by resource type e.g "Patient" and it's idorg.hl7.fhir.instance.model.api.IBaseOperationOutcomeresourceById(org.hl7.fhir.instance.model.api.IIdType id, Map<ExtraParameters,Object> extraParameters)* Deletes the given resource byIIdTypeorg.hl7.fhir.instance.model.api.IBaseOperationOutcomeresourceConditionalByUrl(String url, Map<ExtraParameters,Object> extraParameters)Specifies that the delete should be performed as a conditional delete against a given search URL.
-
-
-
Method Detail
-
resource
public org.hl7.fhir.instance.model.api.IBaseOperationOutcome resource(org.hl7.fhir.instance.model.api.IBaseResource resource, Map<ExtraParameters,Object> extraParameters)Deletes the given resource- Parameters:
resource- theIBaseResourceto deleteextraParameters- seeExtraParametersfor a full list of parameters that can be passed, may be NULL- Returns:
- the
IBaseOperationOutcome
-
resourceById
public org.hl7.fhir.instance.model.api.IBaseOperationOutcome resourceById(org.hl7.fhir.instance.model.api.IIdType id, Map<ExtraParameters,Object> extraParameters)* Deletes the given resource byIIdType- Parameters:
id- theIIdTypereferencing the resourceextraParameters- seeExtraParametersfor a full list of parameters that can be passed, may be NULL- Returns:
- the
IBaseOperationOutcome
-
resourceById
public org.hl7.fhir.instance.model.api.IBaseOperationOutcome resourceById(String type, String stringId, Map<ExtraParameters,Object> extraParameters)
Deletes the resource by resource type e.g "Patient" and it's id- Parameters:
type- the resource type e.g "Patient"stringId- it's idextraParameters- seeExtraParametersfor a full list of parameters that can be passed, may be NULL- Returns:
- the
IBaseOperationOutcome
-
resourceConditionalByUrl
public org.hl7.fhir.instance.model.api.IBaseOperationOutcome resourceConditionalByUrl(String url, Map<ExtraParameters,Object> extraParameters)
Specifies that the delete should be performed as a conditional delete against a given search URL.- Parameters:
url- The search URL to use. The format of this URL should be of the form[ResourceType]?[Parameters], for example:Patient?name=Smith&identifier=13.2.4.11.4%7C847366extraParameters- seeExtraParametersfor a full list of parameters that can be passed, may be NULL- Returns:
- the
IBaseOperationOutcome
-
-