[][src]Struct google_healthcare1_beta1::Message

pub struct Message {
    pub parsed_data: Option<ParsedData>,
    pub name: Option<String>,
    pub labels: Option<HashMap<String, String>>,
    pub message_type: Option<String>,
    pub create_time: Option<String>,
    pub patient_ids: Option<Vec<PatientId>>,
    pub data: Option<String>,
    pub send_facility: Option<String>,
    pub send_time: Option<String>,
}

A complete HL7v2 message. See http://www.hl7.org/implement/standards/index.cfm?ref=common for details on the standard.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

parsed_data: Option<ParsedData>

Output only. The parsed version of the raw message data.

name: Option<String>

Resource name of the Message, of the form projects/{project_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}. Assigned by the server.

labels: Option<HashMap<String, String>>

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.

message_type: Option<String>

The message type and trigger event for this message. MSH-9.

create_time: Option<String>

Output only. The datetime when the message was created. Set by the server.

patient_ids: Option<Vec<PatientId>>

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

data: Option<String>

Raw message bytes.

send_facility: Option<String>

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

send_time: Option<String>

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

Trait Implementations

impl ResponseResult for Message[src]

impl RequestValue for Message[src]

impl Default for Message[src]

impl Clone for Message[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Message[src]

impl Serialize for Message[src]

impl<'de> Deserialize<'de> for Message[src]

Auto Trait Implementations

impl Send for Message

impl Unpin for Message

impl Sync for Message

impl UnwindSafe for Message

impl RefUnwindSafe for Message

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]