Class: ChangeHealthcare::Eligibility::SwaggerClient::Loop2110CDSegmentsREFNotesSubscriberDependentAdditionalIdentification

Inherits:
Object
  • Object
show all
Defined in:
lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Loop2110CDSegmentsREFNotesSubscriberDependentAdditionalIdentification

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 221

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.transform_keys(&:to_sym)

  self.agency_claim_number = attributes[:agencyClaimNumber] if attributes.key?(:agencyClaimNumber)

  self.alternative_list_id = attributes[:alternativeListId] if attributes.key?(:alternativeListId)

  self.case_number = attributes[:caseNumber] if attributes.key?(:caseNumber)

  if attributes.key?(:centersForMedicareAndMedicaidServicesNPI)
    self.centers_for_medicare_and_medicaid_services_npi = attributes[:centersForMedicareAndMedicaidServicesNPI]
  end

  self.class_of_contract_code = attributes[:classOfContractCode] if attributes.key?(:classOfContractCode)

  self.contract_number = attributes[:contractNumber] if attributes.key?(:contractNumber)

  self.coverage_list_id = attributes[:coverageListId] if attributes.key?(:coverageListId)

  self.drug_formulary_number = attributes[:drugFormularyNumber] if attributes.key?(:drugFormularyNumber)

  self.electronic_device_pin = attributes[:electronicDevicePin] if attributes.key?(:electronicDevicePin)

  self.eligibility_category = attributes[:eligibilityCategory] if attributes.key?(:eligibilityCategory)

  self.facility_id_number = attributes[:facilityIdNumber] if attributes.key?(:facilityIdNumber)

  if attributes.key?(:facilityNetworkIdentificationNumber)
    self.facility_network_identification_number = attributes[:facilityNetworkIdentificationNumber]
  end

  self.family_unit_number = attributes[:familyUnitNumber] if attributes.key?(:familyUnitNumber)

  if attributes.key?(:federalTaxpayersIdentificationNumber)
    self.federal_taxpayers_identification_number = attributes[:federalTaxpayersIdentificationNumber]
  end

  self.group_number = attributes[:groupNumber] if attributes.key?(:groupNumber)

  self.hic_number = attributes[:hicNumber] if attributes.key?(:hicNumber)

  self.id_card_number = attributes[:idCardNumber] if attributes.key?(:idCardNumber)

  self.id_card_serial_number = attributes[:idCardSerialNumber] if attributes.key?(:idCardSerialNumber)

  self.insurance_policy_number = attributes[:insurancePolicyNumber] if attributes.key?(:insurancePolicyNumber)

  self.issue_number = attributes[:issueNumber] if attributes.key?(:issueNumber)

  self.medicaid_provider_number = attributes[:medicaidProviderNumber] if attributes.key?(:medicaidProviderNumber)

  self.medicaid_recipient_id_number = attributes[:medicaidRecipientIdNumber] if attributes.key?(:medicaidRecipientIdNumber)

  self.medical_assistance_category = attributes[:medicalAssistanceCategory] if attributes.key?(:medicalAssistanceCategory)

  self.medical_record_identification_number = attributes[:medicalRecordIdentificationNumber] if attributes.key?(:medicalRecordIdentificationNumber)

  self.medicare_provider_number = attributes[:medicareProviderNumber] if attributes.key?(:medicareProviderNumber)

  self.member_id = attributes[:memberId] if attributes.key?(:memberId)

  self. = attributes[:patientAccountNumber] if attributes.key?(:patientAccountNumber)

  self.personal_identification_number = attributes[:personalIdentificationNumber] if attributes.key?(:personalIdentificationNumber)

  self.plan_network_id_number = attributes[:planNetworkIdNumber] if attributes.key?(:planNetworkIdNumber)

  self.plan_number = attributes[:planNumber] if attributes.key?(:planNumber)

  self.policy_number = attributes[:policyNumber] if attributes.key?(:policyNumber)

  self.prior_authorization_number = attributes[:priorAuthorizationNumber] if attributes.key?(:priorAuthorizationNumber)

  self.prior_id_number = attributes[:priorIdNumber] if attributes.key?(:priorIdNumber)

  self.referral_number = attributes[:referralNumber] if attributes.key?(:referralNumber)

  self.social_security_number = attributes[:socialSecurityNumber] if attributes.key?(:socialSecurityNumber)

  self.state_license_number = attributes[:stateLicenseNumber] if attributes.key?(:stateLicenseNumber)

  self.submitter_identification_number = attributes[:submitterIdentificationNumber] if attributes.key?(:submitterIdentificationNumber)

  self.user_identification = attributes[:userIdentification] if attributes.key?(:userIdentification)
