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,332 +208,1058 @@ 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:
|
201
351
|
|
202
|
-
|
352
|
+
```
|
353
|
+
B = Base Rate
|
354
|
+
f = Rate Factor Function 1
|
355
|
+
f' = Rate Factor Function 2
|
203
356
|
|
204
|
-
|
357
|
+
B * f(x) * f'(y) [* f''(z)] ... = n
|
358
|
+
```
|
205
359
|
|
206
|
-
|
207
|
-
|
208
|
-
You may obtain a copy of the License at
|
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.
|
209
362
|
|
210
|
-
|
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`.
|
211
364
|
|
212
|
-
|
213
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
214
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
215
|
-
See the License for the specific language governing permissions and
|
216
|
-
limitations under the License.
|
365
|
+
*Rating Areas do not apply to products other than [Major Medical](#header-major-medical)*
|
217
366
|
|
218
|
-
|
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.
|
219
369
|
|
220
|
-
require
|
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`.
|
221
371
|
|
222
|
-
|
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).
|
223
373
|
|
224
|
-
|
225
|
-
# Name of the insurance carrier
|
226
|
-
attr_accessor :carrier_name
|
374
|
+
# Quoting
|
227
375
|
|
228
|
-
|
229
|
-
attr_accessor :display_name
|
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:
|
230
377
|
|
231
|
-
|
232
|
-
|
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.
|
233
383
|
|
234
|
-
|
235
|
-
|
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.
|
236
386
|
|
237
|
-
|
238
|
-
attr_accessor :identifiers
|
387
|
+
For details on Major Medical Quoting API calls see [below](#medicalplans-medicalplans-post)
|
239
388
|
|
240
|
-
|
241
|
-
|
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
|
+
}
|
242
399
|
|
243
|
-
|
244
|
-
attr_accessor :network_ids
|
400
|
+
```
|
245
401
|
|
246
|
-
|
247
|
-
|
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
|
+
```
|
248
428
|
|
249
|
-
|
250
|
-
|
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.
|
251
431
|
|
252
|
-
|
253
|
-
|
432
|
+
### Plan Benefits
|
433
|
+
Plan Benefits are returned in the response for [Individual Quotes](#individualquotes)
|
434
|
+
```
|
435
|
+
POST /plans/medical/search
|
436
|
+
{
|
437
|
+
...
|
438
|
+
}
|
254
439
|
|
255
|
-
|
256
|
-
|
440
|
+
Response:
|
441
|
+
{
|
442
|
+
"plans": [
|
443
|
+
{
|
444
|
+
...
|
445
|
+
"individual_medical_deductible": "$5,000",
|
446
|
+
"family_medical_deductible": "$10,000"
|
447
|
+
...
|
448
|
+
}
|
449
|
+
|
450
|
+
]
|
451
|
+
}
|
257
452
|
|
258
|
-
|
259
|
-
attr_accessor :type
|
453
|
+
```
|
260
454
|
|
261
|
-
|
262
|
-
|
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`
|
263
457
|
|
264
|
-
|
265
|
-
|
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.
|
266
460
|
|
267
|
-
|
268
|
-
|
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.
|
269
463
|
|
270
|
-
|
271
|
-
|
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
|
+
```
|
272
474
|
|
273
|
-
|
274
|
-
attr_accessor :buy_link
|
475
|
+
The amount that the family will pay after subsidy is returned in the `premium_subsidized` field for each plan.
|
275
476
|
|
276
|
-
|
277
|
-
|
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.
|
278
479
|
|
279
|
-
|
280
|
-
|
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)
|
281
486
|
|
282
|
-
|
283
|
-
|
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.
|
284
489
|
|
285
|
-
|
286
|
-
attr_accessor :customer_service_phone_number
|
490
|
+
If a family is eligible for CSR Plans, the Vericred API will return the relevant Plan in place of the non-CSR version.
|
287
491
|
|
288
|
-
|
289
|
-
|
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
|
+
```
|
290
502
|
|
291
|
-
|
292
|
-
|
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.
|
293
505
|
|
294
|
-
|
295
|
-
|
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
|
+
```
|
296
538
|
|
297
|
-
|
298
|
-
|
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
|
+
```
|
299
551
|
|
300
|
-
|
301
|
-
attr_accessor :emergency_room
|
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.
|
302
553
|
|
303
|
-
|
304
|
-
|
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
|
+
```
|
305
580
|
|
306
|
-
|
307
|
-
attr_accessor :family_drug_moop
|
581
|
+
Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Dental Quotes](#dentalquotes) require `gender`, but *do not* require `smoker`.
|
308
582
|
|
309
|
-
|
310
|
-
attr_accessor :family_medical_deductible
|
583
|
+
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Dental Quotes](#dentalquotes).
|
311
584
|
|
312
|
-
|
313
|
-
attr_accessor :family_medical_moop
|
585
|
+
### Vision Quotes
|
314
586
|
|
315
|
-
|
316
|
-
|
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
|
+
```
|
317
612
|
|
318
|
-
|
319
|
-
attr_accessor :generic_drugs
|
613
|
+
Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Vision Quotes](#visionquotes) require `gender`, but *do not* require `smoker`.
|
320
614
|
|
321
|
-
|
322
|
-
attr_accessor :habilitation_services
|
615
|
+
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Vision Quotes](#visionquotes).
|
323
616
|
|
324
|
-
|
325
|
-
|
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.
|
326
619
|
|
327
|
-
|
328
|
-
attr_accessor :home_health_care
|
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.
|
329
621
|
|
330
|
-
|
331
|
-
|
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.
|
332
624
|
|
333
|
-
|
334
|
-
|
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`
|
335
627
|
|
336
|
-
|
337
|
-
attr_accessor :id
|
628
|
+
Full documentation is available [below](#groupscreate)
|
338
629
|
|
339
|
-
|
340
|
-
|
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.
|
341
632
|
|
342
|
-
|
343
|
-
|
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
|
+
```
|
344
650
|
|
345
|
-
|
346
|
-
|
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`
|
347
673
|
|
348
|
-
|
349
|
-
|
674
|
+
```
|
675
|
+
POST
|
350
676
|
|
351
|
-
|
352
|
-
|
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
|
+
}
|
353
702
|
|
354
|
-
|
355
|
-
attr_accessor :inpatient_birth
|
703
|
+
```
|
356
704
|
|
357
|
-
|
358
|
-
|
705
|
+
### Creating a Quote
|
706
|
+
Once the [Census](#header-specifying-the-census) has been created, we can generate a `Quote` for the `Group`.
|
359
707
|
|
360
|
-
|
361
|
-
|
708
|
+
#### Major Medical Quotes
|
709
|
+
To generate a [Major Medical](#header-major-medical) Quote, specify the `product_line` of `Quote` as `medical`
|
362
710
|
|
363
|
-
|
364
|
-
|
711
|
+
```
|
712
|
+
POST /groups/{id}/quotes
|
713
|
+
{
|
714
|
+
...
|
715
|
+
"product_line": "medical"
|
716
|
+
...
|
717
|
+
}
|
718
|
+
```
|
365
719
|
|
366
|
-
|
367
|
-
|
720
|
+
#### Dental Quotes
|
721
|
+
To generate a [Dental](#header-dental) Quote, specify the `product_line` of `Quote` as `dental`
|
368
722
|
|
369
|
-
|
370
|
-
|
723
|
+
```
|
724
|
+
POST /groups/{id}/quotes
|
725
|
+
{
|
726
|
+
...
|
727
|
+
"product_line": "dental"
|
728
|
+
...
|
729
|
+
}
|
730
|
+
```
|
371
731
|
|
372
|
-
|
373
|
-
|
732
|
+
#### Vision Quotes
|
733
|
+
To generate a [Vision](#header-vision) Quote, specify the `product_line` of `Quote` as `vision`
|
374
734
|
|
375
|
-
|
376
|
-
|
735
|
+
```
|
736
|
+
POST /groups/{id}/quotes
|
737
|
+
{
|
738
|
+
...
|
739
|
+
"product_line": "vision"
|
740
|
+
...
|
741
|
+
}
|
742
|
+
```
|
377
743
|
|
378
|
-
|
379
|
-
|
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.
|
380
746
|
|
381
|
-
|
382
|
-
|
747
|
+
```
|
748
|
+
GET /quotes/{id}/rates
|
383
749
|
|
384
|
-
|
385
|
-
|
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
|
+
```
|
386
765
|
|
387
|
-
# Does this plan provide any out of network coverage?
|
388
|
-
attr_accessor :out_of_network_coverage
|
389
766
|
|
390
|
-
|
391
|
-
|
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:
|
392
769
|
|
393
|
-
|
394
|
-
|
770
|
+
Loading the [Plan](#header-plans) from the API:
|
771
|
+
```
|
772
|
+
GET /plans/{id}
|
395
773
|
|
396
|
-
|
397
|
-
|
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`.
|
398
790
|
|
399
|
-
|
400
|
-
|
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`.
|
401
793
|
|
402
|
-
|
403
|
-
|
794
|
+
```
|
795
|
+
GET /rates/{id}/member_rates
|
404
796
|
|
405
|
-
|
406
|
-
|
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
|
+
}
|
407
812
|
|
408
|
-
|
409
|
-
attr_accessor :preferred_brand_drugs
|
813
|
+
```
|
410
814
|
|
411
|
-
|
412
|
-
attr_accessor :prenatal_postnatal_care
|
815
|
+
Note that *all* `MemberRate`s are for one particular [Plan](#header-plans) - the one referenced by the parent [Rate](#header-rates).
|
413
816
|
|
414
|
-
|
415
|
-
|
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.
|
416
819
|
|
417
|
-
|
418
|
-
attr_accessor :premium_subsidized
|
820
|
+
These rules are applied transparently during the [Quoting](#header-quoting) process and *do not* require any additional action or input on your part.
|
419
821
|
|
420
|
-
|
421
|
-
attr_accessor :premium
|
822
|
+
For a full accounting of Business Rules and a list of Carriers whose Business Rules are applied, please contact support@vericred.com
|
422
823
|
|
423
|
-
|
424
|
-
|
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:
|
425
826
|
|
426
|
-
|
427
|
-
|
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.
|
428
832
|
|
429
|
-
|
430
|
-
|
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.
|
431
843
|
|
432
|
-
|
433
|
-
attr_accessor :skilled_nursing
|
844
|
+
# Network and Provider Data
|
434
845
|
|
435
|
-
|
436
|
-
attr_accessor :specialist
|
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.
|
437
847
|
|
438
|
-
|
439
|
-
attr_accessor :specialty_drugs
|
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.
|
440
849
|
|
441
|
-
|
442
|
-
attr_accessor :urgent_care
|
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`
|
443
851
|
|
444
|
-
|
445
|
-
|
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:
|
446
854
|
|
447
|
-
|
448
|
-
|
855
|
+
```
|
856
|
+
POST /providers/search
|
857
|
+
{
|
858
|
+
"search_term": "foo",
|
859
|
+
"zip_code": "11201"
|
860
|
+
}
|
861
|
+
```
|
449
862
|
|
450
|
-
|
451
|
-
|
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
|
+
|
940
|
+
|
941
|
+
OpenAPI spec version: 1.0.0
|
942
|
+
|
943
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
944
|
+
|
945
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
946
|
+
you may not use this file except in compliance with the License.
|
947
|
+
You may obtain a copy of the License at
|
948
|
+
|
949
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
950
|
+
|
951
|
+
Unless required by applicable law or agreed to in writing, software
|
952
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
953
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
954
|
+
See the License for the specific language governing permissions and
|
955
|
+
limitations under the License.
|
956
|
+
|
957
|
+
=end
|
958
|
+
|
959
|
+
require 'date'
|
960
|
+
|
961
|
+
module VericredClient
|
962
|
+
|
963
|
+
class ACAPlanPre2018
|
964
|
+
# Percentage of total average costs for covered benefits that a plan will cover.
|
965
|
+
attr_accessor :actuarial_value
|
966
|
+
|
967
|
+
# Does the plan provide dental coverage for adults?
|
968
|
+
attr_accessor :adult_dental
|
969
|
+
|
970
|
+
# True if the plan allows dependents up to age 29
|
971
|
+
attr_accessor :age29_rider
|
972
|
+
|
973
|
+
# Benefits string for ambulance coverage
|
974
|
+
attr_accessor :ambulance
|
975
|
+
|
976
|
+
# Link to the summary of benefits and coverage (SBC) document.
|
977
|
+
attr_accessor :benefits_summary_url
|
978
|
+
|
979
|
+
# Link to a location to purchase the plan.
|
980
|
+
attr_accessor :buy_link
|
981
|
+
|
982
|
+
# Name of the insurance carrier
|
983
|
+
attr_accessor :carrier_name
|
984
|
+
|
985
|
+
# Does the plan provide dental coverage for children?
|
986
|
+
attr_accessor :child_dental
|
987
|
+
|
988
|
+
# Child eye exam benefits summary
|
989
|
+
attr_accessor :child_eye_exam
|
990
|
+
|
991
|
+
# Child eyewear benefits summary
|
992
|
+
attr_accessor :child_eyewear
|
993
|
+
|
994
|
+
# Chiropractic services benefits summary
|
995
|
+
attr_accessor :chiropractic_services
|
996
|
+
|
997
|
+
# Standard cost share for most benefits
|
998
|
+
attr_accessor :coinsurance
|
999
|
+
|
1000
|
+
# Phone number to contact the insurance carrier
|
1001
|
+
attr_accessor :customer_service_phone_number
|
1002
|
+
|
1003
|
+
# Diagnostic tests benefit summary
|
1004
|
+
attr_accessor :diagnostic_test
|
1005
|
+
|
1006
|
+
# Alternate name for the Plan
|
1007
|
+
attr_accessor :display_name
|
1008
|
+
|
1009
|
+
# True if plan does not cover domestic partners
|
1010
|
+
attr_accessor :dp_rider
|
1011
|
+
|
1012
|
+
# Link to the summary of drug benefits for the plan
|
1013
|
+
attr_accessor :drug_formulary_url
|
1014
|
+
|
1015
|
+
# Benefits summary for durable medical equipment
|
1016
|
+
attr_accessor :durable_medical_equipment
|
1017
|
+
|
1018
|
+
# Effective date of coverage.
|
1019
|
+
attr_accessor :effective_date
|
452
1020
|
|
453
1021
|
# Is the individual deductible for each covered person, embedded in the family deductible
|
454
1022
|
attr_accessor :embedded_deductible
|
455
1023
|
|
1024
|
+
# Description of costs when visiting the ER
|
1025
|
+
attr_accessor :emergency_room
|
1026
|
+
|
1027
|
+
# Expiration date of coverage.
|
1028
|
+
attr_accessor :expiration_date
|
1029
|
+
|
1030
|
+
# Deductible for drugs when a family is on the plan.
|
1031
|
+
attr_accessor :family_drug_deductible
|
1032
|
+
|
1033
|
+
# Maximum out-of-pocket for drugs when a family is on the plan
|
1034
|
+
attr_accessor :family_drug_moop
|
1035
|
+
|
1036
|
+
# Deductible when a family is on the plan
|
1037
|
+
attr_accessor :family_medical_deductible
|
1038
|
+
|
1039
|
+
# Maximum out-of-pocket when a family is on the plan
|
1040
|
+
attr_accessor :family_medical_moop
|
1041
|
+
|
1042
|
+
# True if plan does not cover family planning
|
1043
|
+
attr_accessor :fp_rider
|
1044
|
+
|
456
1045
|
# Does the plan's network require a physician referral?
|
457
1046
|
attr_accessor :gated
|
458
1047
|
|
1048
|
+
# Cost for generic drugs
|
1049
|
+
attr_accessor :generic_drugs
|
1050
|
+
|
1051
|
+
# Habilitation services benefits summary
|
1052
|
+
attr_accessor :habilitation_services
|
1053
|
+
|
1054
|
+
#
|
1055
|
+
attr_accessor :hios_issuer_id
|
1056
|
+
|
1057
|
+
# Home health care benefits summary
|
1058
|
+
attr_accessor :home_health_care
|
1059
|
+
|
1060
|
+
# Hospice service benefits summary
|
1061
|
+
attr_accessor :hospice_service
|
1062
|
+
|
1063
|
+
# Is the plan HSA eligible?
|
1064
|
+
attr_accessor :hsa_eligible
|
1065
|
+
|
1066
|
+
# Government-issued HIOS plan ID
|
1067
|
+
attr_accessor :id
|
1068
|
+
|
1069
|
+
# List of identifiers of this Plan
|
1070
|
+
attr_accessor :identifiers
|
1071
|
+
|
1072
|
+
# Benefits summary for imaging coverage
|
1073
|
+
attr_accessor :imaging
|
1074
|
+
|
459
1075
|
# Imaging center benefits summary
|
460
1076
|
attr_accessor :imaging_center
|
461
1077
|
|
462
1078
|
# Imaging physician benefits summary
|
463
1079
|
attr_accessor :imaging_physician
|
464
1080
|
|
1081
|
+
# List of NPI numbers for Providers passed in who accept this Plan
|
1082
|
+
attr_accessor :in_network_ids
|
1083
|
+
|
1084
|
+
# Deductible for drugs when an individual is on the plan
|
1085
|
+
attr_accessor :individual_drug_deductible
|
1086
|
+
|
1087
|
+
# Maximum out-of-pocket for drugs when an individual is on the plan
|
1088
|
+
attr_accessor :individual_drug_moop
|
1089
|
+
|
1090
|
+
# Deductible when an individual is on the plan
|
1091
|
+
attr_accessor :individual_medical_deductible
|
1092
|
+
|
1093
|
+
# Maximum out-of-pocket when an individual is on the plan
|
1094
|
+
attr_accessor :individual_medical_moop
|
1095
|
+
|
1096
|
+
# Inpatient birth benefits summary
|
1097
|
+
attr_accessor :inpatient_birth
|
1098
|
+
|
1099
|
+
# Cost under the plan for an inpatient facility
|
1100
|
+
attr_accessor :inpatient_facility
|
1101
|
+
|
1102
|
+
# Inpatient mental helath benefits summary
|
1103
|
+
attr_accessor :inpatient_mental_health
|
1104
|
+
|
1105
|
+
# Cost under the plan for an inpatient physician
|
1106
|
+
attr_accessor :inpatient_physician
|
1107
|
+
|
1108
|
+
# Inpatient substance abuse benefits summary
|
1109
|
+
attr_accessor :inpatient_substance
|
1110
|
+
|
465
1111
|
# Lab test benefits summary
|
466
1112
|
attr_accessor :lab_test
|
467
1113
|
|
1114
|
+
# Plan metal grouping (e.g. platinum, gold, silver, etc)
|
1115
|
+
attr_accessor :level
|
1116
|
+
|
1117
|
+
# Link to a copy of the insurance carrier's logo
|
1118
|
+
attr_accessor :logo_url
|
1119
|
+
|
468
1120
|
# Multiple of the standard Rx cost share for orders filled via mail order
|
469
1121
|
attr_accessor :mail_order_rx
|
470
1122
|
|
1123
|
+
# Marketing name of the plan
|
1124
|
+
attr_accessor :name
|
1125
|
+
|
1126
|
+
# List of Vericred-generated network_ids
|
1127
|
+
attr_accessor :network_ids
|
1128
|
+
|
1129
|
+
# Total number of Providers in network
|
1130
|
+
attr_accessor :network_size
|
1131
|
+
|
1132
|
+
# Cost under the plan for non-preferred brand drugs
|
1133
|
+
attr_accessor :non_preferred_brand_drugs
|
1134
|
+
|
471
1135
|
# Non-preferred generic drugs benefits summary
|
472
1136
|
attr_accessor :nonpreferred_generic_drug_share
|
473
1137
|
|
474
1138
|
# Non-preferred specialty drugs benefits summary
|
475
1139
|
attr_accessor :nonpreferred_specialty_drug_share
|
476
1140
|
|
1141
|
+
# Is the plan off-market?
|
1142
|
+
attr_accessor :off_market
|
1143
|
+
|
1144
|
+
# Is the plan on-market?
|
1145
|
+
attr_accessor :on_market
|
1146
|
+
|
1147
|
+
# Does this plan provide any out of network coverage?
|
1148
|
+
attr_accessor :out_of_network_coverage
|
1149
|
+
|
1150
|
+
# List of NPI numbers for Providers passed in who do not accept this Plan
|
1151
|
+
attr_accessor :out_of_network_ids
|
1152
|
+
|
477
1153
|
# Outpatient ambulatory care center benefits summary
|
478
1154
|
attr_accessor :outpatient_ambulatory_care_center
|
479
1155
|
|
480
|
-
#
|
1156
|
+
# Benefits summary for outpatient facility coverage
|
1157
|
+
attr_accessor :outpatient_facility
|
1158
|
+
|
1159
|
+
# Benefits summary for outpatient mental health coverage
|
1160
|
+
attr_accessor :outpatient_mental_health
|
1161
|
+
|
1162
|
+
# Benefits summary for outpatient physician coverage
|
1163
|
+
attr_accessor :outpatient_physician
|
1164
|
+
|
1165
|
+
# Outpatient substance abuse benefits summary
|
1166
|
+
attr_accessor :outpatient_substance
|
1167
|
+
|
1168
|
+
# Are deductibles and MOOPs reset on Dec-31 (\"calendar year\"), 365 day(s) after enrollment date (\"plan year\"), or are both options available (\"both\")?
|
481
1169
|
attr_accessor :plan_calendar
|
482
1170
|
|
483
|
-
#
|
484
|
-
attr_accessor :
|
1171
|
+
# Market in which the plan is offered (on_marketplace, shop, etc)
|
1172
|
+
attr_accessor :plan_market
|
1173
|
+
|
1174
|
+
# Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity, PACE, Medicare-Medicaid, HMO w/POS, Cost, FFS, MSA)
|
1175
|
+
attr_accessor :plan_type
|
485
1176
|
|
486
1177
|
# Post-natal care benefits summary
|
487
1178
|
attr_accessor :postnatal_care
|
488
1179
|
|
1180
|
+
# Cost under the plan for perferred brand drugs
|
1181
|
+
attr_accessor :preferred_brand_drugs
|
1182
|
+
|
1183
|
+
# Cumulative premium amount
|
1184
|
+
attr_accessor :premium
|
1185
|
+
|
1186
|
+
# Source of the base pricing data
|
1187
|
+
attr_accessor :premium_source
|
1188
|
+
|
1189
|
+
# Cumulative premium amount after subsidy
|
1190
|
+
attr_accessor :premium_subsidized
|
1191
|
+
|
1192
|
+
# Prenatal care benefits summary
|
1193
|
+
attr_accessor :prenatal_care
|
1194
|
+
|
1195
|
+
# Inpatient substance abuse benefits summary
|
1196
|
+
attr_accessor :prenatal_postnatal_care
|
1197
|
+
|
1198
|
+
# Benefits summary for preventative care
|
1199
|
+
attr_accessor :preventative_care
|
1200
|
+
|
1201
|
+
# Cost under the plan to visit a Primary Care Physician
|
1202
|
+
attr_accessor :primary_care_physician
|
1203
|
+
|
1204
|
+
# Benefits summary for rehabilitation services
|
1205
|
+
attr_accessor :rehabilitation_services
|
1206
|
+
|
1207
|
+
# Foreign key for service area
|
1208
|
+
attr_accessor :service_area_id
|
1209
|
+
|
1210
|
+
# Benefits summary for skilled nursing services
|
1211
|
+
attr_accessor :skilled_nursing
|
1212
|
+
|
489
1213
|
# Does the plan cover full-time, year-round, nursing facilities?
|
490
1214
|
attr_accessor :skilled_nursing_facility_365
|
491
1215
|
|
1216
|
+
# Source of the plan benefit data
|
1217
|
+
attr_accessor :source
|
1218
|
+
|
1219
|
+
# Cost under the plan to visit a specialist
|
1220
|
+
attr_accessor :specialist
|
1221
|
+
|
1222
|
+
# Cost under the plan for specialty drugs
|
1223
|
+
attr_accessor :specialty_drugs
|
1224
|
+
|
1225
|
+
# The type of the Plan
|
1226
|
+
attr_accessor :type
|
1227
|
+
|
1228
|
+
# Benefits summary for urgent care
|
1229
|
+
attr_accessor :urgent_care
|
1230
|
+
|
492
1231
|
|
493
1232
|
# Attribute mapping from ruby-style variable name to JSON key.
|
494
1233
|
def self.attribute_map
|
495
1234
|
{
|
496
|
-
:'
|
497
|
-
:'display_name' => :'display_name',
|
498
|
-
:'effective_date' => :'effective_date',
|
499
|
-
:'expiration_date' => :'expiration_date',
|
500
|
-
:'identifiers' => :'identifiers',
|
501
|
-
:'name' => :'name',
|
502
|
-
:'network_ids' => :'network_ids',
|
503
|
-
:'network_size' => :'network_size',
|
504
|
-
:'plan_type' => :'plan_type',
|
505
|
-
:'service_area_id' => :'service_area_id',
|
506
|
-
:'source' => :'source',
|
507
|
-
:'type' => :'type',
|
1235
|
+
:'actuarial_value' => :'actuarial_value',
|
508
1236
|
:'adult_dental' => :'adult_dental',
|
509
1237
|
:'age29_rider' => :'age29_rider',
|
510
1238
|
:'ambulance' => :'ambulance',
|
511
1239
|
:'benefits_summary_url' => :'benefits_summary_url',
|
512
1240
|
:'buy_link' => :'buy_link',
|
1241
|
+
:'carrier_name' => :'carrier_name',
|
513
1242
|
:'child_dental' => :'child_dental',
|
514
|
-
:'child_eyewear' => :'child_eyewear',
|
515
1243
|
:'child_eye_exam' => :'child_eye_exam',
|
1244
|
+
:'child_eyewear' => :'child_eyewear',
|
1245
|
+
:'chiropractic_services' => :'chiropractic_services',
|
1246
|
+
:'coinsurance' => :'coinsurance',
|
516
1247
|
:'customer_service_phone_number' => :'customer_service_phone_number',
|
517
|
-
:'durable_medical_equipment' => :'durable_medical_equipment',
|
518
1248
|
:'diagnostic_test' => :'diagnostic_test',
|
1249
|
+
:'display_name' => :'display_name',
|
519
1250
|
:'dp_rider' => :'dp_rider',
|
520
1251
|
:'drug_formulary_url' => :'drug_formulary_url',
|
1252
|
+
:'durable_medical_equipment' => :'durable_medical_equipment',
|
1253
|
+
:'effective_date' => :'effective_date',
|
1254
|
+
:'embedded_deductible' => :'embedded_deductible',
|
521
1255
|
:'emergency_room' => :'emergency_room',
|
1256
|
+
:'expiration_date' => :'expiration_date',
|
522
1257
|
:'family_drug_deductible' => :'family_drug_deductible',
|
523
1258
|
:'family_drug_moop' => :'family_drug_moop',
|
524
1259
|
:'family_medical_deductible' => :'family_medical_deductible',
|
525
1260
|
:'family_medical_moop' => :'family_medical_moop',
|
526
1261
|
:'fp_rider' => :'fp_rider',
|
1262
|
+
:'gated' => :'gated',
|
527
1263
|
:'generic_drugs' => :'generic_drugs',
|
528
1264
|
:'habilitation_services' => :'habilitation_services',
|
529
1265
|
:'hios_issuer_id' => :'hios_issuer_id',
|
@@ -531,7 +1267,11 @@ module VericredClient
|
|
531
1267
|
:'hospice_service' => :'hospice_service',
|
532
1268
|
:'hsa_eligible' => :'hsa_eligible',
|
533
1269
|
:'id' => :'id',
|
1270
|
+
:'identifiers' => :'identifiers',
|
534
1271
|
:'imaging' => :'imaging',
|
1272
|
+
:'imaging_center' => :'imaging_center',
|
1273
|
+
:'imaging_physician' => :'imaging_physician',
|
1274
|
+
:'in_network_ids' => :'in_network_ids',
|
535
1275
|
:'individual_drug_deductible' => :'individual_drug_deductible',
|
536
1276
|
:'individual_drug_moop' => :'individual_drug_moop',
|
537
1277
|
:'individual_medical_deductible' => :'individual_medical_deductible',
|
@@ -541,84 +1281,80 @@ module VericredClient
|
|
541
1281
|
:'inpatient_mental_health' => :'inpatient_mental_health',
|
542
1282
|
:'inpatient_physician' => :'inpatient_physician',
|
543
1283
|
:'inpatient_substance' => :'inpatient_substance',
|
544
|
-
:'
|
1284
|
+
:'lab_test' => :'lab_test',
|
545
1285
|
:'level' => :'level',
|
546
1286
|
:'logo_url' => :'logo_url',
|
1287
|
+
:'mail_order_rx' => :'mail_order_rx',
|
1288
|
+
:'name' => :'name',
|
1289
|
+
:'network_ids' => :'network_ids',
|
1290
|
+
:'network_size' => :'network_size',
|
547
1291
|
:'non_preferred_brand_drugs' => :'non_preferred_brand_drugs',
|
548
|
-
:'
|
1292
|
+
:'nonpreferred_generic_drug_share' => :'nonpreferred_generic_drug_share',
|
1293
|
+
:'nonpreferred_specialty_drug_share' => :'nonpreferred_specialty_drug_share',
|
549
1294
|
:'off_market' => :'off_market',
|
1295
|
+
:'on_market' => :'on_market',
|
550
1296
|
:'out_of_network_coverage' => :'out_of_network_coverage',
|
551
1297
|
:'out_of_network_ids' => :'out_of_network_ids',
|
1298
|
+
:'outpatient_ambulatory_care_center' => :'outpatient_ambulatory_care_center',
|
552
1299
|
:'outpatient_facility' => :'outpatient_facility',
|
553
1300
|
:'outpatient_mental_health' => :'outpatient_mental_health',
|
554
1301
|
:'outpatient_physician' => :'outpatient_physician',
|
555
1302
|
:'outpatient_substance' => :'outpatient_substance',
|
1303
|
+
:'plan_calendar' => :'plan_calendar',
|
556
1304
|
:'plan_market' => :'plan_market',
|
1305
|
+
:'plan_type' => :'plan_type',
|
1306
|
+
:'postnatal_care' => :'postnatal_care',
|
557
1307
|
:'preferred_brand_drugs' => :'preferred_brand_drugs',
|
558
|
-
:'prenatal_postnatal_care' => :'prenatal_postnatal_care',
|
559
|
-
:'preventative_care' => :'preventative_care',
|
560
|
-
:'premium_subsidized' => :'premium_subsidized',
|
561
1308
|
:'premium' => :'premium',
|
562
1309
|
:'premium_source' => :'premium_source',
|
1310
|
+
:'premium_subsidized' => :'premium_subsidized',
|
1311
|
+
:'prenatal_care' => :'prenatal_care',
|
1312
|
+
:'prenatal_postnatal_care' => :'prenatal_postnatal_care',
|
1313
|
+
:'preventative_care' => :'preventative_care',
|
563
1314
|
:'primary_care_physician' => :'primary_care_physician',
|
564
1315
|
:'rehabilitation_services' => :'rehabilitation_services',
|
1316
|
+
:'service_area_id' => :'service_area_id',
|
565
1317
|
:'skilled_nursing' => :'skilled_nursing',
|
1318
|
+
:'skilled_nursing_facility_365' => :'skilled_nursing_facility_365',
|
1319
|
+
:'source' => :'source',
|
566
1320
|
:'specialist' => :'specialist',
|
567
1321
|
:'specialty_drugs' => :'specialty_drugs',
|
568
|
-
:'
|
569
|
-
:'
|
570
|
-
:'chiropractic_services' => :'chiropractic_services',
|
571
|
-
:'coinsurance' => :'coinsurance',
|
572
|
-
:'embedded_deductible' => :'embedded_deductible',
|
573
|
-
:'gated' => :'gated',
|
574
|
-
:'imaging_center' => :'imaging_center',
|
575
|
-
:'imaging_physician' => :'imaging_physician',
|
576
|
-
:'lab_test' => :'lab_test',
|
577
|
-
:'mail_order_rx' => :'mail_order_rx',
|
578
|
-
:'nonpreferred_generic_drug_share' => :'nonpreferred_generic_drug_share',
|
579
|
-
:'nonpreferred_specialty_drug_share' => :'nonpreferred_specialty_drug_share',
|
580
|
-
:'outpatient_ambulatory_care_center' => :'outpatient_ambulatory_care_center',
|
581
|
-
:'plan_calendar' => :'plan_calendar',
|
582
|
-
:'prenatal_care' => :'prenatal_care',
|
583
|
-
:'postnatal_care' => :'postnatal_care',
|
584
|
-
:'skilled_nursing_facility_365' => :'skilled_nursing_facility_365'
|
1322
|
+
:'type' => :'type',
|
1323
|
+
:'urgent_care' => :'urgent_care'
|
585
1324
|
}
|
586
1325
|
end
|
587
1326
|
|
588
1327
|
# Attribute type mapping.
|
589
1328
|
def self.swagger_types
|
590
1329
|
{
|
591
|
-
:'
|
592
|
-
:'display_name' => :'String',
|
593
|
-
:'effective_date' => :'String',
|
594
|
-
:'expiration_date' => :'String',
|
595
|
-
:'identifiers' => :'Array<PlanIdentifier>',
|
596
|
-
:'name' => :'String',
|
597
|
-
:'network_ids' => :'Array<Integer>',
|
598
|
-
:'network_size' => :'Integer',
|
599
|
-
:'plan_type' => :'String',
|
600
|
-
:'service_area_id' => :'String',
|
601
|
-
:'source' => :'String',
|
602
|
-
:'type' => :'String',
|
1330
|
+
:'actuarial_value' => :'Float',
|
603
1331
|
:'adult_dental' => :'BOOLEAN',
|
604
1332
|
:'age29_rider' => :'BOOLEAN',
|
605
1333
|
:'ambulance' => :'String',
|
606
1334
|
:'benefits_summary_url' => :'String',
|
607
1335
|
:'buy_link' => :'String',
|
1336
|
+
:'carrier_name' => :'String',
|
608
1337
|
:'child_dental' => :'BOOLEAN',
|
609
|
-
:'child_eyewear' => :'String',
|
610
1338
|
:'child_eye_exam' => :'String',
|
1339
|
+
:'child_eyewear' => :'String',
|
1340
|
+
:'chiropractic_services' => :'String',
|
1341
|
+
:'coinsurance' => :'Float',
|
611
1342
|
:'customer_service_phone_number' => :'String',
|
612
|
-
:'durable_medical_equipment' => :'String',
|
613
1343
|
:'diagnostic_test' => :'String',
|
1344
|
+
:'display_name' => :'String',
|
614
1345
|
:'dp_rider' => :'BOOLEAN',
|
615
1346
|
:'drug_formulary_url' => :'String',
|
1347
|
+
:'durable_medical_equipment' => :'String',
|
1348
|
+
:'effective_date' => :'String',
|
1349
|
+
:'embedded_deductible' => :'String',
|
616
1350
|
:'emergency_room' => :'String',
|
1351
|
+
:'expiration_date' => :'String',
|
617
1352
|
:'family_drug_deductible' => :'String',
|
618
1353
|
:'family_drug_moop' => :'String',
|
619
1354
|
:'family_medical_deductible' => :'String',
|
620
1355
|
:'family_medical_moop' => :'String',
|
621
1356
|
:'fp_rider' => :'BOOLEAN',
|
1357
|
+
:'gated' => :'BOOLEAN',
|
622
1358
|
:'generic_drugs' => :'String',
|
623
1359
|
:'habilitation_services' => :'String',
|
624
1360
|
:'hios_issuer_id' => :'String',
|
@@ -626,7 +1362,11 @@ module VericredClient
|
|
626
1362
|
:'hospice_service' => :'String',
|
627
1363
|
:'hsa_eligible' => :'BOOLEAN',
|
628
1364
|
:'id' => :'String',
|
1365
|
+
:'identifiers' => :'Array<PlanIdentifier>',
|
629
1366
|
:'imaging' => :'String',
|
1367
|
+
:'imaging_center' => :'String',
|
1368
|
+
:'imaging_physician' => :'String',
|
1369
|
+
:'in_network_ids' => :'Array<Integer>',
|
630
1370
|
:'individual_drug_deductible' => :'String',
|
631
1371
|
:'individual_drug_moop' => :'String',
|
632
1372
|
:'individual_medical_deductible' => :'String',
|
@@ -636,47 +1376,46 @@ module VericredClient
|
|
636
1376
|
:'inpatient_mental_health' => :'String',
|
637
1377
|
:'inpatient_physician' => :'String',
|
638
1378
|
:'inpatient_substance' => :'String',
|
639
|
-
:'
|
1379
|
+
:'lab_test' => :'String',
|
640
1380
|
:'level' => :'String',
|
641
1381
|
:'logo_url' => :'String',
|
1382
|
+
:'mail_order_rx' => :'Float',
|
1383
|
+
:'name' => :'String',
|
1384
|
+
:'network_ids' => :'Array<Integer>',
|
1385
|
+
:'network_size' => :'Integer',
|
642
1386
|
:'non_preferred_brand_drugs' => :'String',
|
643
|
-
:'
|
1387
|
+
:'nonpreferred_generic_drug_share' => :'String',
|
1388
|
+
:'nonpreferred_specialty_drug_share' => :'String',
|
644
1389
|
:'off_market' => :'BOOLEAN',
|
1390
|
+
:'on_market' => :'BOOLEAN',
|
645
1391
|
:'out_of_network_coverage' => :'BOOLEAN',
|
646
1392
|
:'out_of_network_ids' => :'Array<Integer>',
|
1393
|
+
:'outpatient_ambulatory_care_center' => :'String',
|
647
1394
|
:'outpatient_facility' => :'String',
|
648
1395
|
:'outpatient_mental_health' => :'String',
|
649
1396
|
:'outpatient_physician' => :'String',
|
650
1397
|
:'outpatient_substance' => :'String',
|
1398
|
+
:'plan_calendar' => :'String',
|
651
1399
|
:'plan_market' => :'String',
|
1400
|
+
:'plan_type' => :'String',
|
1401
|
+
:'postnatal_care' => :'String',
|
652
1402
|
:'preferred_brand_drugs' => :'String',
|
653
|
-
:'prenatal_postnatal_care' => :'String',
|
654
|
-
:'preventative_care' => :'String',
|
655
|
-
:'premium_subsidized' => :'Float',
|
656
1403
|
:'premium' => :'Float',
|
657
1404
|
:'premium_source' => :'String',
|
1405
|
+
:'premium_subsidized' => :'Float',
|
1406
|
+
:'prenatal_care' => :'String',
|
1407
|
+
:'prenatal_postnatal_care' => :'String',
|
1408
|
+
:'preventative_care' => :'String',
|
658
1409
|
:'primary_care_physician' => :'String',
|
659
1410
|
:'rehabilitation_services' => :'String',
|
1411
|
+
:'service_area_id' => :'String',
|
660
1412
|
:'skilled_nursing' => :'String',
|
1413
|
+
:'skilled_nursing_facility_365' => :'String',
|
1414
|
+
:'source' => :'String',
|
661
1415
|
:'specialist' => :'String',
|
662
1416
|
:'specialty_drugs' => :'String',
|
663
|
-
:'
|
664
|
-
:'
|
665
|
-
:'chiropractic_services' => :'String',
|
666
|
-
:'coinsurance' => :'Float',
|
667
|
-
:'embedded_deductible' => :'String',
|
668
|
-
:'gated' => :'BOOLEAN',
|
669
|
-
:'imaging_center' => :'String',
|
670
|
-
:'imaging_physician' => :'String',
|
671
|
-
:'lab_test' => :'String',
|
672
|
-
:'mail_order_rx' => :'Float',
|
673
|
-
:'nonpreferred_generic_drug_share' => :'String',
|
674
|
-
:'nonpreferred_specialty_drug_share' => :'String',
|
675
|
-
:'outpatient_ambulatory_care_center' => :'String',
|
676
|
-
:'plan_calendar' => :'String',
|
677
|
-
:'prenatal_care' => :'String',
|
678
|
-
:'postnatal_care' => :'String',
|
679
|
-
:'skilled_nursing_facility_365' => :'String'
|
1417
|
+
:'type' => :'String',
|
1418
|
+
:'urgent_care' => :'String'
|
680
1419
|
}
|
681
1420
|
end
|
682
1421
|
|
@@ -688,56 +1427,8 @@ module VericredClient
|
|
688
1427
|
# convert string to symbol for hash key
|
689
1428
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
690
1429
|
|
691
|
-
if attributes.has_key?(:'
|
692
|
-
self.
|
693
|
-
end
|
694
|
-
|
695
|
-
if attributes.has_key?(:'display_name')
|
696
|
-
self.display_name = attributes[:'display_name']
|
697
|
-
end
|
698
|
-
|
699
|
-
if attributes.has_key?(:'effective_date')
|
700
|
-
self.effective_date = attributes[:'effective_date']
|
701
|
-
end
|
702
|
-
|
703
|
-
if attributes.has_key?(:'expiration_date')
|
704
|
-
self.expiration_date = attributes[:'expiration_date']
|
705
|
-
end
|
706
|
-
|
707
|
-
if attributes.has_key?(:'identifiers')
|
708
|
-
if (value = attributes[:'identifiers']).is_a?(Array)
|
709
|
-
self.identifiers = value
|
710
|
-
end
|
711
|
-
end
|
712
|
-
|
713
|
-
if attributes.has_key?(:'name')
|
714
|
-
self.name = attributes[:'name']
|
715
|
-
end
|
716
|
-
|
717
|
-
if attributes.has_key?(:'network_ids')
|
718
|
-
if (value = attributes[:'network_ids']).is_a?(Array)
|
719
|
-
self.network_ids = value
|
720
|
-
end
|
721
|
-
end
|
722
|
-
|
723
|
-
if attributes.has_key?(:'network_size')
|
724
|
-
self.network_size = attributes[:'network_size']
|
725
|
-
end
|
726
|
-
|
727
|
-
if attributes.has_key?(:'plan_type')
|
728
|
-
self.plan_type = attributes[:'plan_type']
|
729
|
-
end
|
730
|
-
|
731
|
-
if attributes.has_key?(:'service_area_id')
|
732
|
-
self.service_area_id = attributes[:'service_area_id']
|
733
|
-
end
|
734
|
-
|
735
|
-
if attributes.has_key?(:'source')
|
736
|
-
self.source = attributes[:'source']
|
737
|
-
end
|
738
|
-
|
739
|
-
if attributes.has_key?(:'type')
|
740
|
-
self.type = attributes[:'type']
|
1430
|
+
if attributes.has_key?(:'actuarial_value')
|
1431
|
+
self.actuarial_value = attributes[:'actuarial_value']
|
741
1432
|
end
|
742
1433
|
|
743
1434
|
if attributes.has_key?(:'adult_dental')
|
@@ -760,30 +1451,42 @@ module VericredClient
|
|
760
1451
|
self.buy_link = attributes[:'buy_link']
|
761
1452
|
end
|
762
1453
|
|
1454
|
+
if attributes.has_key?(:'carrier_name')
|
1455
|
+
self.carrier_name = attributes[:'carrier_name']
|
1456
|
+
end
|
1457
|
+
|
763
1458
|
if attributes.has_key?(:'child_dental')
|
764
1459
|
self.child_dental = attributes[:'child_dental']
|
765
1460
|
end
|
766
1461
|
|
1462
|
+
if attributes.has_key?(:'child_eye_exam')
|
1463
|
+
self.child_eye_exam = attributes[:'child_eye_exam']
|
1464
|
+
end
|
1465
|
+
|
767
1466
|
if attributes.has_key?(:'child_eyewear')
|
768
1467
|
self.child_eyewear = attributes[:'child_eyewear']
|
769
1468
|
end
|
770
1469
|
|
771
|
-
if attributes.has_key?(:'
|
772
|
-
self.
|
1470
|
+
if attributes.has_key?(:'chiropractic_services')
|
1471
|
+
self.chiropractic_services = attributes[:'chiropractic_services']
|
773
1472
|
end
|
774
1473
|
|
775
|
-
if attributes.has_key?(:'
|
776
|
-
self.
|
1474
|
+
if attributes.has_key?(:'coinsurance')
|
1475
|
+
self.coinsurance = attributes[:'coinsurance']
|
777
1476
|
end
|
778
1477
|
|
779
|
-
if attributes.has_key?(:'
|
780
|
-
self.
|
1478
|
+
if attributes.has_key?(:'customer_service_phone_number')
|
1479
|
+
self.customer_service_phone_number = attributes[:'customer_service_phone_number']
|
781
1480
|
end
|
782
1481
|
|
783
1482
|
if attributes.has_key?(:'diagnostic_test')
|
784
1483
|
self.diagnostic_test = attributes[:'diagnostic_test']
|
785
1484
|
end
|
786
1485
|
|
1486
|
+
if attributes.has_key?(:'display_name')
|
1487
|
+
self.display_name = attributes[:'display_name']
|
1488
|
+
end
|
1489
|
+
|
787
1490
|
if attributes.has_key?(:'dp_rider')
|
788
1491
|
self.dp_rider = attributes[:'dp_rider']
|
789
1492
|
end
|
@@ -792,10 +1495,26 @@ module VericredClient
|
|
792
1495
|
self.drug_formulary_url = attributes[:'drug_formulary_url']
|
793
1496
|
end
|
794
1497
|
|
1498
|
+
if attributes.has_key?(:'durable_medical_equipment')
|
1499
|
+
self.durable_medical_equipment = attributes[:'durable_medical_equipment']
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
if attributes.has_key?(:'effective_date')
|
1503
|
+
self.effective_date = attributes[:'effective_date']
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
if attributes.has_key?(:'embedded_deductible')
|
1507
|
+
self.embedded_deductible = attributes[:'embedded_deductible']
|
1508
|
+
end
|
1509
|
+
|
795
1510
|
if attributes.has_key?(:'emergency_room')
|
796
1511
|
self.emergency_room = attributes[:'emergency_room']
|
797
1512
|
end
|
798
1513
|
|
1514
|
+
if attributes.has_key?(:'expiration_date')
|
1515
|
+
self.expiration_date = attributes[:'expiration_date']
|
1516
|
+
end
|
1517
|
+
|
799
1518
|
if attributes.has_key?(:'family_drug_deductible')
|
800
1519
|
self.family_drug_deductible = attributes[:'family_drug_deductible']
|
801
1520
|
end
|
@@ -816,6 +1535,10 @@ module VericredClient
|
|
816
1535
|
self.fp_rider = attributes[:'fp_rider']
|
817
1536
|
end
|
818
1537
|
|
1538
|
+
if attributes.has_key?(:'gated')
|
1539
|
+
self.gated = attributes[:'gated']
|
1540
|
+
end
|
1541
|
+
|
819
1542
|
if attributes.has_key?(:'generic_drugs')
|
820
1543
|
self.generic_drugs = attributes[:'generic_drugs']
|
821
1544
|
end
|
@@ -844,10 +1567,30 @@ module VericredClient
|
|
844
1567
|
self.id = attributes[:'id']
|
845
1568
|
end
|
846
1569
|
|
1570
|
+
if attributes.has_key?(:'identifiers')
|
1571
|
+
if (value = attributes[:'identifiers']).is_a?(Array)
|
1572
|
+
self.identifiers = value
|
1573
|
+
end
|
1574
|
+
end
|
1575
|
+
|
847
1576
|
if attributes.has_key?(:'imaging')
|
848
1577
|
self.imaging = attributes[:'imaging']
|
849
1578
|
end
|
850
1579
|
|
1580
|
+
if attributes.has_key?(:'imaging_center')
|
1581
|
+
self.imaging_center = attributes[:'imaging_center']
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
if attributes.has_key?(:'imaging_physician')
|
1585
|
+
self.imaging_physician = attributes[:'imaging_physician']
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
if attributes.has_key?(:'in_network_ids')
|
1589
|
+
if (value = attributes[:'in_network_ids']).is_a?(Array)
|
1590
|
+
self.in_network_ids = value
|
1591
|
+
end
|
1592
|
+
end
|
1593
|
+
|
851
1594
|
if attributes.has_key?(:'individual_drug_deductible')
|
852
1595
|
self.individual_drug_deductible = attributes[:'individual_drug_deductible']
|
853
1596
|
end
|
@@ -884,10 +1627,8 @@ module VericredClient
|
|
884
1627
|
self.inpatient_substance = attributes[:'inpatient_substance']
|
885
1628
|
end
|
886
1629
|
|
887
|
-
if attributes.has_key?(:'
|
888
|
-
|
889
|
-
self.in_network_ids = value
|
890
|
-
end
|
1630
|
+
if attributes.has_key?(:'lab_test')
|
1631
|
+
self.lab_test = attributes[:'lab_test']
|
891
1632
|
end
|
892
1633
|
|
893
1634
|
if attributes.has_key?(:'level')
|
@@ -898,18 +1639,44 @@ module VericredClient
|
|
898
1639
|
self.logo_url = attributes[:'logo_url']
|
899
1640
|
end
|
900
1641
|
|
1642
|
+
if attributes.has_key?(:'mail_order_rx')
|
1643
|
+
self.mail_order_rx = attributes[:'mail_order_rx']
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
if attributes.has_key?(:'name')
|
1647
|
+
self.name = attributes[:'name']
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
if attributes.has_key?(:'network_ids')
|
1651
|
+
if (value = attributes[:'network_ids']).is_a?(Array)
|
1652
|
+
self.network_ids = value
|
1653
|
+
end
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
if attributes.has_key?(:'network_size')
|
1657
|
+
self.network_size = attributes[:'network_size']
|
1658
|
+
end
|
1659
|
+
|
901
1660
|
if attributes.has_key?(:'non_preferred_brand_drugs')
|
902
1661
|
self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs']
|
903
1662
|
end
|
904
1663
|
|
905
|
-
if attributes.has_key?(:'
|
906
|
-
self.
|
1664
|
+
if attributes.has_key?(:'nonpreferred_generic_drug_share')
|
1665
|
+
self.nonpreferred_generic_drug_share = attributes[:'nonpreferred_generic_drug_share']
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
if attributes.has_key?(:'nonpreferred_specialty_drug_share')
|
1669
|
+
self.nonpreferred_specialty_drug_share = attributes[:'nonpreferred_specialty_drug_share']
|
907
1670
|
end
|
908
1671
|
|
909
1672
|
if attributes.has_key?(:'off_market')
|
910
1673
|
self.off_market = attributes[:'off_market']
|
911
1674
|
end
|
912
1675
|
|
1676
|
+
if attributes.has_key?(:'on_market')
|
1677
|
+
self.on_market = attributes[:'on_market']
|
1678
|
+
end
|
1679
|
+
|
913
1680
|
if attributes.has_key?(:'out_of_network_coverage')
|
914
1681
|
self.out_of_network_coverage = attributes[:'out_of_network_coverage']
|
915
1682
|
end
|
@@ -920,6 +1687,10 @@ module VericredClient
|
|
920
1687
|
end
|
921
1688
|
end
|
922
1689
|
|
1690
|
+
if attributes.has_key?(:'outpatient_ambulatory_care_center')
|
1691
|
+
self.outpatient_ambulatory_care_center = attributes[:'outpatient_ambulatory_care_center']
|
1692
|
+
end
|
1693
|
+
|
923
1694
|
if attributes.has_key?(:'outpatient_facility')
|
924
1695
|
self.outpatient_facility = attributes[:'outpatient_facility']
|
925
1696
|
end
|
@@ -936,24 +1707,24 @@ module VericredClient
|
|
936
1707
|
self.outpatient_substance = attributes[:'outpatient_substance']
|
937
1708
|
end
|
938
1709
|
|
939
|
-
if attributes.has_key?(:'
|
940
|
-
self.
|
1710
|
+
if attributes.has_key?(:'plan_calendar')
|
1711
|
+
self.plan_calendar = attributes[:'plan_calendar']
|
941
1712
|
end
|
942
1713
|
|
943
|
-
if attributes.has_key?(:'
|
944
|
-
self.
|
1714
|
+
if attributes.has_key?(:'plan_market')
|
1715
|
+
self.plan_market = attributes[:'plan_market']
|
945
1716
|
end
|
946
1717
|
|
947
|
-
if attributes.has_key?(:'
|
948
|
-
self.
|
1718
|
+
if attributes.has_key?(:'plan_type')
|
1719
|
+
self.plan_type = attributes[:'plan_type']
|
949
1720
|
end
|
950
1721
|
|
951
|
-
if attributes.has_key?(:'
|
952
|
-
self.
|
1722
|
+
if attributes.has_key?(:'postnatal_care')
|
1723
|
+
self.postnatal_care = attributes[:'postnatal_care']
|
953
1724
|
end
|
954
1725
|
|
955
|
-
if attributes.has_key?(:'
|
956
|
-
self.
|
1726
|
+
if attributes.has_key?(:'preferred_brand_drugs')
|
1727
|
+
self.preferred_brand_drugs = attributes[:'preferred_brand_drugs']
|
957
1728
|
end
|
958
1729
|
|
959
1730
|
if attributes.has_key?(:'premium')
|
@@ -964,92 +1735,60 @@ module VericredClient
|
|
964
1735
|
self.premium_source = attributes[:'premium_source']
|
965
1736
|
end
|
966
1737
|
|
967
|
-
if attributes.has_key?(:'
|
968
|
-
self.
|
969
|
-
end
|
970
|
-
|
971
|
-
if attributes.has_key?(:'rehabilitation_services')
|
972
|
-
self.rehabilitation_services = attributes[:'rehabilitation_services']
|
973
|
-
end
|
974
|
-
|
975
|
-
if attributes.has_key?(:'skilled_nursing')
|
976
|
-
self.skilled_nursing = attributes[:'skilled_nursing']
|
977
|
-
end
|
978
|
-
|
979
|
-
if attributes.has_key?(:'specialist')
|
980
|
-
self.specialist = attributes[:'specialist']
|
981
|
-
end
|
982
|
-
|
983
|
-
if attributes.has_key?(:'specialty_drugs')
|
984
|
-
self.specialty_drugs = attributes[:'specialty_drugs']
|
985
|
-
end
|
986
|
-
|
987
|
-
if attributes.has_key?(:'urgent_care')
|
988
|
-
self.urgent_care = attributes[:'urgent_care']
|
989
|
-
end
|
990
|
-
|
991
|
-
if attributes.has_key?(:'actuarial_value')
|
992
|
-
self.actuarial_value = attributes[:'actuarial_value']
|
993
|
-
end
|
994
|
-
|
995
|
-
if attributes.has_key?(:'chiropractic_services')
|
996
|
-
self.chiropractic_services = attributes[:'chiropractic_services']
|
997
|
-
end
|
998
|
-
|
999
|
-
if attributes.has_key?(:'coinsurance')
|
1000
|
-
self.coinsurance = attributes[:'coinsurance']
|
1738
|
+
if attributes.has_key?(:'premium_subsidized')
|
1739
|
+
self.premium_subsidized = attributes[:'premium_subsidized']
|
1001
1740
|
end
|
1002
1741
|
|
1003
|
-
if attributes.has_key?(:'
|
1004
|
-
self.
|
1742
|
+
if attributes.has_key?(:'prenatal_care')
|
1743
|
+
self.prenatal_care = attributes[:'prenatal_care']
|
1005
1744
|
end
|
1006
1745
|
|
1007
|
-
if attributes.has_key?(:'
|
1008
|
-
self.
|
1746
|
+
if attributes.has_key?(:'prenatal_postnatal_care')
|
1747
|
+
self.prenatal_postnatal_care = attributes[:'prenatal_postnatal_care']
|
1009
1748
|
end
|
1010
1749
|
|
1011
|
-
if attributes.has_key?(:'
|
1012
|
-
self.
|
1750
|
+
if attributes.has_key?(:'preventative_care')
|
1751
|
+
self.preventative_care = attributes[:'preventative_care']
|
1013
1752
|
end
|
1014
1753
|
|
1015
|
-
if attributes.has_key?(:'
|
1016
|
-
self.
|
1754
|
+
if attributes.has_key?(:'primary_care_physician')
|
1755
|
+
self.primary_care_physician = attributes[:'primary_care_physician']
|
1017
1756
|
end
|
1018
1757
|
|
1019
|
-
if attributes.has_key?(:'
|
1020
|
-
self.
|
1758
|
+
if attributes.has_key?(:'rehabilitation_services')
|
1759
|
+
self.rehabilitation_services = attributes[:'rehabilitation_services']
|
1021
1760
|
end
|
1022
1761
|
|
1023
|
-
if attributes.has_key?(:'
|
1024
|
-
self.
|
1762
|
+
if attributes.has_key?(:'service_area_id')
|
1763
|
+
self.service_area_id = attributes[:'service_area_id']
|
1025
1764
|
end
|
1026
1765
|
|
1027
|
-
if attributes.has_key?(:'
|
1028
|
-
self.
|
1766
|
+
if attributes.has_key?(:'skilled_nursing')
|
1767
|
+
self.skilled_nursing = attributes[:'skilled_nursing']
|
1029
1768
|
end
|
1030
1769
|
|
1031
|
-
if attributes.has_key?(:'
|
1032
|
-
self.
|
1770
|
+
if attributes.has_key?(:'skilled_nursing_facility_365')
|
1771
|
+
self.skilled_nursing_facility_365 = attributes[:'skilled_nursing_facility_365']
|
1033
1772
|
end
|
1034
1773
|
|
1035
|
-
if attributes.has_key?(:'
|
1036
|
-
self.
|
1774
|
+
if attributes.has_key?(:'source')
|
1775
|
+
self.source = attributes[:'source']
|
1037
1776
|
end
|
1038
1777
|
|
1039
|
-
if attributes.has_key?(:'
|
1040
|
-
self.
|
1778
|
+
if attributes.has_key?(:'specialist')
|
1779
|
+
self.specialist = attributes[:'specialist']
|
1041
1780
|
end
|
1042
1781
|
|
1043
|
-
if attributes.has_key?(:'
|
1044
|
-
self.
|
1782
|
+
if attributes.has_key?(:'specialty_drugs')
|
1783
|
+
self.specialty_drugs = attributes[:'specialty_drugs']
|
1045
1784
|
end
|
1046
1785
|
|
1047
|
-
if attributes.has_key?(:'
|
1048
|
-
self.
|
1786
|
+
if attributes.has_key?(:'type')
|
1787
|
+
self.type = attributes[:'type']
|
1049
1788
|
end
|
1050
1789
|
|
1051
|
-
if attributes.has_key?(:'
|
1052
|
-
self.
|
1790
|
+
if attributes.has_key?(:'urgent_care')
|
1791
|
+
self.urgent_care = attributes[:'urgent_care']
|
1053
1792
|
end
|
1054
1793
|
|
1055
1794
|
end
|
@@ -1072,37 +1811,34 @@ module VericredClient
|
|
1072
1811
|
def ==(o)
|
1073
1812
|
return true if self.equal?(o)
|
1074
1813
|
self.class == o.class &&
|
1075
|
-
|
1076
|
-
display_name == o.display_name &&
|
1077
|
-
effective_date == o.effective_date &&
|
1078
|
-
expiration_date == o.expiration_date &&
|
1079
|
-
identifiers == o.identifiers &&
|
1080
|
-
name == o.name &&
|
1081
|
-
network_ids == o.network_ids &&
|
1082
|
-
network_size == o.network_size &&
|
1083
|
-
plan_type == o.plan_type &&
|
1084
|
-
service_area_id == o.service_area_id &&
|
1085
|
-
source == o.source &&
|
1086
|
-
type == o.type &&
|
1814
|
+
actuarial_value == o.actuarial_value &&
|
1087
1815
|
adult_dental == o.adult_dental &&
|
1088
1816
|
age29_rider == o.age29_rider &&
|
1089
1817
|
ambulance == o.ambulance &&
|
1090
1818
|
benefits_summary_url == o.benefits_summary_url &&
|
1091
1819
|
buy_link == o.buy_link &&
|
1820
|
+
carrier_name == o.carrier_name &&
|
1092
1821
|
child_dental == o.child_dental &&
|
1093
|
-
child_eyewear == o.child_eyewear &&
|
1094
1822
|
child_eye_exam == o.child_eye_exam &&
|
1823
|
+
child_eyewear == o.child_eyewear &&
|
1824
|
+
chiropractic_services == o.chiropractic_services &&
|
1825
|
+
coinsurance == o.coinsurance &&
|
1095
1826
|
customer_service_phone_number == o.customer_service_phone_number &&
|
1096
|
-
durable_medical_equipment == o.durable_medical_equipment &&
|
1097
1827
|
diagnostic_test == o.diagnostic_test &&
|
1828
|
+
display_name == o.display_name &&
|
1098
1829
|
dp_rider == o.dp_rider &&
|
1099
1830
|
drug_formulary_url == o.drug_formulary_url &&
|
1831
|
+
durable_medical_equipment == o.durable_medical_equipment &&
|
1832
|
+
effective_date == o.effective_date &&
|
1833
|
+
embedded_deductible == o.embedded_deductible &&
|
1100
1834
|
emergency_room == o.emergency_room &&
|
1835
|
+
expiration_date == o.expiration_date &&
|
1101
1836
|
family_drug_deductible == o.family_drug_deductible &&
|
1102
1837
|
family_drug_moop == o.family_drug_moop &&
|
1103
1838
|
family_medical_deductible == o.family_medical_deductible &&
|
1104
1839
|
family_medical_moop == o.family_medical_moop &&
|
1105
1840
|
fp_rider == o.fp_rider &&
|
1841
|
+
gated == o.gated &&
|
1106
1842
|
generic_drugs == o.generic_drugs &&
|
1107
1843
|
habilitation_services == o.habilitation_services &&
|
1108
1844
|
hios_issuer_id == o.hios_issuer_id &&
|
@@ -1110,7 +1846,11 @@ module VericredClient
|
|
1110
1846
|
hospice_service == o.hospice_service &&
|
1111
1847
|
hsa_eligible == o.hsa_eligible &&
|
1112
1848
|
id == o.id &&
|
1849
|
+
identifiers == o.identifiers &&
|
1113
1850
|
imaging == o.imaging &&
|
1851
|
+
imaging_center == o.imaging_center &&
|
1852
|
+
imaging_physician == o.imaging_physician &&
|
1853
|
+
in_network_ids == o.in_network_ids &&
|
1114
1854
|
individual_drug_deductible == o.individual_drug_deductible &&
|
1115
1855
|
individual_drug_moop == o.individual_drug_moop &&
|
1116
1856
|
individual_medical_deductible == o.individual_medical_deductible &&
|
@@ -1120,47 +1860,46 @@ module VericredClient
|
|
1120
1860
|
inpatient_mental_health == o.inpatient_mental_health &&
|
1121
1861
|
inpatient_physician == o.inpatient_physician &&
|
1122
1862
|
inpatient_substance == o.inpatient_substance &&
|
1123
|
-
|
1863
|
+
lab_test == o.lab_test &&
|
1124
1864
|
level == o.level &&
|
1125
1865
|
logo_url == o.logo_url &&
|
1866
|
+
mail_order_rx == o.mail_order_rx &&
|
1867
|
+
name == o.name &&
|
1868
|
+
network_ids == o.network_ids &&
|
1869
|
+
network_size == o.network_size &&
|
1126
1870
|
non_preferred_brand_drugs == o.non_preferred_brand_drugs &&
|
1127
|
-
|
1871
|
+
nonpreferred_generic_drug_share == o.nonpreferred_generic_drug_share &&
|
1872
|
+
nonpreferred_specialty_drug_share == o.nonpreferred_specialty_drug_share &&
|
1128
1873
|
off_market == o.off_market &&
|
1874
|
+
on_market == o.on_market &&
|
1129
1875
|
out_of_network_coverage == o.out_of_network_coverage &&
|
1130
1876
|
out_of_network_ids == o.out_of_network_ids &&
|
1877
|
+
outpatient_ambulatory_care_center == o.outpatient_ambulatory_care_center &&
|
1131
1878
|
outpatient_facility == o.outpatient_facility &&
|
1132
1879
|
outpatient_mental_health == o.outpatient_mental_health &&
|
1133
1880
|
outpatient_physician == o.outpatient_physician &&
|
1134
1881
|
outpatient_substance == o.outpatient_substance &&
|
1882
|
+
plan_calendar == o.plan_calendar &&
|
1135
1883
|
plan_market == o.plan_market &&
|
1884
|
+
plan_type == o.plan_type &&
|
1885
|
+
postnatal_care == o.postnatal_care &&
|
1136
1886
|
preferred_brand_drugs == o.preferred_brand_drugs &&
|
1137
|
-
prenatal_postnatal_care == o.prenatal_postnatal_care &&
|
1138
|
-
preventative_care == o.preventative_care &&
|
1139
|
-
premium_subsidized == o.premium_subsidized &&
|
1140
1887
|
premium == o.premium &&
|
1141
1888
|
premium_source == o.premium_source &&
|
1889
|
+
premium_subsidized == o.premium_subsidized &&
|
1890
|
+
prenatal_care == o.prenatal_care &&
|
1891
|
+
prenatal_postnatal_care == o.prenatal_postnatal_care &&
|
1892
|
+
preventative_care == o.preventative_care &&
|
1142
1893
|
primary_care_physician == o.primary_care_physician &&
|
1143
1894
|
rehabilitation_services == o.rehabilitation_services &&
|
1895
|
+
service_area_id == o.service_area_id &&
|
1144
1896
|
skilled_nursing == o.skilled_nursing &&
|
1897
|
+
skilled_nursing_facility_365 == o.skilled_nursing_facility_365 &&
|
1898
|
+
source == o.source &&
|
1145
1899
|
specialist == o.specialist &&
|
1146
1900
|
specialty_drugs == o.specialty_drugs &&
|
1147
|
-
|
1148
|
-
|
1149
|
-
chiropractic_services == o.chiropractic_services &&
|
1150
|
-
coinsurance == o.coinsurance &&
|
1151
|
-
embedded_deductible == o.embedded_deductible &&
|
1152
|
-
gated == o.gated &&
|
1153
|
-
imaging_center == o.imaging_center &&
|
1154
|
-
imaging_physician == o.imaging_physician &&
|
1155
|
-
lab_test == o.lab_test &&
|
1156
|
-
mail_order_rx == o.mail_order_rx &&
|
1157
|
-
nonpreferred_generic_drug_share == o.nonpreferred_generic_drug_share &&
|
1158
|
-
nonpreferred_specialty_drug_share == o.nonpreferred_specialty_drug_share &&
|
1159
|
-
outpatient_ambulatory_care_center == o.outpatient_ambulatory_care_center &&
|
1160
|
-
plan_calendar == o.plan_calendar &&
|
1161
|
-
prenatal_care == o.prenatal_care &&
|
1162
|
-
postnatal_care == o.postnatal_care &&
|
1163
|
-
skilled_nursing_facility_365 == o.skilled_nursing_facility_365
|
1901
|
+
type == o.type &&
|
1902
|
+
urgent_care == o.urgent_care
|
1164
1903
|
end
|
1165
1904
|
|
1166
1905
|
# @see the `==` method
|
@@ -1172,7 +1911,7 @@ module VericredClient
|
|
1172
1911
|
# Calculates hash code according to all attributes.
|
1173
1912
|
# @return [Fixnum] Hash code
|
1174
1913
|
def hash
|
1175
|
-
[
|
1914
|
+
[actuarial_value, adult_dental, age29_rider, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eye_exam, child_eyewear, chiropractic_services, coinsurance, customer_service_phone_number, diagnostic_test, display_name, dp_rider, drug_formulary_url, durable_medical_equipment, effective_date, embedded_deductible, emergency_room, expiration_date, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, fp_rider, gated, generic_drugs, habilitation_services, hios_issuer_id, home_health_care, hospice_service, hsa_eligible, id, identifiers, imaging, imaging_center, imaging_physician, in_network_ids, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_birth, inpatient_facility, inpatient_mental_health, inpatient_physician, inpatient_substance, lab_test, level, logo_url, mail_order_rx, name, network_ids, network_size, non_preferred_brand_drugs, nonpreferred_generic_drug_share, nonpreferred_specialty_drug_share, off_market, on_market, out_of_network_coverage, out_of_network_ids, outpatient_ambulatory_care_center, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_calendar, plan_market, plan_type, postnatal_care, preferred_brand_drugs, premium, premium_source, premium_subsidized, prenatal_care, prenatal_postnatal_care, preventative_care, primary_care_physician, rehabilitation_services, service_area_id, skilled_nursing, skilled_nursing_facility_365, source, specialist, specialty_drugs, type, urgent_care].hash
|
1176
1915
|
end
|
1177
1916
|
|
1178
1917
|
# Builds the object from hash
|