generated/google/apis/healthcare_v1beta1/service.rb
# Lists all the messages in the given HL7v2 store with support for filtering.
# Note: HL7v2 messages are indexed asynchronously, so there might be a slight
# delay between the time a message is created and when it can be found
# through a filter.
# @param [String] parent
#   Name of the HL7v2 store to retrieve messages from.
# @param [String] filter
#   Restricts messages returned to those matching a filter. Syntax:
#   https://cloud.google.com/appengine/docs/standard/python/search/query_strings
#   Fields/functions available for filtering are:
#   *  `message_type`, from the MSH-9 segment; for example
#   `NOT message_type = "ADT"`
#   *  `send_date` or `sendDate`, 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"`
#   *  `HL7RegExp(expr)`, which does regular expression matching of `expr`
#   against the message payload using re2 (http://code.google.com/p/re2/)
#   syntax; for example `HL7RegExp("^.*\|.*\|EMERG")`
#   *  `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 key `x` 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":*`.
#   Limitations on conjunctions:
#   *  Negation on the patient ID function or the labels field is not
#   supported, for example these queries are invalid:
#   `NOT PatientId("123456", "MRN")`, `NOT labels."tag1":*`,
#   `NOT labels."tag2"="val2"`.
#   *  Conjunction of multiple patient ID functions is not supported, for
#   example this query is invalid:
#   `PatientId("123456", "MRN") AND PatientId("456789", "MRN")`.
#   *  Conjunction of multiple labels fields is also not supported, for
#   example this query is invalid: `labels."tag1":* AND labels."tag2"="val2"`.
#   *  Conjunction of one patient ID function, one labels field and conditions
#   on other fields is supported, for example this query is valid:
#   `PatientId("123456", "MRN") AND labels."tag1":* AND message_type = "ADT"`.
# @param [String] order_by
#   Orders messages returned by the specified order_by clause.
#   Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order
#   Fields available for ordering are:
#   *  `send_time`
# @param [Fixnum] page_size
#   Limit on the number of messages to return in a single response.
#   If zero the default page size of 100 is used.
# @param [String] page_token
#   The next_page_token value returned from the previous List request, if any.
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListMessagesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::HealthcareV1beta1::ListMessagesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
Lists all the messages in the given HL7v2 store with support for filtering.
Note: HL7v2 messages are indexed asynchronously, so there might be a slight
delay between the time a message is created and when it can be found
through a filter.
Lists all the messages in the given HL7v2 store with support for filtering . Note : HL7v2 messages are indexed asynchronously so there might be a slight delay between the time a message is created and when it can be found through a filter .
def list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta1/{+parent}/messages', options)
          command.response_representation = Google::Apis::HealthcareV1beta1::ListMessagesResponse::Representation
          command.response_class = Google::Apis::HealthcareV1beta1::ListMessagesResponse
          command.params['parent'] = parent unless parent.nil?
          command.query['filter'] = filter unless filter.nil?
          command.query['orderBy'] = order_by unless order_by.nil?
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def list_project_location_dataset_hl7_v2_store_messages ( parent , filter : nil , order_by : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1beta1/{+parent}/messages' , options ) command . response_representation = Google :: Apis :: HealthcareV1beta1 :: ListMessagesResponse :: Representation command . response_class = Google :: Apis :: HealthcareV1beta1 :: ListMessagesResponse command . params [ 'parent' ] = parent unless parent . nil? command . query [ 'filter' ] = filter unless filter . nil? command . query [ 'orderBy' ] = order_by unless order_by . nil? command . query [ 'pageSize' ] = page_size unless page_size . nil? command . query [ 'pageToken' ] = page_token unless page_token . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Lists all the messages in the given HL7v2 store with support for filtering.
Lists all the messages in the given HL7v2 store with support for filtering .
None
Google::Apis::HealthcareV1beta1::ListMessagesResponse
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
parent
filter
order_by
page_size
page_token
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed