vericred_client 0.0.11 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (319) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +92 -21
  3. data/docs/ACAPlan.md +96 -0
  4. data/docs/ACAPlan2018.md +97 -0
  5. data/docs/ACAPlan2018SearchResponse.md +10 -0
  6. data/docs/ACAPlan2018SearchResult.md +100 -0
  7. data/docs/ACAPlan2018ShowResponse.md +8 -0
  8. data/docs/ACAPlanPre2018.md +96 -0
  9. data/docs/ACAPlanPre2018SearchResponse.md +10 -0
  10. data/docs/{PlanSearchResult.md → ACAPlanPre2018SearchResult.md} +30 -11
  11. data/docs/ACAPlanPre2018ShowResponse.md +8 -0
  12. data/docs/BasePlanSearchResponse.md +9 -0
  13. data/docs/Carrier.md +0 -1
  14. data/docs/CarrierGroupRequest.md +10 -0
  15. data/docs/CarrierGroupsApi.md +119 -0
  16. data/docs/CarrierRequest.md +11 -0
  17. data/docs/CarrierSubsidiary.md +1 -0
  18. data/docs/CarrierVerificationPlansApi.md +63 -0
  19. data/docs/CarriersApi.md +119 -0
  20. data/docs/DentalPlan.md +20 -0
  21. data/docs/DentalPlanBenefits.md +30 -0
  22. data/docs/DentalPlanSearchApplicant.md +10 -0
  23. data/docs/DentalPlanSearchRequest.md +15 -0
  24. data/docs/DentalPlanSearchResponse.md +9 -0
  25. data/docs/DentalPlanShowResponse.md +8 -0
  26. data/docs/DentalPlanUpdate.md +16 -0
  27. data/docs/DentalPlanUpdateRequest.md +8 -0
  28. data/docs/DentalPlansApi.md +174 -0
  29. data/docs/DrugCoverage.md +1 -0
  30. data/docs/DrugCoverageResponse.md +1 -2
  31. data/docs/EmbargoRequest.md +13 -0
  32. data/docs/EmbargoesApi.md +119 -0
  33. data/docs/FormulariesApi.md +70 -0
  34. data/docs/IssuerRequest.md +19 -0
  35. data/docs/IssuersApi.md +119 -0
  36. data/docs/MedicalPlansApi.md +122 -0
  37. data/docs/{PlanSearchResponseMeta.md → MetaPlanSearchResponse.md} +2 -1
  38. data/docs/NetworkComparison.md +13 -0
  39. data/docs/NetworkComparisonRequest.md +10 -0
  40. data/docs/NetworkComparisonResponse.md +9 -0
  41. data/docs/NetworksApi.md +58 -0
  42. data/docs/NotificationSubscription.md +8 -0
  43. data/docs/NotificationSubscriptionResponse.md +8 -0
  44. data/docs/Plan.md +2 -61
  45. data/docs/PlanDeleted.md +7 -0
  46. data/docs/PlanIdentifier.md +9 -0
  47. data/docs/PlanMedicare.md +19 -0
  48. data/docs/PlanMedicareBulk.md +21 -0
  49. data/docs/PlanPricingMedicare.md +15 -0
  50. data/docs/PlanSearchResponse.md +1 -1
  51. data/docs/PlanShowResponse.md +1 -1
  52. data/docs/PlansApi.md +111 -1
  53. data/docs/Provider.md +1 -1
  54. data/docs/ProviderDetails.md +1 -1
  55. data/docs/ProviderNetworkEventNotification.md +13 -0
  56. data/docs/ProviderNotificationSubscriptionsApi.md +173 -0
  57. data/docs/ProvidersApi.md +68 -18
  58. data/docs/RateRequest.md +148 -0
  59. data/docs/RateSearch.md +143 -0
  60. data/docs/RatesApi.md +119 -0
  61. data/docs/RequestPlanFind.md +2 -0
  62. data/docs/RequestPlanFindCarrierVerification.md +23 -0
  63. data/docs/RequestProviderNotificationSubscription.md +10 -0
  64. data/docs/RequestProvidersSearch.md +1 -0
  65. data/docs/RequestRatesSearch.md +10 -0
  66. data/docs/ResponseRatesSearch.md +8 -0
  67. data/docs/RxCuiIdentifier.md +11 -0
  68. data/docs/RxCuiIdentifierSearchResponse.md +9 -0
  69. data/docs/VisionPlan.md +20 -0
  70. data/docs/VisionPlanBenefits.md +25 -0
  71. data/docs/VisionPlanSearchApplicant.md +10 -0
  72. data/docs/VisionPlanSearchRequest.md +15 -0
  73. data/docs/VisionPlanSearchResponse.md +9 -0
  74. data/docs/VisionPlanShowResponse.md +8 -0
  75. data/docs/VisionPlanUpdate.md +16 -0
  76. data/docs/VisionPlanUpdateRequest.md +8 -0
  77. data/docs/VisionPlansApi.md +174 -0
  78. data/lib/vericred_client/api/carrier_groups_api.rb +346 -0
  79. data/lib/vericred_client/api/carrier_verification_plans_api.rb +287 -0
  80. data/lib/vericred_client/api/carriers_api.rb +346 -0
  81. data/lib/vericred_client/api/dental_plans_api.rb +403 -0
  82. data/lib/vericred_client/api/drug_coverages_api.rb +5 -3
  83. data/lib/vericred_client/api/drug_packages_api.rb +5 -3
  84. data/lib/vericred_client/api/drugs_api.rb +5 -3
  85. data/lib/vericred_client/api/embargoes_api.rb +346 -0
  86. data/lib/vericred_client/api/formularies_api.rb +295 -0
  87. data/lib/vericred_client/api/issuers_api.rb +346 -0
  88. data/lib/vericred_client/api/medical_plans_api.rb +347 -0
  89. data/lib/vericred_client/api/network_sizes_api.rb +5 -3
  90. data/lib/vericred_client/api/networks_api.rb +66 -3
  91. data/lib/vericred_client/api/plans_api.rb +122 -3
  92. data/lib/vericred_client/api/provider_notification_subscriptions_api.rb +395 -0
  93. data/lib/vericred_client/api/providers_api.rb +82 -27
  94. data/lib/vericred_client/api/rates_api.rb +346 -0
  95. data/lib/vericred_client/api/vision_plans_api.rb +403 -0
  96. data/lib/vericred_client/api/zip_counties_api.rb +5 -3
  97. data/lib/vericred_client/api_client.rb +5 -3
  98. data/lib/vericred_client/api_error.rb +5 -3
  99. data/lib/vericred_client/configuration.rb +5 -3
  100. data/lib/vericred_client/models/aca_plan.rb +1284 -0
  101. data/lib/vericred_client/models/aca_plan2018.rb +1294 -0
  102. data/lib/vericred_client/models/aca_plan2018_search_response.rb +420 -0
  103. data/lib/vericred_client/models/aca_plan2018_search_result.rb +1324 -0
  104. data/lib/vericred_client/models/aca_plan2018_show_response.rb +396 -0
  105. data/lib/vericred_client/models/aca_plan_pre2018.rb +1284 -0
  106. data/lib/vericred_client/models/aca_plan_pre2018_search_response.rb +420 -0
  107. data/lib/vericred_client/models/{plan_search_result.rb → aca_plan_pre2018_search_result.rb} +294 -98
  108. data/lib/vericred_client/models/aca_plan_pre2018_show_response.rb +396 -0
  109. data/lib/vericred_client/models/base.rb +5 -3
  110. data/lib/vericred_client/models/base_plan_search_response.rb +408 -0
  111. data/lib/vericred_client/models/carrier.rb +9 -17
  112. data/lib/vericred_client/models/carrier_group_request.rb +416 -0
  113. data/lib/vericred_client/models/carrier_request.rb +426 -0
  114. data/lib/vericred_client/models/carrier_subsidiary.rb +19 -7
  115. data/lib/vericred_client/models/county.rb +5 -3
  116. data/lib/vericred_client/models/county_bulk.rb +5 -3
  117. data/lib/vericred_client/models/dental_plan.rb +518 -0
  118. data/lib/vericred_client/models/dental_plan_benefits.rb +616 -0
  119. data/lib/vericred_client/models/dental_plan_search_applicant.rb +416 -0
  120. data/lib/vericred_client/models/dental_plan_search_request.rb +468 -0
  121. data/lib/vericred_client/models/dental_plan_search_response.rb +408 -0
  122. data/lib/vericred_client/models/dental_plan_show_response.rb +396 -0
  123. data/lib/vericred_client/models/dental_plan_update.rb +478 -0
  124. data/lib/vericred_client/models/dental_plan_update_request.rb +396 -0
  125. data/lib/vericred_client/models/drug.rb +5 -3
  126. data/lib/vericred_client/models/drug_coverage.rb +18 -4
  127. data/lib/vericred_client/models/drug_coverage_response.rb +12 -24
  128. data/lib/vericred_client/models/drug_package.rb +5 -3
  129. data/lib/vericred_client/models/drug_search_response.rb +5 -3
  130. data/lib/vericred_client/models/embargo_request.rb +446 -0
  131. data/lib/vericred_client/models/formulary.rb +5 -3
  132. data/lib/vericred_client/models/formulary_drug_package_response.rb +5 -3
  133. data/lib/vericred_client/models/formulary_response.rb +5 -3
  134. data/lib/vericred_client/models/issuer_request.rb +506 -0
  135. data/lib/vericred_client/models/meta.rb +5 -3
  136. data/lib/vericred_client/models/{plan_search_response_meta.rb → meta_plan_search_response.rb} +20 -8
  137. data/lib/vericred_client/models/network.rb +5 -3
  138. data/lib/vericred_client/models/network_comparison.rb +446 -0
  139. data/lib/vericred_client/models/network_comparison_request.rb +418 -0
  140. data/lib/vericred_client/models/network_comparison_response.rb +410 -0
  141. data/lib/vericred_client/models/network_details.rb +5 -3
  142. data/lib/vericred_client/models/network_details_response.rb +5 -3
  143. data/lib/vericred_client/models/network_search_response.rb +5 -3
  144. data/lib/vericred_client/models/network_size.rb +5 -3
  145. data/lib/vericred_client/models/notification_subscription.rb +396 -0
  146. data/lib/vericred_client/models/notification_subscription_response.rb +396 -0
  147. data/lib/vericred_client/models/plan.rb +28 -616
  148. data/lib/vericred_client/models/plan_county.rb +5 -3
  149. data/lib/vericred_client/models/plan_county_bulk.rb +5 -3
  150. data/lib/vericred_client/models/plan_deleted.rb +386 -0
  151. data/lib/vericred_client/models/plan_identifier.rb +406 -0
  152. data/lib/vericred_client/models/plan_medicare.rb +510 -0
  153. data/lib/vericred_client/models/plan_medicare_bulk.rb +530 -0
  154. data/lib/vericred_client/models/plan_pricing_medicare.rb +466 -0
  155. data/lib/vericred_client/models/plan_search_response.rb +21 -19
  156. data/lib/vericred_client/models/plan_show_response.rb +6 -4
  157. data/lib/vericred_client/models/provider.rb +21 -17
  158. data/lib/vericred_client/models/provider_details.rb +18 -14
  159. data/lib/vericred_client/models/provider_geocode.rb +5 -3
  160. data/lib/vericred_client/models/provider_network_event_notification.rb +450 -0
  161. data/lib/vericred_client/models/provider_show_response.rb +5 -3
  162. data/lib/vericred_client/models/providers_geocode_response.rb +5 -3
  163. data/lib/vericred_client/models/providers_search_response.rb +5 -3
  164. data/lib/vericred_client/models/rate_request.rb +1796 -0
  165. data/lib/vericred_client/models/rate_search.rb +1746 -0
  166. data/lib/vericred_client/models/rating_area.rb +5 -3
  167. data/lib/vericred_client/models/request_plan_find.rb +26 -4
  168. data/lib/vericred_client/models/request_plan_find_applicant.rb +5 -3
  169. data/lib/vericred_client/models/request_plan_find_carrier_verification.rb +556 -0
  170. data/lib/vericred_client/models/request_plan_find_drug_package.rb +5 -3
  171. data/lib/vericred_client/models/request_plan_find_provider.rb +5 -3
  172. data/lib/vericred_client/models/request_provider_notification_subscription.rb +418 -0
  173. data/lib/vericred_client/models/request_providers_search.rb +18 -4
  174. data/lib/vericred_client/models/request_rates_search.rb +416 -0
  175. data/lib/vericred_client/models/response_rates_search.rb +396 -0
  176. data/lib/vericred_client/models/{applicant.rb → rx_cui_identifier.rb} +23 -51
  177. data/lib/vericred_client/models/rx_cui_identifier_search_response.rb +408 -0
  178. data/lib/vericred_client/models/service_area.rb +5 -3
  179. data/lib/vericred_client/models/service_area_zip_county.rb +5 -3
  180. data/lib/vericred_client/models/state.rb +5 -3
  181. data/lib/vericred_client/models/state_network_size_request.rb +5 -3
  182. data/lib/vericred_client/models/state_network_size_response.rb +5 -3
  183. data/lib/vericred_client/models/vision_plan.rb +518 -0
  184. data/lib/vericred_client/models/vision_plan_benefits.rb +566 -0
  185. data/lib/vericred_client/models/vision_plan_search_applicant.rb +416 -0
  186. data/lib/vericred_client/models/vision_plan_search_request.rb +468 -0
  187. data/lib/vericred_client/models/vision_plan_search_response.rb +408 -0
  188. data/lib/vericred_client/models/vision_plan_show_response.rb +396 -0
  189. data/lib/vericred_client/models/vision_plan_update.rb +478 -0
  190. data/lib/vericred_client/models/vision_plan_update_request.rb +396 -0
  191. data/lib/vericred_client/models/zip_code.rb +5 -3
  192. data/lib/vericred_client/models/zip_counties_response.rb +5 -3
  193. data/lib/vericred_client/models/zip_county.rb +5 -3
  194. data/lib/vericred_client/models/zip_county_bulk.rb +5 -3
  195. data/lib/vericred_client/models/zip_county_response.rb +5 -3
  196. data/lib/vericred_client/version.rb +6 -4
  197. data/lib/vericred_client.rb +66 -6
  198. data/spec/api/carrier_groups_api_spec.rb +267 -0
  199. data/spec/api/carrier_verification_plans_api_spec.rb +254 -0
  200. data/spec/api/carriers_api_spec.rb +267 -0
  201. data/spec/api/dental_plans_api_spec.rb +279 -0
  202. data/spec/api/drug_coverages_api_spec.rb +5 -3
  203. data/spec/api/drug_packages_api_spec.rb +5 -3
  204. data/spec/api/drugs_api_spec.rb +5 -3
  205. data/spec/api/embargoes_api_spec.rb +267 -0
  206. data/spec/api/formularies_api_spec.rb +257 -0
  207. data/spec/api/issuers_api_spec.rb +267 -0
  208. data/spec/api/medical_plans_api_spec.rb +267 -0
  209. data/spec/api/network_sizes_api_spec.rb +5 -3
  210. data/spec/api/networks_api_spec.rb +18 -3
  211. data/spec/api/plans_api_spec.rb +30 -3
  212. data/spec/api/provider_notification_subscriptions_api_spec.rb +278 -0
  213. data/spec/api/providers_api_spec.rb +23 -10
  214. data/spec/api/rates_api_spec.rb +267 -0
  215. data/spec/api/vision_plans_api_spec.rb +279 -0
  216. data/spec/api/zip_counties_api_spec.rb +5 -3
  217. data/spec/api_client_spec.rb +5 -3
  218. data/spec/configuration_spec.rb +5 -3
  219. data/spec/models/aca_plan2018_search_response_spec.rb +261 -0
  220. data/spec/models/aca_plan2018_search_result_spec.rb +801 -0
  221. data/spec/models/aca_plan2018_show_response_spec.rb +249 -0
  222. data/spec/models/aca_plan2018_spec.rb +783 -0
  223. data/spec/models/aca_plan_pre2018_search_response_spec.rb +261 -0
  224. data/spec/models/aca_plan_pre2018_search_result_spec.rb +795 -0
  225. data/spec/models/aca_plan_pre2018_show_response_spec.rb +249 -0
  226. data/spec/models/aca_plan_pre2018_spec.rb +777 -0
  227. data/spec/models/{plan_search_result_spec.rb → aca_plan_spec.rb} +149 -51
  228. data/spec/models/base_plan_search_response_spec.rb +255 -0
  229. data/spec/models/base_spec.rb +5 -3
  230. data/spec/models/carrier_group_request_spec.rb +261 -0
  231. data/spec/models/carrier_request_spec.rb +267 -0
  232. data/spec/models/carrier_spec.rb +5 -9
  233. data/spec/models/carrier_subsidiary_spec.rb +11 -3
  234. data/spec/models/county_bulk_spec.rb +5 -3
  235. data/spec/models/county_spec.rb +5 -3
  236. data/spec/models/dental_plan_benefits_spec.rb +381 -0
  237. data/spec/models/dental_plan_search_applicant_spec.rb +261 -0
  238. data/spec/models/dental_plan_search_request_spec.rb +291 -0
  239. data/spec/models/dental_plan_search_response_spec.rb +255 -0
  240. data/spec/models/dental_plan_show_response_spec.rb +249 -0
  241. data/spec/models/dental_plan_spec.rb +321 -0
  242. data/spec/models/dental_plan_update_request_spec.rb +249 -0
  243. data/spec/models/dental_plan_update_spec.rb +297 -0
  244. data/spec/models/drug_coverage_response_spec.rb +6 -10
  245. data/spec/models/drug_coverage_spec.rb +11 -3
  246. data/spec/models/drug_package_spec.rb +5 -3
  247. data/spec/models/drug_search_response_spec.rb +5 -3
  248. data/spec/models/drug_spec.rb +5 -3
  249. data/spec/models/{applicant_spec.rb → embargo_request_spec.rb} +17 -21
  250. data/spec/models/formulary_drug_package_response_spec.rb +5 -3
  251. data/spec/models/formulary_response_spec.rb +5 -3
  252. data/spec/models/formulary_spec.rb +5 -3
  253. data/spec/models/issuer_request_spec.rb +315 -0
  254. data/spec/models/meta_plan_search_response_spec.rb +261 -0
  255. data/spec/models/meta_spec.rb +5 -3
  256. data/spec/models/network_comparison_request_spec.rb +261 -0
  257. data/spec/models/network_comparison_response_spec.rb +255 -0
  258. data/spec/models/network_comparison_spec.rb +279 -0
  259. data/spec/models/network_details_response_spec.rb +5 -3
  260. data/spec/models/network_details_spec.rb +5 -3
  261. data/spec/models/network_search_response_spec.rb +5 -3
  262. data/spec/models/network_size_spec.rb +5 -3
  263. data/spec/models/network_spec.rb +5 -3
  264. data/spec/models/notification_subscription_response_spec.rb +249 -0
  265. data/spec/models/notification_subscription_spec.rb +249 -0
  266. data/spec/models/plan_county_bulk_spec.rb +5 -3
  267. data/spec/models/plan_county_spec.rb +5 -3
  268. data/spec/models/plan_deleted_spec.rb +243 -0
  269. data/spec/models/{plan_search_response_meta_spec.rb → plan_identifier_spec.rb} +13 -11
  270. data/spec/models/plan_medicare_bulk_spec.rb +327 -0
  271. data/spec/models/plan_medicare_spec.rb +315 -0
  272. data/spec/models/plan_pricing_medicare_spec.rb +291 -0
  273. data/spec/models/plan_search_response_spec.rb +7 -5
  274. data/spec/models/plan_show_response_spec.rb +5 -3
  275. data/spec/models/plan_spec.rb +8 -360
  276. data/spec/models/provider_details_spec.rb +11 -9
  277. data/spec/models/provider_geocode_spec.rb +5 -3
  278. data/spec/models/provider_network_event_notification_spec.rb +279 -0
  279. data/spec/models/provider_show_response_spec.rb +5 -3
  280. data/spec/models/provider_spec.rb +11 -9
  281. data/spec/models/providers_geocode_response_spec.rb +5 -3
  282. data/spec/models/providers_search_response_spec.rb +5 -3
  283. data/spec/models/rate_request_spec.rb +1089 -0
  284. data/spec/models/rate_search_spec.rb +1059 -0
  285. data/spec/models/rating_area_spec.rb +5 -3
  286. data/spec/models/request_plan_find_applicant_spec.rb +5 -3
  287. data/spec/models/request_plan_find_carrier_verification_spec.rb +339 -0
  288. data/spec/models/request_plan_find_drug_package_spec.rb +5 -3
  289. data/spec/models/request_plan_find_provider_spec.rb +5 -3
  290. data/spec/models/request_plan_find_spec.rb +17 -3
  291. data/spec/models/request_provider_notification_subscription_spec.rb +261 -0
  292. data/spec/models/request_providers_search_spec.rb +11 -3
  293. data/spec/models/request_rates_search_spec.rb +261 -0
  294. data/spec/models/response_rates_search_spec.rb +249 -0
  295. data/spec/models/rx_cui_identifier_search_response_spec.rb +255 -0
  296. data/spec/models/rx_cui_identifier_spec.rb +267 -0
  297. data/spec/models/service_area_spec.rb +5 -3
  298. data/spec/models/service_area_zip_county_spec.rb +5 -3
  299. data/spec/models/state_network_size_request_spec.rb +5 -3
  300. data/spec/models/state_network_size_response_spec.rb +5 -3
  301. data/spec/models/state_spec.rb +5 -3
  302. data/spec/models/vision_plan_benefits_spec.rb +351 -0
  303. data/spec/models/vision_plan_search_applicant_spec.rb +261 -0
  304. data/spec/models/vision_plan_search_request_spec.rb +291 -0
  305. data/spec/models/vision_plan_search_response_spec.rb +255 -0
  306. data/spec/models/vision_plan_show_response_spec.rb +249 -0
  307. data/spec/models/vision_plan_spec.rb +321 -0
  308. data/spec/models/vision_plan_update_request_spec.rb +249 -0
  309. data/spec/models/vision_plan_update_spec.rb +297 -0
  310. data/spec/models/zip_code_spec.rb +5 -3
  311. data/spec/models/zip_counties_response_spec.rb +5 -3
  312. data/spec/models/zip_county_bulk_spec.rb +5 -3
  313. data/spec/models/zip_county_response_spec.rb +5 -3
  314. data/spec/models/zip_county_spec.rb +5 -3
  315. data/spec/spec_helper.rb +5 -3
  316. data/vericred_client.gemspec +5 -3
  317. metadata +247 -16
  318. data/docs/Applicant.md +0 -14
  319. data/git_push.sh +0 -67
