google_api_health_care v0.11.0 GoogleApi.HealthCare.V1beta1.Model.StreamConfig View Source
This structure contains configuration for streaming FHIR export.
Attributes
bigqueryDestination
(type:GoogleApi.HealthCare.V1beta1.Model.GoogleCloudHealthcareV1beta1FhirBigQueryDestination.t
, default:nil
) - The destination BigQuery structure that contains both the dataset location and corresponding schema config.The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types, e.g. "Patient", "Observation". When there is no existing table for a given resource type, the server attempts to create one.
When a table schema doesn't align with the schema config, either because of existing incompatible schema or out of band incompatible modification, the server does not stream in new data.
One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation.
BigQuery imposes a 1 MB limit on streaming insert row size, therefore any resource mutation that generates more than 1 MB of BigQuery data will not be streamed.
Results are appended to the corresponding BigQuery tables. Different versions of the same resource are distinguishable by the meta.versionId and meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results in the new version is recorded in the meta.tag.
The tables contain all historical resource versions since streaming was enabled. For query convenience, the server also creates one view per table of the same name containing only the current resource version.
If a resource mutation cannot be streamed to BigQuery, errors will be logged to Stackdriver (see Viewing logs).
resourceTypes
(type:list(String.t)
, default:nil
) - Supply a FHIR resource type (such as "Patient" or "Observation"). See https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats an empty list as an intent to stream all the supported resource types in this FHIR store.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.HealthCare.V1beta1.Model.StreamConfig{ bigqueryDestination: GoogleApi.HealthCare.V1beta1.Model.GoogleCloudHealthcareV1beta1FhirBigQueryDestination.t(), resourceTypes: [String.t()] }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.