Resource: Hl7V2Store
Represents an HL7v2 store.
JSON representation | |
---|---|
{ "name": string, "parserConfig": { object( |
Fields | |
---|---|
name |
Resource name of the HL7v2 store, of the form |
parserConfig |
The configuration for the parser. It determines how the server parses the messages. |
labels |
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of |
notificationConfigs[] |
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. |
rejectDuplicateMessage |
Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the |
ParserConfig
The configuration for the parser. It determines how the server parses the messages.
JSON representation | |
---|---|
{ "allowNullHeader": boolean, "segmentTerminator": string } |
Fields | |
---|---|
allowNullHeader |
Determines whether messages with no header are allowed. |
segmentTerminator |
Byte(s) to use as the segment terminator. If this is unset, '\r' is used as segment terminator. A base64-encoded string. |
Hl7V2NotificationConfig
Specifies where and whether to send notifications upon changes to a data store.
JSON representation | |
---|---|
{ "pubsubTopic": string, "filter": string } |
Fields | |
---|---|
pubsubTopic |
The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. The notification is a
Note that notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. The Cloud Healthcare API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors are logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging). |
filter |
Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings The following fields and functions are available for filtering:
|
Methods |
|
---|---|
|
Creates a new HL7v2 store within the parent dataset. |
|
Deletes the specified HL7v2 store and removes all messages that it contains. |
|
Gets the specified HL7v2 store. |
|
Gets the access control policy for a resource. |
|
Lists the HL7v2 stores in the given dataset. |
|
Updates the HL7v2 store. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |