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 calledtest-hl7v2-store, run:
gcloudhealthcarehl7v2-storescreatetest-hl7v2-store--dataset=test-dataset

To create a HL7v2 store with two Cloud Pub/Sub topicstest-pubsub-topic1 andtest-pubsub-topic2 with correspondingfilters, run:

gcloudhealthcarehl7v2-storescreatetest-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 argumentsin 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 otherways.

To set theproject attribute:

  • provide the argumenthl7v2_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.

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

To set thehl7v2_store attribute:

  • provide the argumenthl7v2_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 argumenthl7v2_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 argumenthl7v2_store on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertyhealthcare/location.
FLAGS
--notification-config=[filter=FILTER],[pubsub-topic=PUBSUB-TOPIC]
A list of notification configs. Each configuration uses a filter to determinewhether to publish a message (both Ingest & Create) on the correspondingnotification destination. Only the message name is sent as part of thenotification. Supplied by the client.

Seehttps://cloud.google.com/appengine/docs/standard/python/search/query_stringsfor the syntax of the filter.

Note: A topic must be created before publishing or subscribing to it. Forinstructions 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 whenschemais not given, as well as the schematized parser used whenschemais 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 FieldSeparator (MSH-1) field. As a result, the parsed MSH segment starts with theMSH-2 field and the field numbers are off-by-one with respect to the HL7standard.
v2
The parsedData includes every given non-empty message field.
v3
This version is the same as V2, with the following change. The parsedDatacontains unescaped escaped field separators, component separators, sub-componentseparators, repetition separators, escape characters, and truncation characters.Ifschemais specified, the schematized parser uses improved parsing heuristics comparedto 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 thehealthcare/v1 API. The full documentation forthis API can be found at:https://cloud.google.com/healthcare
NOTES
These variants are also available:
gcloudalphahealthcarehl7v2-storescreate
gcloudbetahealthcarehl7v2-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.