gcloud alpha healthcare fhir-stores export bq

NAME
gcloud alpha healthcare fhir-stores export bq - export Cloud Healthcare API FHIR resources to BigQuery
SYNOPSIS
gcloud alpha healthcare fhir-stores export bq (FHIR_STORE : --dataset=DATASET --location=LOCATION) --bq-dataset=BQ_DATASET [--async] [--recursive-depth=RECURSIVE_DEPTH] [--schema-type=SCHEMA_TYPE] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Export Cloud Healthcare API FHIR resources to BigQuery.
POSITIONAL ARGUMENTS
FhirStore resource - Cloud Healthcare API FHIR store to export resources from. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [fhir_store] on the command line with a fully specified name; provide the argument [--project] on the command line; set the property [core/project]. This must be specified.
FHIR_STORE
ID of the fhirStore or fully qualified identifier for the fhirStore. This positional must be specified if any of the other arguments in this group are specified.
--dataset=DATASET
Cloud Healthcare dataset.
--location=LOCATION
Google Cloud location.
REQUIRED FLAGS
--bq-dataset=BQ_DATASET
BigQuery dataset that houses the BigQuery tables.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--recursive-depth=RECURSIVE_DEPTH
The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default value 2.
--schema-type=SCHEMA_TYPE
Specifies the output schema type. If unspecified, the default is LOSSLESS. SCHEMA_TYPE must be one of:
analytics
Analytics schema defined by the FHIR community. See https://github.com/rbrush/sql-on-fhir/blob/master/sql-on-fhir.md.
lossless
Schema generated from original FHIR data.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

API REFERENCE
This command uses the healthcare/v1alpha2 API. The full documentation for this API can be found at: https://cloud.google.com/healthcare
EXAMPLES
To export the fhir-store 'test-fhir-store' to the BigQuery dataset 'bqdataset', run:
  $ gcloud alpha healthcare fhir-stores export bq test-fhir-store \
      --bq-dataset=bq://my-project.bqdataset --dataset=test-dataset

To perform the same export, but with the 'ANALYTICS' schema and the recursive structure depth of 3, run:

  $ gcloud alpha healthcare fhir-stores export bq test-fhir-store \
      --bq-dataset=bq://my-project.bqdataset --dataset=test-dataset \
      --schema-type=analytics --recursive-depth=3
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist. These variants are also available:
  $ gcloud healthcare fhir-stores export bq
  $ gcloud beta healthcare fhir-stores export bq