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=NOTIFICATION_CONFIG] [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=NOTIFICATION_CONFIG

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

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