Class: ChangeHealthcare::Caregiver

Inherits:
BaseApiObject show all
Defined in:
lib/change_healthcare/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
# File 'lib/change_healthcare/caregiver.rb', line 3

def self.attributes
  [
    :birth_date, :caregiver, :caregiver_type, :caregiverhsi, :dea_number,
    :first_name, :hsi_value, :hsilabel, :is_epcs_enabled, :label_name,
    :last_name, :license_exp_date, :license_number, :license_state, :license_status,
    :license_type, :middle_name, :npi, :organization, :organization_name, :prefix,
    :sex, :ssn, :suffix, :title, :upin,
  ]
end

.chc_object_nameObject



15
16
17
# File 'lib/change_healthcare/caregiver.rb', line 15

def self.chc_object_name
  "caregiver"
end

.put_no_update(params = {}) ⇒ Object

cli-cert.emdeon.com/api/cert/caregiver.html#put_no_update params = “1684638855”, last_name: “TestMDL”, first_name: “TestMDL”, birth_date: “1/1/1959”, caregiver_type: “P” Available Types:

N: Nurse, NP: Nurse Practitioner, OSTEOPA: Osteopathic Physician Assistant
PA: PA , P: Physician, DC: Doctor of Chiropractic


31
32
33
34
# File 'lib/change_healthcare/caregiver.rb', line 31

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

.search(params = {}) ⇒ Object



21
22
23
24
# File 'lib/change_healthcare/caregiver.rb', line 21

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