Class: Redox::Request::PatientSearch
- Inherits:
-
Object
- Object
- Redox::Request::PatientSearch
- Defined in:
- lib/redox/request/patient_search.rb
Constant Summary collapse
- QUERY_ENDPOINT =
'/query'- 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
9 10 11 12 13 14 15 |
# File 'lib/redox/request/patient_search.rb', line 9 def self.query(params, meta: Redox::Models::Meta.new) = QUERY_META.merge() Redox::Models::Model.from_response(RedoxClient.connection.request(endpoint: QUERY_ENDPOINT, body: Redox::Request.build_body( params, ))) end |