gcloud alpha healthcare hl7v2-stores create

NAME
gcloud alpha healthcare hl7v2-stores create - create a Cloud Healthcare API HL7v2 store
SYNOPSIS
gcloud alpha healthcare hl7v2-stores create (HL7V2_STORE : --dataset=DATASET --location=LOCATION) [--parser-version=PARSER_VERSION] [--pubsub-topic=PUBSUB_TOPIC] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create a Cloud Healthcare API HL7v2 store.
EXAMPLES
To create a HL7v2 store called 'test-hl7v2-store', run:
gcloud alpha healthcare hl7v2-stores create test-hl7v2-store --dataset=test-dataset

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

gcloud alpha healthcare hl7v2-stores create test-hl7v2-store --dataset=test-dataset --pubsub-topic=projects/my-project/topics/test-pubsub-topic
POSITIONAL ARGUMENTS
Hl7v2Store resource - Cloud Healthcare API HL7v2 store to create. 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 hl7v2_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.

HL7V2_STORE
ID of the hl7v2Store or fully qualified identifier for the hl7v2Store.

To set the hl7v2_store attribute:

  • provide the argument hl7v2_store on the command line.

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

--dataset=DATASET
Cloud Healthcare dataset.

To set the dataset attribute:

  • provide the argument hl7v2_store on the command line with a fully specified name;
  • provide the argument --dataset on the command line.
--location=LOCATION
Google Cloud location.

To set the location attribute:

  • provide the argument hl7v2_store on the command line with a fully specified name;
  • provide the argument --location on the command line;
  • set the property healthcare/location.
FLAGS
--parser-version=PARSER_VERSION
Immutable. Determines the version of both the default parser to be used when schema is not given, as well as the schematized parser used when schema is specified. This field is immutable after HL7v2 store creation. PARSER_VERSION must be one of:
v1
The parsedData includes every given non-empty message field except the Field Separator (MSH-1) field. As a result, the parsed MSH segment starts with the MSH-2 field and the field numbers are off-by-one with respect to the HL7 standard.
v2
The parsedData includes every given non-empty message field.
v3
This version is the same as V2, with the following change. The parsedData contains unescaped escaped field separators, component separators, sub-component separators, repetition separators, escape characters, and truncation characters. If schema is specified, the schematized parser uses improved parsing heuristics compared to previous versions.
--pubsub-topic=PUBSUB_TOPIC
A Google Cloud Pub/Sub topic name for notifications.

Note: A topic must be created before publishing or subscribing to it. For instructions on creating topics, refer to: https://cloud.google.com/pubsub/docs/admin#create_a_topic

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 the healthcare/v1alpha2 API. The full documentation 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 this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud healthcare hl7v2-stores create
gcloud beta healthcare hl7v2-stores create