@@ -93,7 +93,7 @@ document.
93
93
  In this case, we want to select `name` and `phone` from the `provider` key,
94
94
  so we would add the parameters `select=provider.name,provider.phone`.
95
95
  We also want the `name` and `code` from the `states` key, so we would
96
- add the parameters `select=states.name,staes.code`. The id field of
96
+ add the parameters `select=states.name,states.code`. The id field of
97
97
  each document is always returned whether or not it is requested.
98
98
 
99
99
  Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
@@ -150,15 +150,16 @@ Here's a description of the benefits summary string, represented as a context-fr
150
150
  ```
151
151
  root ::= coverage
152
152
 
153
- coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_limitation)?
153
+ coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_modifier)?
154
154
  tiered_coverage ::= tier (space slash space tier)*
155
155
  tier ::= tier_name colon space (tier_coverage | not_applicable)
156
156
  tier_coverage ::= simple_coverage (space (then | or | and) space simple_coverage)* tier_limitation?
157
157
  simple_coverage ::= (pre_coverage_limitation space)? coverage_amount (space post_coverage_limitation)? (comma? space coverage_condition)?
158
- coverage_limitation ::= "limit" colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted)
158
+ coverage_modifier ::= limit_condition colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted | shared_across_tiers)
159
159
  waived_if_admitted ::= ("copay" space)? "waived if admitted"
160
160
  simple_limitation ::= pre_coverage_limitation space "copay applies"
161
161
  tier_name ::= "In-Network-Tier-2" | "Out-of-Network" | "In-Network"
162
+ limit_condition ::= "limit" | "condition"
162
163
  tier_limitation ::= comma space "up to" space (currency | (integer space time_unit plural?)) (space post_coverage_limitation)?
163
164
  coverage_amount ::= currency | unlimited | included | unknown | percentage | (digits space (treatment_unit | time_unit) plural?)
164
165
  pre_coverage_limitation ::= first space digits space time_unit plural?
@@ -168,6 +169,7 @@ allowance ::= upto_allowance | after_allowance
168
169
  upto_allowance ::= "up to" space (currency space)? "allowance"
169
170
  after_allowance ::= "after" space (currency space)? "allowance"
170
171
  see_carrier_documentation ::= "see carrier documentation for more information"
172
+ shared_across_tiers ::= "shared across all tiers"
171
173
  unknown ::= "unknown"
172
174
  unlimited ::= /[uU]nlimited/
173
175
  included ::= /[iI]ncluded in [mM]edical/
@@ -253,9 +255,6 @@ module VericredClient
253
255
  # name for the providers of type: organization.
254
256
  attr_accessor :organization_name
255
257
 
256
- # Personal contact phone for the provider.
257
- attr_accessor :personal_phone
258
-
259
258
  # Office phone for the provider
260
259
  attr_accessor :phone
261
260
 
@@ -289,6 +288,9 @@ module VericredClient
289
288
  # Postal code for the provider's address (e.g. 11215)
290
289
  attr_accessor :zip_code
291
290
 
291
+ # The National Provider Index (NPI) numbers associated with this provider.
292
+ attr_accessor :npis
293
+
292
294
 
293
295
  # Attribute mapping from ruby-style variable name to JSON key.
294
296
  def self.attribute_map
@@ -304,7 +306,6 @@ module VericredClient
304
306
  :'middle_name' => :'middle_name',
305
307
  :'network_ids' => :'network_ids',
306
308
  :'organization_name' => :'organization_name',
307
- :'personal_phone' => :'personal_phone',
308
309
  :'phone' => :'phone',
309
310
  :'presentation_name' => :'presentation_name',
310
311
  :'specialty' => :'specialty',
@@ -315,7 +316,8 @@ module VericredClient
315
316
  :'suffix' => :'suffix',
316
317
  :'title' => :'title',
317
318
  :'type' => :'type',
318
- :'zip_code' => :'zip_code'
319
+ :'zip_code' => :'zip_code',
320
+ :'npis' => :'npis'
319
321
  }
320
322
  end
321
323
 
@@ -333,7 +335,6 @@ module VericredClient
333
335
  :'middle_name' => :'String',
334
336
  :'network_ids' => :'Array<Integer>',
335
337
  :'organization_name' => :'String',
336
- :'personal_phone' => :'String',
337
338
  :'phone' => :'String',
338
339
  :'presentation_name' => :'String',
339
340
  :'specialty' => :'String',
@@ -344,7 +345,8 @@ module VericredClient
344
345
  :'suffix' => :'String',
345
346
  :'title' => :'String',
346
347
  :'type' => :'String',
347
- :'zip_code' => :'String'
348
+ :'zip_code' => :'String',
349
+ :'npis' => :'Array<Integer>'
348
350
  }
349
351
  end
350
352
 
@@ -402,10 +404,6 @@ module VericredClient
402
404
  self.organization_name = attributes[:'organization_name']
403
405
  end
404
406
 
405
- if attributes.has_key?(:'personal_phone')
406
- self.personal_phone = attributes[:'personal_phone']
407
- end
408
-
409
407
  if attributes.has_key?(:'phone')
410
408
  self.phone = attributes[:'phone']
411
409
  end
@@ -450,6 +448,12 @@ module VericredClient
450
448
  self.zip_code = attributes[:'zip_code']
451
449
  end
452
450
 
451
+ if attributes.has_key?(:'npis')
452
+ if (value = attributes[:'npis']).is_a?(Array)
453
+ self.npis = value
454
+ end
455
+ end
456
+
453
457
  end
454
458
 
455
459
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -481,7 +485,6 @@ module VericredClient
481
485
  middle_name == o.middle_name &&
482
486
  network_ids == o.network_ids &&
483
487
  organization_name == o.organization_name &&
484
- personal_phone == o.personal_phone &&
485
488
  phone == o.phone &&
486
489
  presentation_name == o.presentation_name &&
487
490
  specialty == o.specialty &&
@@ -492,7 +495,8 @@ module VericredClient
492
495
  suffix == o.suffix &&
493
496
  title == o.title &&
494
497
  type == o.type &&
495
- zip_code == o.zip_code
498
+ zip_code == o.zip_code &&
499
+ npis == o.npis
496
500
  end
497
501
 
498
502
  # @see the `==` method
@@ -504,7 +508,7 @@ module VericredClient
504
508
  # Calculates hash code according to all attributes.
505
509
  # @return [Fixnum] Hash code
506
510
  def hash
507
- [city, email, gender, first_name, id, last_name, latitude, longitude, middle_name, network_ids, organization_name, personal_phone, phone, presentation_name, specialty, state, state_id, street_line_1, street_line_2, suffix, title, type, zip_code].hash
511
+ [city, email, gender, first_name, id, last_name, latitude, longitude, middle_name, network_ids, organization_name, phone, presentation_name, specialty, state, state_id, street_line_1, street_line_2, suffix, title, type, zip_code, npis].hash
508
512
  end
509
513
 
510
514
  # Builds the object from hash
@@ -93,7 +93,7 @@ document.
93
93
  In this case, we want to select `name` and `phone` from the `provider` key,
94
94
  so we would add the parameters `select=provider.name,provider.phone`.
95
95
  We also want the `name` and `code` from the `states` key, so we would
96
- add the parameters `select=states.name,staes.code`. The id field of
96
+ add the parameters `select=states.name,states.code`. The id field of
97
97
  each document is always returned whether or not it is requested.
98
98
 
99
99
  Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
@@ -150,15 +150,16 @@ Here's a description of the benefits summary string, represented as a context-fr
150
150
  ```