end

Instance Attribute Details

#agency_claim_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=Y4 agencyClaimNumber



18
19
20
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 18

def agency_claim_number
  @agency_claim_number
end

#alternative_list_idObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=ALS alternativeListId



21
22
23
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 21

def alternative_list_id
  @alternative_list_id
end

#case_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=3H caseNumber



24
25
26
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 24

def case_number
  @case_number
end

#centers_for_medicare_and_medicaid_services_npiObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=HPI centersForMedicareAndMedicaidServicesNPI



27
28
29
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 27

def centers_for_medicare_and_medicaid_services_npi
  @centers_for_medicare_and_medicaid_services_npi
end

#class_of_contract_codeObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=CEE classOfContractCode



30
31
32
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 30

def class_of_contract_code
  @class_of_contract_code
end

#contract_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=CT contractNumber



33
34
35
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 33

def contract_number
  @contract_number
end

#coverage_list_idObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=CLI coverageListId



36
37
38
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 36

def coverage_list_id
  @coverage_list_id
end

#drug_formulary_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=FO drugFormularyNumber



39
40
41
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 39

def drug_formulary_number
  @drug_formulary_number
end

#electronic_device_pinObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=EL electronicDevicePin



42
43
44
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 42

def electronic_device_pin
  @electronic_device_pin
end

#eligibility_categoryObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=MRC medicalAssistanceCategory



45
46
47
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 45

def eligibility_category
  @eligibility_category
end

#facility_id_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=1J facilityIdNumber



48
49
50
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 48

def facility_id_number
  @facility_id_number
end

#facility_network_identification_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=N7 facilityNetworkIdentificationNumber



51
52
53
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 51

def facility_network_identification_number
  @facility_network_identification_number
end

#family_unit_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=46 familyUnitNumber



54
55
56
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 54

def family_unit_number
  @family_unit_number
end

#federal_taxpayers_identification_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=TJ federalTaxpayersIdentificationNumber



57
58
59
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 57

def federal_taxpayers_identification_number
  @federal_taxpayers_identification_number
end

#group_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=6P groupNumber



60
61
62
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 60

def group_number
  @group_number
end

#hic_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=F6 hicNumber



63
64
65
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 63

def hic_number
  @hic_number
end

#id_card_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=HJ idCardNumber



66
67
68
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 66

def id_card_number
  @id_card_number
end

#id_card_serial_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=GH drugFormularyNumber



69
70
71
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 69

def id_card_serial_number
  @id_card_serial_number
end

#insurance_policy_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=IG insurancePolicyNumber



72
73
74
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 72

def insurance_policy_number
  @insurance_policy_number
end

#issue_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=IF issueNumber



75
76
77
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 75

def issue_number
  @issue_number
end

#medicaid_provider_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=1C medicaidProviderNumber



78
79
80
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 78

def medicaid_provider_number
  @medicaid_provider_number
end

#medicaid_recipient_id_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=NQ medicaidRecipientIdNumber



81
82
83
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 81

def medicaid_recipient_id_number
  @medicaid_recipient_id_number
end

#medical_assistance_categoryObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=M7 medicalAssistanceCategory



84
85
86
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 84

def medical_assistance_category
  @medical_assistance_category
end

#medical_record_identification_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=EA medicalRecordIdentificationNumber



87
88
89
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 87

def medical_record_identification_number
  @medical_record_identification_number
end

#medicare_provider_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=1D medicareProviderNumber



90
91
92
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 90

def medicare_provider_number
  @medicare_provider_number
end

#member_idObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=1W memberId



93
94
95
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 93

def member_id
  @member_id
end

#patient_account_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=EJ patientAccountNumber



96
97
98
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 96

def 
  @patient_account_number
