Class: ChangeHealth::Models::Claim::ClaimInformation

Inherits:
Model
  • Object
show all
Defined in:
lib/change_health/models/claim/submission/claim_information.rb

Instance Method Summary collapse

Methods inherited from Model

#as_json, format_value, hashify, #to_h, #to_json

Instance Method Details

#add_health_care_code_information(health_care_code_information) ⇒ Object



32
33
34
35
# File 'lib/change_health/models/claim/submission/claim_information.rb', line 32

def add_health_care_code_information(health_care_code_information)
  self[:healthCareCodeInformation] ||= []
  self[:healthCareCodeInformation] << health_care_code_information
end

#add_service_line(service_line) ⇒ Object



27
28
29
30
# File 'lib/change_health/models/claim/submission/claim_information.rb', line 27

def add_service_line(service_line)
  self[:serviceLines] ||= []
  self[:serviceLines] << service_line
end