vericred_client 0.0.27 → 0.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (466) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +62 -25
  3. data/docs/ACAPlan.md +0 -5
  4. data/docs/ACAPlan2018.md +6 -5
  5. data/docs/ACAPlan2018Search.md +104 -0
  6. data/docs/ACAPlan2018SearchResponse.md +1 -1
  7. data/docs/ACAPlan2018SearchResult.md +6 -0
  8. data/docs/ACAPlanPre2018.md +0 -5
  9. data/docs/ACAPlanPre2018Search.md +97 -0
  10. data/docs/ACAPlanPre2018SearchResponse.md +1 -1
  11. data/docs/ACAPlanPre2018SearchResult.md +1 -1
  12. data/docs/AgeBanded.md +10 -0
  13. data/docs/BulkPlansApi.md +63 -0
  14. data/docs/DentalPlan.md +0 -4
  15. data/docs/DentalPlanSearch.md +25 -0
  16. data/docs/DentalPlanSearchResponse.md +1 -1
  17. data/docs/DentalPlanUpdate.md +2 -0
  18. data/docs/FormulariesApi.md +58 -0
  19. data/docs/FourTierComposite.md +12 -0
  20. data/docs/MajorMedicalPlansApi.md +8 -8
  21. data/docs/MedicalPlanBenefits.md +2 -0
  22. data/docs/{RequestPlanFind.md → MedicalPlanSearchRequest.md} +2 -3
  23. data/docs/MedicalPlanUpdate.md +6 -1
  24. data/docs/MedicalPlansApi.md +114 -0
  25. data/docs/MedicareAdvantagePlan.md +0 -2
  26. data/docs/MedicareAdvantagePlanSearch.md +30 -0
  27. data/docs/MedicareAdvantagePlanSearchResponse.md +1 -1
  28. data/docs/MembersCreateRequest.md +0 -1
  29. data/docs/Plan.md +0 -4
  30. data/docs/PlanMedicare.md +0 -4
  31. data/docs/PlanMedicareBulk.md +0 -4
  32. data/docs/PlansBulkSearchRequest.md +13 -0
  33. data/docs/PlansBulkSearchResponse.md +9 -0
  34. data/docs/Premiums.md +11 -0
  35. data/docs/ProviderDetails.md +1 -0
  36. data/docs/ProviderNetworks.md +2 -1
  37. data/docs/ProviderNetworksAddress.md +15 -0
  38. data/docs/ProviderPlanNetworkResponse.md +9 -0
  39. data/docs/ProviderPlanResponse.md +2 -0
  40. data/docs/ProvidersApi.md +2 -2
  41. data/docs/QuotingApi.md +9 -8
  42. data/docs/RateShow.md +4 -3
  43. data/docs/ServiceAreaUpdate.md +13 -0
  44. data/docs/ServiceAreaZipCountyUpdate.md +9 -0
  45. data/docs/ServiceAreasApi.md +65 -0
  46. data/docs/ThreeTierComposite.md +11 -0
  47. data/docs/TwoTierComposite.md +10 -0
  48. data/docs/V7ResponseProvidersProviderDetails.md +1 -0
  49. data/docs/VisionPlanUpdate.md +1 -0
  50. data/lib/vericred_client.rb +48 -13
  51. data/lib/vericred_client/api/{carrier_verification_medical_plans_api.rb → bulk_plans_api.rb} +47 -22
  52. data/lib/vericred_client/api/carrier_groups_api.rb +30 -5
  53. data/lib/vericred_client/api/carriers_api.rb +30 -5
  54. data/lib/vericred_client/api/dental_plans_api.rb +30 -5
  55. data/lib/vericred_client/api/drugs_api.rb +30 -5
  56. data/lib/vericred_client/api/embargoes_api.rb +30 -5
  57. data/lib/vericred_client/api/formularies_api.rb +91 -5
  58. data/lib/vericred_client/api/issuers_api.rb +30 -5
  59. data/lib/vericred_client/api/major_medical_plans_api.rb +38 -13
  60. data/lib/vericred_client/api/medical_plans_api.rb +147 -5
  61. data/lib/vericred_client/api/medicare_advantage_plans_api.rb +30 -5
  62. data/lib/vericred_client/api/network_sizes_api.rb +30 -5
  63. data/lib/vericred_client/api/networks_api.rb +30 -5
  64. data/lib/vericred_client/api/plans_api.rb +30 -5
  65. data/lib/vericred_client/api/providers_api.rb +34 -9
  66. data/lib/vericred_client/api/quoting_api.rb +46 -20
  67. data/lib/vericred_client/api/rates_api.rb +30 -5
  68. data/lib/vericred_client/api/{carrier_verification_dental_plans_api.rb → service_areas_api.rb} +53 -25
  69. data/lib/vericred_client/api/specialties_api.rb +30 -5
  70. data/lib/vericred_client/api/vision_plans_api.rb +30 -5
  71. data/lib/vericred_client/api/zip_counties_api.rb +30 -5
  72. data/lib/vericred_client/api_client.rb +30 -5
  73. data/lib/vericred_client/api_error.rb +30 -5
  74. data/lib/vericred_client/configuration.rb +30 -5
  75. data/lib/vericred_client/models/aca_plan.rb +31 -60
  76. data/lib/vericred_client/models/aca_plan2018.rb +91 -60
  77. data/lib/vericred_client/models/aca_plan2018_search.rb +2155 -0
  78. data/lib/vericred_client/models/aca_plan2018_search_response.rb +31 -6
  79. data/lib/vericred_client/models/aca_plan2018_search_result.rb +91 -6
  80. data/lib/vericred_client/models/aca_plan2018_show_response.rb +30 -5
  81. data/lib/vericred_client/models/aca_plan_pre2018.rb +31 -60
  82. data/lib/vericred_client/models/aca_plan_pre2018_search.rb +2085 -0
  83. data/lib/vericred_client/models/aca_plan_pre2018_search_response.rb +31 -6
  84. data/lib/vericred_client/models/aca_plan_pre2018_search_result.rb +31 -6
  85. data/lib/vericred_client/models/aca_plan_pre2018_show_response.rb +30 -5
  86. data/lib/vericred_client/models/address.rb +30 -5
  87. data/lib/vericred_client/models/age_banded.rb +1205 -0
  88. data/lib/vericred_client/models/ancillary_plan_identifier.rb +30 -5
  89. data/lib/vericred_client/models/base.rb +30 -5
  90. data/lib/vericred_client/models/base_plan_search_response.rb +30 -5
  91. data/lib/vericred_client/models/carrier.rb +30 -5
  92. data/lib/vericred_client/models/carrier_group_request.rb +30 -5
  93. data/lib/vericred_client/models/carrier_request.rb +30 -5
  94. data/lib/vericred_client/models/carrier_subsidiary.rb +30 -5
  95. data/lib/vericred_client/models/county.rb +30 -5
  96. data/lib/vericred_client/models/county_bulk.rb +30 -5
  97. data/lib/vericred_client/models/dental_plan.rb +31 -50
  98. data/lib/vericred_client/models/dental_plan_benefits.rb +30 -5
  99. data/lib/vericred_client/{api/provider_notification_subscriptions_api.rb → models/dental_plan_search.rb} +361 -157
  100. data/lib/vericred_client/models/dental_plan_search_applicant.rb +30 -5
  101. data/lib/vericred_client/models/dental_plan_search_request.rb +30 -5
  102. data/lib/vericred_client/models/dental_plan_search_response.rb +31 -6
  103. data/lib/vericred_client/models/dental_plan_show_response.rb +30 -5
  104. data/lib/vericred_client/models/dental_plan_update.rb +54 -9
  105. data/lib/vericred_client/models/dental_plan_update_request.rb +30 -5
  106. data/lib/vericred_client/models/dependent_create.rb +30 -5
  107. data/lib/vericred_client/models/dependent_create_request.rb +30 -5
  108. data/lib/vericred_client/models/dependent_show.rb +30 -5
  109. data/lib/vericred_client/models/drug.rb +30 -5
  110. data/lib/vericred_client/models/drug_coverage.rb +30 -5
  111. data/lib/vericred_client/models/drug_coverage_base.rb +30 -5
  112. data/lib/vericred_client/models/drug_coverage_response.rb +30 -5
  113. data/lib/vericred_client/models/drug_details.rb +30 -5
  114. data/lib/vericred_client/models/drug_package.rb +30 -5
  115. data/lib/vericred_client/models/drug_search_drug_package.rb +30 -5
  116. data/lib/vericred_client/models/drug_search_request.rb +30 -5
  117. data/lib/vericred_client/models/drug_search_response.rb +30 -5
  118. data/lib/vericred_client/models/embargo_request.rb +30 -5
  119. data/lib/vericred_client/models/formulary.rb +30 -5
  120. data/lib/vericred_client/models/formulary_drug_coverage.rb +30 -5
  121. data/lib/vericred_client/models/formulary_drug_package_response.rb +30 -5
  122. data/lib/vericred_client/models/formulary_response.rb +30 -5
  123. data/lib/vericred_client/models/four_tier_composite.rb +1225 -0
  124. data/lib/vericred_client/models/group_create.rb +30 -5
  125. data/lib/vericred_client/models/group_create_request.rb +30 -5
  126. data/lib/vericred_client/models/group_create_response.rb +30 -5
  127. data/lib/vericred_client/models/group_show.rb +30 -5
  128. data/lib/vericred_client/models/group_show_response.rb +30 -5
  129. data/lib/vericred_client/models/group_update.rb +30 -5
  130. data/lib/vericred_client/models/group_update_request.rb +30 -5
  131. data/lib/vericred_client/models/issuer_request.rb +30 -5
  132. data/lib/vericred_client/models/location_create.rb +30 -5
  133. data/lib/vericred_client/models/location_show.rb +30 -5
  134. data/lib/vericred_client/models/location_update.rb +30 -5
  135. data/lib/vericred_client/models/medical_plan_benefits.rb +51 -6
  136. data/lib/vericred_client/models/{request_plan_find_carrier_verification.rb → medical_plan_search_request.rb} +40 -35
  137. data/lib/vericred_client/models/medical_plan_update.rb +91 -16
  138. data/lib/vericred_client/models/medical_plan_update_request.rb +30 -5
  139. data/lib/vericred_client/models/medicare_advantage_plan.rb +31 -30
  140. data/lib/vericred_client/models/medicare_advantage_plan_benefits.rb +30 -5
  141. data/lib/vericred_client/models/medicare_advantage_plan_search.rb +1413 -0
  142. data/lib/vericred_client/models/medicare_advantage_plan_search_request.rb +30 -5
  143. data/lib/vericred_client/models/medicare_advantage_plan_search_response.rb +31 -6
  144. data/lib/vericred_client/models/medicare_advantage_plan_show_response.rb +30 -5
  145. data/lib/vericred_client/models/medicare_advantage_plan_update.rb +30 -5
  146. data/lib/vericred_client/models/medicare_advantage_plan_update_request.rb +30 -5
  147. data/lib/vericred_client/models/member_create.rb +30 -5
  148. data/lib/vericred_client/models/member_rate_show.rb +30 -5
  149. data/lib/vericred_client/models/member_rate_show_request.rb +30 -5
  150. data/lib/vericred_client/models/member_rates_show_response.rb +30 -5
  151. data/lib/vericred_client/models/member_show.rb +30 -5
  152. data/lib/vericred_client/models/members_create_request.rb +31 -16
  153. data/lib/vericred_client/models/members_create_response.rb +30 -5
  154. data/lib/vericred_client/models/members_show_response.rb +30 -5
  155. data/lib/vericred_client/models/meta.rb +30 -5
  156. data/lib/vericred_client/models/meta_plan_search_response.rb +30 -5
  157. data/lib/vericred_client/models/network.rb +30 -5
  158. data/lib/vericred_client/models/network_comparison.rb +30 -5
  159. data/lib/vericred_client/models/network_comparison_request.rb +30 -5
  160. data/lib/vericred_client/models/network_comparison_response.rb +30 -5
  161. data/lib/vericred_client/models/network_details.rb +30 -5
  162. data/lib/vericred_client/models/network_details_response.rb +30 -5
  163. data/lib/vericred_client/models/network_disruption_analysis.rb +30 -5
  164. data/lib/vericred_client/models/network_disruption_analysis_request.rb +30 -5
  165. data/lib/vericred_client/models/network_disruption_analysis_response.rb +30 -5
  166. data/lib/vericred_client/models/network_search.rb +30 -5
  167. data/lib/vericred_client/models/network_search_response.rb +30 -5
  168. data/lib/vericred_client/models/network_size.rb +30 -5
  169. data/lib/vericred_client/models/notification_subscription.rb +30 -5
  170. data/lib/vericred_client/models/notification_subscription_response.rb +30 -5
  171. data/lib/vericred_client/models/plan.rb +31 -50
  172. data/lib/vericred_client/models/plan_county.rb +30 -5
  173. data/lib/vericred_client/models/plan_county_bulk.rb +30 -5
  174. data/lib/vericred_client/models/plan_deleted.rb +30 -5
  175. data/lib/vericred_client/models/plan_identifier.rb +30 -5
  176. data/lib/vericred_client/models/plan_medicare.rb +31 -50
  177. data/lib/vericred_client/models/plan_medicare_bulk.rb +31 -50
  178. data/lib/vericred_client/models/plan_network.rb +30 -5
  179. data/lib/vericred_client/models/plan_pricing_medicare.rb +30 -5
  180. data/lib/vericred_client/models/plan_search_response.rb +30 -5
  181. data/lib/vericred_client/models/plan_show_response.rb +30 -5
  182. data/lib/vericred_client/models/plans_bulk_aca2018.rb +30 -5
  183. data/lib/vericred_client/models/plans_bulk_aca_pre2018.rb +30 -5
  184. data/lib/vericred_client/models/plans_bulk_base.rb +30 -5
  185. data/lib/vericred_client/models/plans_bulk_dental.rb +30 -5
  186. data/lib/vericred_client/models/{request_plan_find.rb → plans_bulk_search_request.rb} +54 -127
  187. data/lib/vericred_client/models/plans_bulk_search_response.rb +1197 -0
  188. data/lib/vericred_client/models/plans_bulk_vision.rb +30 -5
  189. data/lib/vericred_client/models/premiums.rb +1215 -0
  190. data/lib/vericred_client/models/provider.rb +30 -5
  191. data/lib/vericred_client/models/provider_details.rb +43 -6
  192. data/lib/vericred_client/models/provider_geocode.rb +30 -5
  193. data/lib/vericred_client/models/provider_network_event_notification.rb +30 -5
  194. data/lib/vericred_client/models/provider_network_specialty.rb +30 -5
  195. data/lib/vericred_client/models/provider_networks.rb +45 -10
  196. data/lib/vericred_client/models/provider_networks_address.rb +1257 -0
  197. data/lib/vericred_client/models/provider_plan_network_response.rb +1195 -0
  198. data/lib/vericred_client/models/provider_plan_response.rb +56 -9
  199. data/lib/vericred_client/models/provider_plans.rb +30 -5
  200. data/lib/vericred_client/models/provider_plans_request.rb +30 -5
  201. data/lib/vericred_client/models/provider_show_response.rb +30 -5
  202. data/lib/vericred_client/models/providers_geocode_response.rb +30 -5
  203. data/lib/vericred_client/models/providers_search_response.rb +30 -5
  204. data/lib/vericred_client/models/quote_create.rb +30 -5
  205. data/lib/vericred_client/models/quote_create_request.rb +30 -5
  206. data/lib/vericred_client/models/quote_create_response.rb +30 -5
  207. data/lib/vericred_client/models/quote_show.rb +30 -5
  208. data/lib/vericred_client/models/quote_show_response.rb +30 -5
  209. data/lib/vericred_client/models/rate_request.rb +30 -5
  210. data/lib/vericred_client/models/rate_search.rb +30 -5
  211. data/lib/vericred_client/models/rate_show.rb +44 -9
  212. data/lib/vericred_client/models/rate_show_request.rb +30 -5
  213. data/lib/vericred_client/models/rates_show_response.rb +30 -5
  214. data/lib/vericred_client/models/rating_area.rb +30 -5
  215. data/lib/vericred_client/models/request_plan_find_applicant.rb +30 -5
  216. data/lib/vericred_client/models/request_plan_find_drug_package.rb +30 -5
  217. data/lib/vericred_client/models/request_plan_find_provider.rb +30 -5
  218. data/lib/vericred_client/models/request_provider_notification_subscription.rb +30 -5
  219. data/lib/vericred_client/models/request_providers_search.rb +30 -5
  220. data/lib/vericred_client/models/request_rates_search.rb +30 -5
  221. data/lib/vericred_client/models/response_rates_search.rb +30 -5
  222. data/lib/vericred_client/models/rx_cui_identifier.rb +30 -5
  223. data/lib/vericred_client/models/rx_cui_identifier_search_response.rb +30 -5
  224. data/lib/vericred_client/models/service_area.rb +30 -5
  225. data/lib/vericred_client/models/service_area_update.rb +1237 -0
  226. data/lib/vericred_client/models/service_area_zip_county.rb +30 -5
  227. data/lib/vericred_client/models/service_area_zip_county_update.rb +1195 -0
  228. data/lib/vericred_client/models/specialty_search_response.rb +30 -5
  229. data/lib/vericred_client/models/specialty_show.rb +30 -5
  230. data/lib/vericred_client/models/state.rb +30 -5
  231. data/lib/vericred_client/models/state_network_size_request.rb +30 -5
  232. data/lib/vericred_client/models/state_network_size_response.rb +30 -5
  233. data/lib/vericred_client/models/supplemental_options.rb +30 -5
  234. data/lib/vericred_client/models/supplemental_options_update.rb +30 -5
  235. data/lib/vericred_client/models/three_tier_composite.rb +1215 -0
  236. data/lib/vericred_client/models/two_tier_composite.rb +1205 -0
  237. data/lib/vericred_client/models/v7_network_comparison_response.rb +30 -5
  238. data/lib/vericred_client/models/v7_response_providers_provider_details.rb +43 -6
  239. data/lib/vericred_client/models/vision_plan.rb +30 -5
  240. data/lib/vericred_client/models/vision_plan_benefits.rb +30 -5
  241. data/lib/vericred_client/models/vision_plan_search_applicant.rb +30 -5
  242. data/lib/vericred_client/models/vision_plan_search_request.rb +30 -5
  243. data/lib/vericred_client/models/vision_plan_search_response.rb +30 -5
  244. data/lib/vericred_client/models/vision_plan_show_response.rb +30 -5
  245. data/lib/vericred_client/models/vision_plan_update.rb +44 -9
  246. data/lib/vericred_client/models/vision_plan_update_request.rb +30 -5
  247. data/lib/vericred_client/models/zip_code.rb +30 -5
  248. data/lib/vericred_client/models/zip_counties_response.rb +30 -5
  249. data/lib/vericred_client/models/zip_county.rb +30 -5
  250. data/lib/vericred_client/models/zip_county_bulk.rb +30 -5
  251. data/lib/vericred_client/models/zip_county_response.rb +30 -5
  252. data/lib/vericred_client/version.rb +31 -6
  253. data/spec/api/bulk_plans_api_spec.rb +1043 -0
  254. data/spec/api/carrier_groups_api_spec.rb +30 -5
  255. data/spec/api/carriers_api_spec.rb +30 -5
  256. data/spec/api/dental_plans_api_spec.rb +30 -5
  257. data/spec/api/drugs_api_spec.rb +30 -5
  258. data/spec/api/embargoes_api_spec.rb +30 -5
  259. data/spec/api/formularies_api_spec.rb +43 -5
  260. data/spec/api/issuers_api_spec.rb +30 -5
  261. data/spec/api/major_medical_plans_api_spec.rb +33 -8
  262. data/spec/api/medical_plans_api_spec.rb +55 -5
  263. data/spec/api/medicare_advantage_plans_api_spec.rb +30 -5
  264. data/spec/api/network_sizes_api_spec.rb +30 -5
  265. data/spec/api/networks_api_spec.rb +30 -5
  266. data/spec/api/plans_api_spec.rb +30 -5
  267. data/spec/api/providers_api_spec.rb +32 -7
  268. data/spec/api/quoting_api_spec.rb +36 -11
  269. data/spec/api/rates_api_spec.rb +30 -5
  270. data/spec/api/{carrier_verification_dental_plans_api_spec.rb → service_areas_api_spec.rb} +43 -17
  271. data/spec/api/specialties_api_spec.rb +30 -5
  272. data/spec/api/vision_plans_api_spec.rb +30 -5
  273. data/spec/api/zip_counties_api_spec.rb +30 -5
  274. data/spec/api_client_spec.rb +30 -5
  275. data/spec/configuration_spec.rb +30 -5
  276. data/spec/models/aca_plan2018_search_response_spec.rb +30 -5
  277. data/spec/models/aca_plan2018_search_result_spec.rb +66 -5
  278. data/spec/models/aca_plan2018_search_spec.rb +1614 -0
  279. data/spec/models/aca_plan2018_show_response_spec.rb +30 -5
  280. data/spec/models/aca_plan2018_spec.rb +60 -29
  281. data/spec/models/aca_plan_pre2018_search_response_spec.rb +30 -5
  282. data/spec/models/aca_plan_pre2018_search_result_spec.rb +30 -5
  283. data/spec/models/aca_plan_pre2018_search_spec.rb +1572 -0
  284. data/spec/models/aca_plan_pre2018_show_response_spec.rb +30 -5
  285. data/spec/models/aca_plan_pre2018_spec.rb +30 -35
  286. data/spec/models/aca_plan_spec.rb +30 -35
  287. data/spec/models/address_spec.rb +30 -5
  288. data/spec/models/age_banded_spec.rb +1050 -0
  289. data/spec/models/ancillary_plan_identifier_spec.rb +30 -5
  290. data/spec/models/base_plan_search_response_spec.rb +30 -5
  291. data/spec/models/base_spec.rb +30 -5
  292. data/spec/models/carrier_group_request_spec.rb +30 -5
  293. data/spec/models/carrier_request_spec.rb +30 -5
  294. data/spec/models/carrier_spec.rb +30 -5
  295. data/spec/models/carrier_subsidiary_spec.rb +30 -5
  296. data/spec/models/county_bulk_spec.rb +30 -5
  297. data/spec/models/county_spec.rb +30 -5
  298. data/spec/models/dental_plan_benefits_spec.rb +30 -5
  299. data/spec/models/dental_plan_search_applicant_spec.rb +30 -5
  300. data/spec/models/dental_plan_search_request_spec.rb +30 -5
  301. data/spec/models/dental_plan_search_response_spec.rb +30 -5
  302. data/spec/{api/provider_notification_subscriptions_api_spec.rb → models/dental_plan_search_spec.rb} +136 -38
  303. data/spec/models/dental_plan_show_response_spec.rb +30 -5
  304. data/spec/models/dental_plan_spec.rb +30 -29
  305. data/spec/models/dental_plan_update_request_spec.rb +30 -5
  306. data/spec/models/dental_plan_update_spec.rb +42 -5
  307. data/spec/models/dependent_create_request_spec.rb +30 -5
  308. data/spec/models/dependent_create_spec.rb +30 -5
  309. data/spec/models/dependent_show_spec.rb +30 -5
  310. data/spec/models/drug_coverage_base_spec.rb +30 -5
  311. data/spec/models/drug_coverage_response_spec.rb +30 -5
  312. data/spec/models/drug_coverage_spec.rb +30 -5
  313. data/spec/models/drug_details_spec.rb +30 -5
  314. data/spec/models/drug_package_spec.rb +30 -5
  315. data/spec/models/drug_search_drug_package_spec.rb +30 -5
  316. data/spec/models/drug_search_request_spec.rb +30 -5
  317. data/spec/models/drug_search_response_spec.rb +30 -5
  318. data/spec/models/drug_spec.rb +30 -5
  319. data/spec/models/embargo_request_spec.rb +30 -5
  320. data/spec/models/formulary_drug_coverage_spec.rb +30 -5
  321. data/spec/models/formulary_drug_package_response_spec.rb +30 -5
  322. data/spec/models/formulary_response_spec.rb +30 -5
  323. data/spec/models/formulary_spec.rb +30 -5
  324. data/spec/models/four_tier_composite_spec.rb +1062 -0
  325. data/spec/models/group_create_request_spec.rb +30 -5
  326. data/spec/models/group_create_response_spec.rb +30 -5
  327. data/spec/models/group_create_spec.rb +30 -5
  328. data/spec/models/group_show_response_spec.rb +30 -5
  329. data/spec/models/group_show_spec.rb +30 -5
  330. data/spec/models/group_update_request_spec.rb +30 -5
  331. data/spec/models/group_update_spec.rb +30 -5
  332. data/spec/models/issuer_request_spec.rb +30 -5
  333. data/spec/models/location_create_spec.rb +30 -5
  334. data/spec/models/location_show_spec.rb +30 -5
  335. data/spec/models/location_update_spec.rb +30 -5
  336. data/spec/models/medical_plan_benefits_spec.rb +42 -5
  337. data/spec/models/{request_plan_find_carrier_verification_spec.rb → medical_plan_search_request_spec.rb} +37 -24
  338. data/spec/models/medical_plan_update_request_spec.rb +30 -5
  339. data/spec/models/medical_plan_update_spec.rb +64 -9
  340. data/spec/models/medicare_advantage_plan_benefits_spec.rb +30 -5
  341. data/spec/models/medicare_advantage_plan_search_request_spec.rb +30 -5
  342. data/spec/models/medicare_advantage_plan_search_response_spec.rb +30 -5
  343. data/spec/models/medicare_advantage_plan_search_spec.rb +1170 -0
  344. data/spec/models/medicare_advantage_plan_show_response_spec.rb +30 -5
  345. data/spec/models/medicare_advantage_plan_spec.rb +30 -17
  346. data/spec/models/medicare_advantage_plan_update_request_spec.rb +30 -5
  347. data/spec/models/medicare_advantage_plan_update_spec.rb +30 -5
  348. data/spec/models/member_create_spec.rb +30 -5
  349. data/spec/models/member_rate_show_request_spec.rb +30 -5
  350. data/spec/models/member_rate_show_spec.rb +30 -5
  351. data/spec/models/member_rates_show_response_spec.rb +30 -5
  352. data/spec/models/member_show_spec.rb +30 -5
  353. data/spec/models/members_create_request_spec.rb +30 -11
  354. data/spec/models/members_create_response_spec.rb +30 -5
  355. data/spec/models/members_show_response_spec.rb +30 -5
  356. data/spec/models/meta_plan_search_response_spec.rb +30 -5
  357. data/spec/models/meta_spec.rb +30 -5
  358. data/spec/models/network_comparison_request_spec.rb +30 -5
  359. data/spec/models/network_comparison_response_spec.rb +30 -5
  360. data/spec/models/network_comparison_spec.rb +30 -5
  361. data/spec/models/network_details_response_spec.rb +30 -5
  362. data/spec/models/network_details_spec.rb +30 -5
  363. data/spec/models/network_disruption_analysis_request_spec.rb +30 -5
  364. data/spec/models/network_disruption_analysis_response_spec.rb +30 -5
  365. data/spec/models/network_disruption_analysis_spec.rb +30 -5
  366. data/spec/models/network_search_response_spec.rb +30 -5
  367. data/spec/models/network_search_spec.rb +30 -5
  368. data/spec/models/network_size_spec.rb +30 -5
  369. data/spec/models/network_spec.rb +30 -5
  370. data/spec/models/notification_subscription_response_spec.rb +30 -5
  371. data/spec/models/notification_subscription_spec.rb +30 -5
  372. data/spec/models/plan_county_bulk_spec.rb +30 -5
  373. data/spec/models/plan_county_spec.rb +30 -5
  374. data/spec/models/plan_deleted_spec.rb +30 -5
  375. data/spec/models/plan_identifier_spec.rb +30 -5
  376. data/spec/models/plan_medicare_bulk_spec.rb +30 -29
  377. data/spec/models/plan_medicare_spec.rb +30 -29
  378. data/spec/models/plan_network_spec.rb +30 -5
  379. data/spec/models/plan_pricing_medicare_spec.rb +30 -5
  380. data/spec/models/plan_search_response_spec.rb +30 -5
  381. data/spec/models/plan_show_response_spec.rb +30 -5
  382. data/spec/models/plan_spec.rb +30 -29
  383. data/spec/models/plans_bulk_aca2018_spec.rb +30 -5
  384. data/spec/models/plans_bulk_aca_pre2018_spec.rb +30 -5
  385. data/spec/models/plans_bulk_base_spec.rb +30 -5
  386. data/spec/models/plans_bulk_dental_spec.rb +30 -5
  387. data/spec/models/plans_bulk_search_request_spec.rb +1068 -0
  388. data/spec/{api/carrier_verification_plans_api_spec.rb → models/plans_bulk_search_response_spec.rb} +46 -20
  389. data/spec/models/plans_bulk_vision_spec.rb +30 -5
  390. data/spec/models/premiums_spec.rb +1056 -0
  391. data/spec/models/provider_details_spec.rb +36 -5
  392. data/spec/models/provider_geocode_spec.rb +30 -5
  393. data/spec/models/provider_network_event_notification_spec.rb +30 -5
  394. data/spec/models/provider_network_specialty_spec.rb +30 -5
  395. data/spec/models/{request_plan_find_spec.rb → provider_networks_address_spec.rb} +43 -60
  396. data/spec/models/provider_networks_spec.rb +36 -5
  397. data/spec/{api/carrier_verification_vision_plans_api_spec.rb → models/provider_plan_network_response_spec.rb} +46 -20
  398. data/spec/models/provider_plan_response_spec.rb +42 -5
  399. data/spec/models/provider_plans_request_spec.rb +30 -5
  400. data/spec/models/provider_plans_spec.rb +30 -5
  401. data/spec/models/provider_show_response_spec.rb +30 -5
  402. data/spec/models/provider_spec.rb +30 -5
  403. data/spec/models/providers_geocode_response_spec.rb +30 -5
  404. data/spec/models/providers_search_response_spec.rb +30 -5
  405. data/spec/models/quote_create_request_spec.rb +30 -5
  406. data/spec/models/quote_create_response_spec.rb +30 -5
  407. data/spec/models/quote_create_spec.rb +30 -5
  408. data/spec/models/quote_show_response_spec.rb +30 -5
  409. data/spec/models/quote_show_spec.rb +30 -5
  410. data/spec/models/rate_request_spec.rb +30 -5
  411. data/spec/models/rate_search_spec.rb +30 -5
  412. data/spec/models/rate_show_request_spec.rb +30 -5
  413. data/spec/models/rate_show_spec.rb +36 -5
  414. data/spec/models/rates_show_response_spec.rb +30 -5
  415. data/spec/models/rating_area_spec.rb +30 -5
  416. data/spec/models/request_plan_find_applicant_spec.rb +30 -5
  417. data/spec/models/request_plan_find_drug_package_spec.rb +30 -5
  418. data/spec/models/request_plan_find_provider_spec.rb +30 -5
  419. data/spec/models/request_provider_notification_subscription_spec.rb +30 -5
  420. data/spec/models/request_providers_search_spec.rb +30 -5
  421. data/spec/models/request_rates_search_spec.rb +30 -5
  422. data/spec/models/response_rates_search_spec.rb +30 -5
  423. data/spec/models/rx_cui_identifier_search_response_spec.rb +30 -5
  424. data/spec/models/rx_cui_identifier_spec.rb +30 -5
  425. data/spec/models/service_area_spec.rb +30 -5
  426. data/spec/models/service_area_update_spec.rb +1068 -0
  427. data/spec/models/service_area_zip_county_spec.rb +30 -5
  428. data/spec/{api/carrier_verification_medical_plans_api_spec.rb → models/service_area_zip_county_update_spec.rb} +46 -20
  429. data/spec/models/specialty_search_response_spec.rb +30 -5
  430. data/spec/models/specialty_show_spec.rb +30 -5
  431. data/spec/models/state_network_size_request_spec.rb +30 -5
  432. data/spec/models/state_network_size_response_spec.rb +30 -5
  433. data/spec/models/state_spec.rb +30 -5
  434. data/spec/models/supplemental_options_spec.rb +30 -5
  435. data/spec/models/supplemental_options_update_spec.rb +30 -5
  436. data/spec/models/three_tier_composite_spec.rb +1056 -0
  437. data/spec/models/two_tier_composite_spec.rb +1050 -0
  438. data/spec/models/v7_network_comparison_response_spec.rb +30 -5
  439. data/spec/models/v7_response_providers_provider_details_spec.rb +36 -5
  440. data/spec/models/vision_plan_benefits_spec.rb +30 -5
  441. data/spec/models/vision_plan_search_applicant_spec.rb +30 -5
  442. data/spec/models/vision_plan_search_request_spec.rb +30 -5
  443. data/spec/models/vision_plan_search_response_spec.rb +30 -5
  444. data/spec/models/vision_plan_show_response_spec.rb +30 -5
  445. data/spec/models/vision_plan_spec.rb +30 -5
  446. data/spec/models/vision_plan_update_request_spec.rb +30 -5
  447. data/spec/models/vision_plan_update_spec.rb +36 -5
  448. data/spec/models/zip_code_spec.rb +30 -5
  449. data/spec/models/zip_counties_response_spec.rb +30 -5
  450. data/spec/models/zip_county_bulk_spec.rb +30 -5
  451. data/spec/models/zip_county_response_spec.rb +30 -5
  452. data/spec/models/zip_county_spec.rb +30 -5
  453. data/spec/spec_helper.rb +30 -5
  454. data/vericred_client.gemspec +30 -5
  455. metadata +74 -34
  456. data/docs/CarrierVerificationDentalPlansApi.md +0 -63
  457. data/docs/CarrierVerificationMedicalPlansApi.md +0 -63
  458. data/docs/CarrierVerificationPlansApi.md +0 -63
  459. data/docs/CarrierVerificationVisionPlansApi.md +0 -63
  460. data/docs/DrugPackagesApi.md +0 -66
  461. data/docs/ProviderNotificationSubscriptionsApi.md +0 -173
  462. data/docs/RequestPlanFindCarrierVerification.md +0 -23
  463. data/lib/vericred_client/api/carrier_verification_plans_api.rb +0 -1051
  464. data/lib/vericred_client/api/carrier_verification_vision_plans_api.rb +0 -1051
  465. data/lib/vericred_client/api/drug_packages_api.rb +0 -1055
  466. data/spec/api/drug_packages_api_spec.rb +0 -1019
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -1018,4 +1043,17 @@ describe 'FormulariesApi' do
1018
1043
  end
