GoogleApi.HealthCare.V1beta1.Api.Projects.healthcare_projects_locations_datasets_fhir_stores_fhir_conditional_delete

You're seeing just the function healthcare_projects_locations_datasets_fhir_stores_fhir_conditional_delete, go back to GoogleApi.HealthCare.V1beta1.Api.Projects module for more information.
Link to this function

healthcare_projects_locations_datasets_fhir_stores_fhir_conditional_delete(connection, projects_id, locations_id, datasets_id, fhir_stores_id, fhir_id, optional_params \\ [], opts \\ [])

View Source

Specs

healthcare_projects_locations_datasets_fhir_stores_fhir_conditional_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.HealthCare.V1beta1.Model.Empty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

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. 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.

Parameters

  • connection (type: GoogleApi.HealthCare.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. The name of the FHIR store this resource belongs to.
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • datasets_id (type: String.t) - Part of parent. See documentation of projectsId.
  • fhir_stores_id (type: String.t) - Part of parent. See documentation of projectsId.
  • fhir_id (type: String.t) - Part of type. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index (DSTU2, STU3, R4).
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.HealthCare.V1beta1.Model.Empty{}} on success
  • {:error, info} on failure