vericred_client 0.0.23 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +826 -28
- data/docs/ACAPlan.md +35 -35
- data/docs/ACAPlan2018.md +36 -36
- data/docs/ACAPlan2018SearchResponse.md +1 -1
- data/docs/ACAPlan2018SearchResult.md +39 -39
- data/docs/ACAPlanPre2018.md +35 -35
- data/docs/ACAPlanPre2018SearchResponse.md +1 -1
- data/docs/ACAPlanPre2018SearchResult.md +38 -38
- data/docs/Address.md +14 -0
- data/docs/AncillaryPlanIdentifier.md +9 -0
- data/docs/BasePlanSearchResponse.md +1 -1
- data/docs/CarrierGroupRequest.md +1 -1
- data/docs/CarrierRequest.md +2 -2
- data/docs/CarrierSubsidiary.md +2 -2
- data/docs/CarrierVerificationDentalPlansApi.md +63 -0
- data/docs/CarrierVerificationMedicalPlansApi.md +63 -0
- data/docs/CarrierVerificationVisionPlansApi.md +63 -0
- data/docs/County.md +1 -1
- data/docs/CountyBulk.md +1 -1
- data/docs/DentalPlan.md +7 -7
- data/docs/DentalPlanBenefits.md +22 -22
- data/docs/DentalPlanSearchRequest.md +1 -2
- data/docs/DentalPlanUpdate.md +5 -5
- data/docs/DentalPlansApi.md +118 -4
- data/docs/DependentCreate.md +12 -0
- data/docs/DependentCreateRequest.md +12 -0
- data/docs/DependentShow.md +12 -0
- data/docs/Drug.md +3 -3
- data/docs/DrugCoverage.md +3 -3
- data/docs/DrugCoverageResponse.md +2 -2
- data/docs/DrugPackage.md +1 -1
- data/docs/DrugSearchResponse.md +2 -2
- data/docs/EmbargoRequest.md +3 -2
- data/docs/FormularyResponse.md +1 -1
- data/docs/GroupCreate.md +14 -0
- data/docs/GroupCreateRequest.md +9 -0
- data/docs/GroupCreateResponse.md +9 -0
- data/docs/GroupShow.md +15 -0
- data/docs/GroupShowResponse.md +9 -0
- data/docs/GroupUpdate.md +14 -0
- data/docs/GroupUpdateRequest.md +9 -0
- data/docs/IssuerRequest.md +7 -7
- data/docs/LocationCreate.md +13 -0
- data/docs/LocationShow.md +14 -0
- data/docs/LocationUpdate.md +14 -0
- data/docs/MajorMedicalPlansApi.md +122 -0
- data/docs/MedicalPlanBenefits.md +35 -35
- data/docs/MedicalPlanUpdate.md +21 -20
- data/docs/MedicalPlansApi.md +0 -114
- data/docs/MedicareAdvantagePlan.md +25 -0
- data/docs/MedicareAdvantagePlanBenefits.md +148 -0
- data/docs/MedicareAdvantagePlanSearchRequest.md +12 -0
- data/docs/MedicareAdvantagePlanSearchResponse.md +9 -0
- data/docs/MedicareAdvantagePlanShowResponse.md +8 -0
- data/docs/MemberCreate.md +17 -0
- data/docs/MemberRateShow.md +13 -0
- data/docs/MemberRateShowRequest.md +10 -0
- data/docs/MemberRatesShowResponse.md +9 -0
- data/docs/MemberShow.md +18 -0
- data/docs/MembersCreateRequest.md +9 -0
- data/docs/MembersCreateResponse.md +8 -0
- data/docs/MembersShowResponse.md +8 -0
- data/docs/MetaPlanSearchResponse.md +1 -1
- data/docs/NetworkComparisonResponse.md +1 -1
- data/docs/NetworkDetails.md +1 -1
- data/docs/NetworkSize.md +1 -1
- data/docs/NetworksApi.md +17 -12
- data/docs/PlanCounty.md +1 -1
- data/docs/PlanCountyBulk.md +1 -1
- data/docs/PlanMedicare.md +1 -1
- data/docs/PlanMedicareBulk.md +2 -2
- data/docs/PlanPricingMedicare.md +3 -3
- data/docs/PlanSearchResponse.md +1 -1
- data/docs/PlansApi.md +0 -169
- data/docs/PlansBulkACA2018.md +8 -0
- data/docs/PlansBulkACAPre2018.md +8 -0
- data/docs/PlansBulkBase.md +7 -0
- data/docs/PlansBulkDental.md +7 -0
- data/docs/PlansBulkVision.md +7 -0
- data/docs/Provider.md +2 -2
- data/docs/ProviderDetails.md +5 -3
- data/docs/ProviderNetworkEventNotification.md +3 -3
- data/docs/ProviderNetworks.md +11 -0
- data/docs/ProviderShowResponse.md +1 -1
- data/docs/ProvidersApi.md +1 -56
- data/docs/QuoteCreate.md +15 -0
- data/docs/QuoteCreateRequest.md +8 -0
- data/docs/QuoteCreateResponse.md +8 -0
- data/docs/QuoteShow.md +17 -0
- data/docs/QuoteShowResponse.md +8 -0
- data/docs/QuotingApi.md +344 -0
- data/docs/RateRequest.md +24 -24
- data/docs/RateSearch.md +23 -18
- data/docs/RateShow.md +12 -0
- data/docs/RateShowRequest.md +10 -0
- data/docs/RatesShowResponse.md +9 -0
- data/docs/RequestPlanFind.md +2 -2
- data/docs/RequestPlanFindCarrierVerification.md +3 -3
- data/docs/RequestProviderNotificationSubscription.md +1 -1
- data/docs/RequestProvidersSearch.md +1 -1
- data/docs/RequestRatesSearch.md +1 -1
- data/docs/RxCuiIdentifier.md +1 -1
- data/docs/RxCuiIdentifierSearchResponse.md +1 -1
- data/docs/State.md +2 -2
- data/docs/SupplementalOptions.md +13 -0
- data/docs/V7Network.md +10 -0
- data/docs/V7NetworkComparisonResponse.md +9 -0
- data/docs/V7NetworkDetails.md +11 -0
- data/docs/V7NetworkDetailsResponse.md +8 -0
- data/docs/V7NetworkSearchResponse.md +9 -0
- data/docs/V7ProviderDetails.md +33 -0
- data/docs/V7ProviderNetworks.md +12 -0
- data/docs/VisionPlan.md +7 -7
- data/docs/VisionPlanBenefits.md +22 -15
- data/docs/VisionPlanSearchRequest.md +1 -2
- data/docs/VisionPlanUpdate.md +5 -5
- data/docs/VisionPlansApi.md +114 -0
- data/docs/ZipCountiesResponse.md +1 -1
- data/docs/ZipCountyBulk.md +1 -1
- data/lib/vericred_client/api/carrier_groups_api.rb +754 -15
- data/lib/vericred_client/api/carrier_verification_dental_plans_api.rb +1026 -0
- data/lib/vericred_client/api/carrier_verification_medical_plans_api.rb +1026 -0
- data/lib/vericred_client/api/carrier_verification_plans_api.rb +754 -15
- data/lib/vericred_client/api/carrier_verification_vision_plans_api.rb +1026 -0
- data/lib/vericred_client/api/carriers_api.rb +754 -15
- data/lib/vericred_client/api/dental_plans_api.rb +874 -18
- data/lib/vericred_client/api/drug_coverages_api.rb +754 -15
- data/lib/vericred_client/api/drug_packages_api.rb +754 -15
- data/lib/vericred_client/api/drugs_api.rb +754 -15
- data/lib/vericred_client/api/embargoes_api.rb +754 -15
- data/lib/vericred_client/api/formularies_api.rb +754 -15
- data/lib/vericred_client/api/issuers_api.rb +754 -15
- data/lib/vericred_client/api/major_medical_plans_api.rb +1086 -0
- data/lib/vericred_client/api/medical_plans_api.rb +754 -132
- data/lib/vericred_client/api/network_sizes_api.rb +754 -15
- data/lib/vericred_client/api/networks_api.rb +773 -27
- data/lib/vericred_client/api/plans_api.rb +754 -189
- data/lib/vericred_client/api/provider_notification_subscriptions_api.rb +754 -15
- data/lib/vericred_client/api/providers_api.rb +756 -74
- data/lib/vericred_client/api/quoting_api.rb +1316 -0
- data/lib/vericred_client/api/rates_api.rb +754 -15
- data/lib/vericred_client/api/vision_plans_api.rb +871 -15
- data/lib/vericred_client/api/zip_counties_api.rb +754 -15
- data/lib/vericred_client/api_client.rb +754 -15
- data/lib/vericred_client/api_error.rb +754 -15
- data/lib/vericred_client/configuration.rb +754 -15
- data/lib/vericred_client/models/aca_plan.rb +1165 -426
- data/lib/vericred_client/models/aca_plan2018.rb +1174 -435
- data/lib/vericred_client/models/aca_plan2018_search_response.rb +765 -26
- data/lib/vericred_client/models/aca_plan2018_search_result.rb +1203 -464
- data/lib/vericred_client/models/aca_plan2018_show_response.rb +754 -15
- data/lib/vericred_client/models/aca_plan_pre2018.rb +1165 -426
- data/lib/vericred_client/models/aca_plan_pre2018_search_response.rb +765 -26
- data/lib/vericred_client/models/aca_plan_pre2018_search_result.rb +1202 -463
- data/lib/vericred_client/models/aca_plan_pre2018_show_response.rb +754 -15
- data/lib/vericred_client/models/address.rb +1195 -0
- data/lib/vericred_client/models/ancillary_plan_identifier.rb +1145 -0
- data/lib/vericred_client/models/base.rb +754 -15
- data/lib/vericred_client/models/base_plan_search_response.rb +768 -29
- data/lib/vericred_client/models/carrier.rb +754 -15
- data/lib/vericred_client/models/carrier_group_request.rb +765 -26
- data/lib/vericred_client/models/carrier_request.rb +769 -30
- data/lib/vericred_client/models/carrier_subsidiary.rb +778 -39
- data/lib/vericred_client/models/county.rb +765 -26
- data/lib/vericred_client/models/county_bulk.rb +768 -29
- data/lib/vericred_client/models/dental_plan.rb +825 -86
- data/lib/vericred_client/models/dental_plan_benefits.rb +927 -188
- data/lib/vericred_client/models/dental_plan_search_applicant.rb +754 -15
- data/lib/vericred_client/models/dental_plan_search_request.rb +768 -39
- data/lib/vericred_client/models/dental_plan_search_response.rb +754 -15
- data/lib/vericred_client/models/dental_plan_show_response.rb +754 -15
- data/lib/vericred_client/models/dental_plan_update.rb +804 -65
- data/lib/vericred_client/models/dental_plan_update_request.rb +754 -15
- data/lib/vericred_client/models/dependent_create.rb +1175 -0
- data/lib/vericred_client/models/dependent_create_request.rb +1175 -0
- data/lib/vericred_client/models/dependent_show.rb +1175 -0
- data/lib/vericred_client/models/drug.rb +781 -42
- data/lib/vericred_client/models/drug_coverage.rb +781 -42
- data/lib/vericred_client/models/drug_coverage_response.rb +769 -30
- data/lib/vericred_client/models/drug_package.rb +765 -26
- data/lib/vericred_client/models/drug_search_response.rb +771 -32
- data/lib/vericred_client/models/embargo_request.rb +790 -39
- data/lib/vericred_client/models/formulary.rb +754 -15
- data/lib/vericred_client/models/formulary_drug_package_response.rb +754 -15
- data/lib/vericred_client/models/formulary_response.rb +768 -29
- data/lib/vericred_client/models/group_create.rb +1195 -0
- data/lib/vericred_client/models/group_create_request.rb +1147 -0
- data/lib/vericred_client/models/group_create_response.rb +1147 -0
- data/lib/vericred_client/models/group_show.rb +1205 -0
- data/lib/vericred_client/models/group_show_response.rb +1147 -0
- data/lib/vericred_client/models/group_update.rb +1195 -0
- data/lib/vericred_client/models/group_update_request.rb +1147 -0
- data/lib/vericred_client/models/issuer_request.rb +819 -80
- data/lib/vericred_client/models/location_create.rb +1185 -0
- data/lib/vericred_client/models/location_show.rb +1195 -0
- data/lib/vericred_client/models/location_update.rb +1195 -0
- data/lib/vericred_client/models/medical_plan_benefits.rb +1084 -345
- data/lib/vericred_client/models/medical_plan_update.rb +930 -181
- data/lib/vericred_client/models/medical_plan_update_request.rb +754 -15
- data/lib/vericred_client/models/medicare_advantage_plan.rb +1309 -0
- data/lib/vericred_client/models/medicare_advantage_plan_benefits.rb +2535 -0
- data/lib/vericred_client/models/medicare_advantage_plan_search_request.rb +1175 -0
- data/lib/vericred_client/models/medicare_advantage_plan_search_response.rb +1147 -0
- data/lib/vericred_client/models/medicare_advantage_plan_show_response.rb +1135 -0
- data/lib/vericred_client/models/member_create.rb +1227 -0
- data/lib/vericred_client/models/member_rate_show.rb +1185 -0
- data/lib/vericred_client/models/member_rate_show_request.rb +1155 -0
- data/lib/vericred_client/models/member_rates_show_response.rb +1147 -0
- data/lib/vericred_client/models/member_show.rb +1237 -0
- data/lib/vericred_client/models/members_create_request.rb +1147 -0
- data/lib/vericred_client/models/members_create_response.rb +1137 -0
- data/lib/vericred_client/models/members_show_response.rb +1137 -0
- data/lib/vericred_client/models/meta.rb +754 -15
- data/lib/vericred_client/models/meta_plan_search_response.rb +768 -29
- data/lib/vericred_client/models/network.rb +754 -15
- data/lib/vericred_client/models/network_comparison.rb +754 -15
- data/lib/vericred_client/models/network_comparison_request.rb +754 -15
- data/lib/vericred_client/models/network_comparison_response.rb +770 -31
- data/lib/vericred_client/models/network_details.rb +770 -31
- data/lib/vericred_client/models/network_details_response.rb +754 -15
- data/lib/vericred_client/models/network_search_response.rb +754 -15
- data/lib/vericred_client/models/network_size.rb +765 -26
- data/lib/vericred_client/models/notification_subscription.rb +754 -15
- data/lib/vericred_client/models/notification_subscription_response.rb +754 -15
- data/lib/vericred_client/models/plan.rb +754 -15
- data/lib/vericred_client/models/plan_county.rb +768 -29
- data/lib/vericred_client/models/plan_county_bulk.rb +768 -29
- data/lib/vericred_client/models/plan_deleted.rb +754 -15
- data/lib/vericred_client/models/plan_identifier.rb +754 -15
- data/lib/vericred_client/models/plan_medicare.rb +768 -29
- data/lib/vericred_client/models/plan_medicare_bulk.rb +775 -36
- data/lib/vericred_client/models/plan_pricing_medicare.rb +782 -43
- data/lib/vericred_client/models/plan_search_response.rb +765 -26
- data/lib/vericred_client/models/plan_show_response.rb +754 -15
- data/lib/vericred_client/models/plans_bulk_aca2018.rb +1135 -0
- data/lib/vericred_client/models/plans_bulk_aca_pre2018.rb +1135 -0
- data/lib/vericred_client/models/plans_bulk_base.rb +1125 -0
- data/lib/vericred_client/models/plans_bulk_dental.rb +1125 -0
- data/lib/vericred_client/models/plans_bulk_vision.rb +1125 -0
- data/lib/vericred_client/models/provider.rb +780 -41
- data/lib/vericred_client/models/provider_details.rb +813 -50
- data/lib/vericred_client/models/provider_geocode.rb +754 -15
- data/lib/vericred_client/models/provider_network_event_notification.rb +790 -51
- data/lib/vericred_client/models/provider_networks.rb +1165 -0
- data/lib/vericred_client/models/provider_show_response.rb +755 -16
- data/lib/vericred_client/models/providers_geocode_response.rb +754 -15
- data/lib/vericred_client/models/providers_search_response.rb +754 -15
- data/lib/vericred_client/models/quote_create.rb +1207 -0
- data/lib/vericred_client/models/quote_create_request.rb +1135 -0
- data/lib/vericred_client/models/quote_create_response.rb +1135 -0
- data/lib/vericred_client/models/quote_show.rb +1227 -0
- data/lib/vericred_client/models/quote_show_response.rb +1135 -0
- data/lib/vericred_client/models/rate_request.rb +990 -251
- data/lib/vericred_client/models/rate_search.rb +978 -189
- data/lib/vericred_client/models/rate_show.rb +1175 -0
- data/lib/vericred_client/models/rate_show_request.rb +1155 -0
- data/lib/vericred_client/models/rates_show_response.rb +1147 -0
- data/lib/vericred_client/models/rating_area.rb +754 -15
- data/lib/vericred_client/models/request_plan_find.rb +777 -38
- data/lib/vericred_client/models/request_plan_find_applicant.rb +754 -15
- data/lib/vericred_client/models/request_plan_find_carrier_verification.rb +792 -53
- data/lib/vericred_client/models/request_plan_find_drug_package.rb +754 -15
- data/lib/vericred_client/models/request_plan_find_provider.rb +754 -15
- data/lib/vericred_client/models/request_provider_notification_subscription.rb +768 -29
- data/lib/vericred_client/models/request_providers_search.rb +767 -26
- data/lib/vericred_client/models/request_rates_search.rb +768 -29
- data/lib/vericred_client/models/response_rates_search.rb +754 -15
- data/lib/vericred_client/models/rx_cui_identifier.rb +765 -26
- data/lib/vericred_client/models/rx_cui_identifier_search_response.rb +768 -29
- data/lib/vericred_client/models/service_area.rb +754 -15
- data/lib/vericred_client/models/service_area_zip_county.rb +754 -15
- data/lib/vericred_client/models/state.rb +778 -39
- data/lib/vericred_client/models/state_network_size_request.rb +754 -15
- data/lib/vericred_client/models/state_network_size_response.rb +754 -15
- data/lib/vericred_client/models/supplemental_options.rb +1187 -0
- data/lib/vericred_client/models/v7_network.rb +1155 -0
- data/lib/vericred_client/models/v7_network_comparison_response.rb +1149 -0
- data/lib/vericred_client/models/v7_network_details.rb +1167 -0
- data/lib/vericred_client/models/v7_network_details_response.rb +1135 -0
- data/lib/vericred_client/models/v7_network_search_response.rb +1147 -0
- data/lib/vericred_client/models/v7_provider_details.rb +1395 -0
- data/lib/vericred_client/models/v7_provider_networks.rb +1175 -0
- data/lib/vericred_client/models/vision_plan.rb +825 -86
- data/lib/vericred_client/models/vision_plan_benefits.rb +937 -128
- data/lib/vericred_client/models/vision_plan_search_applicant.rb +754 -15
- data/lib/vericred_client/models/vision_plan_search_request.rb +768 -39
- data/lib/vericred_client/models/vision_plan_search_response.rb +754 -15
- data/lib/vericred_client/models/vision_plan_show_response.rb +754 -15
- data/lib/vericred_client/models/vision_plan_update.rb +804 -65
- data/lib/vericred_client/models/vision_plan_update_request.rb +754 -15
- data/lib/vericred_client/models/zip_code.rb +754 -15
- data/lib/vericred_client/models/zip_counties_response.rb +770 -31
- data/lib/vericred_client/models/zip_county.rb +754 -15
- data/lib/vericred_client/models/zip_county_bulk.rb +765 -26
- data/lib/vericred_client/models/zip_county_response.rb +754 -15
- data/lib/vericred_client/version.rb +755 -16
- data/lib/vericred_client.rb +809 -15
- data/spec/api/carrier_groups_api_spec.rb +754 -15
- data/spec/api/carrier_verification_dental_plans_api_spec.rb +993 -0
- data/spec/api/carrier_verification_medical_plans_api_spec.rb +993 -0
- data/spec/api/carrier_verification_plans_api_spec.rb +754 -15
- data/spec/api/carrier_verification_vision_plans_api_spec.rb +993 -0
- data/spec/api/carriers_api_spec.rb +754 -15
- data/spec/api/dental_plans_api_spec.rb +780 -16
- data/spec/api/drug_coverages_api_spec.rb +754 -15
- data/spec/api/drug_packages_api_spec.rb +754 -15
- data/spec/api/drugs_api_spec.rb +754 -15
- data/spec/api/embargoes_api_spec.rb +754 -15
- data/spec/api/formularies_api_spec.rb +754 -15
- data/spec/api/issuers_api_spec.rb +754 -15
- data/spec/api/major_medical_plans_api_spec.rb +1006 -0
- data/spec/api/medical_plans_api_spec.rb +754 -40
- data/spec/api/network_sizes_api_spec.rb +754 -15
- data/spec/api/networks_api_spec.rb +760 -18
- data/spec/api/plans_api_spec.rb +754 -52
- data/spec/api/provider_notification_subscriptions_api_spec.rb +754 -15
- data/spec/api/providers_api_spec.rb +755 -28
- data/spec/api/quoting_api_spec.rb +1055 -0
- data/spec/api/rates_api_spec.rb +754 -15
- data/spec/api/vision_plans_api_spec.rb +779 -15
- data/spec/api/zip_counties_api_spec.rb +754 -15
- data/spec/api_client_spec.rb +754 -15
- data/spec/configuration_spec.rb +754 -15
- data/spec/models/aca_plan2018_search_response_spec.rb +756 -17
- data/spec/models/aca_plan2018_search_result_spec.rb +839 -100
- data/spec/models/aca_plan2018_show_response_spec.rb +754 -15
- data/spec/models/aca_plan2018_spec.rb +843 -104
- data/spec/models/aca_plan_pre2018_search_response_spec.rb +756 -17
- data/spec/models/aca_plan_pre2018_search_result_spec.rb +839 -100
- data/spec/models/aca_plan_pre2018_show_response_spec.rb +754 -15
- data/spec/models/aca_plan_pre2018_spec.rb +837 -98
- data/spec/models/aca_plan_spec.rb +837 -98
- data/spec/models/address_spec.rb +1024 -0
- data/spec/models/ancillary_plan_identifier_spec.rb +994 -0
- data/spec/models/base_plan_search_response_spec.rb +756 -17
- data/spec/models/base_spec.rb +754 -15
- data/spec/models/carrier_group_request_spec.rb +756 -17
- data/spec/models/carrier_request_spec.rb +756 -17
- data/spec/models/carrier_spec.rb +754 -15
- data/spec/models/carrier_subsidiary_spec.rb +758 -19
- data/spec/models/county_bulk_spec.rb +757 -18
- data/spec/models/county_spec.rb +756 -17
- data/spec/models/dental_plan_benefits_spec.rb +782 -43
- data/spec/models/dental_plan_search_applicant_spec.rb +754 -15
- data/spec/models/dental_plan_search_request_spec.rb +758 -25
- data/spec/models/dental_plan_search_response_spec.rb +754 -15
- data/spec/models/dental_plan_show_response_spec.rb +754 -15
- data/spec/models/dental_plan_spec.rb +767 -28
- data/spec/models/dental_plan_update_request_spec.rb +754 -15
- data/spec/models/dental_plan_update_spec.rb +763 -24
- data/spec/models/dependent_create_request_spec.rb +1012 -0
- data/spec/models/dependent_create_spec.rb +1012 -0
- data/spec/models/dependent_show_spec.rb +1012 -0
- data/spec/models/drug_coverage_response_spec.rb +756 -17
- data/spec/models/drug_coverage_spec.rb +758 -19
- data/spec/models/drug_package_spec.rb +756 -17
- data/spec/models/drug_search_response_spec.rb +756 -17
- data/spec/models/drug_spec.rb +758 -19
- data/spec/models/embargo_request_spec.rb +766 -21
- data/spec/models/formulary_drug_package_response_spec.rb +754 -15
- data/spec/models/formulary_response_spec.rb +756 -17
- data/spec/models/formulary_spec.rb +754 -15
- data/spec/models/group_create_request_spec.rb +994 -0
- data/spec/models/group_create_response_spec.rb +994 -0
- data/spec/models/group_create_spec.rb +1024 -0
- data/spec/models/group_show_response_spec.rb +994 -0
- data/spec/models/group_show_spec.rb +1030 -0
- data/spec/models/group_update_request_spec.rb +994 -0
- data/spec/models/group_update_spec.rb +1024 -0
- data/spec/models/issuer_request_spec.rb +765 -26
- data/spec/models/location_create_spec.rb +1018 -0
- data/spec/models/location_show_spec.rb +1024 -0
- data/spec/models/location_update_spec.rb +1024 -0
- data/spec/models/medical_plan_benefits_spec.rb +801 -62
- data/spec/models/medical_plan_update_request_spec.rb +754 -15
- data/spec/models/medical_plan_update_spec.rb +792 -47
- data/spec/models/medicare_advantage_plan_benefits_spec.rb +1828 -0
- data/spec/models/medicare_advantage_plan_search_request_spec.rb +1012 -0
- data/spec/models/medicare_advantage_plan_search_response_spec.rb +994 -0
- data/spec/models/medicare_advantage_plan_show_response_spec.rb +988 -0
- data/spec/models/medicare_advantage_plan_spec.rb +1090 -0
- data/spec/models/member_create_spec.rb +1042 -0
- data/spec/models/member_rate_show_request_spec.rb +1000 -0
- data/spec/models/member_rate_show_spec.rb +1018 -0
- data/spec/models/member_rates_show_response_spec.rb +994 -0
- data/spec/models/member_show_spec.rb +1048 -0
- data/spec/models/members_create_request_spec.rb +994 -0
- data/spec/models/members_create_response_spec.rb +988 -0
- data/spec/models/members_show_response_spec.rb +988 -0
- data/spec/models/meta_plan_search_response_spec.rb +757 -18
- data/spec/models/meta_spec.rb +754 -15
- data/spec/models/network_comparison_request_spec.rb +754 -15
- data/spec/models/network_comparison_response_spec.rb +756 -17
- data/spec/models/network_comparison_spec.rb +754 -15
- data/spec/models/network_details_response_spec.rb +754 -15
- data/spec/models/network_details_spec.rb +757 -18
- data/spec/models/network_search_response_spec.rb +754 -15
- data/spec/models/network_size_spec.rb +756 -17
- data/spec/models/network_spec.rb +754 -15
- data/spec/models/notification_subscription_response_spec.rb +754 -15
- data/spec/models/notification_subscription_spec.rb +754 -15
- data/spec/models/plan_county_bulk_spec.rb +756 -17
- data/spec/models/plan_county_spec.rb +756 -17
- data/spec/models/plan_deleted_spec.rb +754 -15
- data/spec/models/plan_identifier_spec.rb +754 -15
- data/spec/models/plan_medicare_bulk_spec.rb +763 -24
- data/spec/models/plan_medicare_spec.rb +760 -21
- data/spec/models/plan_pricing_medicare_spec.rb +761 -22
- data/spec/models/plan_search_response_spec.rb +756 -17
- data/spec/models/plan_show_response_spec.rb +754 -15
- data/spec/models/plan_spec.rb +754 -15
- data/spec/models/plans_bulk_aca2018_spec.rb +988 -0
- data/spec/models/plans_bulk_aca_pre2018_spec.rb +988 -0
- data/spec/models/plans_bulk_base_spec.rb +982 -0
- data/spec/models/plans_bulk_dental_spec.rb +982 -0
- data/spec/models/plans_bulk_vision_spec.rb +982 -0
- data/spec/models/provider_details_spec.rb +779 -28
- data/spec/models/provider_geocode_spec.rb +754 -15
- data/spec/models/provider_network_event_notification_spec.rb +760 -21
- data/spec/models/provider_networks_spec.rb +1006 -0
- data/spec/models/provider_show_response_spec.rb +754 -15
- data/spec/models/provider_spec.rb +762 -23
- data/spec/models/providers_geocode_response_spec.rb +754 -15
- data/spec/models/providers_search_response_spec.rb +754 -15
- data/spec/models/quote_create_request_spec.rb +988 -0
- data/spec/models/quote_create_response_spec.rb +988 -0
- data/spec/models/quote_create_spec.rb +1030 -0
- data/spec/models/quote_show_response_spec.rb +988 -0
- data/spec/models/quote_show_spec.rb +1042 -0
- data/spec/models/rate_request_spec.rb +884 -145
- data/spec/models/rate_search_spec.rb +886 -117
- data/spec/models/rate_show_request_spec.rb +1000 -0
- data/spec/models/rate_show_spec.rb +1012 -0
- data/spec/models/rates_show_response_spec.rb +994 -0
- data/spec/models/rating_area_spec.rb +754 -15
- data/spec/models/request_plan_find_applicant_spec.rb +754 -15
- data/spec/models/request_plan_find_carrier_verification_spec.rb +761 -22
- data/spec/models/request_plan_find_drug_package_spec.rb +754 -15
- data/spec/models/request_plan_find_provider_spec.rb +754 -15
- data/spec/models/request_plan_find_spec.rb +759 -20
- data/spec/models/request_provider_notification_subscription_spec.rb +757 -18
- data/spec/models/request_providers_search_spec.rb +758 -19
- data/spec/models/request_rates_search_spec.rb +756 -17
- data/spec/models/response_rates_search_spec.rb +754 -15
- data/spec/models/rx_cui_identifier_search_response_spec.rb +756 -17
- data/spec/models/rx_cui_identifier_spec.rb +756 -17
- data/spec/models/service_area_spec.rb +754 -15
- data/spec/models/service_area_zip_county_spec.rb +754 -15
- data/spec/models/state_network_size_request_spec.rb +754 -15
- data/spec/models/state_network_size_response_spec.rb +754 -15
- data/spec/models/state_spec.rb +762 -23
- data/spec/models/supplemental_options_spec.rb +1018 -0
- data/spec/models/v7_network_comparison_response_spec.rb +994 -0
- data/spec/models/v7_network_details_response_spec.rb +988 -0
- data/spec/models/v7_network_details_spec.rb +1006 -0
- data/spec/models/v7_network_search_response_spec.rb +994 -0
- data/spec/models/v7_network_spec.rb +1000 -0
- data/spec/models/v7_provider_details_spec.rb +1138 -0
- data/spec/models/v7_provider_networks_spec.rb +1012 -0
- data/spec/models/vision_plan_benefits_spec.rb +813 -32
- data/spec/models/vision_plan_search_applicant_spec.rb +754 -15
- data/spec/models/vision_plan_search_request_spec.rb +758 -25
- data/spec/models/vision_plan_search_response_spec.rb +754 -15
- data/spec/models/vision_plan_show_response_spec.rb +754 -15
- data/spec/models/vision_plan_spec.rb +767 -28
- data/spec/models/vision_plan_update_request_spec.rb +754 -15
- data/spec/models/vision_plan_update_spec.rb +763 -24
- data/spec/models/zip_code_spec.rb +754 -15
- data/spec/models/zip_counties_response_spec.rb +756 -17
- data/spec/models/zip_county_bulk_spec.rb +757 -18
- data/spec/models/zip_county_response_spec.rb +754 -15
- data/spec/models/zip_county_spec.rb +754 -15
- data/spec/spec_helper.rb +754 -15
- data/vericred_client.gemspec +754 -15
- metadata +315 -95
@@ -1,17 +1,15 @@
|
|
1
1
|
=begin
|
2
2
|
#Vericred API
|
3
3
|
|
4
|
-
#Vericred's API allows you to search for Health Plans that a specific doctor
|
5
|
-
accepts.
|
6
|
-
|
7
4
|
## Getting Started
|
8
5
|
|
6
|
+
## Signing Up
|
7
|
+
|
9
8
|
Visit our [Developer Portal](https://developers.vericred.com) to
|
10
9
|
create an account.
|
11
10
|
|
12
|
-
Once you have created an account, you can create one Application for
|
13
|
-
Production and another for
|
14
|
-
you create the Application).
|
11
|
+
Once you have created an account, you can create one Application for your
|
12
|
+
Production environment and another for a Sandbox (select the appropriate Plan when you create the Application).
|
15
13
|
|
16
14
|
## SDKs
|
17
15
|
|
@@ -32,9 +30,9 @@ a `Vericred-Api-Key` header.
|
|
32
30
|
Vericred's API default to the latest version. However, if you need a specific
|
33
31
|
version, you can request it with an `Accept-Version` header.
|
34
32
|
|
35
|
-
The current version is `
|
33
|
+
The current version is `v4`. We also support `v2` and `v3`
|
36
34
|
|
37
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version:
|
35
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version: v3' "https://api.vericred.com/providers?search_term=Foo&zip_code=11215"`
|
38
36
|
|
39
37
|
## Pagination
|
40
38
|
|
@@ -47,11 +45,13 @@ For example, to display 5 results per page and view the second page of a
|
|
47
45
|
|
48
46
|
## Sideloading
|
49
47
|
|
50
|
-
When we return multiple levels of an object graph (e.g. `Provider`s and their
|
51
|
-
we
|
52
|
-
`State`s and a `state_id` for each provider. This is
|
53
|
-
payload size since many of the `Provider`s
|
48
|
+
When we return multiple levels of an object graph (e.g. `Provider`s and their
|
49
|
+
`State`s we typically the associated data. In this example, we would
|
50
|
+
provide an Array of `State`s and a `state_id` for each provider. This is
|
51
|
+
done primarily to reduce the payload size since many of the `Provider`s
|
52
|
+
will share a `State`
|
54
53
|
|
54
|
+
### Simplified Example
|
55
55
|
```
|
56
56
|
{
|
57
57
|
providers: [{ id: 1, state_id: 1}, { id: 2, state_id: 1 }],
|
@@ -87,8 +87,7 @@ For example, let's take a request that returns the following JSON by default
|
|
87
87
|
```
|
88
88
|
|
89
89
|
To limit our results to only return the fields we care about, we specify the
|
90
|
-
`select` query string
|
91
|
-
document.
|
90
|
+
`select` in the query string for a `GET` or the body for a `POST`.
|
92
91
|
|
93
92
|
In this case, we want to select `name` and `phone` from the `provider` key,
|
94
93
|
so we would add the parameters `select=provider.name,provider.phone`.
|
@@ -115,7 +114,18 @@ The response would be
|
|
115
114
|
}
|
116
115
|
```
|
117
116
|
|
118
|
-
|
117
|
+
# Plan and Rate Data
|
118
|
+
|
119
|
+
Vericred's Plan and Rate Data let you search and quote Major Medical and Ancillary Insurance Plans in a given area for a particular family in the Individual Market or a group of families in the Small Group Market. Vericred provides the relevant data via this API and via our Bulk Format (documented [below](#Bulk Plan and Rate Data))
|
120
|
+
|
121
|
+
## Plans
|
122
|
+
|
123
|
+
A Plan defines a set of Benefits available to its purchaser. For example, a Major Medical Plan would specify cost-share Benefits for services like a Primary Care Provider visit, a Specialist visit or an Emergency Room visit. A Dental Plan might specify Benefits for Periodontics and Fluroride Treatments. The Benefits for each Product type ([Major Medical](#header-major-medical), [Dental](#header-dental), and [Vision](#header-vision)) are documented below.
|
124
|
+
|
125
|
+
### Benefits Format
|
126
|
+
|
127
|
+
Benefits for Plans can be quite complex. With the goals of capturing and standardizing the complexity while retaining a human-readable format, we have developed a [Bakus-Naur Form](https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form)(BNF) context-free grammar, with which we present Benefits.
|
128
|
+
|
119
129
|
Benefit cost-share strings are formatted to capture:
|
120
130
|
* Network tiers
|
121
131
|
* Compound or conditional cost-share
|
@@ -198,6 +208,735 @@ space ::= /[ \t]/+
|
|
198
208
|
```
|
199
209
|
|
200
210
|
|
211
|
+
### Major Medical
|
212
|
+
|
213
|
+
Vericred's data covers all Major Medical Plans available in the Individual and Small Groups (2-50 or 2-100) Markets in the US. These Plans are governed by CMS and are ACA-compliant. We do not include certain Plans that fall outside of the ACA, for example, Faith-Based Plans or Short-Term Medical Plans
|
214
|
+
|
215
|
+
We support the following Benefits Fields for Major Medical Plans. These represent the vast majority of fields available on a [Summary of Benefits and Coverage](https://www.healthcare.gov/health-care-law-protections/summary-of-benefits-and-coverage/)
|
216
|
+
|
217
|
+
The following are the appropriate Benefit Fields for Major Medical:
|
218
|
+
|
219
|
+
- ambulance
|
220
|
+
- child\_eye\_exam
|
221
|
+
- child\_eyewear
|
222
|
+
- chiropractic\_services
|
223
|
+
- diagnostic\_test
|
224
|
+
- durable\_medical\_equipment
|
225
|
+
- emergency\_room
|
226
|
+
- family\_drug\_deductible
|
227
|
+
- family\_drug\_moop
|
228
|
+
- family\_medical\_deductible
|
229
|
+
- family\_medical\_moop
|
230
|
+
- generic\_drugs
|
231
|
+
- habilitation\_services
|
232
|
+
- home\_health\_care
|
233
|
+
- hospice\_service
|
234
|
+
- imaging\_center
|
235
|
+
- imaging\_physician
|
236
|
+
- individual\_drug\_deductible
|
237
|
+
- individual\_drug\_moop
|
238
|
+
- individual\_medical\_deductible
|
239
|
+
- individual\_medical\_moop
|
240
|
+
- inpatient\_birth
|
241
|
+
- inpatient\_facility
|
242
|
+
- inpatient\_mental\_health
|
243
|
+
- inpatient\_physician
|
244
|
+
- inpatient\_substance
|
245
|
+
- lab\_test
|
246
|
+
- non\_preferred\_brand\_drugs
|
247
|
+
- nonpreferred\_generic\_drug\_share
|
248
|
+
- nonpreferred\_specialty\_drug\_share
|
249
|
+
- outpatient\_ambulatory\_care\_center
|
250
|
+
- outpatient\_facility
|
251
|
+
- outpatient\_mental\_health
|
252
|
+
- outpatient\_physician
|
253
|
+
- outpatient\_substance
|
254
|
+
- postnatal\_care
|
255
|
+
- preferred\_brand\_drugs
|
256
|
+
- prenatal\_care
|
257
|
+
- preventative\_care
|
258
|
+
- primary\_care\_physician
|
259
|
+
- rehabilitation\_services
|
260
|
+
- skilled\_nursing
|
261
|
+
- specialist
|
262
|
+
- specialty\_drugs
|
263
|
+
- urgent\_care
|
264
|
+
|
265
|
+
### Dental
|
266
|
+
|
267
|
+
Dental benefits are less standardized than [Major Medical](#header-major-medical). Because of this, we have captured benefits for the most commonly specified services and procedures. If a Plan only specifies cost-share for "Major", "Minor", "Elective", etc, we determine the category for each of the benefits that we support and display the appropriate value for its category.
|
268
|
+
|
269
|
+
To view the technical documentation, [click here](#dental-plans).
|
270
|
+
|
271
|
+
The following are the supported Benefit Fields for Dental:
|
272
|
+
|
273
|
+
- bridges
|
274
|
+
- crowns
|
275
|
+
- denture\_relines\_rebases
|
276
|
+
- denture\_repair\_and\_adjustments
|
277
|
+
- dentures
|
278
|
+
- emergency\_treatment
|
279
|
+
- endodontics
|
280
|
+
- family\_annual\_max
|
281
|
+
- family\_deductible
|
282
|
+
- fluoride\_treatment
|
283
|
+
- implants
|
284
|
+
- individual\_annual\_max
|
285
|
+
- individual\_deductible
|
286
|
+
- inlays
|
287
|
+
- onlays
|
288
|
+
- oral\_exam
|
289
|
+
- oral\_surgery
|
290
|
+
- orthodontics\_adult
|
291
|
+
- orthodontics\_child
|
292
|
+
- periodontal\_maintenance
|
293
|
+
- periodontics
|
294
|
+
- prophylaxis\_cleaning
|
295
|
+
- radiograph\_bitewings
|
296
|
+
- radiograph\_other
|
297
|
+
- restoration\_fillings
|
298
|
+
- sealant
|
299
|
+
- simple\_extraction
|
300
|
+
- space\_maintainers
|
301
|
+
|
302
|
+
### Vision
|
303
|
+
|
304
|
+
Vision benefits are similar in structure to [Dental](#header-dental). Again, when benefits are broken out by category, we determine the appropriate category for each service or procedure and display the approprate value for its category.
|
305
|
+
|
306
|
+
To view the technical documentation, [click here](#vision-plans).
|
307
|
+
|
308
|
+
The following are the supported Benefit Fields for Vision:
|
309
|
+
|
310
|
+
- eye\_exam
|
311
|
+
- retinal\_imaging
|
312
|
+
- frame
|
313
|
+
- eyeglass\_lenses\_single\_vision
|
314
|
+
- eyeglass\_lenses\_bifocal
|
315
|
+
- eyeglass\_lenses\_trifocal
|
316
|
+
- eyeglass\_lenses\_lenticular
|
317
|
+
- uv\_coating
|
318
|
+
- tint
|
319
|
+
- standard\_antireflective\_coating
|
320
|
+
- premium\_antireflective\_coating
|
321
|
+
- standard\_polycarbonate\_lenses\_child
|
322
|
+
- standard\_polycarbonate\_lenses\_adult
|
323
|
+
- standard\_progressive\_lenses
|
324
|
+
- premium\_progressive\_lenses
|
325
|
+
- standard\_scratch\_resistance
|
326
|
+
- polarized\_lenses
|
327
|
+
- photochromatic\_lenses
|
328
|
+
- standard\_contact\_lens\_fit\_and\_follow\_up
|
329
|
+
- premium\_contact\_lens\_fit\_and\_follow\_up
|
330
|
+
- contact\_lenses\_conventional
|
331
|
+
- contact\_lenses\_disposable
|
332
|
+
- contact\_lenses\_medically\_necessary
|
333
|
+
- laser\_vision\_correction
|
334
|
+
- additional\_pairs\_of\_eyeglasses
|
335
|
+
|
336
|
+
## Rates
|
337
|
+
|
338
|
+
Rates are returned from the API as a part of [Quoting](#header-quoting). We calculate Rates in one of two ways.
|
339
|
+
|
340
|
+
### Sheet Rates
|
341
|
+
When a Carrier supplies us with Sheet Rates, we display *exactly* the value provided to us. For example, in the Major Medical market, most Carriers provide a single rate for each combination of Applicant age and tobacco status in a given [Rating Area](#header-rating-areas). For example, in Austin, TX, a 21-year-old non-tobacco-user may be $312.41 per month while a 22-year-old tobacco-user may be $401.75 per month. Certain Vision and Dental Carriers supply Sheet Rates as well, though it is less common.
|
342
|
+
|
343
|
+
### Rate Factors
|
344
|
+
Certain [Major Medical](#header-major-medical) Carriers and most [Vision](#header-vision) and [Dental](#header-dental) Carriers supply Rate Factors. The attributes on which the factors are based are the same as [Sheet Rates](#header-sheet-rates) for the [Major Medical](#header-major-medical) market (due to restrictions on what factors may be used in ACA Plans, which limit the possible factors to age and tobacco status).
|
345
|
+
|
346
|
+
In [Dental](#header-dental) and [Vision](#header-vision), the types of [Rate Factors](#header-rate-factors) are more varied. For example, SIC Code and Group size in the Group market and Gender in the Individual Market are commonly used [Rate Factors](#header-rate-factors)
|
347
|
+
|
348
|
+
Other common [Rate Factors](#header-rate-factors) for [Dental](#header-dental) and [Vision](#header-vision) products are Geographic and "Trend" (enrollment date) Factors. In [Major Medical](#header-major-medical), these types of variance are handled by CMS-defined [Rating Areas](#header-rating-areas).
|
349
|
+
|
350
|
+
In order to calculate a Rate using [Rate Factors](#header-rate-factors), the following methodology is applied:
|
351
|
+
|
352
|
+
```
|
353
|
+
B = Base Rate
|
354
|
+
f = Rate Factor Function 1
|
355
|
+
f' = Rate Factor Function 2
|
356
|
+
|
357
|
+
B * f(x) * f'(y) [* f''(z)] ... = n
|
358
|
+
```
|
359
|
+
|
360
|
+
## Rating Areas
|
361
|
+
For [Major Medical](#header-major-medical) products, [CMS](https://www.cms.gov/) defines [Rating Areas](https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/state-gra.html). Under the ACA, *all* [Rate Factors](#header-rate-factors) in a Rating Area must be identical for a given time period. E.g. in Arizona, the rate for a 21-year-old non-tobacco user must be identical in all counties contained in Rating Area 1 (Mohave, Coconino, Apache, and Navajo), but *may* be different than the rate for a 21-year-old non-tobacco user in all counties Rating Area 2 (Yavapai county only) for a given year in the Individual Market and a given quartern in the Small Group market.
|
362
|
+
|
363
|
+
[Rating Areas](#header-rating-areas) are defined either by County, Zip Code or both, depending on the State. Because of this variance, all API endpoints that require a [Location](#header-specifying-the-location) require both `zip_code` and `fips_code` (a county code). [Bulk Data](#bulkplanandratedata) for [Rating Areas](#bulkratingareas) and [Service Areas](#bulkserviceareas) also specifies locations using both `zip_code` and `fips_code`.
|
364
|
+
|
365
|
+
*Rating Areas do not apply to products other than [Major Medical](#header-major-medical)*
|
366
|
+
|
367
|
+
## Service Areas
|
368
|
+
CMS mandates that [Major Medical](#header-major-medical) Rates be defined by [Rating Areas](#header-rating-areas), which themselves define a geography in which Plans are offered. Carriers often choose *not* to offer a Plan in and entire [Rating Area](#header-rating-areas) due to network coverage or other factors. Instead, the Carrier would define a [Service Area](#header-service-areas) that specifies where a given Plan is offered.
|
369
|
+
|
370
|
+
Each Plan is available in a single [Service Area](#header-service-areas) and each [Service Area](#header-service-areas) is defined by either County, Zip Code, or both, depending on the Carrier. Because of this variance, all API endpoints that require a [Location](#header-specifying-the-location) require both `zip_code` and `fips_code` (a county code). [Bulk Data](#bulkplanandratedata) for [Rating Areas](#bulkratingareas) and [Service Areas](#bulkserviceareas) also specifies locations using both `zip_code` and `fips_code`.
|
371
|
+
|
372
|
+
In [Dental](#header-dental) and [Vision](#header-vision) plans, we use a [Service Area](#header-service-areas) to define availability as well, although it typically mirrors a Geographic [Rate Factor](#header-rate-factors).
|
373
|
+
|
374
|
+
# Quoting
|
375
|
+
|
376
|
+
One of the primary use-cases for the Vericred API is to run Quotes to determine the Rate for a given family (in the Individual Market) or group (in the Small Group Market). We support quoting across [Major Medical](#header-major-medical), [Vision](#header-vision), and [Dental](#header-dental). In both cases, the process of generating a Quote is broken out into several steps:
|
377
|
+
|
378
|
+
1. Find all available [Plans](#header-plans) in the relevent [Service Areas](#header-service-areas) for the family or group.
|
379
|
+
1. Using [Business Rules](#header-business-rules) for each [Plan](#header-plans), determine if the family or group is eligible for that [Plan](#header-plans).
|
380
|
+
1. Using [Business Rules](#header-business-rules) for each [Plan](#header-plans), determine which members of the family or which members of each family in the group should be considered for Rating.
|
381
|
+
1. Using the [Sheet Rates](#header-sheet-rates) or [Rate Factors](#header-rate-factors) for each [Plan](#header-plans), determine the Rate the family, or for each family in the group.
|
382
|
+
1. If running a [Composite](#compositerates) quote, determine the portion of the total Rate that each family will pay.
|
383
|
+
|
384
|
+
## Individual Quotes
|
385
|
+
An Individual Quote is one for Plans that are available to a particular family, outside the context of their Employer. In the [Major Medical](#header-major-medical) market, many of these Plans are available on [Healthcare.gov](https://www.healthcare.gov) or the State-Based Exchange for non-Healthcare.gov states. The API supports both on-market and off-market Plans.
|
386
|
+
|
387
|
+
For details on Major Medical Quoting API calls see [below](#medicalplans-medicalplans-post)
|
388
|
+
|
389
|
+
### Specifying the Location
|
390
|
+
In order to determine which plans are [available](#header-service-areas) and the [rate](#header-rating-areas) for each Plan, you must specify a location. When creating a [Quote](#header-quoting) for the Individual Market, that information is contained in the `POST` body of the request:
|
391
|
+
```
|
392
|
+
POST /plans/medical/search
|
393
|
+
{
|
394
|
+
...
|
395
|
+
"zip_code": "11201",
|
396
|
+
"fips_code": "36047"
|
397
|
+
...
|
398
|
+
}
|
399
|
+
|
400
|
+
```
|
401
|
+
|
402
|
+
### Specifying Applicants
|
403
|
+
Applicants are the members of the family being quoted and are specified in the `POST` body of the request.
|
404
|
+
```
|
405
|
+
POST /plans/medical/search
|
406
|
+
{
|
407
|
+
...
|
408
|
+
"applicants": [
|
409
|
+
{
|
410
|
+
"age": 34,
|
411
|
+
"smoker": true,
|
412
|
+
"child": false
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"age": 32,
|
416
|
+
"smoker": false,
|
417
|
+
"child": false
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"age": 4,
|
421
|
+
"smoker": false,
|
422
|
+
"child": true
|
423
|
+
}
|
424
|
+
]
|
425
|
+
...
|
426
|
+
}
|
427
|
+
```
|
428
|
+
|
429
|
+
### Specifying Enrollment Date
|
430
|
+
The `enrollment_date` determines which [Plans](#header-plans) and [Rates](#header-rates) are returned. Specifying an `enrollment_date` in the past allows you to calculate historical data as far back as 2014.
|
431
|
+
|
432
|
+
### Plan Benefits
|
433
|
+
Plan Benefits are returned in the response for [Individual Quotes](#individualquotes)
|
434
|
+
```
|
435
|
+
POST /plans/medical/search
|
436
|
+
{
|
437
|
+
...
|
438
|
+
}
|
439
|
+
|
440
|
+
Response:
|
441
|
+
{
|
442
|
+
"plans": [
|
443
|
+
{
|
444
|
+
...
|
445
|
+
"individual_medical_deductible": "$5,000",
|
446
|
+
"family_medical_deductible": "$10,000"
|
447
|
+
...
|
448
|
+
}
|
449
|
+
|
450
|
+
]
|
451
|
+
}
|
452
|
+
|
453
|
+
```
|
454
|
+
|
455
|
+
### Premiums
|
456
|
+
The value for the family being quoted is returned in the `premium` field. If no [Applicants](#specifyingapplicants) are provided, the `premium` field will be `0`
|
457
|
+
|
458
|
+
### Major Medical Quotes
|
459
|
+
In order to [Quote](#header-quoting) [Major Medical](#header-major-medical) Plans, send a `POST` to `/plans/medical/search`. In addition, the `age`, `smoker` and `child` attributes of each Applicant must be present.
|
460
|
+
|
461
|
+
#### Subsidies
|
462
|
+
On-market ([Healthcare.gov](https://www.healthcare.gov) and State-Based Exchange) [Major Medical](#header-major-medical) Plans are eligible for government subsidies. The subsidy calculation is based on the percentage of the family's income that the IRS has designated as "affordable" for that family and the Second Lowest-Cost Silver Plan available to that family.
|
463
|
+
|
464
|
+
In order to calculate subsidies for a family the following parameters must be supplied:
|
465
|
+
```
|
466
|
+
POST /plans/medical/search
|
467
|
+
{
|
468
|
+
...
|
469
|
+
"household_size": 4,
|
470
|
+
"household_income": 40000
|
471
|
+
...
|
472
|
+
}
|
473
|
+
```
|
474
|
+
|
475
|
+
The amount that the family will pay after subsidy is returned in the `premium_subsidized` field for each plan.
|
476
|
+
|
477
|
+
##### Subsidy Calculation
|
478
|
+
Here is how subsidies are calculated. This is fully handled by the Vericred API, but the steps are enumerated below for clarity.
|
479
|
+
|
480
|
+
1. Determine the percentage of the [Federal Poverty Level](https://aspe.hhs.gov/poverty-guidelines) for the family based on the household size and income.
|
481
|
+
1. Reference the [CMS table](https://www.irs.gov/pub/irs-drop/rp-17-36.pdf) to determine the appropriate percentage of income for the family to spend on healthcare.
|
482
|
+
1. Multiply that value by the family's income. This is the total amount that the family can spend on healthcare for the year, after the subsidy.
|
483
|
+
1. Find the cost of the Second Least-Expensive Silver Plan available to the family, accounting for the percentage of premium that goes to [Essential Health Benefits](https://www.healthcare.gov/glossary/essential-health-benefits/)
|
484
|
+
1. Calculate the difference in price between the amount the family should spend on healthcare and the Second Least-Expensive Silver Plan's premium. This is the subsidy.
|
485
|
+
1. Apply the subsidy to all on-market Plans available to the family. The subsidized premium can never be below $0 (for example, a low-cost Bronze Plan may be less expensive than the subsidy)
|
486
|
+
|
487
|
+
#### Cost Sharing Reduction Plans
|
488
|
+
[Cost Sharing Reduction (CSR)](https://www.healthcare.gov/glossary/cost-sharing-reduction/) Plans are available to lower income families and offer enhanced benefits for certain Silver Plans at the same cost as the non-CSR Plans available to higher-income families.
|
489
|
+
|
490
|
+
If a family is eligible for CSR Plans, the Vericred API will return the relevant Plan in place of the non-CSR version.
|
491
|
+
|
492
|
+
In order to include CSR Plans where applicable, the following parameters must be supplied:
|
493
|
+
```
|
494
|
+
POST /plans/medical/search
|
495
|
+
{
|
496
|
+
...
|
497
|
+
"household_size": 4,
|
498
|
+
"household_income": 40000
|
499
|
+
...
|
500
|
+
}
|
501
|
+
```
|
502
|
+
|
503
|
+
#### The Children's Health Insurance Program (CHIP)
|
504
|
+
[The Children's Health Insurance Program (CHIP)](https://www.healthcare.gov/medicaid-chip/childrens-health-insurance-program/) provides low-cost health coverage to children in families that earn too much money to qualify for Medicaid.
|
505
|
+
|
506
|
+
If a family is eligible for CHIP, the Vericred API will include the subsidy in the returned premiums. In order to include CHIP subsidies in premium calculations, the following parameters must be supplied:
|
507
|
+
```
|
508
|
+
POST /plans/medical/search
|
509
|
+
{
|
510
|
+
...
|
511
|
+
"applicants": [
|
512
|
+
{
|
513
|
+
"age": 34,
|
514
|
+
"smoker": true,
|
515
|
+
"child": false
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"age": 32,
|
519
|
+
"smoker": false,
|
520
|
+
"child": false
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"age": 4,
|
524
|
+
"smoker": false,
|
525
|
+
"child": true
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"age": 4,
|
529
|
+
"smoker": false,
|
530
|
+
"child": true
|
531
|
+
}
|
532
|
+
],
|
533
|
+
"household_size": 4,
|
534
|
+
"household_income": 40000
|
535
|
+
...
|
536
|
+
}
|
537
|
+
```
|
538
|
+
|
539
|
+
CHIP eligibility is displayed within the meta-tag in the response as `eligible_for_chip_medicaid`:
|
540
|
+
```
|
541
|
+
{
|
542
|
+
"meta": {
|
543
|
+
"total": 150,
|
544
|
+
"eligible_for_chip_medicaid": true,
|
545
|
+
"premium_tax_credit": 500.20
|
546
|
+
},
|
547
|
+
"coverages": [],
|
548
|
+
"plans": [...]
|
549
|
+
}
|
550
|
+
```
|
551
|
+
|
552
|
+
If you do not want CHIP subsidies to be included in the premiums, simply do not include the `household_income` parameter in the request.
|
553
|
+
|
554
|
+
### Dental Quotes
|
555
|
+
Quoting [Dental](#header-dental) Plans for a family requires slightly different parameters for [Applicants](#specifyingapplicants), due to the method with which Plans are [rated](#header-rate-factors). The folloiwng example contains the require parameters:
|
556
|
+
```
|
557
|
+
POST /plans/dental/search
|
558
|
+
{
|
559
|
+
...
|
560
|
+
"applicants": [
|
561
|
+
{
|
562
|
+
"age": 34,
|
563
|
+
"gender": "M",
|
564
|
+
"child": false
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"age": 32,
|
568
|
+
"gender": "F",
|
569
|
+
"child": false
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"age": 4,
|
573
|
+
"gender": "M",
|
574
|
+
"child": true
|
575
|
+
}
|
576
|
+
]
|
577
|
+
...
|
578
|
+
}
|
579
|
+
```
|
580
|
+
|
581
|
+
Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Dental Quotes](#dentalquotes) require `gender`, but *do not* require `smoker`.
|
582
|
+
|
583
|
+
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Dental Quotes](#dentalquotes).
|
584
|
+
|
585
|
+
### Vision Quotes
|
586
|
+
|
587
|
+
Quoting [Vision](#header-vision) Plans for a family requires slightly different parameters for [Applicants](#specifyingapplicants), due to the method with which Plans are [rated](#header-rate-factors). The folloiwng example contains the require parameters:
|
588
|
+
```
|
589
|
+
POST /plans/vision/search
|
590
|
+
{
|
591
|
+
...
|
592
|
+
"applicants": [
|
593
|
+
{
|
594
|
+
"age": 34,
|
595
|
+
"gender": "M",
|
596
|
+
"child": false
|
597
|
+
},
|
598
|
+
{
|
599
|
+
"age": 32,
|
600
|
+
"gender": "F",
|
601
|
+
"child": false
|
602
|
+
},
|
603
|
+
{
|
604
|
+
"age": 4,
|
605
|
+
"gender": "M",
|
606
|
+
"child": true
|
607
|
+
}
|
608
|
+
]
|
609
|
+
...
|
610
|
+
}
|
611
|
+
```
|
612
|
+
|
613
|
+
Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Vision Quotes](#visionquotes) require `gender`, but *do not* require `smoker`.
|
614
|
+
|
615
|
+
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Vision Quotes](#visionquotes).
|
616
|
+
|
617
|
+
## Quotes for Groups
|
618
|
+
A Group Quote finds [Plans](#header-plans) and [Rates](#header-rates) for a group of employees for a small business. Different [Plans](#header-plans) are available to small groups than are available in [Individual Quoting](#individualquotes). In addition, [Business Rules](#header-business-rules) that apply across multiple families or based upon employer attributes such as [SIC](https://en.wikipedia.org/wiki/Standard_Industrial_Classification) code factor into rates and availability.
|
619
|
+
|
620
|
+
In addition, due to performance requirements and for enhanced auditing, [Group Quotes](#groupquotes) are persisted across requests. This means that a given [Quote](#groupquotes) can be retrieved after it has been created.
|
621
|
+
|
622
|
+
### Identifiers
|
623
|
+
In order to make it easier to cross-reference local copies of data with [Quotes](#header-creating-a-quote) and other data in the Vericred API, most entities allow for the specification of an `external_id` field. You can use this to store a primary or natural key from your system in order to easily match records returned from the API with records in your system.
|
624
|
+
|
625
|
+
### Specifying the Group
|
626
|
+
Creating a group is the first step in [Group Quoting](#groupquoting). The API requires that certain information such as `sic_code`, and `chamber_association` be provided and returns a the attributes and `id` for the newly created `Group`
|
627
|
+
|
628
|
+
Full documentation is available [below](#groupscreate)
|
629
|
+
|
630
|
+
### Specifying the Locations
|
631
|
+
When creating a `Group`, you must also specify one or more `Location`s. Of those `Location`s specified, one must be `primary`. That `Location` is used to calculate Plan eligibility using the relevant [Service Areas](#header-service-areas). Some Carriers use secondary `Location`s to determine eligibility as well, which is why those must be specified as well.
|
632
|
+
|
633
|
+
```
|
634
|
+
POST /groups
|
635
|
+
{
|
636
|
+
"group": {
|
637
|
+
...
|
638
|
+
},
|
639
|
+
"locations": [
|
640
|
+
{
|
641
|
+
...
|
642
|
+
"zip_code": "11201",
|
643
|
+
"fips_code": "36047",
|
644
|
+
"primary": true
|
645
|
+
...
|
646
|
+
}
|
647
|
+
]
|
648
|
+
}
|
649
|
+
```
|
650
|
+
|
651
|
+
### Specifying the Census
|
652
|
+
A Census is the collection of `Member`s contained in the `Group`. The attributes of each `Member` and his or her `Dependent`s determine the [Rate](#header-rates) for the `Group` as a whole. Certain attributes of the `Member` are important for calculating [Rates](#header-rates) and applying [Business Rules](#header-business-rules). For example, the `Member`'s home address and in which office he or she works are relevant for certain [Business Rules](#header-business-rules).
|
653
|
+
|
654
|
+
#### Dependent Relationships
|
655
|
+
The `Dependent`s for a given `Member` also factor into the [Rates](#header-rates) and application of [Business Rules](#header-business-rules). For example, certain [Plans](#header-plans) cover only `Dependent`s of particular types and/or only `Dependent`s of a particular type who live in the same household as the primary `Member`
|
656
|
+
|
657
|
+
Valid Dependent Relationships:
|
658
|
+
- `adopted_child`
|
659
|
+
- `child`
|
660
|
+
- `court_appointed_guardian`
|
661
|
+
- `dependent_of_dependent`
|
662
|
+
- `ex_spouse`
|
663
|
+
- `foster_child`
|
664
|
+
- `grand_child`
|
665
|
+
- `guardian`
|
666
|
+
- `life_partner`
|
667
|
+
- `other`
|
668
|
+
- `sibling`
|
669
|
+
- `sponsored_dependent`
|
670
|
+
- `spouse`
|
671
|
+
- `step_child`
|
672
|
+
- `ward`
|
673
|
+
|
674
|
+
```
|
675
|
+
POST
|
676
|
+
|
677
|
+
/groups/{id}/members
|
678
|
+
{
|
679
|
+
"members": [
|
680
|
+
...
|
681
|
+
{
|
682
|
+
"cobra": false,
|
683
|
+
"date_of_birth": "1980-01-01",
|
684
|
+
"fips_code": "36047"
|
685
|
+
"gender": "M",
|
686
|
+
"last_used_tobacco": "2017-01-01",
|
687
|
+
"location_id": :location_id
|
688
|
+
"retiree": false,
|
689
|
+
"zip_code": "11201",
|
690
|
+
"dependents": [
|
691
|
+
...
|
692
|
+
{
|
693
|
+
"relationship": "child",
|
694
|
+
"same_household": true
|
695
|
+
}
|
696
|
+
...
|
697
|
+
]
|
698
|
+
}
|
699
|
+
...
|
700
|
+
]
|
701
|
+
}
|
702
|
+
|
703
|
+
```
|
704
|
+
|
705
|
+
### Creating a Quote
|
706
|
+
Once the [Census](#header-specifying-the-census) has been created, we can generate a `Quote` for the `Group`.
|
707
|
+
|
708
|
+
#### Major Medical Quotes
|
709
|
+
To generate a [Major Medical](#header-major-medical) Quote, specify the `product_line` of `Quote` as `medical`
|
710
|
+
|
711
|
+
```
|
712
|
+
POST /groups/{id}/quotes
|
713
|
+
{
|
714
|
+
...
|
715
|
+
"product_line": "medical"
|
716
|
+
...
|
717
|
+
}
|
718
|
+
```
|
719
|
+
|
720
|
+
#### Dental Quotes
|
721
|
+
To generate a [Dental](#header-dental) Quote, specify the `product_line` of `Quote` as `dental`
|
722
|
+
|
723
|
+
```
|
724
|
+
POST /groups/{id}/quotes
|
725
|
+
{
|
726
|
+
...
|
727
|
+
"product_line": "dental"
|
728
|
+
...
|
729
|
+
}
|
730
|
+
```
|
731
|
+
|
732
|
+
#### Vision Quotes
|
733
|
+
To generate a [Vision](#header-vision) Quote, specify the `product_line` of `Quote` as `vision`
|
734
|
+
|
735
|
+
```
|
736
|
+
POST /groups/{id}/quotes
|
737
|
+
{
|
738
|
+
...
|
739
|
+
"product_line": "vision"
|
740
|
+
...
|
741
|
+
}
|
742
|
+
```
|
743
|
+
|
744
|
+
### Retrieving Aggregate Rates
|
745
|
+
Once you have created a [Quote](#header-creating-a-quote), you can retrieve its aggregate [Rates](#header-rates). [Rates](#header-rates) are broken down by `Member` and `Dependent`, so that you can show the final cost in different scenarios where an employer might cover a different percentage of `Member` and `Dependent` costs.
|
746
|
+
|
747
|
+
```
|
748
|
+
GET /quotes/{id}/rates
|
749
|
+
|
750
|
+
Response
|
751
|
+
{
|
752
|
+
"rates": [
|
753
|
+
...
|
754
|
+
{
|
755
|
+
"plan_id": "12345NY6789012",
|
756
|
+
"total_premium": 2800.0,
|
757
|
+
"member_premium": 1000.0,
|
758
|
+
"dependent_premium": 1800.0,
|
759
|
+
"id": "123abc"
|
760
|
+
}
|
761
|
+
...
|
762
|
+
]
|
763
|
+
}
|
764
|
+
```
|
765
|
+
|
766
|
+
|
767
|
+
#### Loading Plan Data
|
768
|
+
Aggregate [Rates](#header-rates) responses *do not* include [Plan](#header-plans) details in order to keep the payload small. [Plan](#header-plans) data can be retrieved in one of two ways:
|
769
|
+
|
770
|
+
Loading the [Plan](#header-plans) from the API:
|
771
|
+
```
|
772
|
+
GET /plans/{id}
|
773
|
+
|
774
|
+
Response:
|
775
|
+
{
|
776
|
+
"plans": [
|
777
|
+
...
|
778
|
+
{
|
779
|
+
...
|
780
|
+
"individual_medical_deductible": "$5,000",
|
781
|
+
"family_medical_deductible": "$10,000",
|
782
|
+
...
|
783
|
+
}
|
784
|
+
...
|
785
|
+
|
786
|
+
]
|
787
|
+
}
|
788
|
+
```
|
789
|
+
Pulling in [Bulk Plan Data](#bulkplans) and matching up [Plans](#header-plans) by their `id`.
|
790
|
+
|
791
|
+
### Retrieving Member-Level Rates
|
792
|
+
In order to retrieve the exact [Rate](#header-rates) for each `Member` and their `Dependents` for given [Plan](#header-plans), you can load Member-Level `Rates`.
|
793
|
+
|
794
|
+
```
|
795
|
+
GET /rates/{id}/member_rates
|
796
|
+
|
797
|
+
Response
|
798
|
+
{
|
799
|
+
"member_rates": [
|
800
|
+
...
|
801
|
+
{
|
802
|
+
"id": "123abc",
|
803
|
+
"member_id": "234def",
|
804
|
+
"member_external_id": "externally-supplied-id",
|
805
|
+
"member_premium": 500.0,
|
806
|
+
"dependent_premium": 600.0,
|
807
|
+
"total_premium": 1100.0,
|
808
|
+
}
|
809
|
+
...
|
810
|
+
]
|
811
|
+
}
|
812
|
+
|
813
|
+
```
|
814
|
+
|
815
|
+
Note that *all* `MemberRate`s are for one particular [Plan](#header-plans) - the one referenced by the parent [Rate](#header-rates).
|
816
|
+
|
817
|
+
### Business Rules
|
818
|
+
Vericred works with our Carrier partners to acquire and apply Business Rules that can affect either [Plan](#header-plans) availability or the way in which `Member`s and `Dependent`s are rated. For example, one Carrier's Business Rules might specify that `Member`s and `Dependent`s who have used tobacco in the past 4 months are considered "tobacco-users", while another's may specify that period to be 1 year.
|
819
|
+
|
820
|
+
These rules are applied transparently during the [Quoting](#header-quoting) process and *do not* require any additional action or input on your part.
|
821
|
+
|
822
|
+
For a full accounting of Business Rules and a list of Carriers whose Business Rules are applied, please contact support@vericred.com
|
823
|
+
|
824
|
+
### Composite Rates
|
825
|
+
Composite Rates are commonly used in [Major Medical](#header-major-medical), [Dental](#header-dental), and [Vision](#header-vision) [Plans](#header-plans) to simplify operations by charging each family the weighted average of the `Group`'s total premium. The most common methodology is as follows:
|
826
|
+
|
827
|
+
1. Calculate the [Rates](#header-rates) for the entire `Group` using [Sheet Rates](#header-sheet-rates) or [Rate Factors](#header-rate-factors) as appropriate
|
828
|
+
1. Categorize each Family within the Group. The categorization differs depending on whether the Composite Rate is 2, 3, or 4-tier
|
829
|
+
1. Multiply the number of Families in each category by the constant for that category. These constants are provided to Vericred by the Carrier. This determines the total number of "Rating Units"
|
830
|
+
1. Divide the total premium calculated in Step 1 by the total number of Rating Units to get the price per Rating Unit
|
831
|
+
1. The [Rate](#header-rates) each Family pays is the constant for that Family's category multiplied by the price per Rating Unit.
|
832
|
+
|
833
|
+
You can request that a [Quote](#header-quoting) be calculated using Composite Rates when creating it:
|
834
|
+
```
|
835
|
+
POST /quotes
|
836
|
+
{
|
837
|
+
...
|
838
|
+
"rating_method": "4_tier_composite"
|
839
|
+
...
|
840
|
+
}
|
841
|
+
```
|
842
|
+
If no Composite Rates methodology is available, the Vericred API will return standard age-banded Rates.
|
843
|
+
|
844
|
+
# Network and Provider Data
|
845
|
+
|
846
|
+
A `Provider` is an individual or organization in the medical profession. For example, an individual doctor is a `Provider` as are certain clinics and hospitals.
|
847
|
+
|
848
|
+
`Provider`s are related to `Network`s. A `Network` is a collection of `Provider`s that are under a particular contract with a given `Carrier`. A given `Carrier` will often have multiple `Network`s. For example, there may be a large national `Network` as well as several smaller regional `Network`s.
|
849
|
+
|
850
|
+
Each `Plan` has a `Network`. A consumer who visits a `Provider` typically incurs fewer costs when visiting a `Provider` in the `Network` covered by his or her `Plan`. The `premium` for a `Plan` is often proportional to the size of its `Network`
|
851
|
+
|
852
|
+
## Finding Providers
|
853
|
+
In order to determine if a particular `Plan` covers a given `Provider`, you must first identify the `Provider`. To do so, use the [Provider Search API endpoint](#providers-providers-post) and specify some search criteria:
|
854
|
+
|
855
|
+
```
|
856
|
+
POST /providers/search
|
857
|
+
{
|
858
|
+
"search_term": "foo",
|
859
|
+
"zip_code": "11201"
|
860
|
+
}
|
861
|
+
```
|
862
|
+
|
863
|
+
The API will return an ordered list of `Provider`s who match the query along with their names, addresses, and other demographic data. The `id` field returned refers to the `Provider`'s [NPI number](https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/NationalProvIdentStand/). This is the key that is used to identify the `Provider` across different API endpoints.
|
864
|
+
|
865
|
+
## Finding Networks
|
866
|
+
|
867
|
+
A `Network` is a collection of `Provider`s that are under a particular contract with a given `Carrier`. A given `Carrier` will often have multiple `Network`s. For example, there may be a large national `Network` as well as several smaller regional `Network`s.
|
868
|
+
|
869
|
+
The API supports searching for `Networks` by Carrier, market and state. For more details view the [endpoint documentation](#networks-networks-get)
|
870
|
+
|
871
|
+
## Matching Providers to Networks
|
872
|
+
In order to determine if a `Provider` is covered by a user's `Plan`, you will need to map the `Provider` to a `Network`. There are several methods to do this using the API
|
873
|
+
|
874
|
+
### Using Plan Search
|
875
|
+
You can specify one or more `npi` values in the [`plan` search](#majormedicalplans-majormedicalplans-post). To do so, include a list of `providers` in the request
|
876
|
+
```
|
877
|
+
POST /plans/medical/search
|
878
|
+
{
|
879
|
+
...
|
880
|
+
"providers": [
|
881
|
+
{ "npi": 1234567890 },
|
882
|
+
{ "npi": 2345678901 }
|
883
|
+
]
|
884
|
+
...
|
885
|
+
}
|
886
|
+
|
887
|
+
The response will then return a list of `in_network_ids` and `out_of_network_ids` for each `Plan`
|
888
|
+
|
889
|
+
```
|
890
|
+
{
|
891
|
+
"plans": [
|
892
|
+
...
|
893
|
+
{
|
894
|
+
...
|
895
|
+
"id": "12345NY1234567",
|
896
|
+
"in_network_ids": [1234567890],
|
897
|
+
"out_of_network_ids": [1234567890]
|
898
|
+
...
|
899
|
+
},
|
900
|
+
{
|
901
|
+
...
|
902
|
+
"id": "12345NY2345678",
|
903
|
+
"in_network_ids": [1234567890, 1234567890],
|
904
|
+
"out_of_network_ids": []
|
905
|
+
...
|
906
|
+
}
|
907
|
+
...
|
908
|
+
]
|
909
|
+
}
|
910
|
+
|
911
|
+
Simply reference the `Provider` in question by its `id` for each `Plan` to see if that `Provider` is in-network for the `Plan`.
|
912
|
+
|
913
|
+
### Matching by Plan ID
|
914
|
+
Given a `Provider`'s `id`, you can retrieve all of his or her `hios_ids`
|
915
|
+
|
916
|
+
For more details see the [endpoint documentation](#providers-providers-get)
|
917
|
+
|
918
|
+
```
|
919
|
+
GET /providers/1234567890
|
920
|
+
{
|
921
|
+
"provider": {
|
922
|
+
...
|
923
|
+
"hios_ids": [
|
924
|
+
...
|
925
|
+
"12345NY1234567"
|
926
|
+
...
|
927
|
+
]
|
928
|
+
...
|
929
|
+
}
|
930
|
+
}
|
931
|
+
```
|
932
|
+
|
933
|
+
The returned `hios_ids` can be used to cross-reference a `Plan`
|
934
|
+
|
935
|
+
### Matching by Network
|
936
|
+
Once you have an ID returned from the [`Network` search endpoint](#networks-networks-get), you can cross-reference it with the `network_ids` returned from both the [`Provider` search](#providers-providers-post) and [`Provider` details](#providers-providers-get) endpoints.
|
937
|
+
|
938
|
+
This is useful for large group data or when you are not dealing with `Plan`s directly, but rather at the `Network` level.
|
939
|
+
|
201
940
|
|
202
941
|
OpenAPI spec version: 1.0.0
|
203
942
|
|
@@ -231,57 +970,6 @@ module VericredClient
|
|
231
970
|
# Rate for age 1
|
232
971
|
attr_accessor :age_1
|
233
972
|
|
234
|
-
# Tobacco rate for age 1
|
235
|
-
attr_accessor :age_1_tobacco
|
236
|
-
|
237
|
-
# Rate for age 2
|
238
|
-
attr_accessor :age_2
|
239
|
-
|
240
|
-
# Tobacco rate for age 2
|
241
|
-
attr_accessor :age_2_tobacco
|
242
|
-
|
243
|
-
# Rate for age 3
|
244
|
-
attr_accessor :age_3
|
245
|
-
|
246
|
-
# Tobacco rate for age 3
|
247
|
-
attr_accessor :age_3_tobacco
|
248
|
-
|
249
|
-
# Rate for age 4
|
250
|
-
attr_accessor :age_4
|
251
|
-
|
252
|
-
# Tobacco rate for age 4
|
253
|
-
attr_accessor :age_4_tobacco
|
254
|
-
|
255
|
-
# Rate for age 5
|
256
|
-
attr_accessor :age_5
|
257
|
-
|
258
|
-
# Tobacco rate for age 5
|
259
|
-
attr_accessor :age_5_tobacco
|
260
|
-
|
261
|
-
# Rate for age 6
|
262
|
-
attr_accessor :age_6
|
263
|
-
|
264
|
-
# Tobacco rate for age 6
|
265
|
-
attr_accessor :age_6_tobacco
|
266
|
-
|
267
|
-
# Rate for age 7
|
268
|
-
attr_accessor :age_7
|
269
|
-
|
270
|
-
# Tobacco rate for age 7
|
271
|
-
attr_accessor :age_7_tobacco
|
272
|
-
|
273
|
-
# Rate for age 8
|
274
|
-
attr_accessor :age_8
|
275
|
-
|
276
|
-
# Tobacco rate for age 8
|
277
|
-
attr_accessor :age_8_tobacco
|
278
|
-
|
279
|
-
# Rate for age 9
|
280
|
-
attr_accessor :age_9
|
281
|
-
|
282
|
-
# Tobacco rate for age 9
|
283
|
-
attr_accessor :age_9_tobacco
|
284
|
-
|
285
973
|
# Rate for age 10
|
286
974
|
attr_accessor :age_10
|
287
975
|
|
@@ -342,6 +1030,12 @@ module VericredClient
|
|
342
1030
|
# Tobacco rate for age 19
|
343
1031
|
attr_accessor :age_19_tobacco
|
344
1032
|
|
1033
|
+
# Tobacco rate for age 1
|
1034
|
+
attr_accessor :age_1_tobacco
|
1035
|
+
|
1036
|
+
# Rate for age 2
|
1037
|
+
attr_accessor :age_2
|
1038
|
+
|
345
1039
|
# Rate for age 20
|
346
1040
|
attr_accessor :age_20
|
347
1041
|
|
@@ -402,6 +1096,12 @@ module VericredClient
|
|
402
1096
|
# Tobacco rate for age 29
|
403
1097
|
attr_accessor :age_29_tobacco
|
404
1098
|
|
1099
|
+
# Tobacco rate for age 2
|
1100
|
+
attr_accessor :age_2_tobacco
|
1101
|
+
|
1102
|
+
# Rate for age 3
|
1103
|
+
attr_accessor :age_3
|
1104
|
+
|
405
1105
|
# Rate for age 30
|
406
1106
|
attr_accessor :age_30
|
407
1107
|
|
@@ -462,6 +1162,12 @@ module VericredClient
|
|
462
1162
|
# Tobacco rate for age 39
|
463
1163
|
attr_accessor :age_39_tobacco
|
464
1164
|
|
1165
|
+
# Tobacco rate for age 3
|
1166
|
+
attr_accessor :age_3_tobacco
|
1167
|
+
|
1168
|
+
# Rate for age 4
|
1169
|
+
attr_accessor :age_4
|
1170
|
+
|
465
1171
|
# Rate for age 40
|
466
1172
|
attr_accessor :age_40
|
467
1173
|
|
@@ -522,6 +1228,12 @@ module VericredClient
|
|
522
1228
|
# Tobacco rate for age 49
|
523
1229
|
attr_accessor :age_49_tobacco
|
524
1230
|
|
1231
|
+
# Tobacco rate for age 4
|
1232
|
+
attr_accessor :age_4_tobacco
|
1233
|
+
|
1234
|
+
# Rate for age 5
|
1235
|
+
attr_accessor :age_5
|
1236
|
+
|
525
1237
|
# Rate for age 50
|
526
1238
|
attr_accessor :age_50
|
527
1239
|
|
@@ -582,6 +1294,12 @@ module VericredClient
|
|
582
1294
|
# Tobacco rate for age 59
|
583
1295
|
attr_accessor :age_59_tobacco
|
584
1296
|
|
1297
|
+
# Tobacco rate for age 5
|
1298
|
+
attr_accessor :age_5_tobacco
|
1299
|
+
|
1300
|
+
# Rate for age 6
|
1301
|
+
attr_accessor :age_6
|
1302
|
+
|
585
1303
|
# Rate for age 60
|
586
1304
|
attr_accessor :age_60
|
587
1305
|
|
@@ -615,18 +1333,54 @@ module VericredClient
|
|
615
1333
|
# Rate for age 65
|
616
1334
|
attr_accessor :age_65
|
617
1335
|
|
618
|
-
# Tobacco rate for age 65
|
619
|
-
attr_accessor :age_65_tobacco
|
1336
|
+
# Tobacco rate for age 65
|
1337
|
+
attr_accessor :age_65_tobacco
|
1338
|
+
|
1339
|
+
# Tobacco rate for age 6
|
1340
|
+
attr_accessor :age_6_tobacco
|
1341
|
+
|
1342
|
+
# Rate for age 7
|
1343
|
+
attr_accessor :age_7
|
1344
|
+
|
1345
|
+
# Tobacco rate for age 7
|
1346
|
+
attr_accessor :age_7_tobacco
|
1347
|
+
|
1348
|
+
# Rate for age 8
|
1349
|
+
attr_accessor :age_8
|
1350
|
+
|
1351
|
+
# Tobacco rate for age 8
|
1352
|
+
attr_accessor :age_8_tobacco
|
1353
|
+
|
1354
|
+
# Rate for age 9
|
1355
|
+
attr_accessor :age_9
|
1356
|
+
|
1357
|
+
# Tobacco rate for age 9
|
1358
|
+
attr_accessor :age_9_tobacco
|
1359
|
+
|
1360
|
+
# Fixed-family-tier rate for child_only
|
1361
|
+
attr_accessor :child_only
|
620
1362
|
|
621
1363
|
# First date on which the rate is effective
|
622
1364
|
attr_accessor :effective_date
|
623
1365
|
|
624
|
-
# Last date on which the rate is
|
1366
|
+
# Last date on which the rate is effective
|
625
1367
|
attr_accessor :expiration_date
|
626
1368
|
|
1369
|
+
# Fixed-family-tier rate for family
|
1370
|
+
attr_accessor :family
|
1371
|
+
|
627
1372
|
# Foreign key to the plan
|
628
1373
|
attr_accessor :plan_id
|
629
1374
|
|
1375
|
+
# Fixed-family-tier rate for single
|
1376
|
+
attr_accessor :single
|
1377
|
+
|
1378
|
+
# Fixed-family-tier rate for single_and_children
|
1379
|
+
attr_accessor :single_and_children
|
1380
|
+
|
1381
|
+
# Fixed-family-tier rate for single_and_spouse
|
1382
|
+
attr_accessor :single_and_spouse
|
1383
|
+
|
630
1384
|
# Data source for the rate
|
631
1385
|
attr_accessor :source
|
632
1386
|
|
@@ -637,23 +1391,6 @@ module VericredClient
|
|
637
1391
|
:'age_0' => :'age_0',
|
638
1392
|
:'age_0_tobacco' => :'age_0_tobacco',
|
639
1393
|
:'age_1' => :'age_1',
|
640
|
-
:'age_1_tobacco' => :'age_1_tobacco',
|
641
|
-
:'age_2' => :'age_2',
|
642
|
-
:'age_2_tobacco' => :'age_2_tobacco',
|
643
|
-
:'age_3' => :'age_3',
|
644
|
-
:'age_3_tobacco' => :'age_3_tobacco',
|
645
|
-
:'age_4' => :'age_4',
|
646
|
-
:'age_4_tobacco' => :'age_4_tobacco',
|
647
|
-
:'age_5' => :'age_5',
|
648
|
-
:'age_5_tobacco' => :'age_5_tobacco',
|
649
|
-
:'age_6' => :'age_6',
|
650
|
-
:'age_6_tobacco' => :'age_6_tobacco',
|
651
|
-
:'age_7' => :'age_7',
|
652
|
-
:'age_7_tobacco' => :'age_7_tobacco',
|
653
|
-
:'age_8' => :'age_8',
|
654
|
-
:'age_8_tobacco' => :'age_8_tobacco',
|
655
|
-
:'age_9' => :'age_9',
|
656
|
-
:'age_9_tobacco' => :'age_9_tobacco',
|
657
1394
|
:'age_10' => :'age_10',
|
658
1395
|
:'age_10_tobacco' => :'age_10_tobacco',
|
659
1396
|
:'age_11' => :'age_11',
|
@@ -674,6 +1411,8 @@ module VericredClient
|
|
674
1411
|
:'age_18_tobacco' => :'age_18_tobacco',
|
675
1412
|
:'age_19' => :'age_19',
|
676
1413
|
:'age_19_tobacco' => :'age_19_tobacco',
|
1414
|
+
:'age_1_tobacco' => :'age_1_tobacco',
|
1415
|
+
:'age_2' => :'age_2',
|
677
1416
|
:'age_20' => :'age_20',
|
678
1417
|
:'age_20_tobacco' => :'age_20_tobacco',
|
679
1418
|
:'age_21' => :'age_21',
|
@@ -694,6 +1433,8 @@ module VericredClient
|
|
694
1433
|
:'age_28_tobacco' => :'age_28_tobacco',
|
695
1434
|
:'age_29' => :'age_29',
|
696
1435
|
:'age_29_tobacco' => :'age_29_tobacco',
|
1436
|
+
:'age_2_tobacco' => :'age_2_tobacco',
|
1437
|
+
:'age_3' => :'age_3',
|
697
1438
|
:'age_30' => :'age_30',
|
698
1439
|
:'age_30_tobacco' => :'age_30_tobacco',
|
699
1440
|
:'age_31' => :'age_31',
|
@@ -714,6 +1455,8 @@ module VericredClient
|
|
714
1455
|
:'age_38_tobacco' => :'age_38_tobacco',
|
715
1456
|
:'age_39' => :'age_39',
|
716
1457
|
:'age_39_tobacco' => :'age_39_tobacco',
|
1458
|
+
:'age_3_tobacco' => :'age_3_tobacco',
|
1459
|
+
:'age_4' => :'age_4',
|
717
1460
|
:'age_40' => :'age_40',
|
718
1461
|
:'age_40_tobacco' => :'age_40_tobacco',
|
719
1462
|
:'age_41' => :'age_41',
|
@@ -734,6 +1477,8 @@ module VericredClient
|
|
734
1477
|
:'age_48_tobacco' => :'age_48_tobacco',
|
735
1478
|
:'age_49' => :'age_49',
|
736
1479
|
:'age_49_tobacco' => :'age_49_tobacco',
|
1480
|
+
:'age_4_tobacco' => :'age_4_tobacco',
|
1481
|
+
:'age_5' => :'age_5',
|
737
1482
|
:'age_50' => :'age_50',
|
738
1483
|
:'age_50_tobacco' => :'age_50_tobacco',
|
739
1484
|
:'age_51' => :'age_51',
|
@@ -754,6 +1499,8 @@ module VericredClient
|
|
754
1499
|
:'age_58_tobacco' => :'age_58_tobacco',
|
755
1500
|
:'age_59' => :'age_59',
|
756
1501
|
:'age_59_tobacco' => :'age_59_tobacco',
|
1502
|
+
:'age_5_tobacco' => :'age_5_tobacco',
|
1503
|
+
:'age_6' => :'age_6',
|
757
1504
|
:'age_60' => :'age_60',
|
758
1505
|
:'age_60_tobacco' => :'age_60_tobacco',
|
759
1506
|
:'age_61' => :'age_61',
|
@@ -766,9 +1513,21 @@ module VericredClient
|
|
766
1513
|
:'age_64_tobacco' => :'age_64_tobacco',
|
767
1514
|
:'age_65' => :'age_65',
|
768
1515
|
:'age_65_tobacco' => :'age_65_tobacco',
|
1516
|
+
:'age_6_tobacco' => :'age_6_tobacco',
|
1517
|
+
:'age_7' => :'age_7',
|
1518
|
+
:'age_7_tobacco' => :'age_7_tobacco',
|
1519
|
+
:'age_8' => :'age_8',
|
1520
|
+
:'age_8_tobacco' => :'age_8_tobacco',
|
1521
|
+
:'age_9' => :'age_9',
|
1522
|
+
:'age_9_tobacco' => :'age_9_tobacco',
|
1523
|
+
:'child_only' => :'child_only',
|
769
1524
|
:'effective_date' => :'effective_date',
|
770
1525
|
:'expiration_date' => :'expiration_date',
|
1526
|
+
:'family' => :'family',
|
771
1527
|
:'plan_id' => :'plan_id',
|
1528
|
+
:'single' => :'single',
|
1529
|
+
:'single_and_children' => :'single_and_children',
|
1530
|
+
:'single_and_spouse' => :'single_and_spouse',
|
772
1531
|
:'source' => :'source'
|
773
1532
|
}
|
774
1533
|
end
|
@@ -779,23 +1538,6 @@ module VericredClient
|
|
779
1538
|
:'age_0' => :'Float',
|
780
1539
|
:'age_0_tobacco' => :'Float',
|
781
1540
|
:'age_1' => :'Float',
|
782
|
-
:'age_1_tobacco' => :'Float',
|
783
|
-
:'age_2' => :'Float',
|
784
|
-
:'age_2_tobacco' => :'Float',
|
785
|
-
:'age_3' => :'Float',
|
786
|
-
:'age_3_tobacco' => :'Float',
|
787
|
-
:'age_4' => :'Float',
|
788
|
-
:'age_4_tobacco' => :'Float',
|
789
|
-
:'age_5' => :'Float',
|
790
|
-
:'age_5_tobacco' => :'Float',
|
791
|
-
:'age_6' => :'Float',
|
792
|
-
:'age_6_tobacco' => :'Float',
|
793
|
-
:'age_7' => :'Float',
|
794
|
-
:'age_7_tobacco' => :'Float',
|
795
|
-
:'age_8' => :'Float',
|
796
|
-
:'age_8_tobacco' => :'Float',
|
797
|
-
:'age_9' => :'Float',
|
798
|
-
:'age_9_tobacco' => :'Float',
|
799
1541
|
:'age_10' => :'Float',
|
800
1542
|
:'age_10_tobacco' => :'Float',
|
801
1543
|
:'age_11' => :'Float',
|
@@ -816,6 +1558,8 @@ module VericredClient
|
|
816
1558
|
:'age_18_tobacco' => :'Float',
|
817
1559
|
:'age_19' => :'Float',
|
818
1560
|
:'age_19_tobacco' => :'Float',
|
1561
|
+
:'age_1_tobacco' => :'Float',
|
1562
|
+
:'age_2' => :'Float',
|
819
1563
|
:'age_20' => :'Float',
|
820
1564
|
:'age_20_tobacco' => :'Float',
|
821
1565
|
:'age_21' => :'Float',
|
@@ -836,6 +1580,8 @@ module VericredClient
|
|
836
1580
|
:'age_28_tobacco' => :'Float',
|
837
1581
|
:'age_29' => :'Float',
|
838
1582
|
:'age_29_tobacco' => :'Float',
|
1583
|
+
:'age_2_tobacco' => :'Float',
|
1584
|
+
:'age_3' => :'Float',
|
839
1585
|
:'age_30' => :'Float',
|
840
1586
|
:'age_30_tobacco' => :'Float',
|
841
1587
|
:'age_31' => :'Float',
|
@@ -856,6 +1602,8 @@ module VericredClient
|
|
856
1602
|
:'age_38_tobacco' => :'Float',
|
857
1603
|
:'age_39' => :'Float',
|
858
1604
|
:'age_39_tobacco' => :'Float',
|
1605
|
+
:'age_3_tobacco' => :'Float',
|
1606
|
+
:'age_4' => :'Float',
|
859
1607
|
:'age_40' => :'Float',
|
860
1608
|
:'age_40_tobacco' => :'Float',
|
861
1609
|
:'age_41' => :'Float',
|
@@ -876,6 +1624,8 @@ module VericredClient
|
|
876
1624
|
:'age_48_tobacco' => :'Float',
|
877
1625
|
:'age_49' => :'Float',
|
878
1626
|
:'age_49_tobacco' => :'Float',
|
1627
|
+
:'age_4_tobacco' => :'Float',
|
1628
|
+
:'age_5' => :'Float',
|
879
1629
|
:'age_50' => :'Float',
|
880
1630
|
:'age_50_tobacco' => :'Float',
|
881
1631
|
:'age_51' => :'Float',
|
@@ -896,6 +1646,8 @@ module VericredClient
|
|
896
1646
|
:'age_58_tobacco' => :'Float',
|
897
1647
|
:'age_59' => :'Float',
|
898
1648
|
:'age_59_tobacco' => :'Float',
|
1649
|
+
:'age_5_tobacco' => :'Float',
|
1650
|
+
:'age_6' => :'Float',
|
899
1651
|
:'age_60' => :'Float',
|
900
1652
|
:'age_60_tobacco' => :'Float',
|
901
1653
|
:'age_61' => :'Float',
|
@@ -908,9 +1660,21 @@ module VericredClient
|
|
908
1660
|
:'age_64_tobacco' => :'Float',
|
909
1661
|
:'age_65' => :'Float',
|
910
1662
|
:'age_65_tobacco' => :'Float',
|
1663
|
+
:'age_6_tobacco' => :'Float',
|
1664
|
+
:'age_7' => :'Float',
|
1665
|
+
:'age_7_tobacco' => :'Float',
|
1666
|
+
:'age_8' => :'Float',
|
1667
|
+
:'age_8_tobacco' => :'Float',
|
1668
|
+
:'age_9' => :'Float',
|
1669
|
+
:'age_9_tobacco' => :'Float',
|
1670
|
+
:'child_only' => :'Float',
|
911
1671
|
:'effective_date' => :'Date',
|
912
1672
|
:'expiration_date' => :'Date',
|
1673
|
+
:'family' => :'Float',
|
913
1674
|
:'plan_id' => :'String',
|
1675
|
+
:'single' => :'Float',
|
1676
|
+
:'single_and_children' => :'Float',
|
1677
|
+
:'single_and_spouse' => :'Float',
|
914
1678
|
:'source' => :'String'
|
915
1679
|
}
|
916
1680
|
end
|
@@ -935,74 +1699,6 @@ module VericredClient
|
|
935
1699
|
self.age_1 = attributes[:'age_1']
|
936
1700
|
end
|
937
1701
|
|
938
|
-
if attributes.has_key?(:'age_1_tobacco')
|
939
|
-
self.age_1_tobacco = attributes[:'age_1_tobacco']
|
940
|
-
end
|
941
|
-
|
942
|
-
if attributes.has_key?(:'age_2')
|
943
|
-
self.age_2 = attributes[:'age_2']
|
944
|
-
end
|
945
|
-
|
946
|
-
if attributes.has_key?(:'age_2_tobacco')
|
947
|
-
self.age_2_tobacco = attributes[:'age_2_tobacco']
|
948
|
-
end
|
949
|
-
|
950
|
-
if attributes.has_key?(:'age_3')
|
951
|
-
self.age_3 = attributes[:'age_3']
|
952
|
-
end
|
953
|
-
|
954
|
-
if attributes.has_key?(:'age_3_tobacco')
|
955
|
-
self.age_3_tobacco = attributes[:'age_3_tobacco']
|
956
|
-
end
|
957
|
-
|
958
|
-
if attributes.has_key?(:'age_4')
|
959
|
-
self.age_4 = attributes[:'age_4']
|
960
|
-
end
|
961
|
-
|
962
|
-
if attributes.has_key?(:'age_4_tobacco')
|
963
|
-
self.age_4_tobacco = attributes[:'age_4_tobacco']
|
964
|
-
end
|
965
|
-
|
966
|
-
if attributes.has_key?(:'age_5')
|
967
|
-
self.age_5 = attributes[:'age_5']
|
968
|
-
end
|
969
|
-
|
970
|
-
if attributes.has_key?(:'age_5_tobacco')
|
971
|
-
self.age_5_tobacco = attributes[:'age_5_tobacco']
|
972
|
-
end
|
973
|
-
|
974
|
-
if attributes.has_key?(:'age_6')
|
975
|
-
self.age_6 = attributes[:'age_6']
|
976
|
-
end
|
977
|
-
|
978
|
-
if attributes.has_key?(:'age_6_tobacco')
|
979
|
-
self.age_6_tobacco = attributes[:'age_6_tobacco']
|
980
|
-
end
|
981
|
-
|
982
|
-
if attributes.has_key?(:'age_7')
|
983
|
-
self.age_7 = attributes[:'age_7']
|
984
|
-
end
|
985
|
-
|
986
|
-
if attributes.has_key?(:'age_7_tobacco')
|
987
|
-
self.age_7_tobacco = attributes[:'age_7_tobacco']
|
988
|
-
end
|
989
|
-
|
990
|
-
if attributes.has_key?(:'age_8')
|
991
|
-
self.age_8 = attributes[:'age_8']
|
992
|
-
end
|
993
|
-
|
994
|
-
if attributes.has_key?(:'age_8_tobacco')
|
995
|
-
self.age_8_tobacco = attributes[:'age_8_tobacco']
|
996
|
-
end
|
997
|
-
|
998
|
-
if attributes.has_key?(:'age_9')
|
999
|
-
self.age_9 = attributes[:'age_9']
|
1000
|
-
end
|
1001
|
-
|
1002
|
-
if attributes.has_key?(:'age_9_tobacco')
|
1003
|
-
self.age_9_tobacco = attributes[:'age_9_tobacco']
|
1004
|
-
end
|
1005
|
-
|
1006
1702
|
if attributes.has_key?(:'age_10')
|
1007
1703
|
self.age_10 = attributes[:'age_10']
|
1008
1704
|
end
|
@@ -1083,6 +1779,14 @@ module VericredClient
|
|
1083
1779
|
self.age_19_tobacco = attributes[:'age_19_tobacco']
|
1084
1780
|
end
|
1085
1781
|
|
1782
|
+
if attributes.has_key?(:'age_1_tobacco')
|
1783
|
+
self.age_1_tobacco = attributes[:'age_1_tobacco']
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
if attributes.has_key?(:'age_2')
|
1787
|
+
self.age_2 = attributes[:'age_2']
|
1788
|
+
end
|
1789
|
+
|
1086
1790
|
if attributes.has_key?(:'age_20')
|
1087
1791
|
self.age_20 = attributes[:'age_20']
|
1088
1792
|
end
|
@@ -1163,6 +1867,14 @@ module VericredClient
|
|
1163
1867
|
self.age_29_tobacco = attributes[:'age_29_tobacco']
|
1164
1868
|
end
|
1165
1869
|
|
1870
|
+
if attributes.has_key?(:'age_2_tobacco')
|
1871
|
+
self.age_2_tobacco = attributes[:'age_2_tobacco']
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
if attributes.has_key?(:'age_3')
|
1875
|
+
self.age_3 = attributes[:'age_3']
|
1876
|
+
end
|
1877
|
+
|
1166
1878
|
if attributes.has_key?(:'age_30')
|
1167
1879
|
self.age_30 = attributes[:'age_30']
|
1168
1880
|
end
|
@@ -1243,6 +1955,14 @@ module VericredClient
|
|
1243
1955
|
self.age_39_tobacco = attributes[:'age_39_tobacco']
|
1244
1956
|
end
|
1245
1957
|
|
1958
|
+
if attributes.has_key?(:'age_3_tobacco')
|
1959
|
+
self.age_3_tobacco = attributes[:'age_3_tobacco']
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
if attributes.has_key?(:'age_4')
|
1963
|
+
self.age_4 = attributes[:'age_4']
|
1964
|
+
end
|
1965
|
+
|
1246
1966
|
if attributes.has_key?(:'age_40')
|
1247
1967
|
self.age_40 = attributes[:'age_40']
|
1248
1968
|
end
|
@@ -1323,6 +2043,14 @@ module VericredClient
|
|
1323
2043
|
self.age_49_tobacco = attributes[:'age_49_tobacco']
|
1324
2044
|
end
|
1325
2045
|
|
2046
|
+
if attributes.has_key?(:'age_4_tobacco')
|
2047
|
+
self.age_4_tobacco = attributes[:'age_4_tobacco']
|
2048
|
+
end
|
2049
|
+
|
2050
|
+
if attributes.has_key?(:'age_5')
|
2051
|
+
self.age_5 = attributes[:'age_5']
|
2052
|
+
end
|
2053
|
+
|
1326
2054
|
if attributes.has_key?(:'age_50')
|
1327
2055
|
self.age_50 = attributes[:'age_50']
|
1328
2056
|
end
|
@@ -1403,6 +2131,14 @@ module VericredClient
|
|
1403
2131
|
self.age_59_tobacco = attributes[:'age_59_tobacco']
|
1404
2132
|
end
|
1405
2133
|
|
2134
|
+
if attributes.has_key?(:'age_5_tobacco')
|
2135
|
+
self.age_5_tobacco = attributes[:'age_5_tobacco']
|
2136
|
+
end
|
2137
|
+
|
2138
|
+
if attributes.has_key?(:'age_6')
|
2139
|
+
self.age_6 = attributes[:'age_6']
|
2140
|
+
end
|
2141
|
+
|
1406
2142
|
if attributes.has_key?(:'age_60')
|
1407
2143
|
self.age_60 = attributes[:'age_60']
|
1408
2144
|
end
|
@@ -1451,6 +2187,38 @@ module VericredClient
|
|
1451
2187
|
self.age_65_tobacco = attributes[:'age_65_tobacco']
|
1452
2188
|
end
|
1453
2189
|
|
2190
|
+
if attributes.has_key?(:'age_6_tobacco')
|
2191
|
+
self.age_6_tobacco = attributes[:'age_6_tobacco']
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
if attributes.has_key?(:'age_7')
|
2195
|
+
self.age_7 = attributes[:'age_7']
|
2196
|
+
end
|
2197
|
+
|
2198
|
+
if attributes.has_key?(:'age_7_tobacco')
|
2199
|
+
self.age_7_tobacco = attributes[:'age_7_tobacco']
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
if attributes.has_key?(:'age_8')
|
2203
|
+
self.age_8 = attributes[:'age_8']
|
2204
|
+
end
|
2205
|
+
|
2206
|
+
if attributes.has_key?(:'age_8_tobacco')
|
2207
|
+
self.age_8_tobacco = attributes[:'age_8_tobacco']
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
if attributes.has_key?(:'age_9')
|
2211
|
+
self.age_9 = attributes[:'age_9']
|
2212
|
+
end
|
2213
|
+
|
2214
|
+
if attributes.has_key?(:'age_9_tobacco')
|
2215
|
+
self.age_9_tobacco = attributes[:'age_9_tobacco']
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
if attributes.has_key?(:'child_only')
|
2219
|
+
self.child_only = attributes[:'child_only']
|
2220
|
+
end
|
2221
|
+
|
1454
2222
|
if attributes.has_key?(:'effective_date')
|
1455
2223
|
self.effective_date = attributes[:'effective_date']
|
1456
2224
|
end
|
@@ -1459,10 +2227,26 @@ module VericredClient
|
|
1459
2227
|
self.expiration_date = attributes[:'expiration_date']
|
1460
2228
|
end
|
1461
2229
|
|
2230
|
+
if attributes.has_key?(:'family')
|
2231
|
+
self.family = attributes[:'family']
|
2232
|
+
end
|
2233
|
+
|
1462
2234
|
if attributes.has_key?(:'plan_id')
|
1463
2235
|
self.plan_id = attributes[:'plan_id']
|
1464
2236
|
end
|
1465
2237
|
|
2238
|
+
if attributes.has_key?(:'single')
|
2239
|
+
self.single = attributes[:'single']
|
2240
|
+
end
|
2241
|
+
|
2242
|
+
if attributes.has_key?(:'single_and_children')
|
2243
|
+
self.single_and_children = attributes[:'single_and_children']
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
if attributes.has_key?(:'single_and_spouse')
|
2247
|
+
self.single_and_spouse = attributes[:'single_and_spouse']
|
2248
|
+
end
|
2249
|
+
|
1466
2250
|
if attributes.has_key?(:'source')
|
1467
2251
|
self.source = attributes[:'source']
|
1468
2252
|
end
|
@@ -1490,23 +2274,6 @@ module VericredClient
|
|
1490
2274
|
age_0 == o.age_0 &&
|
1491
2275
|
age_0_tobacco == o.age_0_tobacco &&
|
1492
2276
|
age_1 == o.age_1 &&
|
1493
|
-
age_1_tobacco == o.age_1_tobacco &&
|
1494
|
-
age_2 == o.age_2 &&
|
1495
|
-
age_2_tobacco == o.age_2_tobacco &&
|
1496
|
-
age_3 == o.age_3 &&
|
1497
|
-
age_3_tobacco == o.age_3_tobacco &&
|
1498
|
-
age_4 == o.age_4 &&
|
1499
|
-
age_4_tobacco == o.age_4_tobacco &&
|
1500
|
-
age_5 == o.age_5 &&
|
1501
|
-
age_5_tobacco == o.age_5_tobacco &&
|
1502
|
-
age_6 == o.age_6 &&
|
1503
|
-
age_6_tobacco == o.age_6_tobacco &&
|
1504
|
-
age_7 == o.age_7 &&
|
1505
|
-
age_7_tobacco == o.age_7_tobacco &&
|
1506
|
-
age_8 == o.age_8 &&
|
1507
|
-
age_8_tobacco == o.age_8_tobacco &&
|
1508
|
-
age_9 == o.age_9 &&
|
1509
|
-
age_9_tobacco == o.age_9_tobacco &&
|
1510
2277
|
age_10 == o.age_10 &&
|
1511
2278
|
age_10_tobacco == o.age_10_tobacco &&
|
1512
2279
|
age_11 == o.age_11 &&
|
@@ -1527,6 +2294,8 @@ module VericredClient
|
|
1527
2294
|
age_18_tobacco == o.age_18_tobacco &&
|
1528
2295
|
age_19 == o.age_19 &&
|
1529
2296
|
age_19_tobacco == o.age_19_tobacco &&
|
2297
|
+
age_1_tobacco == o.age_1_tobacco &&
|
2298
|
+
age_2 == o.age_2 &&
|
1530
2299
|
age_20 == o.age_20 &&
|
1531
2300
|
age_20_tobacco == o.age_20_tobacco &&
|
1532
2301
|
age_21 == o.age_21 &&
|
@@ -1547,6 +2316,8 @@ module VericredClient
|
|
1547
2316
|
age_28_tobacco == o.age_28_tobacco &&
|
1548
2317
|
age_29 == o.age_29 &&
|
1549
2318
|
age_29_tobacco == o.age_29_tobacco &&
|
2319
|
+
age_2_tobacco == o.age_2_tobacco &&
|
2320
|
+
age_3 == o.age_3 &&
|
1550
2321
|
age_30 == o.age_30 &&
|
1551
2322
|
age_30_tobacco == o.age_30_tobacco &&
|
1552
2323
|
age_31 == o.age_31 &&
|
@@ -1567,6 +2338,8 @@ module VericredClient
|
|
1567
2338
|
age_38_tobacco == o.age_38_tobacco &&
|
1568
2339
|
age_39 == o.age_39 &&
|
1569
2340
|
age_39_tobacco == o.age_39_tobacco &&
|
2341
|
+
age_3_tobacco == o.age_3_tobacco &&
|
2342
|
+
age_4 == o.age_4 &&
|
1570
2343
|
age_40 == o.age_40 &&
|
1571
2344
|
age_40_tobacco == o.age_40_tobacco &&
|
1572
2345
|
age_41 == o.age_41 &&
|
@@ -1587,6 +2360,8 @@ module VericredClient
|
|
1587
2360
|
age_48_tobacco == o.age_48_tobacco &&
|
1588
2361
|
age_49 == o.age_49 &&
|
1589
2362
|
age_49_tobacco == o.age_49_tobacco &&
|
2363
|
+
age_4_tobacco == o.age_4_tobacco &&
|
2364
|
+
age_5 == o.age_5 &&
|
1590
2365
|
age_50 == o.age_50 &&
|
1591
2366
|
age_50_tobacco == o.age_50_tobacco &&
|
1592
2367
|
age_51 == o.age_51 &&
|
@@ -1607,6 +2382,8 @@ module VericredClient
|
|
1607
2382
|
age_58_tobacco == o.age_58_tobacco &&
|
1608
2383
|
age_59 == o.age_59 &&
|
1609
2384
|
age_59_tobacco == o.age_59_tobacco &&
|
2385
|
+
age_5_tobacco == o.age_5_tobacco &&
|
2386
|
+
age_6 == o.age_6 &&
|
1610
2387
|
age_60 == o.age_60 &&
|
1611
2388
|
age_60_tobacco == o.age_60_tobacco &&
|
1612
2389
|
age_61 == o.age_61 &&
|
@@ -1619,9 +2396,21 @@ module VericredClient
|
|
1619
2396
|
age_64_tobacco == o.age_64_tobacco &&
|
1620
2397
|
age_65 == o.age_65 &&
|
1621
2398
|
age_65_tobacco == o.age_65_tobacco &&
|
2399
|
+
age_6_tobacco == o.age_6_tobacco &&
|
2400
|
+
age_7 == o.age_7 &&
|
2401
|
+
age_7_tobacco == o.age_7_tobacco &&
|
2402
|
+
age_8 == o.age_8 &&
|
2403
|
+
age_8_tobacco == o.age_8_tobacco &&
|
2404
|
+
age_9 == o.age_9 &&
|
2405
|
+
age_9_tobacco == o.age_9_tobacco &&
|
2406
|
+
child_only == o.child_only &&
|
1622
2407
|
effective_date == o.effective_date &&
|
1623
2408
|
expiration_date == o.expiration_date &&
|
2409
|
+
family == o.family &&
|
1624
2410
|
plan_id == o.plan_id &&
|
2411
|
+
single == o.single &&
|
2412
|
+
single_and_children == o.single_and_children &&
|
2413
|
+
single_and_spouse == o.single_and_spouse &&
|
1625
2414
|
source == o.source
|
1626
2415
|
end
|
1627
2416
|
|
@@ -1634,7 +2423,7 @@ module VericredClient
|
|
1634
2423
|
# Calculates hash code according to all attributes.
|
1635
2424
|
# @return [Fixnum] Hash code
|
1636
2425
|
def hash
|
1637
|
-
[age_0, age_0_tobacco, age_1,
|
2426
|
+
[age_0, age_0_tobacco, age_1, age_10, age_10_tobacco, age_11, age_11_tobacco, age_12, age_12_tobacco, age_13, age_13_tobacco, age_14, age_14_tobacco, age_15, age_15_tobacco, age_16, age_16_tobacco, age_17, age_17_tobacco, age_18, age_18_tobacco, age_19, age_19_tobacco, age_1_tobacco, age_2, age_20, age_20_tobacco, age_21, age_21_tobacco, age_22, age_22_tobacco, age_23, age_23_tobacco, age_24, age_24_tobacco, age_25, age_25_tobacco, age_26, age_26_tobacco, age_27, age_27_tobacco, age_28, age_28_tobacco, age_29, age_29_tobacco, age_2_tobacco, age_3, age_30, age_30_tobacco, age_31, age_31_tobacco, age_32, age_32_tobacco, age_33, age_33_tobacco, age_34, age_34_tobacco, age_35, age_35_tobacco, age_36, age_36_tobacco, age_37, age_37_tobacco, age_38, age_38_tobacco, age_39, age_39_tobacco, age_3_tobacco, age_4, age_40, age_40_tobacco, age_41, age_41_tobacco, age_42, age_42_tobacco, age_43, age_43_tobacco, age_44, age_44_tobacco, age_45, age_45_tobacco, age_46, age_46_tobacco, age_47, age_47_tobacco, age_48, age_48_tobacco, age_49, age_49_tobacco, age_4_tobacco, age_5, age_50, age_50_tobacco, age_51, age_51_tobacco, age_52, age_52_tobacco, age_53, age_53_tobacco, age_54, age_54_tobacco, age_55, age_55_tobacco, age_56, age_56_tobacco, age_57, age_57_tobacco, age_58, age_58_tobacco, age_59, age_59_tobacco, age_5_tobacco, age_6, age_60, age_60_tobacco, age_61, age_61_tobacco, age_62, age_62_tobacco, age_63, age_63_tobacco, age_64, age_64_tobacco, age_65, age_65_tobacco, age_6_tobacco, age_7, age_7_tobacco, age_8, age_8_tobacco, age_9, age_9_tobacco, child_only, effective_date, expiration_date, family, plan_id, single, single_and_children, single_and_spouse, source].hash
|
1638
2427
|
end
|
1639
2428
|
|
1640
2429
|
# Builds the object from hash
|