1019
1044
  end
1020
1045
 
1046
+ # unit tests for show_formulary_drug_package_coverage
1047
+ # Formulary Drug Package Search
1048
+ # Search for coverage by Formulary and DrugPackage ID
1049
+ # @param formulary_id ID of the Formulary in question
1050
+ # @param ndc_package_code ID of the DrugPackage in question
1051
+ # @param [Hash] opts the optional parameters
1052
+ # @return [FormularyDrugPackageResponse]
1053
+ describe 'show_formulary_drug_package_coverage test' do
1054
+ it "should work" do
1055
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1056
+ end
1057
+ end
1058
+
1021
1059
  end
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -1005,7 +1030,7 @@ describe 'MajorMedicalPlansApi' do
1005
1030
 
1006
1031
  # unit tests for find_major_medical_plans
1007
1032
  # Search Plans
1008
- # ### Searching for Medical Plans Determine the available Plans and their Premiums for a particular Family in a given Location. For details on searching for Plans and their related data, see the [Quoting Medical Plans](#header-major-medical-quotes) section. ### Additional Sorting Plans can be sorted by the `premium`, `carrier_name`, `level`, and `plan_type` fields, by either ascending (as `asc`) or descending (as `dsc`) sort under the `sort` field. ### Provider Data The Major Medical Plans are paired with [Network Provider Data](#header-network-and-provider-data) ### Drug coverages Are included along with the rest of the plan data. See [the description below](#drugcoverages) for more details.
1033
+ # ### Searching for Medical Plans Determine the available Plans and their Premiums for a particular Family in a given Location. For details on searching for Plans and their related data, see the [Quoting Medical Plans](#header-major-medical-quotes) section. ### Parameters | Field | Type | Notes | |---------------------------------------------------|----------|---------------------------------------------------------------------------------------------------------------------------| | zip_code<br />_(required)_ | `string` | | | fips_code<br />_(required)_ | `string` | | | market<br />_(required)_ | `string` | The options are: `individual` or `small_group`. | | enrollment_date<br />_(optional)_ | `string` | The format is `2019-01-01`. If this is not provided, we default it to today's date. | | applicants<br />_(optional)_ | `list` | Use this field to see premiums for `individual` quotes. See below for parameters. | | drug_packages<br />_(optional)_ | `list` | Use this field to see drug coverage information by plan. Supply either the NDC Package Code or the Med ID of the `Drug`. | | household_income<br />_(optional)_ | `int` | The total household income of the applicant for `individual` quotes. | | household_size<br />_(optional)_ | `int` | The number of applicants and dependents applying for `individual` quotes. | | ids<br />_(optional)_ | `list` | Use this field to hard filter results to certain HIOS IDs. | | providers<br />_(optional)_ | `list` | Use this field to see if providers are in- or out-of-network for each plan by providing their NPIs. | | issuer_qualifications_met<br />_(optional)_ | `list` | A list of HIOS Issuer IDs of which the end-user has answered qualification questions for. | ### Applicants _(optional)_ | Field | Type | Notes | |---------------------------------------------------|-----------|-------| | age<br />_(required)_ | `int` | | | child<br />_(required)_ | `boolean` | | | smoker<br />_(required)_ | `boolean` | | ### Additional Sorting Plans can be sorted by the `premium`, `carrier_name`, `level`, and `plan_type` fields, by either ascending (as `asc`) or descending (as `dsc`) sort under the `sort` field. ### Provider Data The Major Medical Plans are paired with [Network Provider Data](#header-network-and-provider-data) ### Drug coverages Are included along with the rest of the plan data. See [the description below](#drugcoverages) for more details. ### Issuer Qualifications Some issuers require end users to answer questions before their plans can be made available to them, e.g. certain Association Health Plans. Vericred supports this by asking you to confirm that the end user has answered the requisite questions by passing the HIOS Issuer ID of the issuer in the optional `issuer_qualifications_met` request key. Plans for the requested issuer(s) that are available in the geographic area will have a `-94` suffix in their `id`. For information on the issuers with qualifications that are supported, please reach out to support@vericred.com.
1009
1034
  # @param body