151
151
  root ::= coverage
152
152
 
153
- coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_limitation)?
153
+ coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_modifier)?
154
154
  tiered_coverage ::= tier (space slash space tier)*
155
155
  tier ::= tier_name colon space (tier_coverage | not_applicable)
156
156
  tier_coverage ::= simple_coverage (space (then | or | and) space simple_coverage)* tier_limitation?
157
157
  simple_coverage ::= (pre_coverage_limitation space)? coverage_amount (space post_coverage_limitation)? (comma? space coverage_condition)?
158
- coverage_limitation ::= "limit" colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted)
158
+ coverage_modifier ::= limit_condition colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted | shared_across_tiers)
159
159
  waived_if_admitted ::= ("copay" space)? "waived if admitted"
160
160
  simple_limitation ::= pre_coverage_limitation space "copay applies"
161
161
  tier_name ::= "In-Network-Tier-2" | "Out-of-Network" | "In-Network"
162
+ limit_condition ::= "limit" | "condition"
162
163
  tier_limitation ::= comma space "up to" space (currency | (integer space time_unit plural?)) (space post_coverage_limitation)?
163
164
  coverage_amount ::= currency | unlimited | included | unknown | percentage | (digits space (treatment_unit | time_unit) plural?)
164
165
  pre_coverage_limitation ::= first space digits space time_unit plural?
