GoogleApi.HealthCare.V1.Api.Projects.healthcare_projects_locations_datasets_fhir_stores_fhir_update
healthcare_projects_locations_datasets_fhir_stores_fhir_update
, go back to GoogleApi.HealthCare.V1.Api.Projects module for more information.
healthcare_projects_locations_datasets_fhir_stores_fhir_update(connection, projects_id, locations_id, datasets_id, fhir_stores_id, fhir_id, fhir_id1, optional_params \\ [], opts \\ [])
View SourceSpecs
healthcare_projects_locations_datasets_fhir_stores_fhir_update( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.HealthCare.V1.Model.HttpBody.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates the entire contents of a resource. Implements the FHIR standard update interaction (DSTU2, STU3, R4). If the specified resource does not exist and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain Content-Type: application/fhir+json
. The resource must contain an id
element having an identical value to the ID in the REST path of the request. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome
resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call update
, see Updating a FHIR resource.
Parameters
-
connection
(type:GoogleApi.HealthCare.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of the resource to update. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
datasets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
fhir_stores_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
fhir_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
fhir_id1
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
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"). -
:body
(type:GoogleApi.HealthCare.V1.Model.HttpBody.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.HealthCare.V1.Model.HttpBody{}}
on success -
{:error, info}
on failure