Class: ChangeHealthcare::ClientId

Inherits:
BaseApiObject show all
Defined in:
lib/change_healthcare/client_id.rb

Overview

Class Method Summary collapse

Methods inherited from BaseApiObject

configuration, #initialize

Constructor Details

This class inherits a constructor from ChangeHealthcare::BaseApiObject

Class Method Details

.attributesObject



3
4
5
6
7
8
9
10
# File 'lib/change_healthcare/client_id.rb', line 3

def self.attributes
  [
    :caregiver, :caregiver_type, :clientid, :deliver_report, :description,
    :file_delivery_cfg, :first_name, :id_value, :is_active, :is_default, :lab,
    :lab_name, :last_name, :middle_name, :provider, :provider_name, :providercaregiver,
    :sex, :suffix, :upin
  ]
end

.chc_object_nameObject



14
15
16
# File 'lib/change_healthcare/client_id.rb', line 14

def self.chc_object_name
  "clientid"
end

.search_orglab(params = {}) ⇒ Object

cli-cert.emdeon.com/api/cert/clientid.html#search_orglab params = “23402537”, provider: “23402521”, is_active: “Y”



20
21
22
23
# File 'lib/change_healthcare/client_id.rb', line 20

def self.search_orglab(params={})
  resp = call_api(__method__.to_s, params)
  response_to_list(resp)
end