Class: ChangeHealthcare::HsiLabel

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

def self.attributes
  [
    :description, :hsilabel, :is_hsi_for, :label_name, :object_type,
    :organization, :registration
  ]
end

.chc_object_nameObject



12
13
14
# File 'lib/change_healthcare/hsi_label.rb', line 12

def self.chc_object_name
  "hsilabel"
end

.search(params = {}) ⇒ Object

cli-cert.emdeon.com/api/cert/hsilabel.html#search params = “PATIENT”, registration: “Y”



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

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