@@ -168,6 +169,7 @@ allowance ::= upto_allowance | after_allowance
168
169
  upto_allowance ::= "up to" space (currency space)? "allowance"
169
170
  after_allowance ::= "after" space (currency space)? "allowance"
170
171
  see_carrier_documentation ::= "see carrier documentation for more information"
172
+ shared_across_tiers ::= "shared across all tiers"
171
173
  unknown ::= "unknown"
172
174
  unlimited ::= /[uU]nlimited/
173
175
  included ::= /[iI]ncluded in [mM]edical/
@@ -253,9 +255,6 @@ module VericredClient
253
255
  # name for the providers of type: organization.
254
256
  attr_accessor :organization_name
255
257
 
256
- # Personal contact phone for the provider.
257
- attr_accessor :personal_phone
258
-
259
258
  # Office phone for the provider
260
259
  attr_accessor :phone
261
260
 
@@ -289,6 +288,9 @@ module VericredClient
289
288
  # Postal code for the provider's address (e.g. 11215)
290
289
  attr_accessor :zip_code
291
290
 
291
+ # The National Provider Index (NPI) numbers associated with this provider.
292
+ attr_accessor :npis
293
+
292
294
  # List of HIOS ids for this provider
293
295
  attr_accessor :hios_ids
294
296
 