end

#personal_identification_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=4A personalIdentificationNumber



99
100
101
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 99

def personal_identification_number
  @personal_identification_number
end

#plan_network_id_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=N6 planNetworkIdNumber



102
103
104
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 102

def plan_network_id_number
  @plan_network_id_number
end

#plan_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=18 planNumber



105
106
107
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 105

def plan_number
  @plan_number
end

#policy_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=1L policyNumber



108
109
110
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 108

def policy_number
  @policy_number
end

#prior_authorization_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=G1 drugFormularyNumber



111
112
113
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 111

def prior_authorization_number
  @prior_authorization_number
end

#prior_id_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=Q4 priorIdNumber



114
115
116
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 114

def prior_id_number
  @prior_id_number
end

#referral_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=9F referralNumber



117
118
119
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 117

def referral_number
  @referral_number
end

#social_security_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=SY socialSecurityNumber



120
121
122
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 120

def social_security_number
  @social_security_number
end

#state_license_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=0B stateLicenseNumber



123
124
125
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 123

def state_license_number
  @state_license_number
end

#submitter_identification_numberObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=EO submitterIdentificationNumber



126
127
128
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 126

def submitter_identification_number
  @submitter_identification_number
end

#user_identificationObject

Loop: 2110, Segments: REF, Element: REF02, Notes: REF01=JD userIdentification



129
130
131
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 129

def user_identification
  @user_identification
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 132

def self.attribute_map
  {
    'agency_claim_number': :agencyClaimNumber,
    'alternative_list_id': :alternativeListId,
    'case_number': :caseNumber,
    'centers_for_medicare_and_medicaid_services_npi': :centersForMedicareAndMedicaidServicesNPI,
    'class_of_contract_code': :classOfContractCode,
    'contract_number': :contractNumber,
    'coverage_list_id': :coverageListId,
    'drug_formulary_number': :drugFormularyNumber,
    'electronic_device_pin': :electronicDevicePin,
    'eligibility_category': :eligibilityCategory,
    'facility_id_number': :facilityIdNumber,
    'facility_network_identification_number': :facilityNetworkIdentificationNumber,
    'family_unit_number': :familyUnitNumber,
    'federal_taxpayers_identification_number': :federalTaxpayersIdentificationNumber,
    'group_number': :groupNumber,
    'hic_number': :hicNumber,
    'id_card_number': :idCardNumber,
    'id_card_serial_number': :idCardSerialNumber,
    'insurance_policy_number': :insurancePolicyNumber,
    'issue_number': :issueNumber,
    'medicaid_provider_number': :medicaidProviderNumber,
    'medicaid_recipient_id_number': :medicaidRecipientIdNumber,
    'medical_assistance_category': :medicalAssistanceCategory,
    'medical_record_identification_number': :medicalRecordIdentificationNumber,
    'medicare_provider_number': :medicareProviderNumber,
    'member_id': :memberId,
    'patient_account_number': :patientAccountNumber,
    'personal_identification_number': :personalIdentificationNumber,
    'plan_network_id_number': :planNetworkIdNumber,
    'plan_number': :planNumber,
    'policy_number': :policyNumber,
    'prior_authorization_number': :priorAuthorizationNumber,
    'prior_id_number': :priorIdNumber,
    'referral_number': :referralNumber,
    'social_security_number': :socialSecurityNumber,
    'state_license_number': :stateLicenseNumber,
    'submitter_identification_number': :submitterIdentificationNumber,
    'user_identification': :userIdentification
  }
end

.swagger_typesObject

Attribute type mapping.



176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 176

