import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. */ export declare class Message extends pulumi.CustomResource { /** * Get an existing Message resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Message; /** * Returns true if the given object is an instance of Message. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Message; /** * The datetime when the message was created. Set by the server. */ readonly createTime: pulumi.Output; /** * Raw message bytes. */ readonly data: pulumi.Output; readonly datasetId: pulumi.Output; readonly hl7V2StoreId: pulumi.Output; /** * 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}{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. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The message type for this message. MSH-9.1. */ readonly messageType: pulumi.Output; /** * Resource name of the Message, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by the server. */ readonly name: pulumi.Output; /** * The parsed version of the raw message data. */ readonly parsedData: pulumi.Output; /** * All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message. */ readonly patientIds: pulumi.Output; readonly project: pulumi.Output; /** * The parsed version of the raw message data schematized according to this store's schemas and type definitions. */ readonly schematizedData: pulumi.Output; /** * The hospital that this message came from. MSH-4. */ readonly sendFacility: pulumi.Output; /** * The datetime the sending application sent this message. MSH-7. */ readonly sendTime: pulumi.Output; /** * Create a Message resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MessageArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Message resource. */ export interface MessageArgs { /** * Raw message bytes. */ data?: pulumi.Input; datasetId: pulumi.Input; hl7V2StoreId: pulumi.Input; /** * 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}{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. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * The message type for this message. MSH-9.1. */ messageType?: pulumi.Input; /** * Resource name of the Message, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by the server. */ name?: pulumi.Input; /** * All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message. */ patientIds?: pulumi.Input[]>; project?: pulumi.Input; /** * The parsed version of the raw message data schematized according to this store's schemas and type definitions. */ schematizedData?: pulumi.Input; /** * The hospital that this message came from. MSH-4. */ sendFacility?: pulumi.Input; /** * The datetime the sending application sent this message. MSH-7. */ sendTime?: pulumi.Input; }