@@ -307,7 +309,6 @@ module VericredClient
307
309
  :'middle_name' => :'middle_name',
308
310
  :'network_ids' => :'network_ids',
309
311
  :'organization_name' => :'organization_name',
310
- :'personal_phone' => :'personal_phone',
311
312
  :'phone' => :'phone',
312
313
  :'presentation_name' => :'presentation_name',
313
314
  :'specialty' => :'specialty',
@@ -319,6 +320,7 @@ module VericredClient
319
320
  :'title' => :'title',
320
321
  :'type' => :'type',
321
322
  :'zip_code' => :'zip_code',
323
+ :'npis' => :'npis',
322
324
  :'hios_ids' => :'hios_ids'
323
325
  }
324
326
  end
@@ -337,7 +339,6 @@ module VericredClient
337
339
  :'middle_name' => :'String',
338
340
  :'network_ids' => :'Array<Integer>',
339
341
  :'organization_name' => :'String',
340
- :'personal_phone' => :'String',
341
342
  :'phone' => :'String',
342
343
  :'presentation_name' => :'String',
343
344
  :'specialty' => :'String',
@@ -349,6 +350,7 @@ module VericredClient
349
350
  :'title' => :'String',
350
351
  :'type' => :'String',
351
352
  :'zip_code' => :'String',
