gcloud healthcare hl7v2-stores create

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

To create a HL7v2 store with two Cloud Pub/Sub topics test-pubsub-topic1 and test-pubsub-topic2 with corresponding filters, run:

gcloud healthcare hl7v2-stores create test-hl7v2-store --dataset=test-dataset --notification-config=pubsub-topic=projects/my-project/topics/test-pubsub-topic1,filter="labels.priority=high" --notification-config=pubsub-topic=projects/my-project/topics/test-pubsub-topic2,filter=PatientId("123456", "MRN")
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
--notification-config=[filter=FILTER],[pubsub-topic=PUBSUB-TOPIC]
A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client.

See https://cloud.google.com/appengine/docs/standard/python/search/query_strings for the syntax of the filter.

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

--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.
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/v1 API. The full documentation for this API can be found at: https://cloud.google.com/healthcare
NOTES
These variants are also available:
gcloud alpha healthcare hl7v2-stores create
gcloud beta healthcare hl7v2-stores create