Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ConditionalDeleteRequest
Deletes a FHIR resource that match an identifier search query. Implements the FHIR standard
conditional delete interaction, limited to searching by resource identifier. If multiple
resources match, 412 Precondition Failed error will be returned. Search term for identifier
should be in the pattern identifier=system|value
or identifier=value
- similar to the
search
method on resources with a specific identifier. Note: Unless resource versioning is
disabled by setting the disable_resource_versioning flag on the FHIR store, the deleted
resource is moved to a history repository that can still be retrieved through vread and
related methods, unless they are removed by the purge method. For samples that show how to
call conditionalDelete
, see Conditionally deleting a FHIR
resource.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1
Assembly: Google.Apis.CloudHealthcare.v1.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()