353
+ :'npis' => :'Array<Integer>',
352
354
  :'hios_ids' => :'Array<String>'
353
355
  }
354
356
  end
@@ -407,10 +409,6 @@ module VericredClient
407
409
  self.organization_name = attributes[:'organization_name']
408
410
  end
409
411
 
410
- if attributes.has_key?(:'personal_phone')
411
- self.personal_phone = attributes[:'personal_phone']
412
- end
413
-
414
412
  if attributes.has_key?(:'phone')
415
413
  self.phone = attributes[:'phone']
416
414
  end
@@ -455,6 +453,12 @@ module VericredClient
455
453
  self.zip_code = attributes[:'zip_code']
456
454
  end
457
455
 
456
+ if attributes.has_key?(:'npis')
457
+ if (value = attributes[:'npis']).is_a?(Array)
458
+ self.npis = value
459
+ end
460
+ end
461
+
458
462
  if attributes.has_key?(:'hios_ids')
459
463
  if (value = attributes[:'hios_ids']).is_a?(Array)
460
464
  self.hios_ids = value
@@ -492,7 +496,6 @@ module VericredClient
492
496
  middle_name == o.middle_name &&
493
497
  network_ids == o.network_ids &&
494
498
  organization_name == o.organization_name &&
495
- personal_phone == o.personal_phone &&
496
499
  phone == o.phone &&
