vericred_client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -20
- data/docs/Applicant.md +2 -2
- data/docs/{InlineResponse2001.md → Base.md} +2 -2
- data/docs/Carrier.md +1 -1
- data/docs/County.md +3 -3
- data/docs/CountyBulk.md +10 -0
- data/docs/Drug.md +2 -1
- data/docs/DrugCoverage.md +4 -4
- data/docs/DrugCoverageResponse.md +9 -0
- data/docs/DrugPackage.md +9 -0
- data/docs/DrugSearchResponse.md +9 -0
- data/docs/DrugsApi.md +59 -0
- data/docs/Meta.md +8 -0
- data/docs/Plan.md +22 -6
- data/docs/PlanCounty.md +1 -1
- data/docs/PlanCountyBulk.md +10 -0
- data/docs/PlanFindResponse.md +9 -0
- data/docs/PlanSearchResult.md +26 -8
- data/docs/PlansApi.md +11 -11
- data/docs/Pricing.md +7 -1
- data/docs/Provider.md +9 -6
- data/docs/ProviderResponse.md +10 -0
- data/docs/ProvidersApi.md +19 -21
- data/docs/RatingArea.md +2 -2
- data/docs/RequestPlanFind.md +15 -0
- data/docs/State.md +4 -4
- data/docs/ZipCountiesApi.md +7 -8
- data/docs/ZipCountyBulk.md +11 -0
- data/docs/ZipCountyResponse.md +10 -0
- data/lib/vericred_client.rb +14 -6
- data/lib/vericred_client/api/{drug_coverage_api.rb → drugs_api.rb} +25 -19
- data/lib/vericred_client/api/plans_api.rb +14 -16
- data/lib/vericred_client/api/providers_api.rb +29 -29
- data/lib/vericred_client/api/zip_counties_api.rb +12 -12
- data/lib/vericred_client/api_client.rb +1 -1
- data/lib/vericred_client/api_error.rb +1 -1
- data/lib/vericred_client/models/applicant.rb +14 -12
- data/lib/vericred_client/models/{inline_response_200_1.rb → base.rb} +10 -9
- data/lib/vericred_client/models/carrier.rb +15 -15
- data/lib/vericred_client/models/carrier_subsidiary.rb +1 -1
- data/lib/vericred_client/models/county.rb +18 -14
- data/lib/vericred_client/models/county_bulk.rb +318 -0
- data/lib/vericred_client/models/drug.rb +27 -15
- data/lib/vericred_client/models/drug_coverage.rb +38 -32
- data/lib/vericred_client/models/drug_coverage_response.rb +310 -0
- data/lib/vericred_client/models/drug_package.rb +308 -0
- data/lib/vericred_client/models/drug_search_response.rb +310 -0
- data/lib/vericred_client/models/meta.rb +298 -0
- data/lib/vericred_client/models/plan.rb +196 -22
- data/lib/vericred_client/models/plan_county.rb +15 -15
- data/lib/vericred_client/models/plan_county_bulk.rb +318 -0
- data/lib/vericred_client/models/{inline_response_200.rb → plan_find_response.rb} +13 -11
- data/lib/vericred_client/models/plan_search_result.rb +236 -42
- data/lib/vericred_client/models/pricing.rb +63 -3
- data/lib/vericred_client/models/provider.rb +51 -9
- data/lib/vericred_client/models/provider_response.rb +322 -0
- data/lib/vericred_client/models/rating_area.rb +5 -5
- data/lib/vericred_client/models/{query.rb → request_plan_find.rb} +14 -6
- data/lib/vericred_client/models/state.rb +29 -25
- data/lib/vericred_client/models/zip_code.rb +1 -1
- data/lib/vericred_client/models/zip_county.rb +1 -1
- data/lib/vericred_client/models/zip_county_bulk.rb +328 -0
- data/lib/vericred_client/models/{inline_response_200_2.rb → zip_county_response.rb} +20 -17
- data/lib/vericred_client/version.rb +2 -2
- data/spec/api/{drug_coverage_api_spec.rb → drugs_api_spec.rb} +14 -17
- data/spec/api/plans_api_spec.rb +7 -69
- data/spec/api/providers_api_spec.rb +12 -28
- data/spec/api/zip_counties_api_spec.rb +6 -13
- metadata +31 -15
- data/docs/DrugCoverageApi.md +0 -54
- data/docs/InlineResponse200.md +0 -9
- data/docs/InlineResponse2002.md +0 -10
- data/docs/Query.md +0 -15
@@ -116,7 +116,7 @@ The response would be
|
|
116
116
|
|
117
117
|
|
118
118
|
|
119
|
-
OpenAPI spec version:
|
119
|
+
OpenAPI spec version: 1.0.0
|
120
120
|
|
121
121
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
122
122
|
|
@@ -145,24 +145,33 @@ module VericredClient
|
|
145
145
|
# Does the plan provide dental coverage for children?
|
146
146
|
attr_accessor :child_dental
|
147
147
|
|
148
|
+
# Child eye exam benefits summary
|
149
|
+
attr_accessor :child_eye_exam
|
150
|
+
|
148
151
|
# Child eyewear benefits summary
|
149
152
|
attr_accessor :child_eyewear
|
150
153
|
|
151
154
|
# Phone number to contact the insurance carrier
|
152
155
|
attr_accessor :customer_service_phone_number
|
153
156
|
|
154
|
-
# Benefits summary for durable medical equipment
|
155
|
-
attr_accessor :durable_medical_equipment
|
156
|
-
|
157
157
|
# Diagnostic tests benefit summary
|
158
158
|
attr_accessor :diagnostic_test
|
159
159
|
|
160
160
|
# Link to the summary of drug benefits for the plan
|
161
161
|
attr_accessor :drug_formulary_url
|
162
162
|
|
163
|
+
# Benefits summary for durable medical equipment
|
164
|
+
attr_accessor :durable_medical_equipment
|
165
|
+
|
166
|
+
# Effective date of coverage.
|
167
|
+
attr_accessor :effective_date
|
168
|
+
|
163
169
|
# Description of costs when visiting the ER
|
164
170
|
attr_accessor :emergency_room
|
165
171
|
|
172
|
+
# Expiration date of coverage.
|
173
|
+
attr_accessor :expiration_date
|
174
|
+
|
166
175
|
# Deductible for drugs when a family is on the plan.
|
167
176
|
attr_accessor :family_drug_deductible
|
168
177
|
|
@@ -178,15 +187,27 @@ module VericredClient
|
|
178
187
|
# Cost for generic drugs
|
179
188
|
attr_accessor :generic_drugs
|
180
189
|
|
190
|
+
# Habilitation services benefits summary
|
191
|
+
attr_accessor :habilitation_services
|
192
|
+
|
181
193
|
#
|
182
194
|
attr_accessor :hios_issuer_id
|
183
195
|
|
196
|
+
# Home health care benefits summary
|
197
|
+
attr_accessor :home_health_care
|
198
|
+
|
199
|
+
# Hospice service benefits summary
|
200
|
+
attr_accessor :hospice_service
|
201
|
+
|
184
202
|
# Government-issued HIOS plan ID
|
185
203
|
attr_accessor :id
|
186
204
|
|
187
205
|
# Benefits summary for imaging coverage
|
188
206
|
attr_accessor :imaging
|
189
207
|
|
208
|
+
# List of NPI numbers for Providers passed in who accept this Plan
|
209
|
+
attr_accessor :in_network_ids
|
210
|
+
|
190
211
|
# Deductible for drugs when an individual is on the plan
|
191
212
|
attr_accessor :individual_drug_deductible
|
192
213
|
|
@@ -199,12 +220,21 @@ module VericredClient
|
|
199
220
|
# Maximum out-of-pocket when an individual is on the plan
|
200
221
|
attr_accessor :individual_medical_moop
|
201
222
|
|
223
|
+
# Inpatient birth benefits summary
|
224
|
+
attr_accessor :inpatient_birth
|
225
|
+
|
202
226
|
# Cost under the plan for an inpatient facility
|
203
227
|
attr_accessor :inpatient_facility
|
204
228
|
|
229
|
+
# Inpatient mental helath benefits summary
|
230
|
+
attr_accessor :inpatient_mental_health
|
231
|
+
|
205
232
|
# Cost under the plan for an inpatient physician
|
206
233
|
attr_accessor :inpatient_physician
|
207
234
|
|
235
|
+
# Inpatient substance abuse benefits summary
|
236
|
+
attr_accessor :inpatient_substance
|
237
|
+
|
208
238
|
# Plan metal grouping (e.g. platinum, gold, silver, etc)
|
209
239
|
attr_accessor :level
|
210
240
|
|
@@ -220,15 +250,18 @@ module VericredClient
|
|
220
250
|
# Cost under the plan for non-preferred brand drugs
|
221
251
|
attr_accessor :non_preferred_brand_drugs
|
222
252
|
|
223
|
-
# Is the plan on-market?
|
224
|
-
attr_accessor :on_market
|
225
|
-
|
226
253
|
# Is the plan off-market?
|
227
254
|
attr_accessor :off_market
|
228
255
|
|
256
|
+
# Is the plan on-market?
|
257
|
+
attr_accessor :on_market
|
258
|
+
|
229
259
|
# Does this plan provide any out of network coverage?
|
230
260
|
attr_accessor :out_of_network_coverage
|
231
261
|
|
262
|
+
# List of NPI numbers for Providers passed in who do not accept this Plan
|
263
|
+
attr_accessor :out_of_network_ids
|
264
|
+
|
232
265
|
# Benefits summary for outpatient facility coverage
|
233
266
|
attr_accessor :outpatient_facility
|
234
267
|
|
@@ -238,6 +271,9 @@ module VericredClient
|
|
238
271
|
# Benefits summary for outpatient physician coverage
|
239
272
|
attr_accessor :outpatient_physician
|
240
273
|
|
274
|
+
# Outpatient substance abuse benefits summary
|
275
|
+
attr_accessor :outpatient_substance
|
276
|
+
|
241
277
|
# Market in which the plan is offered (on_marketplace, shop, etc)
|
242
278
|
attr_accessor :plan_market
|
243
279
|
|
@@ -247,6 +283,15 @@ module VericredClient
|
|
247
283
|
# Cost under the plan for perferred brand drugs
|
248
284
|
attr_accessor :preferred_brand_drugs
|
249
285
|
|
286
|
+
# Cumulative premium amount
|
287
|
+
attr_accessor :premium
|
288
|
+
|
289
|
+
# Cumulative premium amount after subsidy
|
290
|
+
attr_accessor :premium_subsidized
|
291
|
+
|
292
|
+
# Inpatient substance abuse benefits summary
|
293
|
+
attr_accessor :prenatal_postnatal_care
|
294
|
+
|
250
295
|
# Benefits summary for preventative care
|
251
296
|
attr_accessor :preventative_care
|
252
297
|
|
@@ -256,6 +301,9 @@ module VericredClient
|
|
256
301
|
# Benefits summary for rehabilitation services
|
257
302
|
attr_accessor :rehabilitation_services
|
258
303
|
|
304
|
+
# Benefits summary for skilled nursing services
|
305
|
+
attr_accessor :skilled_nursing
|
306
|
+
|
259
307
|
# Cost under the plan to visit a specialist
|
260
308
|
attr_accessor :specialist
|
261
309
|
|
@@ -274,43 +322,59 @@ module VericredClient
|
|
274
322
|
:'buy_link' => :'buy_link',
|
275
323
|
:'carrier_name' => :'carrier_name',
|
276
324
|
:'child_dental' => :'child_dental',
|
325
|
+
:'child_eye_exam' => :'child_eye_exam',
|
277
326
|
:'child_eyewear' => :'child_eyewear',
|
278
327
|
:'customer_service_phone_number' => :'customer_service_phone_number',
|
279
|
-
:'durable_medical_equipment' => :'durable_medical_equipment',
|
280
328
|
:'diagnostic_test' => :'diagnostic_test',
|
281
329
|
:'drug_formulary_url' => :'drug_formulary_url',
|
330
|
+
:'durable_medical_equipment' => :'durable_medical_equipment',
|
331
|
+
:'effective_date' => :'effective_date',
|
282
332
|
:'emergency_room' => :'emergency_room',
|
333
|
+
:'expiration_date' => :'expiration_date',
|
283
334
|
:'family_drug_deductible' => :'family_drug_deductible',
|
284
335
|
:'family_drug_moop' => :'family_drug_moop',
|
285
336
|
:'family_medical_deductible' => :'family_medical_deductible',
|
286
337
|
:'family_medical_moop' => :'family_medical_moop',
|
287
338
|
:'generic_drugs' => :'generic_drugs',
|
339
|
+
:'habilitation_services' => :'habilitation_services',
|
288
340
|
:'hios_issuer_id' => :'hios_issuer_id',
|
341
|
+
:'home_health_care' => :'home_health_care',
|
342
|
+
:'hospice_service' => :'hospice_service',
|
289
343
|
:'id' => :'id',
|
290
344
|
:'imaging' => :'imaging',
|
345
|
+
:'in_network_ids' => :'in_network_ids',
|
291
346
|
:'individual_drug_deductible' => :'individual_drug_deductible',
|
292
347
|
:'individual_drug_moop' => :'individual_drug_moop',
|
293
348
|
:'individual_medical_deductible' => :'individual_medical_deductible',
|
294
349
|
:'individual_medical_moop' => :'individual_medical_moop',
|
350
|
+
:'inpatient_birth' => :'inpatient_birth',
|
295
351
|
:'inpatient_facility' => :'inpatient_facility',
|
352
|
+
:'inpatient_mental_health' => :'inpatient_mental_health',
|
296
353
|
:'inpatient_physician' => :'inpatient_physician',
|
354
|
+
:'inpatient_substance' => :'inpatient_substance',
|
297
355
|
:'level' => :'level',
|
298
356
|
:'logo_url' => :'logo_url',
|
299
357
|
:'name' => :'name',
|
300
358
|
:'network_size' => :'network_size',
|
301
359
|
:'non_preferred_brand_drugs' => :'non_preferred_brand_drugs',
|
302
|
-
:'on_market' => :'on_market',
|
303
360
|
:'off_market' => :'off_market',
|
361
|
+
:'on_market' => :'on_market',
|
304
362
|
:'out_of_network_coverage' => :'out_of_network_coverage',
|
363
|
+
:'out_of_network_ids' => :'out_of_network_ids',
|
305
364
|
:'outpatient_facility' => :'outpatient_facility',
|
306
365
|
:'outpatient_mental_health' => :'outpatient_mental_health',
|
307
366
|
:'outpatient_physician' => :'outpatient_physician',
|
367
|
+
:'outpatient_substance' => :'outpatient_substance',
|
308
368
|
:'plan_market' => :'plan_market',
|
309
369
|
:'plan_type' => :'plan_type',
|
310
370
|
:'preferred_brand_drugs' => :'preferred_brand_drugs',
|
371
|
+
:'premium' => :'premium',
|
372
|
+
:'premium_subsidized' => :'premium_subsidized',
|
373
|
+
:'prenatal_postnatal_care' => :'prenatal_postnatal_care',
|
311
374
|
:'preventative_care' => :'preventative_care',
|
312
375
|
:'primary_care_physician' => :'primary_care_physician',
|
313
376
|
:'rehabilitation_services' => :'rehabilitation_services',
|
377
|
+
:'skilled_nursing' => :'skilled_nursing',
|
314
378
|
:'specialist' => :'specialist',
|
315
379
|
:'specialty_drugs' => :'specialty_drugs',
|
316
380
|
:'urgent_care' => :'urgent_care'
|
@@ -326,43 +390,59 @@ module VericredClient
|
|
326
390
|
:'buy_link' => :'String',
|
327
391
|
:'carrier_name' => :'String',
|
328
392
|
:'child_dental' => :'BOOLEAN',
|
393
|
+
:'child_eye_exam' => :'String',
|
329
394
|
:'child_eyewear' => :'String',
|
330
395
|
:'customer_service_phone_number' => :'String',
|
331
|
-
:'durable_medical_equipment' => :'String',
|
332
396
|
:'diagnostic_test' => :'String',
|
333
397
|
:'drug_formulary_url' => :'String',
|
398
|
+
:'durable_medical_equipment' => :'String',
|
399
|
+
:'effective_date' => :'String',
|
334
400
|
:'emergency_room' => :'String',
|
401
|
+
:'expiration_date' => :'String',
|
335
402
|
:'family_drug_deductible' => :'String',
|
336
403
|
:'family_drug_moop' => :'String',
|
337
404
|
:'family_medical_deductible' => :'String',
|
338
405
|
:'family_medical_moop' => :'String',
|
339
406
|
:'generic_drugs' => :'String',
|
407
|
+
:'habilitation_services' => :'String',
|
340
408
|
:'hios_issuer_id' => :'String',
|
409
|
+
:'home_health_care' => :'String',
|
410
|
+
:'hospice_service' => :'String',
|
341
411
|
:'id' => :'String',
|
342
412
|
:'imaging' => :'String',
|
413
|
+
:'in_network_ids' => :'Array<Integer>',
|
343
414
|
:'individual_drug_deductible' => :'String',
|
344
415
|
:'individual_drug_moop' => :'String',
|
345
416
|
:'individual_medical_deductible' => :'String',
|
346
417
|
:'individual_medical_moop' => :'String',
|
418
|
+
:'inpatient_birth' => :'String',
|
347
419
|
:'inpatient_facility' => :'String',
|
420
|
+
:'inpatient_mental_health' => :'String',
|
348
421
|
:'inpatient_physician' => :'String',
|
422
|
+
:'inpatient_substance' => :'String',
|
349
423
|
:'level' => :'String',
|
350
424
|
:'logo_url' => :'String',
|
351
425
|
:'name' => :'String',
|
352
426
|
:'network_size' => :'Integer',
|
353
427
|
:'non_preferred_brand_drugs' => :'String',
|
354
|
-
:'on_market' => :'BOOLEAN',
|
355
428
|
:'off_market' => :'BOOLEAN',
|
429
|
+
:'on_market' => :'BOOLEAN',
|
356
430
|
:'out_of_network_coverage' => :'BOOLEAN',
|
431
|
+
:'out_of_network_ids' => :'Array<Integer>',
|
357
432
|
:'outpatient_facility' => :'String',
|
358
433
|
:'outpatient_mental_health' => :'String',
|
359
434
|
:'outpatient_physician' => :'String',
|
435
|
+
:'outpatient_substance' => :'String',
|
360
436
|
:'plan_market' => :'String',
|
361
437
|
:'plan_type' => :'String',
|
362
438
|
:'preferred_brand_drugs' => :'String',
|
439
|
+
:'premium' => :'Float',
|
440
|
+
:'premium_subsidized' => :'Float',
|
441
|
+
:'prenatal_postnatal_care' => :'String',
|
363
442
|
:'preventative_care' => :'String',
|
364
443
|
:'primary_care_physician' => :'String',
|
365
444
|
:'rehabilitation_services' => :'String',
|
445
|
+
:'skilled_nursing' => :'String',
|
366
446
|
:'specialist' => :'String',
|
367
447
|
:'specialty_drugs' => :'String',
|
368
448
|
:'urgent_care' => :'String'
|
@@ -379,6 +459,8 @@ module VericredClient
|
|
379
459
|
|
380
460
|
if attributes.has_key?(:'adult_dental')
|
381
461
|
self.adult_dental = attributes[:'adult_dental']
|
462
|
+
else
|
463
|
+
self.adult_dental = false
|
382
464
|
end
|
383
465
|
|
384
466
|
if attributes.has_key?(:'ambulance')
|
@@ -399,6 +481,12 @@ module VericredClient
|
|
399
481
|
|
400
482
|
if attributes.has_key?(:'child_dental')
|
401
483
|
self.child_dental = attributes[:'child_dental']
|
484
|
+
else
|
485
|
+
self.child_dental = false
|
486
|
+
end
|
487
|
+
|
488
|
+
if attributes.has_key?(:'child_eye_exam')
|
489
|
+
self.child_eye_exam = attributes[:'child_eye_exam']
|
402
490
|
end
|
403
491
|
|
404
492
|
if attributes.has_key?(:'child_eyewear')
|
@@ -409,10 +497,6 @@ module VericredClient
|
|
409
497
|
self.customer_service_phone_number = attributes[:'customer_service_phone_number']
|
410
498
|
end
|
411
499
|
|
412
|
-
if attributes.has_key?(:'durable_medical_equipment')
|
413
|
-
self.durable_medical_equipment = attributes[:'durable_medical_equipment']
|
414
|
-
end
|
415
|
-
|
416
500
|
if attributes.has_key?(:'diagnostic_test')
|
417
501
|
self.diagnostic_test = attributes[:'diagnostic_test']
|
418
502
|
end
|
@@ -421,10 +505,22 @@ module VericredClient
|
|
421
505
|
self.drug_formulary_url = attributes[:'drug_formulary_url']
|
422
506
|
end
|
423
507
|
|
508
|
+
if attributes.has_key?(:'durable_medical_equipment')
|
509
|
+
self.durable_medical_equipment = attributes[:'durable_medical_equipment']
|
510
|
+
end
|
511
|
+
|
512
|
+
if attributes.has_key?(:'effective_date')
|
513
|
+
self.effective_date = attributes[:'effective_date']
|
514
|
+
end
|
515
|
+
|
424
516
|
if attributes.has_key?(:'emergency_room')
|
425
517
|
self.emergency_room = attributes[:'emergency_room']
|
426
518
|
end
|
427
519
|
|
520
|
+
if attributes.has_key?(:'expiration_date')
|
521
|
+
self.expiration_date = attributes[:'expiration_date']
|
522
|
+
end
|
523
|
+
|
428
524
|
if attributes.has_key?(:'family_drug_deductible')
|
429
525
|
self.family_drug_deductible = attributes[:'family_drug_deductible']
|
430
526
|
end
|
@@ -445,10 +541,22 @@ module VericredClient
|
|
445
541
|
self.generic_drugs = attributes[:'generic_drugs']
|
446
542
|
end
|
447
543
|
|
544
|
+
if attributes.has_key?(:'habilitation_services')
|
545
|
+
self.habilitation_services = attributes[:'habilitation_services']
|
546
|
+
end
|
547
|
+
|
448
548
|
if attributes.has_key?(:'hios_issuer_id')
|
449
549
|
self.hios_issuer_id = attributes[:'hios_issuer_id']
|
450
550
|
end
|
451
551
|
|
552
|
+
if attributes.has_key?(:'home_health_care')
|
553
|
+
self.home_health_care = attributes[:'home_health_care']
|
554
|
+
end
|
555
|
+
|
556
|
+
if attributes.has_key?(:'hospice_service')
|
557
|
+
self.hospice_service = attributes[:'hospice_service']
|
558
|
+
end
|
559
|
+
|
452
560
|
if attributes.has_key?(:'id')
|
453
561
|
self.id = attributes[:'id']
|
454
562
|
end
|
@@ -457,6 +565,12 @@ module VericredClient
|
|
457
565
|
self.imaging = attributes[:'imaging']
|
458
566
|
end
|
459
567
|
|
568
|
+
if attributes.has_key?(:'in_network_ids')
|
569
|
+
if (value = attributes[:'in_network_ids']).is_a?(Array)
|
570
|
+
self.in_network_ids = value
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
460
574
|
if attributes.has_key?(:'individual_drug_deductible')
|
461
575
|
self.individual_drug_deductible = attributes[:'individual_drug_deductible']
|
462
576
|
end
|
@@ -473,14 +587,26 @@ module VericredClient
|
|
473
587
|
self.individual_medical_moop = attributes[:'individual_medical_moop']
|
474
588
|
end
|
475
589
|
|
590
|
+
if attributes.has_key?(:'inpatient_birth')
|
591
|
+
self.inpatient_birth = attributes[:'inpatient_birth']
|
592
|
+
end
|
593
|
+
|
476
594
|
if attributes.has_key?(:'inpatient_facility')
|
477
595
|
self.inpatient_facility = attributes[:'inpatient_facility']
|
478
596
|
end
|
479
597
|
|
598
|
+
if attributes.has_key?(:'inpatient_mental_health')
|
599
|
+
self.inpatient_mental_health = attributes[:'inpatient_mental_health']
|
600
|
+
end
|
601
|
+
|
480
602
|
if attributes.has_key?(:'inpatient_physician')
|
481
603
|
self.inpatient_physician = attributes[:'inpatient_physician']
|
482
604
|
end
|
483
605
|
|
606
|
+
if attributes.has_key?(:'inpatient_substance')
|
607
|
+
self.inpatient_substance = attributes[:'inpatient_substance']
|
608
|
+
end
|
609
|
+
|
484
610
|
if attributes.has_key?(:'level')
|
485
611
|
self.level = attributes[:'level']
|
486
612
|
end
|
@@ -501,16 +627,28 @@ module VericredClient
|
|
501
627
|
self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs']
|
502
628
|
end
|
503
629
|
|
504
|
-
if attributes.has_key?(:'on_market')
|
505
|
-
self.on_market = attributes[:'on_market']
|
506
|
-
end
|
507
|
-
|
508
630
|
if attributes.has_key?(:'off_market')
|
509
631
|
self.off_market = attributes[:'off_market']
|
632
|
+
else
|
633
|
+
self.off_market = false
|
634
|
+
end
|
635
|
+
|
636
|
+
if attributes.has_key?(:'on_market')
|
637
|
+
self.on_market = attributes[:'on_market']
|
638
|
+
else
|
639
|
+
self.on_market = false
|
510
640
|
end
|
511
641
|
|
512
642
|
if attributes.has_key?(:'out_of_network_coverage')
|
513
643
|
self.out_of_network_coverage = attributes[:'out_of_network_coverage']
|
644
|
+
else
|
645
|
+
self.out_of_network_coverage = false
|
646
|
+
end
|
647
|
+
|
648
|
+
if attributes.has_key?(:'out_of_network_ids')
|
649
|
+
if (value = attributes[:'out_of_network_ids']).is_a?(Array)
|
650
|
+
self.out_of_network_ids = value
|
651
|
+
end
|
514
652
|
end
|
515
653
|
|
516
654
|
if attributes.has_key?(:'outpatient_facility')
|
@@ -525,6 +663,10 @@ module VericredClient
|
|
525
663
|
self.outpatient_physician = attributes[:'outpatient_physician']
|
526
664
|
end
|
527
665
|
|
666
|
+
if attributes.has_key?(:'outpatient_substance')
|
667
|
+
self.outpatient_substance = attributes[:'outpatient_substance']
|
668
|
+
end
|
669
|
+
|
528
670
|
if attributes.has_key?(:'plan_market')
|
529
671
|
self.plan_market = attributes[:'plan_market']
|
530
672
|
end
|
@@ -537,6 +679,18 @@ module VericredClient
|
|
537
679
|
self.preferred_brand_drugs = attributes[:'preferred_brand_drugs']
|
538
680
|
end
|
539
681
|
|
682
|
+
if attributes.has_key?(:'premium')
|
683
|
+
self.premium = attributes[:'premium']
|
684
|
+
end
|
685
|
+
|
686
|
+
if attributes.has_key?(:'premium_subsidized')
|
687
|
+
self.premium_subsidized = attributes[:'premium_subsidized']
|
688
|
+
end
|
689
|
+
|
690
|
+
if attributes.has_key?(:'prenatal_postnatal_care')
|
691
|
+
self.prenatal_postnatal_care = attributes[:'prenatal_postnatal_care']
|
692
|
+
end
|
693
|
+
|
540
694
|
if attributes.has_key?(:'preventative_care')
|
541
695
|
self.preventative_care = attributes[:'preventative_care']
|
542
696
|
end
|
@@ -549,6 +703,10 @@ module VericredClient
|
|
549
703
|
self.rehabilitation_services = attributes[:'rehabilitation_services']
|
550
704
|
end
|
551
705
|
|
706
|
+
if attributes.has_key?(:'skilled_nursing')
|
707
|
+
self.skilled_nursing = attributes[:'skilled_nursing']
|
708
|
+
end
|
709
|
+
|
552
710
|
if attributes.has_key?(:'specialist')
|
553
711
|
self.specialist = attributes[:'specialist']
|
554
712
|
end
|
@@ -586,43 +744,59 @@ module VericredClient
|
|
586
744
|
buy_link == o.buy_link &&
|
587
745
|
carrier_name == o.carrier_name &&
|
588
746
|
child_dental == o.child_dental &&
|
747
|
+
child_eye_exam == o.child_eye_exam &&
|
589
748
|
child_eyewear == o.child_eyewear &&
|
590
749
|
customer_service_phone_number == o.customer_service_phone_number &&
|
591
|
-
durable_medical_equipment == o.durable_medical_equipment &&
|
592
750
|
diagnostic_test == o.diagnostic_test &&
|
593
751
|
drug_formulary_url == o.drug_formulary_url &&
|
752
|
+
durable_medical_equipment == o.durable_medical_equipment &&
|
753
|
+
effective_date == o.effective_date &&
|
594
754
|
emergency_room == o.emergency_room &&
|
755
|
+
expiration_date == o.expiration_date &&
|
595
756
|
family_drug_deductible == o.family_drug_deductible &&
|
596
757
|
family_drug_moop == o.family_drug_moop &&
|
597
758
|
family_medical_deductible == o.family_medical_deductible &&
|
598
759
|
family_medical_moop == o.family_medical_moop &&
|
599
760
|
generic_drugs == o.generic_drugs &&
|
761
|
+
habilitation_services == o.habilitation_services &&
|
600
762
|
hios_issuer_id == o.hios_issuer_id &&
|
763
|
+
home_health_care == o.home_health_care &&
|
764
|
+
hospice_service == o.hospice_service &&
|
601
765
|
id == o.id &&
|
602
766
|
imaging == o.imaging &&
|
767
|
+
in_network_ids == o.in_network_ids &&
|
603
768
|
individual_drug_deductible == o.individual_drug_deductible &&
|
604
769
|
individual_drug_moop == o.individual_drug_moop &&
|
605
770
|
individual_medical_deductible == o.individual_medical_deductible &&
|
606
771
|
individual_medical_moop == o.individual_medical_moop &&
|
772
|
+
inpatient_birth == o.inpatient_birth &&
|
607
773
|
inpatient_facility == o.inpatient_facility &&
|
774
|
+
inpatient_mental_health == o.inpatient_mental_health &&
|
608
775
|
inpatient_physician == o.inpatient_physician &&
|
776
|
+
inpatient_substance == o.inpatient_substance &&
|
609
777
|
level == o.level &&
|
610
778
|
logo_url == o.logo_url &&
|
611
779
|
name == o.name &&
|
612
780
|
network_size == o.network_size &&
|
613
781
|
non_preferred_brand_drugs == o.non_preferred_brand_drugs &&
|
614
|
-
on_market == o.on_market &&
|
615
782
|
off_market == o.off_market &&
|
783
|
+
on_market == o.on_market &&
|
616
784
|
out_of_network_coverage == o.out_of_network_coverage &&
|
785
|
+
out_of_network_ids == o.out_of_network_ids &&
|
617
786
|
outpatient_facility == o.outpatient_facility &&
|
618
787
|
outpatient_mental_health == o.outpatient_mental_health &&
|
619
788
|
outpatient_physician == o.outpatient_physician &&
|
789
|
+
outpatient_substance == o.outpatient_substance &&
|
620
790
|
plan_market == o.plan_market &&
|
621
791
|
plan_type == o.plan_type &&
|
622
792
|
preferred_brand_drugs == o.preferred_brand_drugs &&
|
793
|
+
premium == o.premium &&
|
794
|
+
premium_subsidized == o.premium_subsidized &&
|
795
|
+
prenatal_postnatal_care == o.prenatal_postnatal_care &&
|
623
796
|
preventative_care == o.preventative_care &&
|
624
797
|
primary_care_physician == o.primary_care_physician &&
|
625
798
|
rehabilitation_services == o.rehabilitation_services &&
|
799
|
+
skilled_nursing == o.skilled_nursing &&
|
626
800
|
specialist == o.specialist &&
|
627
801
|
specialty_drugs == o.specialty_drugs &&
|
628
802
|
urgent_care == o.urgent_care
|
@@ -637,7 +811,7 @@ module VericredClient
|
|
637
811
|
# Calculates hash code according to all attributes.
|
638
812
|
# @return [Fixnum] Hash code
|
639
813
|
def hash
|
640
|
-
[adult_dental, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eyewear, customer_service_phone_number,
|
814
|
+
[adult_dental, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eye_exam, child_eyewear, customer_service_phone_number, diagnostic_test, drug_formulary_url, durable_medical_equipment, effective_date, emergency_room, expiration_date, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, generic_drugs, habilitation_services, hios_issuer_id, home_health_care, hospice_service, id, imaging, in_network_ids, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_birth, inpatient_facility, inpatient_mental_health, inpatient_physician, inpatient_substance, level, logo_url, name, network_size, non_preferred_brand_drugs, off_market, on_market, out_of_network_coverage, out_of_network_ids, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_market, plan_type, preferred_brand_drugs, premium, premium_subsidized, prenatal_postnatal_care, preventative_care, primary_care_physician, rehabilitation_services, skilled_nursing, specialist, specialty_drugs, urgent_care].hash
|
641
815
|
end
|
642
816
|
|
643
817
|
# Builds the object from hash
|