[−][src]Struct google_healthcare1_beta1::Hl7V2NotificationConfig
Specifies where and whether to send notifications upon changes to a data store.
This type is not used in any activity, and only used as part of another schema.
Fields
filter: Option<String>
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:
message_type
, from the MSH-9.1 field. For example,NOT message_type = "ADT"
.send_date
orsendDate
, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example,send_date < "2017-01-02"
.send_time
, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example,send_time < "2017-01-02T00:00:00-05:00"
.send_facility
, the care center that the message came from, from the MSH-4 segment. For example,send_facility = "ABC"
.PatientId(value, type)
, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example,PatientId("123456", "MRN")
.labels.x
, a string value of the label with keyx
as set using the Message.labels map. For example,labels."priority"="high"
. The operator:*
can be used to assert the existence of a label. For example,labels."priority":*
.
pubsub_topic: Option<String>
The Cloud Pub/Sub topic that
notifications of changes are published on. Supplied by the client. The
notification is a PubsubMessage
with the following fields:
PubsubMessage.Data
contains the resource name.PubsubMessage.MessageId
is the ID of this notification. It is guaranteed to be unique within the topic.PubsubMessage.PublishTime
is the time when the message was published.
Note that notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. Cloud Healthcare API service account 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 can't be published to Cloud Pub/Sub, errors are logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging.
Trait Implementations
impl Clone for Hl7V2NotificationConfig
[src]
fn clone(&self) -> Hl7V2NotificationConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Hl7V2NotificationConfig
[src]
impl Default for Hl7V2NotificationConfig
[src]
fn default() -> Hl7V2NotificationConfig
[src]
impl<'de> Deserialize<'de> for Hl7V2NotificationConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for Hl7V2NotificationConfig
[src]
impl Serialize for Hl7V2NotificationConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for Hl7V2NotificationConfig
impl Send for Hl7V2NotificationConfig
impl Sync for Hl7V2NotificationConfig
impl Unpin for Hl7V2NotificationConfig
impl UnwindSafe for Hl7V2NotificationConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,