1010
1035
  # @param [Hash] opts the optional parameters
1011
1036
  # @return [PlanSearchResponse]
@@ -1015,14 +1040,14 @@ describe 'MajorMedicalPlansApi' do
1015
1040
  end
1016
1041
  end
1017
1042
 
1018
- # unit tests for show_major_medical_plan
1043
+ # unit tests for show_medical_plan
1019
1044
  # Show Plan
1020
1045
  # ### Retrieving Benefits for a Medical Plan Show the details of an individual Plan. This includes all [benefits](#header-major-medical) for the Plan. For more details on displaying Plans and their related data, see the [Quoting](#header-individual-quotes) section.
1021
1046
  # @param id ID of the Plan
1022
1047
  # @param [Hash] opts the optional parameters
1023
1048
  # @option opts [Integer] :year Plan year (defaults to current year)
1024
1049
  # @return [PlanShowResponse]
1025
- describe 'show_major_medical_plan test' do
1050
+ describe 'show_medical_plan test' do
1026
1051
  it "should work" do
1027
1052
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1028
1053
  end
@@ -777,11 +777,36 @@ Response
777
777
  "rates": [
778
778
  ...
779
779
  {
780
+ "id": "123abc",
780
781
  "plan_id": "12345NY6789012",
781
- "total_premium": 2800.0,
782
- "member_premium": 1000.0,
783
- "dependent_premium": 1800.0,
784
- "id": "123abc"
782
+ "total_premium": "2800.00",
783
+ "member_premium": "1000.00",
784
+ "dependent_premium": "1800.00",
785
+ "premiums": {
786
+ "age_banded": {
787
+ "total_member": "1000.00",
788
+ "total_dependent": "1800.00",
789
+ "total": "2800.00"
790
+ },
791
+ "2_tier_composite": {
792
+ "employee_only": "200.00",
793
+ "employee_plus_family": "400.00",
794
+ "total": "2800.00"
795
+ },
796
+ "3_tier_composite": {
797
+ "employee_only": "200.00",
798
+ "employee_plus_one": "250.00",
799
+ "employee_plus_family": "330.00",
800
+ "total": "2800.00"
801
+ },
802
+ "4_tier_composite": {
803
+ "employee_only": "200.00",
804
+ "employee_plus_child": "220.00",
805
+ "employee_plus_spouse": "250.00",
806
+ "employee_plus_family": "330.00",
807
+ "total": "2800.00"
808
+ }
809
+ }
785
810
  }
786
811
  ...
787
812
  ]