def self.swagger_types
  {
    'agency_claim_number': :String,
    'alternative_list_id': :String,
    'case_number': :String,
    'centers_for_medicare_and_medicaid_services_npi': :String,
    'class_of_contract_code': :String,
    'contract_number': :String,
    'coverage_list_id': :String,
    'drug_formulary_number': :String,
    'electronic_device_pin': :String,
    'eligibility_category': :String,
    'facility_id_number': :String,
    'facility_network_identification_number': :String,
    'family_unit_number': :String,
    'federal_taxpayers_identification_number': :String,
    'group_number': :String,
    'hic_number': :String,
    'id_card_number': :String,
    'id_card_serial_number': :String,
    'insurance_policy_number': :String,
    'issue_number': :String,
    'medicaid_provider_number': :String,
    'medicaid_recipient_id_number': :String,
    'medical_assistance_category': :String,
    'medical_record_identification_number': :String,
    'medicare_provider_number': :String,
    'member_id': :String,
    'patient_account_number': :String,
    'personal_identification_number': :String,
    'plan_network_id_number': :String,
    'plan_number': :String,
    'policy_number': :String,
    'prior_authorization_number': :String,
    'prior_id_number': :String,
    'referral_number': :String,
    'social_security_number': :String,
    'state_license_number': :String,
    'submitter_identification_number': :String,
    'user_identification': :String
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 324

def ==(o)
  return true if equal?(o)

  self.class == o.class &&
    agency_claim_number == o.agency_claim_number &&
    alternative_list_id == o.alternative_list_id &&
    case_number == o.case_number &&
    centers_for_medicare_and_medicaid_services_npi == o.centers_for_medicare_and_medicaid_services_npi &&
    class_of_contract_code == o.class_of_contract_code &&
    contract_number == o.contract_number &&
    coverage_list_id == o.coverage_list_id &&
    drug_formulary_number == o.drug_formulary_number &&
    electronic_device_pin == o.electronic_device_pin &&
    eligibility_category == o.eligibility_category &&
    facility_id_number == o.facility_id_number &&
    facility_network_identification_number == o.facility_network_identification_number &&
    family_unit_number == o.family_unit_number &&
    federal_taxpayers_identification_number == o.federal_taxpayers_identification_number &&
    group_number == o.group_number &&
    hic_number == o.hic_number &&
    id_card_number == o.id_card_number &&
    id_card_serial_number == o.id_card_serial_number &&
    insurance_policy_number == o.insurance_policy_number &&
    issue_number == o.issue_number &&
    medicaid_provider_number == o.medicaid_provider_number &&
    medicaid_recipient_id_number == o.medicaid_recipient_id_number &&
    medical_assistance_category == o.medical_assistance_category &&
    medical_record_identification_number == o.medical_record_identification_number &&
    medicare_provider_number == o.medicare_provider_number &&
    member_id == o.member_id &&
     == o. &&
    personal_identification_number == o.personal_identification_number &&
    plan_network_id_number == o.plan_network_id_number &&
    plan_number == o.plan_number &&
    policy_number == o.policy_number &&
    prior_authorization_number == o.prior_authorization_number &&
    prior_id_number == o.prior_id_number &&
    referral_number == o.referral_number &&
    social_security_number == o.social_security_number &&
    state_license_number == o.state_license_number &&
    submitter_identification_number == o.submitter_identification_number &&
    user_identification == o.user_identification
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 405

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = SwaggerClient.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



472
473
474
475
476
477
478
479
480
481
482
483
484
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 472

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 383

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize(Regexp.last_match(1), v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


370
371
372
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 370

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



376
377
378
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 376

def hash
  [agency_claim_number, alternative_list_id, case_number, centers_for_medicare_and_medicaid_services_npi, class_of_contract_code, contract_number, coverage_list_id, drug_formulary_number, electronic_device_pin, eligibility_category, facility_id_number, facility_network_identification_number, family_unit_number, federal_taxpayers_identification_number, group_number, hic_number, id_card_number, id_card_serial_number, insurance_policy_number, issue_number, medicaid_provider_number, medicaid_recipient_id_number, medical_assistance_category, medical_record_identification_number, medicare_provider_number, member_id, , personal_identification_number, plan_network_id_number, plan_number, policy_number, prior_authorization_number, prior_id_number, referral_number, social_security_number, state_license_number, submitter_identification_number, user_identification].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



312
313
314
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 312

def list_invalid_properties
  []
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



451
452
453
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 451

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



457
458
459
460
461
462
463
464
465
466
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 457

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = send(attr)
    next if value.nil?

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



445
446
447
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 445

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



318
319
320
# File 'lib/change_healthcare/eligibility/swagger_client/models/loop_2110_cd_segments_ref_notes_subscriber_dependent_additional_identification.rb', line 318

def valid?
  true
end