Class: ChangeHealthcare::Pharmacy
- Inherits:
-
BaseApiObject
- Object
- BaseApiObject
- ChangeHealthcare::Pharmacy
- Defined in:
- lib/change_healthcare/pharmacy.rb
Overview
Class Method Summary collapse
- .attributes ⇒ Object
- .chc_object_name ⇒ Object
- .get(params = {}) ⇒ Object
-
.search(params = {}) ⇒ Object
cli-cert.emdeon.com/api/cert/pharmacy.html#search params = { address_1: “811 Pendleton St, Suite 10” }.
Methods inherited from BaseApiObject
Constructor Details
This class inherits a constructor from ChangeHealthcare::BaseApiObject
Class Method Details
.attributes ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/change_healthcare/pharmacy.rb', line 3 def self.attributes [ :address_1, :address_2, :city, :email, :fax, :is_active, :is_electronic, :is_epcs_capable, :name, :npi, :pharmacy_id, :pharmacy_type, :phone, :ppi_level3_id, :script_version, :service_levels, :state, :supports_newrx, :supports_refreq, :supports_rxcancel, :supports_rxchange, :supports_rxfill, :zip ] end |
.chc_object_name ⇒ Object
15 16 17 |
# File 'lib/change_healthcare/pharmacy.rb', line 15 def self.chc_object_name "pharmacy" end |
.get(params = {}) ⇒ Object
19 20 21 22 |
# File 'lib/change_healthcare/pharmacy.rb', line 19 def self.get(params={}) resp = call_api(__method__.to_s, params, false) response_to_list(resp) end |
.search(params = {}) ⇒ Object
cli-cert.emdeon.com/api/cert/pharmacy.html#search params = { address_1: “811 Pendleton St, Suite 10” }
26 27 28 29 |
# File 'lib/change_healthcare/pharmacy.rb', line 26 def self.search(params={}) resp = call_api(__method__.to_s, params, false) response_to_list(resp) end |