Class: Redox::Request::PatientSearch
- Inherits:
-
Object
- Object
- Redox::Request::PatientSearch
- Defined in:
- lib/redox/request/patient_search.rb
Constant Summary collapse
- QUERY_ENDPOINT =
'/query'.freeze
- QUERY_META =
Redox::Models::Meta.new(EventType: 'Query', DataModel: 'PatientSearch')
Class Method Summary collapse
Class Method Details
.query(params, meta: Redox::Models::Meta.new) ⇒ Object
7 8 9 10 |
# File 'lib/redox/request/patient_search.rb', line 7 def self.query(params, meta: Redox::Models::Meta.new) = QUERY_META.merge() return Redox::Models::Model.from_response((RedoxClient.connection.request(endpoint: QUERY_ENDPOINT, body: Redox::Request.build_body(params, )))) end |