vericred_client 0.0.25 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +62 -17
- data/docs/ACAPlan.md +1 -0
- data/docs/ACAPlan2018.md +1 -0
- data/docs/ACAPlan2018SearchResult.md +1 -0
- data/docs/ACAPlanPre2018.md +1 -0
- data/docs/ACAPlanPre2018SearchResult.md +1 -0
- data/docs/DentalPlan.md +6 -2
- data/docs/DentalPlanSearchRequest.md +2 -1
- data/docs/DentalPlanUpdate.md +1 -0
- data/docs/DentalPlansApi.md +1 -1
- data/docs/Drug.md +1 -1
- data/docs/DrugCoverage.md +1 -4
- data/docs/DrugCoverageBase.md +11 -0
- data/docs/DrugCoverageResponse.md +1 -2
- data/docs/DrugDetails.md +12 -0
- data/docs/DrugPackage.md +1 -0
- data/docs/DrugPackagesApi.md +1 -1
- data/docs/DrugSearchDrugPackage.md +12 -0
- data/docs/DrugSearchRequest.md +10 -0
- data/docs/DrugSearchResponse.md +1 -2
- data/docs/DrugsApi.md +71 -3
- data/docs/FormularyDrugCoverage.md +11 -0
- data/docs/MedicareAdvantagePlan.md +6 -1
- data/docs/MedicareAdvantagePlanSearchRequest.md +4 -2
- data/docs/MedicareAdvantagePlanSearchResponse.md +2 -1
- data/docs/MedicareAdvantagePlanUpdate.md +27 -0
- data/docs/MedicareAdvantagePlanUpdateRequest.md +8 -0
- data/docs/MedicareAdvantagePlansApi.md +179 -0
- data/docs/Network.md +1 -0
- data/docs/NetworkDetails.md +5 -1
- data/docs/NetworkDisruptionAnalysis.md +11 -0
- data/docs/NetworkDisruptionAnalysisRequest.md +9 -0
- data/docs/NetworkDisruptionAnalysisResponse.md +9 -0
- data/docs/NetworkSearch.md +14 -0
- data/docs/NetworkSearchResponse.md +1 -1
- data/docs/NetworksApi.md +77 -12
- data/docs/Plan.md +5 -6
- data/docs/PlanMedicare.md +5 -6
- data/docs/PlanMedicareBulk.md +5 -6
- data/docs/{V7Network.md → PlanNetwork.md} +1 -2
- data/docs/ProviderDetails.md +0 -3
- data/docs/ProviderNetworkSpecialty.md +10 -0
- data/docs/ProviderNetworks.md +3 -0
- data/docs/ProviderPlanResponse.md +12 -0
- data/docs/{V7NetworkSearchResponse.md → ProviderPlans.md} +2 -2
- data/docs/ProviderPlansRequest.md +13 -0
- data/docs/ProvidersApi.md +66 -1
- data/docs/RequestProvidersSearch.md +2 -1
- data/docs/SpecialtiesApi.md +70 -0
- data/docs/SpecialtySearchResponse.md +9 -0
- data/docs/SpecialtyShow.md +12 -0
- data/docs/SupplementalOptionsUpdate.md +13 -0
- data/docs/{V7ProviderDetails.md → V7ResponseProvidersProviderDetails.md} +1 -4
- data/docs/VisionPlanSearchRequest.md +1 -1
- data/docs/VisionPlanUpdate.md +1 -0
- data/docs/VisionPlansApi.md +1 -1
- data/lib/vericred_client/api/carrier_groups_api.rb +30 -5
- data/lib/vericred_client/api/carrier_verification_dental_plans_api.rb +30 -5
- data/lib/vericred_client/api/carrier_verification_medical_plans_api.rb +30 -5
- data/lib/vericred_client/api/carrier_verification_plans_api.rb +30 -5
- data/lib/vericred_client/api/carrier_verification_vision_plans_api.rb +30 -5
- data/lib/vericred_client/api/carriers_api.rb +30 -5
- data/lib/vericred_client/api/dental_plans_api.rb +32 -7
- data/lib/vericred_client/api/drug_packages_api.rb +30 -5
- data/lib/vericred_client/api/drugs_api.rb +110 -10
- data/lib/vericred_client/api/embargoes_api.rb +30 -5
- data/lib/vericred_client/api/formularies_api.rb +30 -5
- data/lib/vericred_client/api/issuers_api.rb +30 -5
- data/lib/vericred_client/api/major_medical_plans_api.rb +30 -5
- data/lib/vericred_client/api/medical_plans_api.rb +30 -5
- data/lib/vericred_client/api/{drug_coverages_api.rb → medicare_advantage_plans_api.rb} +168 -33
- data/lib/vericred_client/api/network_sizes_api.rb +30 -5
- data/lib/vericred_client/api/networks_api.rb +114 -20
- data/lib/vericred_client/api/plans_api.rb +30 -5
- data/lib/vericred_client/api/provider_notification_subscriptions_api.rb +30 -5
- data/lib/vericred_client/api/providers_api.rb +102 -7
- data/lib/vericred_client/api/quoting_api.rb +30 -5
- data/lib/vericred_client/api/rates_api.rb +30 -5
- data/lib/vericred_client/api/specialties_api.rb +1059 -0
- data/lib/vericred_client/api/vision_plans_api.rb +30 -5
- data/lib/vericred_client/api/zip_counties_api.rb +30 -5
- data/lib/vericred_client/api_client.rb +30 -5
- data/lib/vericred_client/api_error.rb +30 -5
- data/lib/vericred_client/configuration.rb +30 -5
- data/lib/vericred_client/models/aca_plan.rb +43 -6
- data/lib/vericred_client/models/aca_plan2018.rb +43 -6
- data/lib/vericred_client/models/aca_plan2018_search_response.rb +30 -5
- data/lib/vericred_client/models/aca_plan2018_search_result.rb +43 -6
- data/lib/vericred_client/models/aca_plan2018_show_response.rb +30 -5
- data/lib/vericred_client/models/aca_plan_pre2018.rb +43 -6
- data/lib/vericred_client/models/aca_plan_pre2018_search_response.rb +30 -5
- data/lib/vericred_client/models/aca_plan_pre2018_search_result.rb +43 -6
- data/lib/vericred_client/models/aca_plan_pre2018_show_response.rb +30 -5
- data/lib/vericred_client/models/address.rb +30 -5
- data/lib/vericred_client/models/ancillary_plan_identifier.rb +30 -5
- data/lib/vericred_client/models/base.rb +30 -5
- data/lib/vericred_client/models/base_plan_search_response.rb +30 -5
- data/lib/vericred_client/models/carrier.rb +30 -5
- data/lib/vericred_client/models/carrier_group_request.rb +30 -5
- data/lib/vericred_client/models/carrier_request.rb +30 -5
- data/lib/vericred_client/models/carrier_subsidiary.rb +30 -5
- data/lib/vericred_client/models/county.rb +30 -5
- data/lib/vericred_client/models/county_bulk.rb +30 -5
- data/lib/vericred_client/models/dental_plan.rb +79 -8
- data/lib/vericred_client/models/dental_plan_benefits.rb +30 -5
- data/lib/vericred_client/models/dental_plan_search_applicant.rb +30 -5
- data/lib/vericred_client/models/dental_plan_search_request.rb +44 -7
- data/lib/vericred_client/models/dental_plan_search_response.rb +30 -5
- data/lib/vericred_client/models/dental_plan_show_response.rb +30 -5
- data/lib/vericred_client/models/dental_plan_update.rb +43 -6
- data/lib/vericred_client/models/dental_plan_update_request.rb +30 -5
- data/lib/vericred_client/models/dependent_create.rb +30 -5
- data/lib/vericred_client/models/dependent_create_request.rb +30 -5
- data/lib/vericred_client/models/dependent_show.rb +30 -5
- data/lib/vericred_client/models/drug.rb +31 -6
- data/lib/vericred_client/models/drug_coverage.rb +32 -39
- data/lib/vericred_client/models/drug_coverage_base.rb +1190 -0
- data/lib/vericred_client/models/drug_coverage_response.rb +39 -24
- data/lib/vericred_client/models/drug_details.rb +1202 -0
- data/lib/vericred_client/models/drug_package.rb +44 -9
- data/lib/vericred_client/models/drug_search_drug_package.rb +1200 -0
- data/lib/vericred_client/models/drug_search_request.rb +1180 -0
- data/lib/vericred_client/models/drug_search_response.rb +32 -19
- data/lib/vericred_client/models/embargo_request.rb +30 -5
- data/lib/vericred_client/models/formulary.rb +30 -5
- data/lib/vericred_client/models/formulary_drug_coverage.rb +1190 -0
- data/lib/vericred_client/models/formulary_drug_package_response.rb +30 -5
- data/lib/vericred_client/models/formulary_response.rb +30 -5
- data/lib/vericred_client/models/group_create.rb +30 -5
- data/lib/vericred_client/models/group_create_request.rb +30 -5
- data/lib/vericred_client/models/group_create_response.rb +30 -5
- data/lib/vericred_client/models/group_show.rb +30 -5
- data/lib/vericred_client/models/group_show_response.rb +30 -5
- data/lib/vericred_client/models/group_update.rb +30 -5
- data/lib/vericred_client/models/group_update_request.rb +30 -5
- data/lib/vericred_client/models/issuer_request.rb +30 -5
- data/lib/vericred_client/models/location_create.rb +30 -5
- data/lib/vericred_client/models/location_show.rb +30 -5
- data/lib/vericred_client/models/location_update.rb +30 -5
- data/lib/vericred_client/models/medical_plan_benefits.rb +30 -5
- data/lib/vericred_client/models/medical_plan_update.rb +30 -5
- data/lib/vericred_client/models/medical_plan_update_request.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan.rb +86 -7
- data/lib/vericred_client/models/medicare_advantage_plan_benefits.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan_search_request.rb +57 -8
- data/lib/vericred_client/models/medicare_advantage_plan_search_response.rb +45 -8
- data/lib/vericred_client/models/medicare_advantage_plan_show_response.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan_update.rb +1354 -0
- data/lib/vericred_client/models/{v7_network.rb → medicare_advantage_plan_update_request.rb} +39 -34
- data/lib/vericred_client/models/member_create.rb +30 -5
- data/lib/vericred_client/models/member_rate_show.rb +30 -5
- data/lib/vericred_client/models/member_rate_show_request.rb +30 -5
- data/lib/vericred_client/models/member_rates_show_response.rb +30 -5
- data/lib/vericred_client/models/member_show.rb +30 -5
- data/lib/vericred_client/models/members_create_request.rb +30 -5
- data/lib/vericred_client/models/members_create_response.rb +30 -5
- data/lib/vericred_client/models/members_show_response.rb +30 -5
- data/lib/vericred_client/models/meta.rb +30 -5
- data/lib/vericred_client/models/meta_plan_search_response.rb +30 -5
- data/lib/vericred_client/models/network.rb +41 -6
- data/lib/vericred_client/models/network_comparison.rb +30 -5
- data/lib/vericred_client/models/network_comparison_request.rb +30 -5
- data/lib/vericred_client/models/network_comparison_response.rb +30 -5
- data/lib/vericred_client/models/network_details.rb +88 -17
- data/lib/vericred_client/models/network_details_response.rb +30 -5
- data/lib/vericred_client/models/network_disruption_analysis.rb +1194 -0
- data/lib/vericred_client/models/network_disruption_analysis_request.rb +1174 -0
- data/lib/vericred_client/models/network_disruption_analysis_response.rb +1172 -0
- data/lib/vericred_client/models/network_search.rb +1228 -0
- data/lib/vericred_client/models/network_search_response.rb +31 -6
- data/lib/vericred_client/models/network_size.rb +30 -5
- data/lib/vericred_client/models/notification_subscription.rb +30 -5
- data/lib/vericred_client/models/notification_subscription_response.rb +30 -5
- data/lib/vericred_client/models/plan.rb +83 -64
- data/lib/vericred_client/models/plan_county.rb +30 -5
- data/lib/vericred_client/models/plan_county_bulk.rb +30 -5
- data/lib/vericred_client/models/plan_deleted.rb +30 -5
- data/lib/vericred_client/models/plan_identifier.rb +30 -5
- data/lib/vericred_client/models/plan_medicare.rb +83 -64
- data/lib/vericred_client/models/plan_medicare_bulk.rb +83 -64
- data/lib/vericred_client/models/{v7_network_details.rb → plan_network.rb} +32 -29
- data/lib/vericred_client/models/plan_pricing_medicare.rb +30 -5
- data/lib/vericred_client/models/plan_search_response.rb +30 -5
- data/lib/vericred_client/models/plan_show_response.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_aca2018.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_aca_pre2018.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_base.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_dental.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_vision.rb +30 -5
- data/lib/vericred_client/models/provider.rb +30 -5
- data/lib/vericred_client/models/provider_details.rb +31 -42
- data/lib/vericred_client/models/provider_geocode.rb +30 -5
- data/lib/vericred_client/models/provider_network_event_notification.rb +30 -5
- data/lib/vericred_client/models/{v7_provider_networks.rb → provider_network_specialty.rb} +42 -37
- data/lib/vericred_client/models/provider_networks.rb +68 -9
- data/lib/vericred_client/models/provider_plan_response.rb +1202 -0
- data/lib/vericred_client/models/{v7_network_search_response.rb → provider_plans.rb} +40 -15
- data/lib/vericred_client/models/provider_plans_request.rb +1210 -0
- data/lib/vericred_client/models/provider_show_response.rb +30 -5
- data/lib/vericred_client/models/providers_geocode_response.rb +30 -5
- data/lib/vericred_client/models/providers_search_response.rb +30 -5
- data/lib/vericred_client/models/quote_create.rb +30 -5
- data/lib/vericred_client/models/quote_create_request.rb +30 -5
- data/lib/vericred_client/models/quote_create_response.rb +30 -5
- data/lib/vericred_client/models/quote_show.rb +30 -5
- data/lib/vericred_client/models/quote_show_response.rb +30 -5
- data/lib/vericred_client/models/rate_request.rb +30 -5
- data/lib/vericred_client/models/rate_search.rb +30 -5
- data/lib/vericred_client/models/rate_show.rb +30 -5
- data/lib/vericred_client/models/rate_show_request.rb +30 -5
- data/lib/vericred_client/models/rates_show_response.rb +30 -5
- data/lib/vericred_client/models/rating_area.rb +30 -5
- data/lib/vericred_client/models/request_plan_find.rb +30 -5
- data/lib/vericred_client/models/request_plan_find_applicant.rb +30 -5
- data/lib/vericred_client/models/request_plan_find_carrier_verification.rb +30 -5
- data/lib/vericred_client/models/request_plan_find_drug_package.rb +30 -5
- data/lib/vericred_client/models/request_plan_find_provider.rb +30 -5
- data/lib/vericred_client/models/request_provider_notification_subscription.rb +30 -5
- data/lib/vericred_client/models/request_providers_search.rb +44 -7
- data/lib/vericred_client/models/request_rates_search.rb +30 -5
- data/lib/vericred_client/models/response_rates_search.rb +30 -5
- data/lib/vericred_client/models/rx_cui_identifier.rb +30 -5
- data/lib/vericred_client/models/rx_cui_identifier_search_response.rb +30 -5
- data/lib/vericred_client/models/service_area.rb +30 -5
- data/lib/vericred_client/models/service_area_zip_county.rb +30 -5
- data/lib/vericred_client/models/specialty_search_response.rb +1172 -0
- data/lib/vericred_client/models/specialty_show.rb +1200 -0
- data/lib/vericred_client/models/state.rb +30 -5
- data/lib/vericred_client/models/state_network_size_request.rb +30 -5
- data/lib/vericred_client/models/state_network_size_response.rb +30 -5
- data/lib/vericred_client/models/supplemental_options.rb +30 -5
- data/lib/vericred_client/models/supplemental_options_update.rb +1212 -0
- data/lib/vericred_client/models/v7_network_comparison_response.rb +30 -5
- data/lib/vericred_client/models/{v7_provider_details.rb → v7_response_providers_provider_details.rb} +32 -43
- data/lib/vericred_client/models/vision_plan.rb +30 -5
- data/lib/vericred_client/models/vision_plan_benefits.rb +30 -5
- data/lib/vericred_client/models/vision_plan_search_applicant.rb +30 -5
- data/lib/vericred_client/models/vision_plan_search_request.rb +31 -6
- data/lib/vericred_client/models/vision_plan_search_response.rb +30 -5
- data/lib/vericred_client/models/vision_plan_show_response.rb +30 -5
- data/lib/vericred_client/models/vision_plan_update.rb +43 -6
- data/lib/vericred_client/models/vision_plan_update_request.rb +30 -5
- data/lib/vericred_client/models/zip_code.rb +30 -5
- data/lib/vericred_client/models/zip_counties_response.rb +30 -5
- data/lib/vericred_client/models/zip_county.rb +30 -5
- data/lib/vericred_client/models/zip_county_bulk.rb +30 -5
- data/lib/vericred_client/models/zip_county_response.rb +30 -5
- data/lib/vericred_client/version.rb +31 -6
- data/lib/vericred_client.rb +52 -12
- data/spec/api/carrier_groups_api_spec.rb +30 -5
- data/spec/api/carrier_verification_dental_plans_api_spec.rb +30 -5
- data/spec/api/carrier_verification_medical_plans_api_spec.rb +30 -5
- data/spec/api/carrier_verification_plans_api_spec.rb +30 -5
- data/spec/api/carrier_verification_vision_plans_api_spec.rb +30 -5
- data/spec/api/carriers_api_spec.rb +30 -5
- data/spec/api/dental_plans_api_spec.rb +31 -6
- data/spec/api/drug_packages_api_spec.rb +30 -5
- data/spec/api/drugs_api_spec.rb +48 -7
- data/spec/api/embargoes_api_spec.rb +30 -5
- data/spec/api/formularies_api_spec.rb +30 -5
- data/spec/api/issuers_api_spec.rb +30 -5
- data/spec/api/major_medical_plans_api_spec.rb +30 -5
- data/spec/api/medical_plans_api_spec.rb +30 -5
- data/spec/api/{drug_coverages_api_spec.rb → medicare_advantage_plans_api_spec.rb} +68 -19
- data/spec/api/network_sizes_api_spec.rb +30 -5
- data/spec/api/networks_api_spec.rb +52 -11
- data/spec/api/plans_api_spec.rb +30 -5
- data/spec/api/provider_notification_subscriptions_api_spec.rb +30 -5
- data/spec/api/providers_api_spec.rb +46 -6
- data/spec/api/quoting_api_spec.rb +30 -5
- data/spec/api/rates_api_spec.rb +30 -5
- data/spec/api/specialties_api_spec.rb +1021 -0
- data/spec/api/vision_plans_api_spec.rb +30 -5
- data/spec/api/zip_counties_api_spec.rb +30 -5
- data/spec/api_client_spec.rb +30 -5
- data/spec/configuration_spec.rb +30 -5
- data/spec/models/aca_plan2018_search_response_spec.rb +30 -5
- data/spec/models/aca_plan2018_search_result_spec.rb +36 -5
- data/spec/models/aca_plan2018_show_response_spec.rb +30 -5
- data/spec/models/aca_plan2018_spec.rb +36 -5
- data/spec/models/aca_plan_pre2018_search_response_spec.rb +30 -5
- data/spec/models/aca_plan_pre2018_search_result_spec.rb +36 -5
- data/spec/models/aca_plan_pre2018_show_response_spec.rb +30 -5
- data/spec/models/aca_plan_pre2018_spec.rb +36 -5
- data/spec/models/aca_plan_spec.rb +36 -5
- data/spec/models/address_spec.rb +30 -5
- data/spec/models/ancillary_plan_identifier_spec.rb +30 -5
- data/spec/models/base_plan_search_response_spec.rb +30 -5
- data/spec/models/base_spec.rb +30 -5
- data/spec/models/carrier_group_request_spec.rb +30 -5
- data/spec/models/carrier_request_spec.rb +30 -5
- data/spec/models/carrier_spec.rb +30 -5
- data/spec/models/carrier_subsidiary_spec.rb +30 -5
- data/spec/models/county_bulk_spec.rb +30 -5
- data/spec/models/county_spec.rb +30 -5
- data/spec/models/dental_plan_benefits_spec.rb +30 -5
- data/spec/models/dental_plan_search_applicant_spec.rb +30 -5
- data/spec/models/dental_plan_search_request_spec.rb +36 -5
- data/spec/models/dental_plan_search_response_spec.rb +30 -5
- data/spec/models/dental_plan_show_response_spec.rb +30 -5
- data/spec/models/dental_plan_spec.rb +54 -5
- data/spec/models/dental_plan_update_request_spec.rb +30 -5
- data/spec/models/dental_plan_update_spec.rb +36 -5
- data/spec/models/dependent_create_request_spec.rb +30 -5
- data/spec/models/dependent_create_spec.rb +30 -5
- data/spec/models/dependent_show_spec.rb +30 -5
- data/spec/models/drug_coverage_base_spec.rb +1031 -0
- data/spec/models/drug_coverage_response_spec.rb +31 -12
- data/spec/models/drug_coverage_spec.rb +30 -23
- data/spec/models/drug_details_spec.rb +1037 -0
- data/spec/models/drug_package_spec.rb +36 -5
- data/spec/models/drug_search_drug_package_spec.rb +1037 -0
- data/spec/models/{v7_network_spec.rb → drug_search_request_spec.rb} +39 -14
- data/spec/models/drug_search_response_spec.rb +30 -11
- data/spec/models/drug_spec.rb +30 -5
- data/spec/models/embargo_request_spec.rb +30 -5
- data/spec/models/formulary_drug_coverage_spec.rb +1031 -0
- data/spec/models/formulary_drug_package_response_spec.rb +30 -5
- data/spec/models/formulary_response_spec.rb +30 -5
- data/spec/models/formulary_spec.rb +30 -5
- data/spec/models/group_create_request_spec.rb +30 -5
- data/spec/models/group_create_response_spec.rb +30 -5
- data/spec/models/group_create_spec.rb +30 -5
- data/spec/models/group_show_response_spec.rb +30 -5
- data/spec/models/group_show_spec.rb +30 -5
- data/spec/models/group_update_request_spec.rb +30 -5
- data/spec/models/group_update_spec.rb +30 -5
- data/spec/models/issuer_request_spec.rb +30 -5
- data/spec/models/location_create_spec.rb +30 -5
- data/spec/models/location_show_spec.rb +30 -5
- data/spec/models/location_update_spec.rb +30 -5
- data/spec/models/medical_plan_benefits_spec.rb +30 -5
- data/spec/models/medical_plan_update_request_spec.rb +30 -5
- data/spec/models/medical_plan_update_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_benefits_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_search_request_spec.rb +42 -5
- data/spec/models/medicare_advantage_plan_search_response_spec.rb +36 -5
- data/spec/models/medicare_advantage_plan_show_response_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_spec.rb +60 -5
- data/spec/models/medicare_advantage_plan_update_request_spec.rb +1013 -0
- data/spec/models/medicare_advantage_plan_update_spec.rb +1127 -0
- data/spec/models/member_create_spec.rb +30 -5
- data/spec/models/member_rate_show_request_spec.rb +30 -5
- data/spec/models/member_rate_show_spec.rb +30 -5
- data/spec/models/member_rates_show_response_spec.rb +30 -5
- data/spec/models/member_show_spec.rb +30 -5
- data/spec/models/members_create_request_spec.rb +30 -5
- data/spec/models/members_create_response_spec.rb +30 -5
- data/spec/models/members_show_response_spec.rb +30 -5
- data/spec/models/meta_plan_search_response_spec.rb +30 -5
- data/spec/models/meta_spec.rb +30 -5
- data/spec/models/network_comparison_request_spec.rb +30 -5
- data/spec/models/network_comparison_response_spec.rb +30 -5
- data/spec/models/network_comparison_spec.rb +30 -5
- data/spec/models/network_details_response_spec.rb +30 -5
- data/spec/models/network_details_spec.rb +55 -6
- data/spec/models/network_disruption_analysis_request_spec.rb +1019 -0
- data/spec/models/network_disruption_analysis_response_spec.rb +1019 -0
- data/spec/models/network_disruption_analysis_spec.rb +1031 -0
- data/spec/models/network_search_response_spec.rb +30 -5
- data/spec/models/network_search_spec.rb +1049 -0
- data/spec/models/network_size_spec.rb +30 -5
- data/spec/models/network_spec.rb +36 -5
- data/spec/models/notification_subscription_response_spec.rb +30 -5
- data/spec/models/notification_subscription_spec.rb +30 -5
- data/spec/models/plan_county_bulk_spec.rb +30 -5
- data/spec/models/plan_county_spec.rb +30 -5
- data/spec/models/plan_deleted_spec.rb +30 -5
- data/spec/models/plan_identifier_spec.rb +30 -5
- data/spec/models/plan_medicare_bulk_spec.rb +41 -22
- data/spec/models/plan_medicare_spec.rb +40 -21
- data/spec/models/{v7_provider_networks_spec.rb → plan_network_spec.rb} +36 -29
- data/spec/models/plan_pricing_medicare_spec.rb +30 -5
- data/spec/models/plan_search_response_spec.rb +30 -5
- data/spec/models/plan_show_response_spec.rb +30 -5
- data/spec/models/plan_spec.rb +39 -20
- data/spec/models/plans_bulk_aca2018_spec.rb +30 -5
- data/spec/models/plans_bulk_aca_pre2018_spec.rb +30 -5
- data/spec/models/plans_bulk_base_spec.rb +30 -5
- data/spec/models/plans_bulk_dental_spec.rb +30 -5
- data/spec/models/plans_bulk_vision_spec.rb +30 -5
- data/spec/models/provider_details_spec.rb +30 -23
- data/spec/models/provider_geocode_spec.rb +30 -5
- data/spec/models/provider_network_event_notification_spec.rb +30 -5
- data/spec/models/{v7_network_details_spec.rb → provider_network_specialty_spec.rb} +39 -20
- data/spec/models/provider_networks_spec.rb +48 -5
- data/spec/models/provider_plan_response_spec.rb +1037 -0
- data/spec/models/provider_plans_request_spec.rb +1043 -0
- data/spec/models/{v7_network_search_response_spec.rb → provider_plans_spec.rb} +37 -12
- data/spec/models/provider_show_response_spec.rb +30 -5
- data/spec/models/provider_spec.rb +30 -5
- data/spec/models/providers_geocode_response_spec.rb +30 -5
- data/spec/models/providers_search_response_spec.rb +30 -5
- data/spec/models/quote_create_request_spec.rb +30 -5
- data/spec/models/quote_create_response_spec.rb +30 -5
- data/spec/models/quote_create_spec.rb +30 -5
- data/spec/models/quote_show_response_spec.rb +30 -5
- data/spec/models/quote_show_spec.rb +30 -5
- data/spec/models/rate_request_spec.rb +30 -5
- data/spec/models/rate_search_spec.rb +30 -5
- data/spec/models/rate_show_request_spec.rb +30 -5
- data/spec/models/rate_show_spec.rb +30 -5
- data/spec/models/rates_show_response_spec.rb +30 -5
- data/spec/models/rating_area_spec.rb +30 -5
- data/spec/models/request_plan_find_applicant_spec.rb +30 -5
- data/spec/models/request_plan_find_carrier_verification_spec.rb +30 -5
- data/spec/models/request_plan_find_drug_package_spec.rb +30 -5
- data/spec/models/request_plan_find_provider_spec.rb +30 -5
- data/spec/models/request_plan_find_spec.rb +30 -5
- data/spec/models/request_provider_notification_subscription_spec.rb +30 -5
- data/spec/models/request_providers_search_spec.rb +36 -5
- data/spec/models/request_rates_search_spec.rb +30 -5
- data/spec/models/response_rates_search_spec.rb +30 -5
- data/spec/models/rx_cui_identifier_search_response_spec.rb +30 -5
- data/spec/models/rx_cui_identifier_spec.rb +30 -5
- data/spec/models/service_area_spec.rb +30 -5
- data/spec/models/service_area_zip_county_spec.rb +30 -5
- data/spec/models/specialty_search_response_spec.rb +1019 -0
- data/spec/models/specialty_show_spec.rb +1037 -0
- data/spec/models/state_network_size_request_spec.rb +30 -5
- data/spec/models/state_network_size_response_spec.rb +30 -5
- data/spec/models/state_spec.rb +30 -5
- data/spec/models/supplemental_options_spec.rb +30 -5
- data/spec/models/supplemental_options_update_spec.rb +1043 -0
- data/spec/models/v7_network_comparison_response_spec.rb +30 -5
- data/spec/models/{v7_provider_details_spec.rb → v7_response_providers_provider_details_spec.rb} +36 -29
- data/spec/models/vision_plan_benefits_spec.rb +30 -5
- data/spec/models/vision_plan_search_applicant_spec.rb +30 -5
- data/spec/models/vision_plan_search_request_spec.rb +30 -5
- data/spec/models/vision_plan_search_response_spec.rb +30 -5
- data/spec/models/vision_plan_show_response_spec.rb +30 -5
- data/spec/models/vision_plan_spec.rb +30 -5
- data/spec/models/vision_plan_update_request_spec.rb +30 -5
- data/spec/models/vision_plan_update_spec.rb +36 -5
- data/spec/models/zip_code_spec.rb +30 -5
- data/spec/models/zip_counties_response_spec.rb +30 -5
- data/spec/models/zip_county_bulk_spec.rb +30 -5
- data/spec/models/zip_county_response_spec.rb +30 -5
- data/spec/models/zip_county_spec.rb +30 -5
- data/spec/spec_helper.rb +30 -5
- data/vericred_client.gemspec +30 -5
- metadata +226 -166
- data/docs/DrugCoveragesApi.md +0 -69
- data/docs/V7NetworkDetails.md +0 -11
- data/docs/V7NetworkDetailsResponse.md +0 -8
- data/docs/V7ProviderNetworks.md +0 -12
- data/lib/vericred_client/models/v7_network_details_response.rb +0 -1135
- data/spec/models/v7_network_details_response_spec.rb +0 -988
@@ -23,16 +23,18 @@ which we make available for several common programming languages.
|
|
23
23
|
To authenticate, pass the API Key you created in the Developer Portal as
|
24
24
|
a `Vericred-Api-Key` header.
|
25
25
|
|
26
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/
|
26
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
27
27
|
|
28
28
|
## Versioning
|
29
29
|
|
30
30
|
Vericred's API default to the latest version. However, if you need a specific
|
31
31
|
version, you can request it with an `Accept-Version` header.
|
32
32
|
|
33
|
-
The current version is `
|
33
|
+
The current version is `v6`. We support prior versions. Our latest
|
34
|
+
stable version is `v7` and we will indicate in the documentation for an
|
35
|
+
endpoint if it's required.
|
34
36
|
|
35
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version:
|
37
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version: v6' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
36
38
|
|
37
39
|
## Pagination
|
38
40
|
|
@@ -95,14 +97,14 @@ We also want the `name` and `code` from the `states` key, so we would
|
|
95
97
|
add the parameters `select=states.name,states.code`. The id field of
|
96
98
|
each document is always returned whether or not it is requested.
|
97
99
|
|
98
|
-
Our final request would be `GET /providers/
|
100
|
+
Our final request would be `GET /providers/1234567898?select=provider.name,provider.phone,states.name,states.code`
|
99
101
|
|
100
102
|
The response would be
|
101
103
|
|
102
104
|
```
|
103
105
|
{
|
104
106
|
provider: {
|
105
|
-
id:
|
107
|
+
id: 1234567898,
|
106
108
|
name: 'John',
|
107
109
|
phone: '1234567890'
|
108
110
|
},
|
@@ -333,6 +335,16 @@ The following are the supported Benefit Fields for Vision:
|
|
333
335
|
- laser\_vision\_correction
|
334
336
|
- additional\_pairs\_of\_eyeglasses
|
335
337
|
|
338
|
+
### Medicare Advantage
|
339
|
+
|
340
|
+
Medicare Advantage endpoints support MA (Medicare Advantage plans without prescription drug benefits), MAPD (Medicare Advantage plans with prescription drug benefits), and PDP (prescription drug benefits only) plans.
|
341
|
+
|
342
|
+
Medical and hospital benefits - we support over 4000 individual plans through our API nationwide. At this time, we do not support EGHP (employer group health plans).
|
343
|
+
|
344
|
+
Prescription drug benefits - drug benefits are categorized into initial coverage phase, coverage gap phase, and catastrophic phase. Each phase is broken down by drug tiers, pharmacy tiers, and length of supply.
|
345
|
+
|
346
|
+
[Click here](#header-medicare-advantage-quotes) to learn more about quoting Medicare Advantage plans.
|
347
|
+
|
336
348
|
## Rates
|
337
349
|
|
338
350
|
Rates are returned from the API as a part of [Quoting](#header-quoting). We calculate Rates in one of two ways.
|
@@ -614,6 +626,19 @@ Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Vision Qu
|
|
614
626
|
|
615
627
|
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Vision Quotes](#visionquotes).
|
616
628
|
|
629
|
+
### Medicare Advantage quotes
|
630
|
+
|
631
|
+
Given an enrollment date and location, you can search all plans available at this location using [/plans/medadv/search](#medicare-advantage-plans-medicare-advantage-plans-post); you can also search a specific plan using its plan ID with [/plans/medadv/{plan_id}](#medicare-advantage-plans-medicare-advantage-plans-get) if the plan ID is already known. The following example contains the required parameters:
|
632
|
+
```
|
633
|
+
{
|
634
|
+
"zip_code": "02880",
|
635
|
+
"fips_code": "44009",
|
636
|
+
"enrollment_date": "2019-01-01"
|
637
|
+
}
|
638
|
+
```
|
639
|
+
To view the technical documentation, [click here](#medicare-advantage-plans).
|
640
|
+
|
641
|
+
|
617
642
|
## Quotes for Groups
|
618
643
|
A Group Quote finds [Plans](#header-plans) and [Rates](#header-rates) for a group of employees for a small business. Different [Plans](#header-plans) are available to small groups than are available in [Individual Quoting](#individualquotes). In addition, [Business Rules](#header-business-rules) that apply across multiple families or based upon employer attributes such as [SIC](https://en.wikipedia.org/wiki/Standard_Industrial_Classification) code factor into rates and availability.
|
619
644
|
|
@@ -970,21 +995,36 @@ module VericredClient
|
|
970
995
|
# Link to the summary of benefits and coverage (SBC) document.
|
971
996
|
attr_accessor :benefits_summary_url
|
972
997
|
|
998
|
+
# Name of the insurance carrier
|
999
|
+
attr_accessor :carrier_name
|
1000
|
+
|
973
1001
|
# Customer Service member phone number
|
974
1002
|
attr_accessor :customer_service_phone_member
|
975
1003
|
|
976
1004
|
# Customer_service for non-member phone number
|
977
1005
|
attr_accessor :customer_service_phone_non_member
|
978
1006
|
|
979
|
-
# The
|
1007
|
+
# The dental plan identifier
|
980
1008
|
attr_accessor :id
|
981
1009
|
|
982
1010
|
# List of identifiers of this Plan
|
983
1011
|
attr_accessor :identifiers
|
984
1012
|
|
1013
|
+
# List of NPI numbers for Providers passed in who accept this Plan
|
1014
|
+
attr_accessor :in_network_ids
|
1015
|
+
|
1016
|
+
# Link to a copy of the insurance carrier's logo
|
1017
|
+
attr_accessor :logo_url
|
1018
|
+
|
985
1019
|
# The medicare advantage plan name
|
986
1020
|
attr_accessor :name
|
987
1021
|
|
1022
|
+
# List of NPI numbers for Providers passed in who do not accept this Plan
|
1023
|
+
attr_accessor :out_of_network_ids
|
1024
|
+
|
1025
|
+
# Part B premium reduction amount
|
1026
|
+
attr_accessor :part_b_premium_reduction
|
1027
|
+
|
988
1028
|
# The type of medicare advantage plan
|
989
1029
|
attr_accessor :plan_type
|
990
1030
|
|
@@ -1022,11 +1062,16 @@ module VericredClient
|
|
1022
1062
|
:'audience' => :'audience',
|
1023
1063
|
:'benefits' => :'benefits',
|
1024
1064
|
:'benefits_summary_url' => :'benefits_summary_url',
|
1065
|
+
:'carrier_name' => :'carrier_name',
|
1025
1066
|
:'customer_service_phone_member' => :'customer_service_phone_member',
|
1026
1067
|
:'customer_service_phone_non_member' => :'customer_service_phone_non_member',
|
1027
1068
|
:'id' => :'id',
|
1028
1069
|
:'identifiers' => :'identifiers',
|
1070
|
+
:'in_network_ids' => :'in_network_ids',
|
1071
|
+
:'logo_url' => :'logo_url',
|
1029
1072
|
:'name' => :'name',
|
1073
|
+
:'out_of_network_ids' => :'out_of_network_ids',
|
1074
|
+
:'part_b_premium_reduction' => :'part_b_premium_reduction',
|
1030
1075
|
:'plan_type' => :'plan_type',
|
1031
1076
|
:'premium_drug' => :'premium_drug',
|
1032
1077
|
:'premium_health' => :'premium_health',
|
@@ -1046,11 +1091,16 @@ module VericredClient
|
|
1046
1091
|
:'audience' => :'String',
|
1047
1092
|
:'benefits' => :'MedicareAdvantagePlanBenefits',
|
1048
1093
|
:'benefits_summary_url' => :'String',
|
1094
|
+
:'carrier_name' => :'String',
|
1049
1095
|
:'customer_service_phone_member' => :'String',
|
1050
1096
|
:'customer_service_phone_non_member' => :'String',
|
1051
1097
|
:'id' => :'String',
|
1052
1098
|
:'identifiers' => :'Array<PlanIdentifier>',
|
1099
|
+
:'in_network_ids' => :'Array<Integer>',
|
1100
|
+
:'logo_url' => :'String',
|
1053
1101
|
:'name' => :'String',
|
1102
|
+
:'out_of_network_ids' => :'Array<Integer>',
|
1103
|
+
:'part_b_premium_reduction' => :'Float',
|
1054
1104
|
:'plan_type' => :'String',
|
1055
1105
|
:'premium_drug' => :'Float',
|
1056
1106
|
:'premium_health' => :'Float',
|
@@ -1084,6 +1134,10 @@ module VericredClient
|
|
1084
1134
|
self.benefits_summary_url = attributes[:'benefits_summary_url']
|
1085
1135
|
end
|
1086
1136
|
|
1137
|
+
if attributes.has_key?(:'carrier_name')
|
1138
|
+
self.carrier_name = attributes[:'carrier_name']
|
1139
|
+
end
|
1140
|
+
|
1087
1141
|
if attributes.has_key?(:'customer_service_phone_member')
|
1088
1142
|
self.customer_service_phone_member = attributes[:'customer_service_phone_member']
|
1089
1143
|
end
|
@@ -1102,10 +1156,30 @@ module VericredClient
|
|
1102
1156
|
end
|
1103
1157
|
end
|
1104
1158
|
|
1159
|
+
if attributes.has_key?(:'in_network_ids')
|
1160
|
+
if (value = attributes[:'in_network_ids']).is_a?(Array)
|
1161
|
+
self.in_network_ids = value
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
if attributes.has_key?(:'logo_url')
|
1166
|
+
self.logo_url = attributes[:'logo_url']
|
1167
|
+
end
|
1168
|
+
|
1105
1169
|
if attributes.has_key?(:'name')
|
1106
1170
|
self.name = attributes[:'name']
|
1107
1171
|
end
|
1108
1172
|
|
1173
|
+
if attributes.has_key?(:'out_of_network_ids')
|
1174
|
+
if (value = attributes[:'out_of_network_ids']).is_a?(Array)
|
1175
|
+
self.out_of_network_ids = value
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
if attributes.has_key?(:'part_b_premium_reduction')
|
1180
|
+
self.part_b_premium_reduction = attributes[:'part_b_premium_reduction']
|
1181
|
+
end
|
1182
|
+
|
1109
1183
|
if attributes.has_key?(:'plan_type')
|
1110
1184
|
self.plan_type = attributes[:'plan_type']
|
1111
1185
|
end
|
@@ -1171,11 +1245,16 @@ module VericredClient
|
|
1171
1245
|
audience == o.audience &&
|
1172
1246
|
benefits == o.benefits &&
|
1173
1247
|
benefits_summary_url == o.benefits_summary_url &&
|
1248
|
+
carrier_name == o.carrier_name &&
|
1174
1249
|
customer_service_phone_member == o.customer_service_phone_member &&
|
1175
1250
|
customer_service_phone_non_member == o.customer_service_phone_non_member &&
|
1176
1251
|
id == o.id &&
|
1177
1252
|
identifiers == o.identifiers &&
|
1253
|
+
in_network_ids == o.in_network_ids &&
|
1254
|
+
logo_url == o.logo_url &&
|
1178
1255
|
name == o.name &&
|
1256
|
+
out_of_network_ids == o.out_of_network_ids &&
|
1257
|
+
part_b_premium_reduction == o.part_b_premium_reduction &&
|
1179
1258
|
plan_type == o.plan_type &&
|
1180
1259
|
premium_drug == o.premium_drug &&
|
1181
1260
|
premium_health == o.premium_health &&
|
@@ -1197,7 +1276,7 @@ module VericredClient
|
|
1197
1276
|
# Calculates hash code according to all attributes.
|
1198
1277
|
# @return [Fixnum] Hash code
|
1199
1278
|
def hash
|
1200
|
-
[audience, benefits, benefits_summary_url, customer_service_phone_member, customer_service_phone_non_member, id, identifiers, name, plan_type, premium_drug, premium_health, source, stand_alone_part_d, star_rating_drug_plan, star_rating_health_plan, star_rating_overall, supplemental_options, year].hash
|
1279
|
+
[audience, benefits, benefits_summary_url, carrier_name, customer_service_phone_member, customer_service_phone_non_member, id, identifiers, in_network_ids, logo_url, name, out_of_network_ids, part_b_premium_reduction, plan_type, premium_drug, premium_health, source, stand_alone_part_d, star_rating_drug_plan, star_rating_health_plan, star_rating_overall, supplemental_options, year].hash
|
1201
1280
|
end
|
1202
1281
|
|
1203
1282
|
# Builds the object from hash
|
@@ -23,16 +23,18 @@ which we make available for several common programming languages.
|
|
23
23
|
To authenticate, pass the API Key you created in the Developer Portal as
|
24
24
|
a `Vericred-Api-Key` header.
|
25
25
|
|
26
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/
|
26
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
27
27
|
|
28
28
|
## Versioning
|
29
29
|
|
30
30
|
Vericred's API default to the latest version. However, if you need a specific
|
31
31
|
version, you can request it with an `Accept-Version` header.
|
32
32
|
|
33
|
-
The current version is `
|
33
|
+
The current version is `v6`. We support prior versions. Our latest
|
34
|
+
stable version is `v7` and we will indicate in the documentation for an
|
35
|
+
endpoint if it's required.
|
34
36
|
|
35
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version:
|
37
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version: v6' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
36
38
|
|
37
39
|
## Pagination
|
38
40
|
|
@@ -95,14 +97,14 @@ We also want the `name` and `code` from the `states` key, so we would
|
|
95
97
|
add the parameters `select=states.name,states.code`. The id field of
|
96
98
|
each document is always returned whether or not it is requested.
|
97
99
|
|
98
|
-
Our final request would be `GET /providers/
|
100
|
+
Our final request would be `GET /providers/1234567898?select=provider.name,provider.phone,states.name,states.code`
|
99
101
|
|
100
102
|
The response would be
|
101
103
|
|
102
104
|
```
|
103
105
|
{
|
104
106
|
provider: {
|
105
|
-
id:
|
107
|
+
id: 1234567898,
|
106
108
|
name: 'John',
|
107
109
|
phone: '1234567890'
|
108
110
|
},
|
@@ -333,6 +335,16 @@ The following are the supported Benefit Fields for Vision:
|
|
333
335
|
- laser\_vision\_correction
|
334
336
|
- additional\_pairs\_of\_eyeglasses
|
335
337
|
|
338
|
+
### Medicare Advantage
|
339
|
+
|
340
|
+
Medicare Advantage endpoints support MA (Medicare Advantage plans without prescription drug benefits), MAPD (Medicare Advantage plans with prescription drug benefits), and PDP (prescription drug benefits only) plans.
|
341
|
+
|
342
|
+
Medical and hospital benefits - we support over 4000 individual plans through our API nationwide. At this time, we do not support EGHP (employer group health plans).
|
343
|
+
|
344
|
+
Prescription drug benefits - drug benefits are categorized into initial coverage phase, coverage gap phase, and catastrophic phase. Each phase is broken down by drug tiers, pharmacy tiers, and length of supply.
|
345
|
+
|
346
|
+
[Click here](#header-medicare-advantage-quotes) to learn more about quoting Medicare Advantage plans.
|
347
|
+
|
336
348
|
## Rates
|
337
349
|
|
338
350
|
Rates are returned from the API as a part of [Quoting](#header-quoting). We calculate Rates in one of two ways.
|
@@ -614,6 +626,19 @@ Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Vision Qu
|
|
614
626
|
|
615
627
|
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Vision Quotes](#visionquotes).
|
616
628
|
|
629
|
+
### Medicare Advantage quotes
|
630
|
+
|
631
|
+
Given an enrollment date and location, you can search all plans available at this location using [/plans/medadv/search](#medicare-advantage-plans-medicare-advantage-plans-post); you can also search a specific plan using its plan ID with [/plans/medadv/{plan_id}](#medicare-advantage-plans-medicare-advantage-plans-get) if the plan ID is already known. The following example contains the required parameters:
|
632
|
+
```
|
633
|
+
{
|
634
|
+
"zip_code": "02880",
|
635
|
+
"fips_code": "44009",
|
636
|
+
"enrollment_date": "2019-01-01"
|
637
|
+
}
|
638
|
+
```
|
639
|
+
To view the technical documentation, [click here](#medicare-advantage-plans).
|
640
|
+
|
641
|
+
|
617
642
|
## Quotes for Groups
|
618
643
|
A Group Quote finds [Plans](#header-plans) and [Rates](#header-rates) for a group of employees for a small business. Different [Plans](#header-plans) are available to small groups than are available in [Individual Quoting](#individualquotes). In addition, [Business Rules](#header-business-rules) that apply across multiple families or based upon employer attributes such as [SIC](https://en.wikipedia.org/wiki/Standard_Industrial_Classification) code factor into rates and availability.
|
619
644
|
|
@@ -23,16 +23,18 @@ which we make available for several common programming languages.
|
|
23
23
|
To authenticate, pass the API Key you created in the Developer Portal as
|
24
24
|
a `Vericred-Api-Key` header.
|
25
25
|
|
26
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/
|
26
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
27
27
|
|
28
28
|
## Versioning
|
29
29
|
|
30
30
|
Vericred's API default to the latest version. However, if you need a specific
|
31
31
|
version, you can request it with an `Accept-Version` header.
|
32
32
|
|
33
|
-
The current version is `
|
33
|
+
The current version is `v6`. We support prior versions. Our latest
|
34
|
+
stable version is `v7` and we will indicate in the documentation for an
|
35
|
+
endpoint if it's required.
|
34
36
|
|
35
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version:
|
37
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version: v6' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
36
38
|
|
37
39
|
## Pagination
|
38
40
|
|
@@ -95,14 +97,14 @@ We also want the `name` and `code` from the `states` key, so we would
|
|
95
97
|
add the parameters `select=states.name,states.code`. The id field of
|
96
98
|
each document is always returned whether or not it is requested.
|
97
99
|
|
98
|
-
Our final request would be `GET /providers/
|
100
|
+
Our final request would be `GET /providers/1234567898?select=provider.name,provider.phone,states.name,states.code`
|
99
101
|
|
100
102
|
The response would be
|
101
103
|
|
102
104
|
```
|
103
105
|
{
|
104
106
|
provider: {
|
105
|
-
id:
|
107
|
+
id: 1234567898,
|
106
108
|
name: 'John',
|
107
109
|
phone: '1234567890'
|
108
110
|
},
|
@@ -333,6 +335,16 @@ The following are the supported Benefit Fields for Vision:
|
|
333
335
|
- laser\_vision\_correction
|
334
336
|
- additional\_pairs\_of\_eyeglasses
|
335
337
|
|
338
|
+
### Medicare Advantage
|
339
|
+
|
340
|
+
Medicare Advantage endpoints support MA (Medicare Advantage plans without prescription drug benefits), MAPD (Medicare Advantage plans with prescription drug benefits), and PDP (prescription drug benefits only) plans.
|
341
|
+
|
342
|
+
Medical and hospital benefits - we support over 4000 individual plans through our API nationwide. At this time, we do not support EGHP (employer group health plans).
|
343
|
+
|
344
|
+
Prescription drug benefits - drug benefits are categorized into initial coverage phase, coverage gap phase, and catastrophic phase. Each phase is broken down by drug tiers, pharmacy tiers, and length of supply.
|
345
|
+
|
346
|
+
[Click here](#header-medicare-advantage-quotes) to learn more about quoting Medicare Advantage plans.
|
347
|
+
|
336
348
|
## Rates
|
337
349
|
|
338
350
|
Rates are returned from the API as a part of [Quoting](#header-quoting). We calculate Rates in one of two ways.
|
@@ -614,6 +626,19 @@ Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Vision Qu
|
|
614
626
|
|
615
627
|
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Vision Quotes](#visionquotes).
|
616
628
|
|
629
|
+
### Medicare Advantage quotes
|
630
|
+
|
631
|
+
Given an enrollment date and location, you can search all plans available at this location using [/plans/medadv/search](#medicare-advantage-plans-medicare-advantage-plans-post); you can also search a specific plan using its plan ID with [/plans/medadv/{plan_id}](#medicare-advantage-plans-medicare-advantage-plans-get) if the plan ID is already known. The following example contains the required parameters:
|
632
|
+
```
|
633
|
+
{
|
634
|
+
"zip_code": "02880",
|
635
|
+
"fips_code": "44009",
|
636
|
+
"enrollment_date": "2019-01-01"
|
637
|
+
}
|
638
|
+
```
|
639
|
+
To view the technical documentation, [click here](#medicare-advantage-plans).
|
640
|
+
|
641
|
+
|
617
642
|
## Quotes for Groups
|
618
643
|
A Group Quote finds [Plans](#header-plans) and [Rates](#header-rates) for a group of employees for a small business. Different [Plans](#header-plans) are available to small groups than are available in [Individual Quoting](#individualquotes). In addition, [Business Rules](#header-business-rules) that apply across multiple families or based upon employer attributes such as [SIC](https://en.wikipedia.org/wiki/Standard_Industrial_Classification) code factor into rates and availability.
|
619
644
|
|
@@ -961,10 +986,13 @@ require 'date'
|
|
961
986
|
module VericredClient
|
962
987
|
|
963
988
|
class MedicareAdvantagePlanSearchRequest
|
989
|
+
# National Drug Code Package Id
|
990
|
+
attr_accessor :drug_packages
|
991
|
+
|
964
992
|
# Date of enrollment
|
965
993
|
attr_accessor :enrollment_date
|
966
994
|
|
967
|
-
# County code
|
995
|
+
# County code for the geographic area of the search
|
968
996
|
attr_accessor :fips_code
|
969
997
|
|
970
998
|
# Selected page of paginated response.
|
@@ -973,17 +1001,22 @@ module VericredClient
|
|
973
1001
|
# Results per page of response.
|
974
1002
|
attr_accessor :per_page
|
975
1003
|
|
976
|
-
#
|
1004
|
+
# List of providers to search for.
|
1005
|
+
attr_accessor :providers
|
1006
|
+
|
1007
|
+
# Zip code for the geographic area of the search
|
977
1008
|
attr_accessor :zip_code
|
978
1009
|
|
979
1010
|
|
980
1011
|
# Attribute mapping from ruby-style variable name to JSON key.
|
981
1012
|
def self.attribute_map
|
982
1013
|
{
|
1014
|
+
:'drug_packages' => :'drug_packages',
|
983
1015
|
:'enrollment_date' => :'enrollment_date',
|
984
1016
|
:'fips_code' => :'fips_code',
|
985
1017
|
:'page' => :'page',
|
986
1018
|
:'per_page' => :'per_page',
|
1019
|
+
:'providers' => :'providers',
|
987
1020
|
:'zip_code' => :'zip_code'
|
988
1021
|
}
|
989
1022
|
end
|
@@ -991,10 +1024,12 @@ module VericredClient
|
|
991
1024
|
# Attribute type mapping.
|
992
1025
|
def self.swagger_types
|
993
1026
|
{
|
1027
|
+
:'drug_packages' => :'Array<RequestPlanFindDrugPackage>',
|
994
1028
|
:'enrollment_date' => :'Date',
|
995
1029
|
:'fips_code' => :'String',
|
996
1030
|
:'page' => :'Integer',
|
997
1031
|
:'per_page' => :'Integer',
|
1032
|
+
:'providers' => :'Array<RequestPlanFindProvider>',
|
998
1033
|
:'zip_code' => :'String'
|
999
1034
|
}
|
1000
1035
|
end
|
@@ -1007,6 +1042,12 @@ module VericredClient
|
|
1007
1042
|
# convert string to symbol for hash key
|
1008
1043
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
1009
1044
|
|
1045
|
+
if attributes.has_key?(:'drug_packages')
|
1046
|
+
if (value = attributes[:'drug_packages']).is_a?(Array)
|
1047
|
+
self.drug_packages = value
|
1048
|
+
end
|
1049
|
+
end
|
1050
|
+
|
1010
1051
|
if attributes.has_key?(:'enrollment_date')
|
1011
1052
|
self.enrollment_date = attributes[:'enrollment_date']
|
1012
1053
|
end
|
@@ -1023,6 +1064,12 @@ module VericredClient
|
|
1023
1064
|
self.per_page = attributes[:'per_page']
|
1024
1065
|
end
|
1025
1066
|
|
1067
|
+
if attributes.has_key?(:'providers')
|
1068
|
+
if (value = attributes[:'providers']).is_a?(Array)
|
1069
|
+
self.providers = value
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1026
1073
|
if attributes.has_key?(:'zip_code')
|
1027
1074
|
self.zip_code = attributes[:'zip_code']
|
1028
1075
|
end
|
@@ -1047,10 +1094,12 @@ module VericredClient
|
|
1047
1094
|
def ==(o)
|
1048
1095
|
return true if self.equal?(o)
|
1049
1096
|
self.class == o.class &&
|
1097
|
+
drug_packages == o.drug_packages &&
|
1050
1098
|
enrollment_date == o.enrollment_date &&
|
1051
1099
|
fips_code == o.fips_code &&
|
1052
1100
|
page == o.page &&
|
1053
1101
|
per_page == o.per_page &&
|
1102
|
+
providers == o.providers &&
|
1054
1103
|
zip_code == o.zip_code
|
1055
1104
|
end
|
1056
1105
|
|
@@ -1063,7 +1112,7 @@ module VericredClient
|
|
1063
1112
|
# Calculates hash code according to all attributes.
|
1064
1113
|
# @return [Fixnum] Hash code
|
1065
1114
|
def hash
|
1066
|
-
[enrollment_date, fips_code, page, per_page, zip_code].hash
|
1115
|
+
[drug_packages, enrollment_date, fips_code, page, per_page, providers, zip_code].hash
|
1067
1116
|
end
|
1068
1117
|
|
1069
1118
|
# Builds the object from hash
|
@@ -23,16 +23,18 @@ which we make available for several common programming languages.
|
|
23
23
|
To authenticate, pass the API Key you created in the Developer Portal as
|
24
24
|
a `Vericred-Api-Key` header.
|
25
25
|
|
26
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/
|
26
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
27
27
|
|
28
28
|
## Versioning
|
29
29
|
|
30
30
|
Vericred's API default to the latest version. However, if you need a specific
|
31
31
|
version, you can request it with an `Accept-Version` header.
|
32
32
|
|
33
|
-
The current version is `
|
33
|
+
The current version is `v6`. We support prior versions. Our latest
|
34
|
+
stable version is `v7` and we will indicate in the documentation for an
|
35
|
+
endpoint if it's required.
|
34
36
|
|
35
|
-
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version:
|
37
|
+
`curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version: v6' "https://api.vericred.com/drugs?search_term=Lipitor"`
|
36
38
|
|
37
39
|
## Pagination
|
38
40
|
|
@@ -95,14 +97,14 @@ We also want the `name` and `code` from the `states` key, so we would
|
|
95
97
|
add the parameters `select=states.name,states.code`. The id field of
|
96
98
|
each document is always returned whether or not it is requested.
|
97
99
|
|
98
|
-
Our final request would be `GET /providers/
|
100
|
+
Our final request would be `GET /providers/1234567898?select=provider.name,provider.phone,states.name,states.code`
|
99
101
|
|
100
102
|
The response would be
|
101
103
|
|
102
104
|
```
|
103
105
|
{
|
104
106
|
provider: {
|
105
|
-
id:
|
107
|
+
id: 1234567898,
|
106
108
|
name: 'John',
|
107
109
|
phone: '1234567890'
|
108
110
|
},
|
@@ -333,6 +335,16 @@ The following are the supported Benefit Fields for Vision:
|
|
333
335
|
- laser\_vision\_correction
|
334
336
|
- additional\_pairs\_of\_eyeglasses
|
335
337
|
|
338
|
+
### Medicare Advantage
|
339
|
+
|
340
|
+
Medicare Advantage endpoints support MA (Medicare Advantage plans without prescription drug benefits), MAPD (Medicare Advantage plans with prescription drug benefits), and PDP (prescription drug benefits only) plans.
|
341
|
+
|
342
|
+
Medical and hospital benefits - we support over 4000 individual plans through our API nationwide. At this time, we do not support EGHP (employer group health plans).
|
343
|
+
|
344
|
+
Prescription drug benefits - drug benefits are categorized into initial coverage phase, coverage gap phase, and catastrophic phase. Each phase is broken down by drug tiers, pharmacy tiers, and length of supply.
|
345
|
+
|
346
|
+
[Click here](#header-medicare-advantage-quotes) to learn more about quoting Medicare Advantage plans.
|
347
|
+
|
336
348
|
## Rates
|
337
349
|
|
338
350
|
Rates are returned from the API as a part of [Quoting](#header-quoting). We calculate Rates in one of two ways.
|
@@ -614,6 +626,19 @@ Note that in contrast to [Major Medical Quotes](#majormedicalquotes), [Vision Qu
|
|
614
626
|
|
615
627
|
Also note that [Subsidies](#subsidies) and [Cost Sharing Reduction](#costsharingreductionplans) are *not* relevant for [Vision Quotes](#visionquotes).
|
616
628
|
|
629
|
+
### Medicare Advantage quotes
|
630
|
+
|
631
|
+
Given an enrollment date and location, you can search all plans available at this location using [/plans/medadv/search](#medicare-advantage-plans-medicare-advantage-plans-post); you can also search a specific plan using its plan ID with [/plans/medadv/{plan_id}](#medicare-advantage-plans-medicare-advantage-plans-get) if the plan ID is already known. The following example contains the required parameters:
|
632
|
+
```
|
633
|
+
{
|
634
|
+
"zip_code": "02880",
|
635
|
+
"fips_code": "44009",
|
636
|
+
"enrollment_date": "2019-01-01"
|
637
|
+
}
|
638
|
+
```
|
639
|
+
To view the technical documentation, [click here](#medicare-advantage-plans).
|
640
|
+
|
641
|
+
|
617
642
|
## Quotes for Groups
|
618
643
|
A Group Quote finds [Plans](#header-plans) and [Rates](#header-rates) for a group of employees for a small business. Different [Plans](#header-plans) are available to small groups than are available in [Individual Quoting](#individualquotes). In addition, [Business Rules](#header-business-rules) that apply across multiple families or based upon employer attributes such as [SIC](https://en.wikipedia.org/wiki/Standard_Industrial_Classification) code factor into rates and availability.
|
619
644
|
|
@@ -961,16 +986,20 @@ require 'date'
|
|
961
986
|
module VericredClient
|
962
987
|
|
963
988
|
class MedicareAdvantagePlanSearchResponse
|
989
|
+
# Coverages associated with the plan.
|
990
|
+
attr_accessor :coverages
|
991
|
+
|
964
992
|
# Meta-data
|
965
993
|
attr_accessor :meta
|
966
994
|
|
967
|
-
#
|
995
|
+
# Medicare Advantage plan search results
|
968
996
|
attr_accessor :plans
|
969
997
|
|
970
998
|
|
971
999
|
# Attribute mapping from ruby-style variable name to JSON key.
|
972
1000
|
def self.attribute_map
|
973
1001
|
{
|
1002
|
+
:'coverages' => :'coverages',
|
974
1003
|
:'meta' => :'meta',
|
975
1004
|
:'plans' => :'plans'
|
976
1005
|
}
|
@@ -979,8 +1008,9 @@ module VericredClient
|
|
979
1008
|
# Attribute type mapping.
|
980
1009
|
def self.swagger_types
|
981
1010
|
{
|
1011
|
+
:'coverages' => :'Array<DrugCoverage>',
|
982
1012
|
:'meta' => :'Meta',
|
983
|
-
:'plans' => :'Array<
|
1013
|
+
:'plans' => :'Array<MedicareAdvantagePlan>'
|
984
1014
|
}
|
985
1015
|
end
|
986
1016
|
|
@@ -992,6 +1022,12 @@ module VericredClient
|
|
992
1022
|
# convert string to symbol for hash key
|
993
1023
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
994
1024
|
|
1025
|
+
if attributes.has_key?(:'coverages')
|
1026
|
+
if (value = attributes[:'coverages']).is_a?(Array)
|
1027
|
+
self.coverages = value
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
|
995
1031
|
if attributes.has_key?(:'meta')
|
996
1032
|
self.meta = attributes[:'meta']
|
997
1033
|
end
|
@@ -1022,6 +1058,7 @@ module VericredClient
|
|
1022
1058
|
def ==(o)
|
1023
1059
|
return true if self.equal?(o)
|
1024
1060
|
self.class == o.class &&
|
1061
|
+
coverages == o.coverages &&
|
1025
1062
|
meta == o.meta &&
|
1026
1063
|
plans == o.plans
|
1027
1064
|
end
|
@@ -1035,7 +1072,7 @@ module VericredClient
|
|
1035
1072
|
# Calculates hash code according to all attributes.
|
1036
1073
|
# @return [Fixnum] Hash code
|
1037
1074
|
def hash
|
1038
|
-
[meta, plans].hash
|
1075
|
+
[coverages, meta, plans].hash
|
1039
1076
|
end
|
1040
1077
|
|
1041
1078
|
# Builds the object from hash
|