Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ConditionalDeleteRequest
Deletes FHIR resources that match a search query. Implements the FHIR standard conditional
delete interaction
(DSTU2,
STU3,
R4). If multiple
resources match, all matching resources are deleted. Search terms are provided as query
parameters following the same pattern as the search method. Not all FHIR resources that
match the search query might be deleted because, by default, a maximum of 100 FHIR resources
can be deleted. The number of FHIR resources that can be deleted depends on the page size of
the returned resources, which you can control using the _count
query parameter. Even when
using _count
, you can delete a maximum 1,000 FHIR resources per each call of
conditionalDelete
. Note: Unless resource versioning is disabled by setting the
disable_resource_versioning flag on the FHIR store, the deleted resources are moved to a
history repository that can still be retrieved through vread and related methods, unless
they are removed by the purge method. This method requires
thehealthcare.fhirStores.searchResources
and healthcare.fhirResources.delete
permissions
on the parent FHIR store. For samples that show how to call conditionalDelete
, see
Conditionally deleting a FHIR
resource.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ConditionalDeleteRequest : CloudHealthcareBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
ConditionalDeleteRequest(IClientService, string, string)
Constructs a new ConditionalDelete request.
Declaration
public ConditionalDeleteRequest(IClientService service, string parent, string type)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent | |
string | type |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The name of the FHIR store this resource belongs to.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Type
Required. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index (DSTU2, STU3, R4).
Declaration
[RequestParameter("type", RequestParameterType.Path)]
public virtual string Type { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes ConditionalDelete parameter list.
Declaration
protected override void InitParameters()