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
|
|
@@ -1022,8 +1047,78 @@ module VericredClient
|
|
1022
1047
|
return data, status_code, headers
|
1023
1048
|
end
|
1024
1049
|
|
1050
|
+
# Provider Plans
|
1051
|
+
# Retrieve the plans a provider accepts. **New Verison:** In order to use this endpoint, please set your version header to `v7`. If you are using previous versions and want to get the list of `plan_ids` that a provider accepts, you can use the `hios_ids` key in the Provider Show `GET /providers/:npi` endpoint. #### External Id Types Plan `external_ids` are returned as a list, with each item containing both a `type` and a `value`. Below is a list of possible types: | Type | Description | | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | hios_id | The HIOS ID of the plan. This type will be returned for under-65 ACA medical plans. | | contract_id | A contract identifier for the plan. This will be returned for all Medicare Advantage plans and any other plan that contains external contract ids. | | package_code | A package code for the plan. This value will be returned if there is a package in which the plan is bundled. |
|
1052
|
+
# @param npi NPI number
|
1053
|
+
# @param line_of_coverage The line of coverage the plans are in. Options are `medical`, `medicare_advantage`, `dental`, or `vision`.
|
1054
|
+
# @param year The year the plans are effective in.
|
1055
|
+
# @param [Hash] opts the optional parameters
|
1056
|
+
# @option opts [String] :market The market the plans are for. Options are `individual`, `small_group`, `large_group`.
|
1057
|
+
# @return [ProviderPlans]
|
1058
|
+
def get_provider_plans(npi, line_of_coverage, year, opts = {})
|
1059
|
+
data, _status_code, _headers = get_provider_plans_with_http_info(npi, line_of_coverage, year, opts)
|
1060
|
+
return data
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
# Provider Plans
|
1064
|
+
# Retrieve the plans a provider accepts. **New Verison:** In order to use this endpoint, please set your version header to `v7`. If you are using previous versions and want to get the list of `plan_ids` that a provider accepts, you can use the `hios_ids` key in the Provider Show `GET /providers/:npi` endpoint. #### External Id Types Plan `external_ids` are returned as a list, with each item containing both a `type` and a `value`. Below is a list of possible types: | Type | Description | | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | hios_id | The HIOS ID of the plan. This type will be returned for under-65 ACA medical plans. | | contract_id | A contract identifier for the plan. This will be returned for all Medicare Advantage plans and any other plan that contains external contract ids. | | package_code | A package code for the plan. This value will be returned if there is a package in which the plan is bundled. |
|
1065
|
+
# @param npi NPI number
|
1066
|
+
# @param line_of_coverage The line of coverage the plans are in. Options are `medical`, `medicare_advantage`, `dental`, or `vision`.
|
1067
|
+
# @param year The year the plans are effective in.
|
1068
|
+
# @param [Hash] opts the optional parameters
|
1069
|
+
# @option opts [String] :market The market the plans are for. Options are `individual`, `small_group`, `large_group`.
|
1070
|
+
# @return [Array<(ProviderPlans, Fixnum, Hash)>] ProviderPlans data, response status code and response headers
|
1071
|
+
def get_provider_plans_with_http_info(npi, line_of_coverage, year, opts = {})
|
1072
|
+
if @api_client.config.debugging
|
1073
|
+
@api_client.config.logger.debug "Calling API: ProvidersApi.get_provider_plans ..."
|
1074
|
+
end
|
1075
|
+
# verify the required parameter 'npi' is set
|
1076
|
+
fail ArgumentError, "Missing the required parameter 'npi' when calling ProvidersApi.get_provider_plans" if npi.nil?
|
1077
|
+
# verify the required parameter 'line_of_coverage' is set
|
1078
|
+
fail ArgumentError, "Missing the required parameter 'line_of_coverage' when calling ProvidersApi.get_provider_plans" if line_of_coverage.nil?
|
1079
|
+
# verify the required parameter 'year' is set
|
1080
|
+
fail ArgumentError, "Missing the required parameter 'year' when calling ProvidersApi.get_provider_plans" if year.nil?
|
1081
|
+
# resource path
|
1082
|
+
local_var_path = "/providers/{npi}/plans".sub('{format}','json').sub('{' + 'npi' + '}', npi.to_s)
|
1083
|
+
|
1084
|
+
# query parameters
|
1085
|
+
query_params = {}
|
1086
|
+
query_params[:'line_of_coverage'] = line_of_coverage
|
1087
|
+
query_params[:'year'] = year
|
1088
|
+
query_params[:'market'] = opts[:'market'] if !opts[:'market'].nil?
|
1089
|
+
|
1090
|
+
# header parameters
|
1091
|
+
header_params = {}
|
1092
|
+
|
1093
|
+
# HTTP header 'Accept' (if needed)
|
1094
|
+
local_header_accept = []
|
1095
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1096
|
+
|
1097
|
+
# HTTP header 'Content-Type'
|
1098
|
+
local_header_content_type = []
|
1099
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1100
|
+
|
1101
|
+
# form parameters
|
1102
|
+
form_params = {}
|
1103
|
+
|
1104
|
+
# http body (model)
|
1105
|
+
post_body = nil
|
1106
|
+
auth_names = ['Vericred-Api-Key']
|
1107
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1108
|
+
:header_params => header_params,
|
1109
|
+
:query_params => query_params,
|
1110
|
+
:form_params => form_params,
|
1111
|
+
:body => post_body,
|
1112
|
+
:auth_names => auth_names,
|
1113
|
+
:return_type => 'ProviderPlans')
|
1114
|
+
if @api_client.config.debugging
|
1115
|
+
@api_client.config.logger.debug "API called: ProvidersApi#get_provider_plans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1116
|
+
end
|
1117
|
+
return data, status_code, headers
|
1118
|
+
end
|
1119
|
+
|
1025
1120
|
# Find Providers
|
1026
|
-
# ### Provider Details All searches can take a `search_term`, which is used as a component in the score (and thus the ranking/order) of the results. This is combined with the proximity to the location in ranking results. For example, we would want \"Dr. John Smith\" who is 5 miles away from a given Zip Code to appear before \"Dr. John Smith\" who is 100 miles away. The weighting also allows for non-exact matches. In our prior example, we would want \"Dr. Jon Smith\" who is 2 miles away to appear before the exact match \"Dr. John Smith\" who is 100 miles away because it is more likely that the user just entered an incorrect name. The free text search also supports Specialty name search and \"body part\" Specialty name search. So, searching \"John Smith nose\" would return \"Dr. John Smith\", the ENT Specialist before \"Dr. John Smith\" the Internist. In addition, we can filter `Providers` by whether or not they accept *any* insurance. Our data set includes over 4 million `Providers`, some of whom do not accept any insurance at all. This filter makes it more likely that the user will find his or her practitioner in some cases. ### Location Information All `Provider` searches that do *not* specify `plan_ids` or `network_ids`require some type of location information. We use this information either to weight results or to filter results, depending on the type. #### Zip Code When providing the `zip_code` parameter, we order the `Providers` returned based on their score, which incorporates their proximity to the given Zip Code and the closeness of match to the search text. If a `radius` is also provided, we filter out `Providers` who are outside of that radius from the center of the Zip Code provided. #### Polygon When providing the `polygon` parameter, we filter providers who are outside the bounds of the shape provided. This is mutually exclusive with `zip_code` and `radius`. ### Plan/Network Information We can also filter based on `Plan` and `Network` participation, using `plan_ids` and `network_ids`, respectively. These filters are mutually exclusive and return the union of the resulting sets for each `Plan` or `Network`. I.e. if you provider Plan A and Plan B, you will receive `Providers` who accept *either* `Plan`. The same is true for `Networks`. The plan identifiers filter supports
|
1121
|
+
# ### Provider Details All searches can take a `search_term`, which is used as a component in the score (and thus the ranking/order) of the results. This is combined with the proximity to the location in ranking results. For example, we would want \"Dr. John Smith\" who is 5 miles away from a given Zip Code to appear before \"Dr. John Smith\" who is 100 miles away. The weighting also allows for non-exact matches. In our prior example, we would want \"Dr. Jon Smith\" who is 2 miles away to appear before the exact match \"Dr. John Smith\" who is 100 miles away because it is more likely that the user just entered an incorrect name. The free text search also supports Specialty name search and \"body part\" Specialty name search. So, searching \"John Smith nose\" would return \"Dr. John Smith\", the ENT Specialist before \"Dr. John Smith\" the Internist. In addition, we can filter `Providers` by whether or not they accept *any* insurance. Our data set includes over 4 million `Providers`, some of whom do not accept any insurance at all. This filter makes it more likely that the user will find his or her practitioner in some cases. ### Location Information All `Provider` searches that do *not* specify `plan_ids` or `network_ids`require some type of location information. We use this information either to weight results or to filter results, depending on the type. #### Zip Code When providing the `zip_code` parameter, we order the `Providers` returned based on their score, which incorporates their proximity to the given Zip Code and the closeness of match to the search text. If a `radius` is also provided, we filter out `Providers` who are outside of that radius from the center of the Zip Code provided. #### Polygon When providing the `polygon` parameter, we filter providers who are outside the bounds of the shape provided. This is mutually exclusive with `zip_code` and `radius`. ### Specialty When providing the `specialty_ids` parameter, we filter providers to those who practice those specialties. To find the specialty_ids, please use the [Specialty Search](#specialtes-specialtes-get) endpoint. ### Plan/Network Information We can also filter based on `Plan` and `Network` participation, using `plan_ids` and `network_ids`, respectively. These filters are mutually exclusive and return the union of the resulting sets for each `Plan` or `Network`. I.e. if you provider Plan A and Plan B, you will receive `Providers` who accept *either* `Plan`. The same is true for `Networks`. The plan identifiers filter supports: Vericred plan IDs returned from the [Dental](#header-dental-quotes) and [Vision](#header-vision-quotes) endpoints, as well as, HIOS IDs and Medicare contract codes. ### Examples *Find Dr. Foo near Brooklyn* `{ \"search_term\": \"Foo\", \"zip_code\": \"11215\" }` *Find all Providers within 5 miles of Brooklyn who accept a Plan* `{ \"zip_code\": \"11215\", \"radius\": 5, \"plan_ids\": [\"88582NY0230001\"] }` *Find all providers on a map of Brooklyn ordered by a combination of proximity to the center point of the map and relevance to the search term \"ENT\"* ``` { \"polygon\": [ {\"lon\":-74.0126609802,\"lat\":40.6275684851 }, {\"lon\":-74.0126609802,\"lat\":40.7097269508 }, {\"lon\":-73.9367866516,\"lat\":40.7097269508 }, {\"lon\":-73.9367866516,\"lat\":40.6275684851 } ], \"search_term\" : \"ENT\" } ```
|
1027
1122
|
# @param body
|
1028
1123
|
# @param [Hash] opts the optional parameters
|
1029
1124
|
# @return [ProvidersSearchResponse]
|
@@ -1033,7 +1128,7 @@ module VericredClient
|
|
1033
1128
|
end
|
1034
1129
|
|
1035
1130
|
# Find Providers
|
1036
|
-
# ### Provider Details All searches can take a `search_term`, which is used as a component in the score (and thus the ranking/order) of the results. This is combined with the proximity to the location in ranking results. For example, we would want \"Dr. John Smith\" who is 5 miles away from a given Zip Code to appear before \"Dr. John Smith\" who is 100 miles away. The weighting also allows for non-exact matches. In our prior example, we would want \"Dr. Jon Smith\" who is 2 miles away to appear before the exact match \"Dr. John Smith\" who is 100 miles away because it is more likely that the user just entered an incorrect name. The free text search also supports Specialty name search and \"body part\" Specialty name search. So, searching \"John Smith nose\" would return \"Dr. John Smith\", the ENT Specialist before \"Dr. John Smith\" the Internist. In addition, we can filter `Providers` by whether or not they accept *any* insurance. Our data set includes over 4 million `Providers`, some of whom do not accept any insurance at all. This filter makes it more likely that the user will find his or her practitioner in some cases. ### Location Information All `Provider` searches that do *not* specify `plan_ids` or `network_ids`require some type of location information. We use this information either to weight results or to filter results, depending on the type. #### Zip Code When providing the `zip_code` parameter, we order the `Providers` returned based on their score, which incorporates their proximity to the given Zip Code and the closeness of match to the search text. If a `radius` is also provided, we filter out `Providers` who are outside of that radius from the center of the Zip Code provided. #### Polygon When providing the `polygon` parameter, we filter providers who are outside the bounds of the shape provided. This is mutually exclusive with `zip_code` and `radius`. ### Plan/Network Information We can also filter based on `Plan` and `Network` participation, using `plan_ids` and `network_ids`, respectively. These filters are mutually exclusive and return the union of the resulting sets for each `Plan` or `Network`. I.e. if you provider Plan A and Plan B, you will receive `Providers` who accept *either* `Plan`. The same is true for `Networks`. The plan identifiers filter supports
|
1131
|
+
# ### Provider Details All searches can take a `search_term`, which is used as a component in the score (and thus the ranking/order) of the results. This is combined with the proximity to the location in ranking results. For example, we would want \"Dr. John Smith\" who is 5 miles away from a given Zip Code to appear before \"Dr. John Smith\" who is 100 miles away. The weighting also allows for non-exact matches. In our prior example, we would want \"Dr. Jon Smith\" who is 2 miles away to appear before the exact match \"Dr. John Smith\" who is 100 miles away because it is more likely that the user just entered an incorrect name. The free text search also supports Specialty name search and \"body part\" Specialty name search. So, searching \"John Smith nose\" would return \"Dr. John Smith\", the ENT Specialist before \"Dr. John Smith\" the Internist. In addition, we can filter `Providers` by whether or not they accept *any* insurance. Our data set includes over 4 million `Providers`, some of whom do not accept any insurance at all. This filter makes it more likely that the user will find his or her practitioner in some cases. ### Location Information All `Provider` searches that do *not* specify `plan_ids` or `network_ids`require some type of location information. We use this information either to weight results or to filter results, depending on the type. #### Zip Code When providing the `zip_code` parameter, we order the `Providers` returned based on their score, which incorporates their proximity to the given Zip Code and the closeness of match to the search text. If a `radius` is also provided, we filter out `Providers` who are outside of that radius from the center of the Zip Code provided. #### Polygon When providing the `polygon` parameter, we filter providers who are outside the bounds of the shape provided. This is mutually exclusive with `zip_code` and `radius`. ### Specialty When providing the `specialty_ids` parameter, we filter providers to those who practice those specialties. To find the specialty_ids, please use the [Specialty Search](#specialtes-specialtes-get) endpoint. ### Plan/Network Information We can also filter based on `Plan` and `Network` participation, using `plan_ids` and `network_ids`, respectively. These filters are mutually exclusive and return the union of the resulting sets for each `Plan` or `Network`. I.e. if you provider Plan A and Plan B, you will receive `Providers` who accept *either* `Plan`. The same is true for `Networks`. The plan identifiers filter supports: Vericred plan IDs returned from the [Dental](#header-dental-quotes) and [Vision](#header-vision-quotes) endpoints, as well as, HIOS IDs and Medicare contract codes. ### Examples *Find Dr. Foo near Brooklyn* `{ \"search_term\": \"Foo\", \"zip_code\": \"11215\" }` *Find all Providers within 5 miles of Brooklyn who accept a Plan* `{ \"zip_code\": \"11215\", \"radius\": 5, \"plan_ids\": [\"88582NY0230001\"] }` *Find all providers on a map of Brooklyn ordered by a combination of proximity to the center point of the map and relevance to the search term \"ENT\"* ``` { \"polygon\": [ {\"lon\":-74.0126609802,\"lat\":40.6275684851 }, {\"lon\":-74.0126609802,\"lat\":40.7097269508 }, {\"lon\":-73.9367866516,\"lat\":40.7097269508 }, {\"lon\":-73.9367866516,\"lat\":40.6275684851 } ], \"search_term\" : \"ENT\" } ```
|
1037
1132
|
# @param body
|
1038
1133
|
# @param [Hash] opts the optional parameters
|
1039
1134
|
# @return [Array<(ProvidersSearchResponse, Fixnum, Hash)>] ProvidersSearchResponse data, response status code and response headers
|
@@ -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
|
|