gcloud healthcare hl7v2-stores create Stay organized with collections Save and categorize content based on your preferences.
- 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
, run:test-hl7v2-storegcloudhealthcarehl7v2-storescreatetest-hl7v2-store--dataset=test-datasetTo create a HL7v2 store with two Cloud Pub/Sub topics
andtest-pubsub-topic1with correspondingfilters, run:test-pubsub-topic2gcloudhealthcarehl7v2-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 the
projectattribute:- provide the argument
hl7v2_storeon the command line with a fullyspecified name; - provide the argument
--projecton 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_storeattribute:- provide the argument
hl7v2_storeon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--dataset=DATASET- Cloud Healthcare dataset.
To set the
datasetattribute:- provide the argument
hl7v2_storeon the command line with a fullyspecified name; - provide the argument
--dataseton the command line.
- provide the argument
--location=LOCATION- Google Cloud location.
To set the
locationattribute:- provide the argument
hl7v2_storeon the command line with a fullyspecified name; - provide the argument
--locationon the command line; - set the property
healthcare/location.
- provide the argument
- provide the argument
- 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.
- 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_VERSIONmust 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 helpfor details. - API REFERENCE
- This command uses the
healthcare/v1API. The full documentation forthis API can be found at:https://cloud.google.com/healthcare - NOTES
- These variants are also available:
gcloudalphahealthcarehl7v2-storescreategcloudbetahealthcarehl7v2-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.