GoogleApi.HealthCare.V1.Api.Projects.healthcare_projects_locations_datasets_fhir_stores_fhir_execute_bundle
healthcare_projects_locations_datasets_fhir_stores_fhir_execute_bundle
, go back to GoogleApi.HealthCare.V1.Api.Projects module for more information.
healthcare_projects_locations_datasets_fhir_stores_fhir_execute_bundle(connection, projects_id, locations_id, datasets_id, fhir_stores_id, optional_params \\ [], opts \\ [])
View SourceSpecs
healthcare_projects_locations_datasets_fhir_stores_fhir_execute_bundle( Tesla.Env.client(), 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()}
Executes all the requests in the given Bundle. Implements the FHIR standard batch/transaction interaction (DSTU2, STU3, R4). Supports all interactions within a bundle, except search. This method accepts Bundles of type batch
and transaction
, processing them according to the batch processing rules (DSTU2, STU3, R4) and transaction processing rules (DSTU2, STU3, R4). The request body must contain a JSON-encoded FHIR Bundle
resource, and the request headers must contain Content-Type: application/fhir+json
. For a batch bundle or a successful transaction the response body will contain a JSON-encoded representation of a Bundle
resource of type batch-response
or transaction-response
containing one entry for each entry in the request, with the outcome of processing the entry. In the case of an error for a transaction bundle, the response body will 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 executeBundle
, see Managing FHIR resources using FHIR bundles.
Parameters
-
connection
(type:GoogleApi.HealthCare.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Name of the FHIR store in which this bundle will be executed. -
locations_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
datasets_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
fhir_stores_id
(type:String.t
) - Part ofparent
. 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