497
500
  presentation_name == o.presentation_name &&
498
501
  specialty == o.specialty &&
@@ -504,6 +507,7 @@ module VericredClient
504
507
  title == o.title &&
505
508
  type == o.type &&
506
509
  zip_code == o.zip_code &&
510
+ npis == o.npis &&
507
511
  hios_ids == o.hios_ids
508
512
  end
509
513
 
@@ -516,7 +520,7 @@ module VericredClient
516
520
  # Calculates hash code according to all attributes.
517
521
  # @return [Fixnum] Hash code
518
522
  def hash
519
- [city, email, gender, first_name, id, last_name, latitude, longitude, middle_name, network_ids, organization_name, personal_phone, phone, presentation_name, specialty, state, state_id, street_line_1, street_line_2, suffix, title, type, zip_code, hios_ids].hash
523
+ [city, email, gender, first_name, id, last_name, latitude, longitude, middle_name, network_ids, organization_name, phone, presentation_name, specialty, state, state_id, street_line_1, street_line_2, suffix, title, type, zip_code, npis, hios_ids].hash
520
524
  end
521
525
 
522
526
  # Builds the object from hash
@@ -93,7 +93,7 @@ document.
93
93
  In this case, we want to select `name` and `phone` from the `provider` key,
94
94
  so we would add the parameters `select=provider.name,provider.phone`.
