Class: ChangeHealthcare::ProviderCaregiver

Inherits:
BaseApiObject show all
Defined in:
lib/change_healthcare/provider_caregiver.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
11
12
13
14
15
# File 'lib/change_healthcare/provider_caregiver.rb', line 3

def self.attributes
  [
    :appuser, :reference, :caregiver, :caregiver_type,
    :cg_birth_date, :cg_dea_number, :cg_first_name,
    :cg_is_epcs_enabled, :cg_last_name, :cg_middle_name,
    :cg_npi, :cg_patmsg_id, :cg_prefix, :cg_sex,:cg_ssn,
    :cg_suffix, :cg_type, :cg_upin, :dea_number, :enable_epcs,
    :enable_refill, :is_active, :is_erx_registered, :organization,
    :provider, :provider_address_1, :provider_city, :provider_fed_tax_id,
    :provider_name, :provider_npi, :provider_state, :provider_type,
    :provider_zip, :providercaregiver, :toggle_epcs_for_approval, :update
  ]
end

.chc_object_nameObject



18
19
20
# File 'lib/change_healthcare/provider_caregiver.rb', line 18

def self.chc_object_name
  "providercaregiver"
end

.put_no_update(params = {}) ⇒ Object

cli-cert.emdeon.com/api/cert/providercaregiver.html#put_no_update params = “3004219964”, provider: #{facility}



29
30
31
32
# File 'lib/change_healthcare/provider_caregiver.rb', line 29

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

.search_provcg_and_cgprefObject



22
23
24
25
# File 'lib/change_healthcare/provider_caregiver.rb', line 22

def self.search_provcg_and_cgpref
  resp = call_api(__method__.to_s)
  response_to_list(resp)
end