gcloud alpha healthcare fhir-stores create

NAME
gcloud alpha healthcare fhir-stores create - create a Cloud Healthcare API FHIR store
SYNOPSIS
gcloud alpha healthcare fhir-stores create(FHIR_STORE :--dataset=DATASET--location=LOCATION)[--disable-referential-integrity][--disable-resource-versioning][--enable-history-modifications][--enable-update-create][--pubsub-topic=PUBSUB_TOPIC][--version=VERSION][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Creates a Cloud Healthcare API FHIR store.
EXAMPLES
To create a FHIR store called 'test-fhir-store', run:
gcloudalphahealthcarefhir-storescreatetest-fhir-store--dataset=test-dataset--version=r4

To create a fhir store with the Cloud Pub/Sub topic 'test-pubsub-topic', run:

gcloudalphahealthcarefhir-storescreatetest-fhir-store--dataset=test-dataset--version=r4--pubsub-topic=projects/my-project/topics/test-pubsub-topic
POSITIONAL ARGUMENTS
FhirStore resource - Cloud Healthcare API FHIR store to create. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentfhir_store on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

FHIR_STORE
ID of the fhirStore or fully qualified identifier for the fhirStore.

To set thefhir_store attribute:

  • provide the argumentfhir_store on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--dataset=DATASET
Cloud Healthcare dataset.

To set thedataset attribute:

  • provide the argumentfhir_store on the command line with a fullyspecified name;
  • provide the argument--dataset on the command line.
--location=LOCATION
Google Cloud location.

To set thelocation attribute:

  • provide the argumentfhir_store on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertyhealthcare/location.
FLAGS
--disable-referential-integrity
Whether to disable referential integrity in this FHIR store. Default value isfalse, meaning that the API will enforce referential integrity and fail therequests that will result in inconsistent state in the FHIR store. When thisfield is set to true, the API will skip referential integrity check. This fieldis immutable after store creation.
--disable-resource-versioning
Whether to disable resource versioning for this FHIR store. If set to false,which is the default behavior, all write operations will cause historicalversions to be recorded automatically. Historical versions can be fetchedthrough the history APIs, but cannot be updated. This field is immutable afterstore creation.
--enable-history-modifications
Whether this FHIR store has history modifications enabled. Enabling historymodifications is required to use FHIR history bundles with theexecuteBundleandimportHistoryAPIs.
--enable-update-create
Whether this FHIR store has the [updateCreate](https://www.hl7.org/fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.updateCreate)capability. Determines if the client can use an Update operation to create a newresource with a client-specified ID. If false, all IDs are server-assignedthrough the Create operation and attempts to Update a non-existent resource willreturn errors.
--pubsub-topic=PUBSUB_TOPIC
Google Cloud Pub/Sub topic to send updates to.

Note, a topic needs to be created before publishing or subscribing to it. Forinstructions on creating topics, refer to:https://cloud.google.com/pubsub/docs/admin#create_a_topic

--version=VERSION
The FHIR specification version that this FHIR store supports natively. Thisfield is immutable after store creation. Requests are rejected if they containFHIR resources of a different version. An empty value is treated as STU3.VERSION must be one of:
dstu2
Draft Standard for Trial Use,Release2
r4
Release 4
stu3
Standard for Trial Use,Release 3
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--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 thehealthcare/v1alpha2 API. The fulldocumentation for this API can be found at:https://cloud.google.com/healthcare
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudhealthcarefhir-storescreate
gcloudbetahealthcarefhir-storescreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.