public class FhirDelete extends Object
| Constructor and Description |
|---|
FhirDelete(ca.uhn.fhir.rest.client.api.IGenericClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.hl7.fhir.instance.model.api.IBaseOperationOutcome |
resource(org.hl7.fhir.instance.model.api.IBaseResource resource,
Map<ExtraParameters,Object> extraParameters)
Deletes the given resource
|
org.hl7.fhir.instance.model.api.IBaseOperationOutcome |
resourceById(org.hl7.fhir.instance.model.api.IIdType id,
Map<ExtraParameters,Object> extraParameters)
* Deletes the given resource by
IIdType |
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
|
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.
|
public org.hl7.fhir.instance.model.api.IBaseOperationOutcome resource(org.hl7.fhir.instance.model.api.IBaseResource resource,
Map<ExtraParameters,Object> extraParameters)
resource - the IBaseResource to deleteextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseOperationOutcomepublic org.hl7.fhir.instance.model.api.IBaseOperationOutcome resourceById(org.hl7.fhir.instance.model.api.IIdType id,
Map<ExtraParameters,Object> extraParameters)
IIdTypeid - the IIdType referencing the resourceextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseOperationOutcomepublic org.hl7.fhir.instance.model.api.IBaseOperationOutcome resourceById(String type, String stringId, Map<ExtraParameters,Object> extraParameters)
type - the resource type e.g "Patient"stringId - it's idextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseOperationOutcomepublic org.hl7.fhir.instance.model.api.IBaseOperationOutcome resourceConditionalByUrl(String url, Map<ExtraParameters,Object> extraParameters)
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 - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseOperationOutcomeApache Camel