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
|
|
@@ -961,18 +986,6 @@ require 'date'
|
|
961
986
|
module VericredClient
|
962
987
|
|
963
988
|
class PlanMedicareBulk
|
964
|
-
# Name of the insurance carrier
|
965
|
-
attr_accessor :carrier_name
|
966
|
-
|
967
|
-
# Alternate name for the Plan
|
968
|
-
attr_accessor :display_name
|
969
|
-
|
970
|
-
# Effective date of coverage.
|
971
|
-
attr_accessor :effective_date
|
972
|
-
|
973
|
-
# Expiration date of coverage.
|
974
|
-
attr_accessor :expiration_date
|
975
|
-
|
976
989
|
# Name of the Plan's Formulary
|
977
990
|
attr_accessor :formulary_name
|
978
991
|
|
@@ -982,20 +995,29 @@ module VericredClient
|
|
982
995
|
# List of identifiers of this Plan
|
983
996
|
attr_accessor :identifiers
|
984
997
|
|
998
|
+
# List of NPI numbers for Providers passed in who accept this Plan
|
999
|
+
attr_accessor :in_network_ids
|
1000
|
+
|
985
1001
|
# Marketing name of the plan
|
986
1002
|
attr_accessor :name
|
987
1003
|
|
988
|
-
# List of Vericred-generated network_ids
|
989
|
-
attr_accessor :network_ids
|
990
|
-
|
991
1004
|
# Total number of Providers in network
|
992
1005
|
attr_accessor :network_size
|
993
1006
|
|
1007
|
+
# List of networks associated with the plan
|
1008
|
+
attr_accessor :networks
|
1009
|
+
|
1010
|
+
# List of NPI numbers for Providers passed in who do not accept this Plan
|
1011
|
+
attr_accessor :out_of_network_ids
|
1012
|
+
|
994
1013
|
# Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity, PACE, Medicare-Medicaid, HMO w/POS, Cost, FFS, MSA)
|
995
1014
|
attr_accessor :plan_type
|
996
1015
|
|
997
|
-
#
|
998
|
-
attr_accessor :
|
1016
|
+
# Cumulative premium amount
|
1017
|
+
attr_accessor :premium
|
1018
|
+
|
1019
|
+
# Source of the base pricing data
|
1020
|
+
attr_accessor :premium_source
|
999
1021
|
|
1000
1022
|
# Source of the plan benefit data
|
1001
1023
|
attr_accessor :source
|
@@ -1007,18 +1029,17 @@ module VericredClient
|
|
1007
1029
|
# Attribute mapping from ruby-style variable name to JSON key.
|
1008
1030
|
def self.attribute_map
|
1009
1031
|
{
|
1010
|
-
:'carrier_name' => :'carrier_name',
|
1011
|
-
:'display_name' => :'display_name',
|
1012
|
-
:'effective_date' => :'effective_date',
|
1013
|
-
:'expiration_date' => :'expiration_date',
|
1014
1032
|
:'formulary_name' => :'formulary_name',
|
1015
1033
|
:'id' => :'id',
|
1016
1034
|
:'identifiers' => :'identifiers',
|
1035
|
+
:'in_network_ids' => :'in_network_ids',
|
1017
1036
|
:'name' => :'name',
|
1018
|
-
:'network_ids' => :'network_ids',
|
1019
1037
|
:'network_size' => :'network_size',
|
1038
|
+
:'networks' => :'networks',
|
1039
|
+
:'out_of_network_ids' => :'out_of_network_ids',
|
1020
1040
|
:'plan_type' => :'plan_type',
|
1021
|
-
:'
|
1041
|
+
:'premium' => :'premium',
|
1042
|
+
:'premium_source' => :'premium_source',
|
1022
1043
|
:'source' => :'source',
|
1023
1044
|
:'updated_at' => :'updated_at'
|
1024
1045
|
}
|
@@ -1027,18 +1048,17 @@ module VericredClient
|
|
1027
1048
|
# Attribute type mapping.
|
1028
1049
|
def self.swagger_types
|
1029
1050
|
{
|
1030
|
-
:'carrier_name' => :'String',
|
1031
|
-
:'display_name' => :'String',
|
1032
|
-
:'effective_date' => :'String',
|
1033
|
-
:'expiration_date' => :'String',
|
1034
1051
|
:'formulary_name' => :'String',
|
1035
1052
|
:'id' => :'String',
|
1036
1053
|
:'identifiers' => :'Array<PlanIdentifier>',
|
1054
|
+
:'in_network_ids' => :'Array<Integer>',
|
1037
1055
|
:'name' => :'String',
|
1038
|
-
:'network_ids' => :'Array<Integer>',
|
1039
1056
|
:'network_size' => :'Integer',
|
1057
|
+
:'networks' => :'Array<PlanNetwork>',
|
1058
|
+
:'out_of_network_ids' => :'Array<Integer>',
|
1040
1059
|
:'plan_type' => :'String',
|
1041
|
-
:'
|
1060
|
+
:'premium' => :'Float',
|
1061
|
+
:'premium_source' => :'String',
|
1042
1062
|
:'source' => :'String',
|
1043
1063
|
:'updated_at' => :'String'
|
1044
1064
|
}
|
@@ -1052,22 +1072,6 @@ module VericredClient
|
|
1052
1072
|
# convert string to symbol for hash key
|
1053
1073
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
1054
1074
|
|
1055
|
-
if attributes.has_key?(:'carrier_name')
|
1056
|
-
self.carrier_name = attributes[:'carrier_name']
|
1057
|
-
end
|
1058
|
-
|
1059
|
-
if attributes.has_key?(:'display_name')
|
1060
|
-
self.display_name = attributes[:'display_name']
|
1061
|
-
end
|
1062
|
-
|
1063
|
-
if attributes.has_key?(:'effective_date')
|
1064
|
-
self.effective_date = attributes[:'effective_date']
|
1065
|
-
end
|
1066
|
-
|
1067
|
-
if attributes.has_key?(:'expiration_date')
|
1068
|
-
self.expiration_date = attributes[:'expiration_date']
|
1069
|
-
end
|
1070
|
-
|
1071
1075
|
if attributes.has_key?(:'formulary_name')
|
1072
1076
|
self.formulary_name = attributes[:'formulary_name']
|
1073
1077
|
end
|
@@ -1082,26 +1086,42 @@ module VericredClient
|
|
1082
1086
|
end
|
1083
1087
|
end
|
1084
1088
|
|
1089
|
+
if attributes.has_key?(:'in_network_ids')
|
1090
|
+
if (value = attributes[:'in_network_ids']).is_a?(Array)
|
1091
|
+
self.in_network_ids = value
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
|
1085
1095
|
if attributes.has_key?(:'name')
|
1086
1096
|
self.name = attributes[:'name']
|
1087
1097
|
end
|
1088
1098
|
|
1089
|
-
if attributes.has_key?(:'
|
1090
|
-
|
1091
|
-
|
1099
|
+
if attributes.has_key?(:'network_size')
|
1100
|
+
self.network_size = attributes[:'network_size']
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
if attributes.has_key?(:'networks')
|
1104
|
+
if (value = attributes[:'networks']).is_a?(Array)
|
1105
|
+
self.networks = value
|
1092
1106
|
end
|
1093
1107
|
end
|
1094
1108
|
|
1095
|
-
if attributes.has_key?(:'
|
1096
|
-
|
1109
|
+
if attributes.has_key?(:'out_of_network_ids')
|
1110
|
+
if (value = attributes[:'out_of_network_ids']).is_a?(Array)
|
1111
|
+
self.out_of_network_ids = value
|
1112
|
+
end
|
1097
1113
|
end
|
1098
1114
|
|
1099
1115
|
if attributes.has_key?(:'plan_type')
|
1100
1116
|
self.plan_type = attributes[:'plan_type']
|
1101
1117
|
end
|
1102
1118
|
|
1103
|
-
if attributes.has_key?(:'
|
1104
|
-
self.
|
1119
|
+
if attributes.has_key?(:'premium')
|
1120
|
+
self.premium = attributes[:'premium']
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
if attributes.has_key?(:'premium_source')
|
1124
|
+
self.premium_source = attributes[:'premium_source']
|
1105
1125
|
end
|
1106
1126
|
|
1107
1127
|
if attributes.has_key?(:'source')
|
@@ -1132,18 +1152,17 @@ module VericredClient
|
|
1132
1152
|
def ==(o)
|
1133
1153
|
return true if self.equal?(o)
|
1134
1154
|
self.class == o.class &&
|
1135
|
-
carrier_name == o.carrier_name &&
|
1136
|
-
display_name == o.display_name &&
|
1137
|
-
effective_date == o.effective_date &&
|
1138
|
-
expiration_date == o.expiration_date &&
|
1139
1155
|
formulary_name == o.formulary_name &&
|
1140
1156
|
id == o.id &&
|
1141
1157
|
identifiers == o.identifiers &&
|
1158
|
+
in_network_ids == o.in_network_ids &&
|
1142
1159
|
name == o.name &&
|
1143
|
-
network_ids == o.network_ids &&
|
1144
1160
|
network_size == o.network_size &&
|
1161
|
+
networks == o.networks &&
|
1162
|
+
out_of_network_ids == o.out_of_network_ids &&
|
1145
1163
|
plan_type == o.plan_type &&
|
1146
|
-
|
1164
|
+
premium == o.premium &&
|
1165
|
+
premium_source == o.premium_source &&
|
1147
1166
|
source == o.source &&
|
1148
1167
|
updated_at == o.updated_at
|
1149
1168
|
end
|
@@ -1157,7 +1176,7 @@ module VericredClient
|
|
1157
1176
|
# Calculates hash code according to all attributes.
|
1158
1177
|
# @return [Fixnum] Hash code
|
1159
1178
|
def hash
|
1160
|
-
[
|
1179
|
+
[formulary_name, id, identifiers, in_network_ids, name, network_size, networks, out_of_network_ids, plan_type, premium, premium_source, source, updated_at].hash
|
1161
1180
|
end
|
1162
1181
|
|
1163
1182
|
# 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
|
|
@@ -960,13 +985,7 @@ require 'date'
|
|
960
985
|
|
961
986
|
module VericredClient
|
962
987
|
|
963
|
-
class
|
964
|
-
# Name of the Network Carrier
|
965
|
-
attr_accessor :carrier_name
|
966
|
-
|
967
|
-
# List of Carrier HIOS Issuer IDs and Medicare Contract Issuer IDs
|
968
|
-
attr_accessor :hios_issuer_ids
|
969
|
-
|
988
|
+
class PlanNetwork
|
970
989
|
# Primary key
|
971
990
|
attr_accessor :id
|
972
991
|
|
@@ -977,8 +996,6 @@ module VericredClient
|
|
977
996
|
# Attribute mapping from ruby-style variable name to JSON key.
|
978
997
|
def self.attribute_map
|
979
998
|
{
|
980
|
-
:'carrier_name' => :'carrier_name',
|
981
|
-
:'hios_issuer_ids' => :'hios_issuer_ids',
|
982
999
|
:'id' => :'id',
|
983
1000
|
:'name' => :'name'
|
984
1001
|
}
|
@@ -987,8 +1004,6 @@ module VericredClient
|
|
987
1004
|
# Attribute type mapping.
|
988
1005
|
def self.swagger_types
|
989
1006
|
{
|
990
|
-
:'carrier_name' => :'String',
|
991
|
-
:'hios_issuer_ids' => :'Array<String>',
|
992
1007
|
:'id' => :'Integer',
|
993
1008
|
:'name' => :'String'
|
994
1009
|
}
|
@@ -1002,16 +1017,6 @@ module VericredClient
|
|
1002
1017
|
# convert string to symbol for hash key
|
1003
1018
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
1004
1019
|
|
1005
|
-
if attributes.has_key?(:'carrier_name')
|
1006
|
-
self.carrier_name = attributes[:'carrier_name']
|
1007
|
-
end
|
1008
|
-
|
1009
|
-
if attributes.has_key?(:'hios_issuer_ids')
|
1010
|
-
if (value = attributes[:'hios_issuer_ids']).is_a?(Array)
|
1011
|
-
self.hios_issuer_ids = value
|
1012
|
-
end
|
1013
|
-
end
|
1014
|
-
|
1015
1020
|
if attributes.has_key?(:'id')
|
1016
1021
|
self.id = attributes[:'id']
|
1017
1022
|
end
|
@@ -1040,8 +1045,6 @@ module VericredClient
|
|
1040
1045
|
def ==(o)
|
1041
1046
|
return true if self.equal?(o)
|
1042
1047
|
self.class == o.class &&
|
1043
|
-
carrier_name == o.carrier_name &&
|
1044
|
-
hios_issuer_ids == o.hios_issuer_ids &&
|
1045
1048
|
id == o.id &&
|
1046
1049
|
name == o.name
|
1047
1050
|
end
|
@@ -1055,7 +1058,7 @@ module VericredClient
|
|
1055
1058
|
# Calculates hash code according to all attributes.
|
1056
1059
|
# @return [Fixnum] Hash code
|
1057
1060
|
def hash
|
1058
|
-
[
|
1061
|
+
[id, name].hash
|
1059
1062
|
end
|
1060
1063
|
|
1061
1064
|
# 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
|
|
@@ -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
|
|