95
95
  We also want the `name` and `code` from the `states` key, so we would
96
- add the parameters `select=states.name,staes.code`. The id field of
96
+ add the parameters `select=states.name,states.code`. The id field of
97
97
  each document is always returned whether or not it is requested.
98
98
 
99
99
  Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
@@ -150,15 +150,16 @@ Here's a description of the benefits summary string, represented as a context-fr
150
150
  ```
151
151
  root ::= coverage
152
152
 
153
- coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_limitation)?
153
+ coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_modifier)?
154
154
  tiered_coverage ::= tier (space slash space tier)*
155
155
  tier ::= tier_name colon space (tier_coverage | not_applicable)
156
156
  tier_coverage ::= simple_coverage (space (then | or | and) space simple_coverage)* tier_limitation?
157
157
  simple_coverage ::= (pre_coverage_limitation space)? coverage_amount (space post_coverage_limitation)? (comma? space coverage_condition)?
158
- coverage_limitation ::= "limit" colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted)
158
+ coverage_modifier ::= limit_condition colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted | shared_across_tiers)
159
159
  waived_if_admitted ::= ("copay" space)? "waived if admitted"
160
160
  simple_limitation ::= pre_coverage_limitation space "copay applies"
161
161
  tier_name ::= "In-Network-Tier-2" | "Out-of-Network" | "In-Network"
162
+ limit_condition ::= "limit" | "condition"
162
163
  tier_limitation ::= comma space "up to" space (currency | (integer space time_unit plural?)) (space post_coverage_limitation)?
163
164
  coverage_amount ::= currency | unlimited | included | unknown | percentage | (digits space (treatment_unit | time_unit) plural?)
164
165
  pre_coverage_limitation ::= first space digits space time_unit plural?
@@ -168,6 +169,7 @@ allowance ::= upto_allowance | after_allowance
168
169
  upto_allowance ::= "up to" space (currency space)? "allowance"
169
170
  after_allowance ::= "after" space (currency space)? "allowance"
170
171
  see_carrier_documentation ::= "see carrier documentation for more information"
172
+ shared_across_tiers ::= "shared across all tiers"
171
173
  unknown ::= "unknown"
172
174
  unlimited ::= /[uU]nlimited/
173
175
  included ::= /[iI]ncluded in [mM]edical/