@@ -829,7 +854,7 @@ Response
829
854
  "member_external_id": "externally-supplied-id",
830
855
  "member_premium": 500.0,
831
856
  "dependent_premium": 600.0,
832
- "total_premium": 1100.0,
857
+ "total_premium": 1100.0
833
858
  }
834
859
  ...
835
860
  ]
@@ -1003,6 +1028,18 @@ describe 'MedicalPlansApi' do
1003
1028
  end
1004
1029
  end
1005
1030
 
1031
+ # unit tests for find_major_medical_plans
1032
+ # Search Plans
1033
+ # ### Searching for Medical Plans Determine the available Plans and their Premiums for a particular Family in a given Location. For details on searching for Plans and their related data, see the [Quoting Medical Plans](#header-major-medical-quotes) section. ### Parameters | Field | Type | Notes | |---------------------------------------------------|----------|---------------------------------------------------------------------------------------------------------------------------| | zip_code<br />_(required)_ | `string` | | | fips_code<br />_(required)_ | `string` | | | market<br />_(required)_ | `string` | The options are: `individual` or `small_group`. | | enrollment_date<br />_(optional)_ | `string` | The format is `2019-01-01`. If this is not provided, we default it to today's date. | | applicants<br />_(optional)_ | `list` | Use this field to see premiums for `individual` quotes. See below for parameters. | | drug_packages<br />_(optional)_ | `list` | Use this field to see drug coverage information by plan. Supply either the NDC Package Code or the Med ID of the `Drug`. | | household_income<br />_(optional)_ | `int` | The total household income of the applicant for `individual` quotes. | | household_size<br />_(optional)_ | `int` | The number of applicants and dependents applying for `individual` quotes. | | ids<br />_(optional)_ | `list` | Use this field to hard filter results to certain HIOS IDs. | | providers<br />_(optional)_ | `list` | Use this field to see if providers are in- or out-of-network for each plan by providing their NPIs. | | issuer_qualifications_met<br />_(optional)_ | `list` | A list of HIOS Issuer IDs of which the end-user has answered qualification questions for. | ### Applicants _(optional)_ | Field | Type | Notes | |---------------------------------------------------|-----------|-------| | age<br />_(required)_ | `int` | | | child<br />_(required)_ | `boolean` | | | smoker<br />_(required)_ | `boolean` | | ### Additional Sorting Plans can be sorted by the `premium`, `carrier_name`, `level`, and `plan_type` fields, by either ascending (as `asc`) or descending (as `dsc`) sort under the `sort` field. ### Provider Data The Major Medical Plans are paired with [Network Provider Data](#header-network-and-provider-data) ### Drug coverages Are included along with the rest of the plan data. See [the description below](#drugcoverages) for more details. ### Issuer Qualifications Some issuers require end users to answer questions before their plans can be made available to them, e.g. certain Association Health Plans. Vericred supports this by asking you to confirm that the end user has answered the requisite questions by passing the HIOS Issuer ID of the issuer in the optional `issuer_qualifications_met` request key. Plans for the requested issuer(s) that are available in the geographic area will have a `-94` suffix in their `id`. For information on the issuers with qualifications that are supported, please reach out to support@vericred.com.
1034
+ # @param body
1035
+ # @param [Hash] opts the optional parameters
1036
+ # @return [PlanSearchResponse]
1037
+ describe 'find_major_medical_plans test' do
1038
+ it "should work" do
1039
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1040
+ end
1041
+ end
1042
+
1006
1043
  # unit tests for put_medical_plan
1007
1044
  # Create/update a Medical Plan
1008
1045
  # Add or update a Medical Plan to the database.
@@ -1016,4 +1053,17 @@ describe 'MedicalPlansApi' do
1016
1053
  end
1017
1054
  end
1018
1055
 
1056
+ # unit tests for show_medical_plan
1057
+ # Show Plan
1058
+ # ### Retrieving Benefits for a Medical Plan Show the details of an individual Plan. This includes all [benefits](#header-major-medical) for the Plan. For more details on displaying Plans and their related data, see the [Quoting](#header-individual-quotes) section.
1059
+ # @param id ID of the Plan
1060
+ # @param [Hash] opts the optional parameters
1061
+ # @option opts [Integer] :year Plan year (defaults to current year)
1062
+ # @return [PlanShowResponse]
1063
+ describe 'show_medical_plan test' do
1064
+ it "should work" do
1065
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1066
+ end
1067
+ end
1068
+
1019
1069
  end