MessageArgs

data class MessageArgs(val data: Output<String>? = null, val datasetId: Output<String>? = null, val hl7V2StoreId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val messageType: Output<String>? = null, val name: Output<String>? = null, val patientIds: Output<List<PatientIdArgs>>? = null, val project: Output<String>? = null, val schematizedData: Output<SchematizedDataArgs>? = null, val sendFacility: Output<String>? = null, val sendTime: Output<String>? = null) : ConvertibleToJava<MessageArgs>

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.

Constructors

Link copied to clipboard
fun MessageArgs(data: Output<String>? = null, datasetId: Output<String>? = null, hl7V2StoreId: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, messageType: Output<String>? = null, name: Output<String>? = null, patientIds: Output<List<PatientIdArgs>>? = null, project: Output<String>? = null, schematizedData: Output<SchematizedDataArgs>? = null, sendFacility: Output<String>? = null, sendTime: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MessageArgs

Properties

Link copied to clipboard
val data: Output<String>? = null

Raw message bytes.

Link copied to clipboard
val datasetId: Output<String>? = null
Link copied to clipboard
val hl7V2StoreId: Output<String>? = null
Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val messageType: Output<String>? = null

The message type for this message. MSH-9.1.

Link copied to clipboard
val name: Output<String>? = null

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.

Link copied to clipboard
val patientIds: Output<List<PatientIdArgs>>? = null

All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

The parsed version of the raw message data schematized according to this store's schemas and type definitions.

Link copied to clipboard
val sendFacility: Output<String>? = null

The hospital that this message came from. MSH-4.

Link copied to clipboard
val sendTime: Output<String>? = null

The datetime the sending application sent this message. MSH-7.