vericred_client 0.0.11 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +92 -21
- data/docs/ACAPlan.md +96 -0
- data/docs/ACAPlan2018.md +97 -0
- data/docs/ACAPlan2018SearchResponse.md +10 -0
- data/docs/ACAPlan2018SearchResult.md +100 -0
- data/docs/ACAPlan2018ShowResponse.md +8 -0
- data/docs/ACAPlanPre2018.md +96 -0
- data/docs/ACAPlanPre2018SearchResponse.md +10 -0
- data/docs/{PlanSearchResult.md → ACAPlanPre2018SearchResult.md} +30 -11
- data/docs/ACAPlanPre2018ShowResponse.md +8 -0
- data/docs/BasePlanSearchResponse.md +9 -0
- data/docs/Carrier.md +0 -1
- data/docs/CarrierGroupRequest.md +10 -0
- data/docs/CarrierGroupsApi.md +119 -0
- data/docs/CarrierRequest.md +11 -0
- data/docs/CarrierSubsidiary.md +1 -0
- data/docs/CarrierVerificationPlansApi.md +63 -0
- data/docs/CarriersApi.md +119 -0
- data/docs/DentalPlan.md +20 -0
- data/docs/DentalPlanBenefits.md +30 -0
- data/docs/DentalPlanSearchApplicant.md +10 -0
- data/docs/DentalPlanSearchRequest.md +15 -0
- data/docs/DentalPlanSearchResponse.md +9 -0
- data/docs/DentalPlanShowResponse.md +8 -0
- data/docs/DentalPlanUpdate.md +16 -0
- data/docs/DentalPlanUpdateRequest.md +8 -0
- data/docs/DentalPlansApi.md +174 -0
- data/docs/DrugCoverage.md +1 -0
- data/docs/DrugCoverageResponse.md +1 -2
- data/docs/EmbargoRequest.md +13 -0
- data/docs/EmbargoesApi.md +119 -0
- data/docs/FormulariesApi.md +70 -0
- data/docs/IssuerRequest.md +19 -0
- data/docs/IssuersApi.md +119 -0
- data/docs/MedicalPlansApi.md +122 -0
- data/docs/{PlanSearchResponseMeta.md → MetaPlanSearchResponse.md} +2 -1
- data/docs/NetworkComparison.md +13 -0
- data/docs/NetworkComparisonRequest.md +10 -0
- data/docs/NetworkComparisonResponse.md +9 -0
- data/docs/NetworksApi.md +58 -0
- data/docs/NotificationSubscription.md +8 -0
- data/docs/NotificationSubscriptionResponse.md +8 -0
- data/docs/Plan.md +2 -61
- data/docs/PlanDeleted.md +7 -0
- data/docs/PlanIdentifier.md +9 -0
- data/docs/PlanMedicare.md +19 -0
- data/docs/PlanMedicareBulk.md +21 -0
- data/docs/PlanPricingMedicare.md +15 -0
- data/docs/PlanSearchResponse.md +1 -1
- data/docs/PlanShowResponse.md +1 -1
- data/docs/PlansApi.md +111 -1
- data/docs/Provider.md +1 -1
- data/docs/ProviderDetails.md +1 -1
- data/docs/ProviderNetworkEventNotification.md +13 -0
- data/docs/ProviderNotificationSubscriptionsApi.md +173 -0
- data/docs/ProvidersApi.md +68 -18
- data/docs/RateRequest.md +148 -0
- data/docs/RateSearch.md +143 -0
- data/docs/RatesApi.md +119 -0
- data/docs/RequestPlanFind.md +2 -0
- data/docs/RequestPlanFindCarrierVerification.md +23 -0
- data/docs/RequestProviderNotificationSubscription.md +10 -0
- data/docs/RequestProvidersSearch.md +1 -0
- data/docs/RequestRatesSearch.md +10 -0
- data/docs/ResponseRatesSearch.md +8 -0
- data/docs/RxCuiIdentifier.md +11 -0
- data/docs/RxCuiIdentifierSearchResponse.md +9 -0
- data/docs/VisionPlan.md +20 -0
- data/docs/VisionPlanBenefits.md +25 -0
- data/docs/VisionPlanSearchApplicant.md +10 -0
- data/docs/VisionPlanSearchRequest.md +15 -0
- data/docs/VisionPlanSearchResponse.md +9 -0
- data/docs/VisionPlanShowResponse.md +8 -0
- data/docs/VisionPlanUpdate.md +16 -0
- data/docs/VisionPlanUpdateRequest.md +8 -0
- data/docs/VisionPlansApi.md +174 -0
- data/lib/vericred_client/api/carrier_groups_api.rb +346 -0
- data/lib/vericred_client/api/carrier_verification_plans_api.rb +287 -0
- data/lib/vericred_client/api/carriers_api.rb +346 -0
- data/lib/vericred_client/api/dental_plans_api.rb +403 -0
- data/lib/vericred_client/api/drug_coverages_api.rb +5 -3
- data/lib/vericred_client/api/drug_packages_api.rb +5 -3
- data/lib/vericred_client/api/drugs_api.rb +5 -3
- data/lib/vericred_client/api/embargoes_api.rb +346 -0
- data/lib/vericred_client/api/formularies_api.rb +295 -0
- data/lib/vericred_client/api/issuers_api.rb +346 -0
- data/lib/vericred_client/api/medical_plans_api.rb +347 -0
- data/lib/vericred_client/api/network_sizes_api.rb +5 -3
- data/lib/vericred_client/api/networks_api.rb +66 -3
- data/lib/vericred_client/api/plans_api.rb +122 -3
- data/lib/vericred_client/api/provider_notification_subscriptions_api.rb +395 -0
- data/lib/vericred_client/api/providers_api.rb +82 -27
- data/lib/vericred_client/api/rates_api.rb +346 -0
- data/lib/vericred_client/api/vision_plans_api.rb +403 -0
- data/lib/vericred_client/api/zip_counties_api.rb +5 -3
- data/lib/vericred_client/api_client.rb +5 -3
- data/lib/vericred_client/api_error.rb +5 -3
- data/lib/vericred_client/configuration.rb +5 -3
- data/lib/vericred_client/models/aca_plan.rb +1284 -0
- data/lib/vericred_client/models/aca_plan2018.rb +1294 -0
- data/lib/vericred_client/models/aca_plan2018_search_response.rb +420 -0
- data/lib/vericred_client/models/aca_plan2018_search_result.rb +1324 -0
- data/lib/vericred_client/models/aca_plan2018_show_response.rb +396 -0
- data/lib/vericred_client/models/aca_plan_pre2018.rb +1284 -0
- data/lib/vericred_client/models/aca_plan_pre2018_search_response.rb +420 -0
- data/lib/vericred_client/models/{plan_search_result.rb → aca_plan_pre2018_search_result.rb} +294 -98
- data/lib/vericred_client/models/aca_plan_pre2018_show_response.rb +396 -0
- data/lib/vericred_client/models/base.rb +5 -3
- data/lib/vericred_client/models/base_plan_search_response.rb +408 -0
- data/lib/vericred_client/models/carrier.rb +9 -17
- data/lib/vericred_client/models/carrier_group_request.rb +416 -0
- data/lib/vericred_client/models/carrier_request.rb +426 -0
- data/lib/vericred_client/models/carrier_subsidiary.rb +19 -7
- data/lib/vericred_client/models/county.rb +5 -3
- data/lib/vericred_client/models/county_bulk.rb +5 -3
- data/lib/vericred_client/models/dental_plan.rb +518 -0
- data/lib/vericred_client/models/dental_plan_benefits.rb +616 -0
- data/lib/vericred_client/models/dental_plan_search_applicant.rb +416 -0
- data/lib/vericred_client/models/dental_plan_search_request.rb +468 -0
- data/lib/vericred_client/models/dental_plan_search_response.rb +408 -0
- data/lib/vericred_client/models/dental_plan_show_response.rb +396 -0
- data/lib/vericred_client/models/dental_plan_update.rb +478 -0
- data/lib/vericred_client/models/dental_plan_update_request.rb +396 -0
- data/lib/vericred_client/models/drug.rb +5 -3
- data/lib/vericred_client/models/drug_coverage.rb +18 -4
- data/lib/vericred_client/models/drug_coverage_response.rb +12 -24
- data/lib/vericred_client/models/drug_package.rb +5 -3
- data/lib/vericred_client/models/drug_search_response.rb +5 -3
- data/lib/vericred_client/models/embargo_request.rb +446 -0
- data/lib/vericred_client/models/formulary.rb +5 -3
- data/lib/vericred_client/models/formulary_drug_package_response.rb +5 -3
- data/lib/vericred_client/models/formulary_response.rb +5 -3
- data/lib/vericred_client/models/issuer_request.rb +506 -0
- data/lib/vericred_client/models/meta.rb +5 -3
- data/lib/vericred_client/models/{plan_search_response_meta.rb → meta_plan_search_response.rb} +20 -8
- data/lib/vericred_client/models/network.rb +5 -3
- data/lib/vericred_client/models/network_comparison.rb +446 -0
- data/lib/vericred_client/models/network_comparison_request.rb +418 -0
- data/lib/vericred_client/models/network_comparison_response.rb +410 -0
- data/lib/vericred_client/models/network_details.rb +5 -3
- data/lib/vericred_client/models/network_details_response.rb +5 -3
- data/lib/vericred_client/models/network_search_response.rb +5 -3
- data/lib/vericred_client/models/network_size.rb +5 -3
- data/lib/vericred_client/models/notification_subscription.rb +396 -0
- data/lib/vericred_client/models/notification_subscription_response.rb +396 -0
- data/lib/vericred_client/models/plan.rb +28 -616
- data/lib/vericred_client/models/plan_county.rb +5 -3
- data/lib/vericred_client/models/plan_county_bulk.rb +5 -3
- data/lib/vericred_client/models/plan_deleted.rb +386 -0
- data/lib/vericred_client/models/plan_identifier.rb +406 -0
- data/lib/vericred_client/models/plan_medicare.rb +510 -0
- data/lib/vericred_client/models/plan_medicare_bulk.rb +530 -0
- data/lib/vericred_client/models/plan_pricing_medicare.rb +466 -0
- data/lib/vericred_client/models/plan_search_response.rb +21 -19
- data/lib/vericred_client/models/plan_show_response.rb +6 -4
- data/lib/vericred_client/models/provider.rb +21 -17
- data/lib/vericred_client/models/provider_details.rb +18 -14
- data/lib/vericred_client/models/provider_geocode.rb +5 -3
- data/lib/vericred_client/models/provider_network_event_notification.rb +450 -0
- data/lib/vericred_client/models/provider_show_response.rb +5 -3
- data/lib/vericred_client/models/providers_geocode_response.rb +5 -3
- data/lib/vericred_client/models/providers_search_response.rb +5 -3
- data/lib/vericred_client/models/rate_request.rb +1796 -0
- data/lib/vericred_client/models/rate_search.rb +1746 -0
- data/lib/vericred_client/models/rating_area.rb +5 -3
- data/lib/vericred_client/models/request_plan_find.rb +26 -4
- data/lib/vericred_client/models/request_plan_find_applicant.rb +5 -3
- data/lib/vericred_client/models/request_plan_find_carrier_verification.rb +556 -0
- data/lib/vericred_client/models/request_plan_find_drug_package.rb +5 -3
- data/lib/vericred_client/models/request_plan_find_provider.rb +5 -3
- data/lib/vericred_client/models/request_provider_notification_subscription.rb +418 -0
- data/lib/vericred_client/models/request_providers_search.rb +18 -4
- data/lib/vericred_client/models/request_rates_search.rb +416 -0
- data/lib/vericred_client/models/response_rates_search.rb +396 -0
- data/lib/vericred_client/models/{applicant.rb → rx_cui_identifier.rb} +23 -51
- data/lib/vericred_client/models/rx_cui_identifier_search_response.rb +408 -0
- data/lib/vericred_client/models/service_area.rb +5 -3
- data/lib/vericred_client/models/service_area_zip_county.rb +5 -3
- data/lib/vericred_client/models/state.rb +5 -3
- data/lib/vericred_client/models/state_network_size_request.rb +5 -3
- data/lib/vericred_client/models/state_network_size_response.rb +5 -3
- data/lib/vericred_client/models/vision_plan.rb +518 -0
- data/lib/vericred_client/models/vision_plan_benefits.rb +566 -0
- data/lib/vericred_client/models/vision_plan_search_applicant.rb +416 -0
- data/lib/vericred_client/models/vision_plan_search_request.rb +468 -0
- data/lib/vericred_client/models/vision_plan_search_response.rb +408 -0
- data/lib/vericred_client/models/vision_plan_show_response.rb +396 -0
- data/lib/vericred_client/models/vision_plan_update.rb +478 -0
- data/lib/vericred_client/models/vision_plan_update_request.rb +396 -0
- data/lib/vericred_client/models/zip_code.rb +5 -3
- data/lib/vericred_client/models/zip_counties_response.rb +5 -3
- data/lib/vericred_client/models/zip_county.rb +5 -3
- data/lib/vericred_client/models/zip_county_bulk.rb +5 -3
- data/lib/vericred_client/models/zip_county_response.rb +5 -3
- data/lib/vericred_client/version.rb +6 -4
- data/lib/vericred_client.rb +66 -6
- data/spec/api/carrier_groups_api_spec.rb +267 -0
- data/spec/api/carrier_verification_plans_api_spec.rb +254 -0
- data/spec/api/carriers_api_spec.rb +267 -0
- data/spec/api/dental_plans_api_spec.rb +279 -0
- data/spec/api/drug_coverages_api_spec.rb +5 -3
- data/spec/api/drug_packages_api_spec.rb +5 -3
- data/spec/api/drugs_api_spec.rb +5 -3
- data/spec/api/embargoes_api_spec.rb +267 -0
- data/spec/api/formularies_api_spec.rb +257 -0
- data/spec/api/issuers_api_spec.rb +267 -0
- data/spec/api/medical_plans_api_spec.rb +267 -0
- data/spec/api/network_sizes_api_spec.rb +5 -3
- data/spec/api/networks_api_spec.rb +18 -3
- data/spec/api/plans_api_spec.rb +30 -3
- data/spec/api/provider_notification_subscriptions_api_spec.rb +278 -0
- data/spec/api/providers_api_spec.rb +23 -10
- data/spec/api/rates_api_spec.rb +267 -0
- data/spec/api/vision_plans_api_spec.rb +279 -0
- data/spec/api/zip_counties_api_spec.rb +5 -3
- data/spec/api_client_spec.rb +5 -3
- data/spec/configuration_spec.rb +5 -3
- data/spec/models/aca_plan2018_search_response_spec.rb +261 -0
- data/spec/models/aca_plan2018_search_result_spec.rb +801 -0
- data/spec/models/aca_plan2018_show_response_spec.rb +249 -0
- data/spec/models/aca_plan2018_spec.rb +783 -0
- data/spec/models/aca_plan_pre2018_search_response_spec.rb +261 -0
- data/spec/models/aca_plan_pre2018_search_result_spec.rb +795 -0
- data/spec/models/aca_plan_pre2018_show_response_spec.rb +249 -0
- data/spec/models/aca_plan_pre2018_spec.rb +777 -0
- data/spec/models/{plan_search_result_spec.rb → aca_plan_spec.rb} +149 -51
- data/spec/models/base_plan_search_response_spec.rb +255 -0
- data/spec/models/base_spec.rb +5 -3
- data/spec/models/carrier_group_request_spec.rb +261 -0
- data/spec/models/carrier_request_spec.rb +267 -0
- data/spec/models/carrier_spec.rb +5 -9
- data/spec/models/carrier_subsidiary_spec.rb +11 -3
- data/spec/models/county_bulk_spec.rb +5 -3
- data/spec/models/county_spec.rb +5 -3
- data/spec/models/dental_plan_benefits_spec.rb +381 -0
- data/spec/models/dental_plan_search_applicant_spec.rb +261 -0
- data/spec/models/dental_plan_search_request_spec.rb +291 -0
- data/spec/models/dental_plan_search_response_spec.rb +255 -0
- data/spec/models/dental_plan_show_response_spec.rb +249 -0
- data/spec/models/dental_plan_spec.rb +321 -0
- data/spec/models/dental_plan_update_request_spec.rb +249 -0
- data/spec/models/dental_plan_update_spec.rb +297 -0
- data/spec/models/drug_coverage_response_spec.rb +6 -10
- data/spec/models/drug_coverage_spec.rb +11 -3
- data/spec/models/drug_package_spec.rb +5 -3
- data/spec/models/drug_search_response_spec.rb +5 -3
- data/spec/models/drug_spec.rb +5 -3
- data/spec/models/{applicant_spec.rb → embargo_request_spec.rb} +17 -21
- data/spec/models/formulary_drug_package_response_spec.rb +5 -3
- data/spec/models/formulary_response_spec.rb +5 -3
- data/spec/models/formulary_spec.rb +5 -3
- data/spec/models/issuer_request_spec.rb +315 -0
- data/spec/models/meta_plan_search_response_spec.rb +261 -0
- data/spec/models/meta_spec.rb +5 -3
- data/spec/models/network_comparison_request_spec.rb +261 -0
- data/spec/models/network_comparison_response_spec.rb +255 -0
- data/spec/models/network_comparison_spec.rb +279 -0
- data/spec/models/network_details_response_spec.rb +5 -3
- data/spec/models/network_details_spec.rb +5 -3
- data/spec/models/network_search_response_spec.rb +5 -3
- data/spec/models/network_size_spec.rb +5 -3
- data/spec/models/network_spec.rb +5 -3
- data/spec/models/notification_subscription_response_spec.rb +249 -0
- data/spec/models/notification_subscription_spec.rb +249 -0
- data/spec/models/plan_county_bulk_spec.rb +5 -3
- data/spec/models/plan_county_spec.rb +5 -3
- data/spec/models/plan_deleted_spec.rb +243 -0
- data/spec/models/{plan_search_response_meta_spec.rb → plan_identifier_spec.rb} +13 -11
- data/spec/models/plan_medicare_bulk_spec.rb +327 -0
- data/spec/models/plan_medicare_spec.rb +315 -0
- data/spec/models/plan_pricing_medicare_spec.rb +291 -0
- data/spec/models/plan_search_response_spec.rb +7 -5
- data/spec/models/plan_show_response_spec.rb +5 -3
- data/spec/models/plan_spec.rb +8 -360
- data/spec/models/provider_details_spec.rb +11 -9
- data/spec/models/provider_geocode_spec.rb +5 -3
- data/spec/models/provider_network_event_notification_spec.rb +279 -0
- data/spec/models/provider_show_response_spec.rb +5 -3
- data/spec/models/provider_spec.rb +11 -9
- data/spec/models/providers_geocode_response_spec.rb +5 -3
- data/spec/models/providers_search_response_spec.rb +5 -3
- data/spec/models/rate_request_spec.rb +1089 -0
- data/spec/models/rate_search_spec.rb +1059 -0
- data/spec/models/rating_area_spec.rb +5 -3
- data/spec/models/request_plan_find_applicant_spec.rb +5 -3
- data/spec/models/request_plan_find_carrier_verification_spec.rb +339 -0
- data/spec/models/request_plan_find_drug_package_spec.rb +5 -3
- data/spec/models/request_plan_find_provider_spec.rb +5 -3
- data/spec/models/request_plan_find_spec.rb +17 -3
- data/spec/models/request_provider_notification_subscription_spec.rb +261 -0
- data/spec/models/request_providers_search_spec.rb +11 -3
- data/spec/models/request_rates_search_spec.rb +261 -0
- data/spec/models/response_rates_search_spec.rb +249 -0
- data/spec/models/rx_cui_identifier_search_response_spec.rb +255 -0
- data/spec/models/rx_cui_identifier_spec.rb +267 -0
- data/spec/models/service_area_spec.rb +5 -3
- data/spec/models/service_area_zip_county_spec.rb +5 -3
- data/spec/models/state_network_size_request_spec.rb +5 -3
- data/spec/models/state_network_size_response_spec.rb +5 -3
- data/spec/models/state_spec.rb +5 -3
- data/spec/models/vision_plan_benefits_spec.rb +351 -0
- data/spec/models/vision_plan_search_applicant_spec.rb +261 -0
- data/spec/models/vision_plan_search_request_spec.rb +291 -0
- data/spec/models/vision_plan_search_response_spec.rb +255 -0
- data/spec/models/vision_plan_show_response_spec.rb +249 -0
- data/spec/models/vision_plan_spec.rb +321 -0
- data/spec/models/vision_plan_update_request_spec.rb +249 -0
- data/spec/models/vision_plan_update_spec.rb +297 -0
- data/spec/models/zip_code_spec.rb +5 -3
- data/spec/models/zip_counties_response_spec.rb +5 -3
- data/spec/models/zip_county_bulk_spec.rb +5 -3
- data/spec/models/zip_county_response_spec.rb +5 -3
- data/spec/models/zip_county_spec.rb +5 -3
- data/spec/spec_helper.rb +5 -3
- data/vericred_client.gemspec +5 -3
- metadata +247 -16
- data/docs/Applicant.md +0 -14
- data/git_push.sh +0 -67
@@ -0,0 +1,16 @@
|
|
1
|
+
# VericredClient::DentalPlanUpdate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | The dental plan name | [optional]
|
7
|
+
**issuer_vericred_id** | **String** | The issuer vericred id | [optional]
|
8
|
+
**audience** | **String** | The dental plan audience | [optional]
|
9
|
+
**benefits_summary_url** | **String** | Link to the summary of benefits and coverage (SBC) document. | [optional]
|
10
|
+
**plan_type** | **String** | The dental plan type | [optional]
|
11
|
+
**stand_alone** | **BOOLEAN** | Stand alone flag for dental plan | [optional]
|
12
|
+
**source** | **String** | The dental plan source | [optional]
|
13
|
+
**external_ids** | [**Array<PlanIdentifier>**](PlanIdentifier.md) | Dental Plan External Identifiers | [optional]
|
14
|
+
**benefits** | [**DentalPlanBenefits**](DentalPlanBenefits.md) | Dental Plan Benefits | [optional]
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,174 @@
|
|
1
|
+
# VericredClient::DentalPlansApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.vericred.com/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**delete_dental_plan**](DentalPlansApi.md#delete_dental_plan) | **DELETE** /plans/dental/{vericred_id} | Delete a Dental Plan.
|
8
|
+
[**put_dental_plan**](DentalPlansApi.md#put_dental_plan) | **PUT** /plans/dental/{vericred_id} | Create/update a Dental Plan
|
9
|
+
[**show_dental_plan**](DentalPlansApi.md#show_dental_plan) | **GET** /plans/dental/{vericred_id} | Show Plan
|
10
|
+
|
11
|
+
|
12
|
+
# **delete_dental_plan**
|
13
|
+
> delete_dental_plan(vericred_id)
|
14
|
+
|
15
|
+
Delete a Dental Plan.
|
16
|
+
|
17
|
+
Delete a Dental Plan from the database.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'vericred_client'
|
23
|
+
# setup authorization
|
24
|
+
VericredClient.configure do |config|
|
25
|
+
# Configure API key authorization: Vericred-Api-Key
|
26
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
27
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = VericredClient::DentalPlansApi.new
|
32
|
+
|
33
|
+
vericred_id = "a234567b90" # String | The unique Vericred id
|
34
|
+
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Delete a Dental Plan.
|
38
|
+
api_instance.delete_dental_plan(vericred_id)
|
39
|
+
rescue VericredClient::ApiError => e
|
40
|
+
puts "Exception when calling DentalPlansApi->delete_dental_plan: #{e}"
|
41
|
+
end
|
42
|
+
```
|
43
|
+
|
44
|
+
### Parameters
|
45
|
+
|
46
|
+
Name | Type | Description | Notes
|
47
|
+
------------- | ------------- | ------------- | -------------
|
48
|
+
**vericred_id** | **String**| The unique Vericred id |
|
49
|
+
|
50
|
+
### Return type
|
51
|
+
|
52
|
+
nil (empty response body)
|
53
|
+
|
54
|
+
### Authorization
|
55
|
+
|
56
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
57
|
+
|
58
|
+
### HTTP request headers
|
59
|
+
|
60
|
+
- **Content-Type**: application/json
|
61
|
+
- **Accept**: application/json
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
# **put_dental_plan**
|
66
|
+
> put_dental_plan(vericred_id, body)
|
67
|
+
|
68
|
+
Create/update a Dental Plan
|
69
|
+
|
70
|
+
Add or update a Dental Plan to the database.
|
71
|
+
|
72
|
+
### Example
|
73
|
+
```ruby
|
74
|
+
# load the gem
|
75
|
+
require 'vericred_client'
|
76
|
+
# setup authorization
|
77
|
+
VericredClient.configure do |config|
|
78
|
+
# Configure API key authorization: Vericred-Api-Key
|
79
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
80
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
81
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
82
|
+
end
|
83
|
+
|
84
|
+
api_instance = VericredClient::DentalPlansApi.new
|
85
|
+
|
86
|
+
vericred_id = "a234567b90" # String | The unique Vericred id
|
87
|
+
|
88
|
+
body = VericredClient::DentalPlanUpdateRequest.new # DentalPlanUpdateRequest | Dental Plan Record
|
89
|
+
|
90
|
+
|
91
|
+
begin
|
92
|
+
#Create/update a Dental Plan
|
93
|
+
api_instance.put_dental_plan(vericred_id, body)
|
94
|
+
rescue VericredClient::ApiError => e
|
95
|
+
puts "Exception when calling DentalPlansApi->put_dental_plan: #{e}"
|
96
|
+
end
|
97
|
+
```
|
98
|
+
|
99
|
+
### Parameters
|
100
|
+
|
101
|
+
Name | Type | Description | Notes
|
102
|
+
------------- | ------------- | ------------- | -------------
|
103
|
+
**vericred_id** | **String**| The unique Vericred id |
|
104
|
+
**body** | [**DentalPlanUpdateRequest**](DentalPlanUpdateRequest.md)| Dental Plan Record |
|
105
|
+
|
106
|
+
### Return type
|
107
|
+
|
108
|
+
nil (empty response body)
|
109
|
+
|
110
|
+
### Authorization
|
111
|
+
|
112
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
113
|
+
|
114
|
+
### HTTP request headers
|
115
|
+
|
116
|
+
- **Content-Type**: application/json
|
117
|
+
- **Accept**: application/json
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
# **show_dental_plan**
|
122
|
+
> DentalPlanShowResponse show_dental_plan(id)
|
123
|
+
|
124
|
+
Show Plan
|
125
|
+
|
126
|
+
Show the details of a DentalPlan.
|
127
|
+
|
128
|
+
### Example
|
129
|
+
```ruby
|
130
|
+
# load the gem
|
131
|
+
require 'vericred_client'
|
132
|
+
# setup authorization
|
133
|
+
VericredClient.configure do |config|
|
134
|
+
# Configure API key authorization: Vericred-Api-Key
|
135
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
136
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
137
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
138
|
+
end
|
139
|
+
|
140
|
+
api_instance = VericredClient::DentalPlansApi.new
|
141
|
+
|
142
|
+
id = "88582NY0230001" # String | ID of the Plan
|
143
|
+
|
144
|
+
|
145
|
+
begin
|
146
|
+
#Show Plan
|
147
|
+
result = api_instance.show_dental_plan(id)
|
148
|
+
p result
|
149
|
+
rescue VericredClient::ApiError => e
|
150
|
+
puts "Exception when calling DentalPlansApi->show_dental_plan: #{e}"
|
151
|
+
end
|
152
|
+
```
|
153
|
+
|
154
|
+
### Parameters
|
155
|
+
|
156
|
+
Name | Type | Description | Notes
|
157
|
+
------------- | ------------- | ------------- | -------------
|
158
|
+
**id** | **String**| ID of the Plan |
|
159
|
+
|
160
|
+
### Return type
|
161
|
+
|
162
|
+
[**DentalPlanShowResponse**](DentalPlanShowResponse.md)
|
163
|
+
|
164
|
+
### Authorization
|
165
|
+
|
166
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
167
|
+
|
168
|
+
### HTTP request headers
|
169
|
+
|
170
|
+
- **Content-Type**: application/json
|
171
|
+
- **Accept**: application/json
|
172
|
+
|
173
|
+
|
174
|
+
|
data/docs/DrugCoverage.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
**plan_id** | **String** | Health Insurance Oversight System id | [optional]
|
7
7
|
**drug_package_id** | **String** | NDC package code | [optional]
|
8
8
|
**med_id** | **Integer** | Med ID | [optional]
|
9
|
+
**drug_ids** | **Array<String>** | Vericred-generated IDs for drugs | [optional]
|
9
10
|
**quantity_limit** | **BOOLEAN** | Quantity limit exists | [optional]
|
10
11
|
**prior_authorization** | **BOOLEAN** | Prior authorization required | [optional]
|
11
12
|
**step_therapy** | **BOOLEAN** | Step Treatment required | [optional]
|
@@ -5,7 +5,6 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**meta** | [**Meta**](Meta.md) | Meta-data | [optional]
|
7
7
|
**drug_coverages** | [**Array<DrugCoverage>**](DrugCoverage.md) | DrugCoverage search results | [optional]
|
8
|
-
**
|
9
|
-
**drug_packages** | [**Array<DrugPackage>**](DrugPackage.md) | Drug Packages | [optional]
|
8
|
+
**drug** | [**Drug**](Drug.md) | Drug | [optional]
|
10
9
|
|
11
10
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# VericredClient::EmbargoRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | The external name of the Embargo Date | [optional]
|
7
|
+
**product_line** | **String** | The product line for the Embargo Date | [optional]
|
8
|
+
**audience** | **String** | The audience for the Embargo Date | [optional]
|
9
|
+
**release_date** | **String** | The date for which the embargo ends | [optional]
|
10
|
+
**start_date** | **String** | The effective date for which the embargo applies | [optional]
|
11
|
+
**end_date** | **String** | The expiration date for which the embargo applies | [optional]
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# VericredClient::EmbargoesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.vericred.com/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**delete_embargo**](EmbargoesApi.md#delete_embargo) | **DELETE** /embargoes/{vericred_id} | Delete an Embargo.
|
8
|
+
[**put_embargo**](EmbargoesApi.md#put_embargo) | **PUT** /embargoes/{vericred_id} | Create/update an Embargo
|
9
|
+
|
10
|
+
|
11
|
+
# **delete_embargo**
|
12
|
+
> delete_embargo(vericred_id)
|
13
|
+
|
14
|
+
Delete an Embargo.
|
15
|
+
|
16
|
+
Delete an Embargo from the database.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'vericred_client'
|
22
|
+
# setup authorization
|
23
|
+
VericredClient.configure do |config|
|
24
|
+
# Configure API key authorization: Vericred-Api-Key
|
25
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = VericredClient::EmbargoesApi.new
|
31
|
+
|
32
|
+
vericred_id = "a234567b90" # String | The unique Vericred id
|
33
|
+
|
34
|
+
|
35
|
+
begin
|
36
|
+
#Delete an Embargo.
|
37
|
+
api_instance.delete_embargo(vericred_id)
|
38
|
+
rescue VericredClient::ApiError => e
|
39
|
+
puts "Exception when calling EmbargoesApi->delete_embargo: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
### Parameters
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**vericred_id** | **String**| The unique Vericred id |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
nil (empty response body)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
# **put_embargo**
|
65
|
+
> put_embargo(vericred_id, body)
|
66
|
+
|
67
|
+
Create/update an Embargo
|
68
|
+
|
69
|
+
Add or update an Embargo to the database.
|
70
|
+
|
71
|
+
### Example
|
72
|
+
```ruby
|
73
|
+
# load the gem
|
74
|
+
require 'vericred_client'
|
75
|
+
# setup authorization
|
76
|
+
VericredClient.configure do |config|
|
77
|
+
# Configure API key authorization: Vericred-Api-Key
|
78
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
79
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
80
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
81
|
+
end
|
82
|
+
|
83
|
+
api_instance = VericredClient::EmbargoesApi.new
|
84
|
+
|
85
|
+
vericred_id = "a234567b90" # String | The unique Vericred id
|
86
|
+
|
87
|
+
body = VericredClient::EmbargoRequest.new # EmbargoRequest | Embargo Record
|
88
|
+
|
89
|
+
|
90
|
+
begin
|
91
|
+
#Create/update an Embargo
|
92
|
+
api_instance.put_embargo(vericred_id, body)
|
93
|
+
rescue VericredClient::ApiError => e
|
94
|
+
puts "Exception when calling EmbargoesApi->put_embargo: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
Name | Type | Description | Notes
|
101
|
+
------------- | ------------- | ------------- | -------------
|
102
|
+
**vericred_id** | **String**| The unique Vericred id |
|
103
|
+
**body** | [**EmbargoRequest**](EmbargoRequest.md)| Embargo Record |
|
104
|
+
|
105
|
+
### Return type
|
106
|
+
|
107
|
+
nil (empty response body)
|
108
|
+
|
109
|
+
### Authorization
|
110
|
+
|
111
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
112
|
+
|
113
|
+
### HTTP request headers
|
114
|
+
|
115
|
+
- **Content-Type**: application/json
|
116
|
+
- **Accept**: application/json
|
117
|
+
|
118
|
+
|
119
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# VericredClient::FormulariesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.vericred.com/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list_formularies**](FormulariesApi.md#list_formularies) | **GET** /formularies | Formulary Search
|
8
|
+
|
9
|
+
|
10
|
+
# **list_formularies**
|
11
|
+
> FormularyResponse list_formularies(opts)
|
12
|
+
|
13
|
+
Formulary Search
|
14
|
+
|
15
|
+
Search for drugs by proprietary name
|
16
|
+
|
17
|
+
### Example
|
18
|
+
```ruby
|
19
|
+
# load the gem
|
20
|
+
require 'vericred_client'
|
21
|
+
# setup authorization
|
22
|
+
VericredClient.configure do |config|
|
23
|
+
# Configure API key authorization: Vericred-Api-Key
|
24
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
25
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = VericredClient::FormulariesApi.new
|
30
|
+
|
31
|
+
opts = {
|
32
|
+
search_term: "HIX PPO", # String | Full or partial name of the formulary
|
33
|
+
rx_bin: "123456", # String | RX BIN Number (found on an insurance card)
|
34
|
+
rx_group: "HEALTH", # String | RX Group String (found on an insurance card)
|
35
|
+
rx_pcn: "9999" # String | RX PCN Number (found on an insurance card)
|
36
|
+
}
|
37
|
+
|
38
|
+
begin
|
39
|
+
#Formulary Search
|
40
|
+
result = api_instance.list_formularies(opts)
|
41
|
+
p result
|
42
|
+
rescue VericredClient::ApiError => e
|
43
|
+
puts "Exception when calling FormulariesApi->list_formularies: #{e}"
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
Name | Type | Description | Notes
|
50
|
+
------------- | ------------- | ------------- | -------------
|
51
|
+
**search_term** | **String**| Full or partial name of the formulary | [optional]
|
52
|
+
**rx_bin** | **String**| RX BIN Number (found on an insurance card) | [optional]
|
53
|
+
**rx_group** | **String**| RX Group String (found on an insurance card) | [optional]
|
54
|
+
**rx_pcn** | **String**| RX PCN Number (found on an insurance card) | [optional]
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
[**FormularyResponse**](FormularyResponse.md)
|
59
|
+
|
60
|
+
### Authorization
|
61
|
+
|
62
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
63
|
+
|
64
|
+
### HTTP request headers
|
65
|
+
|
66
|
+
- **Content-Type**: application/json
|
67
|
+
- **Accept**: application/json
|
68
|
+
|
69
|
+
|
70
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# VericredClient::IssuerRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**issuer_id_type** | **String** | The issuer id type | [optional]
|
7
|
+
**issuer_id** | **String** | The issuer id | [optional]
|
8
|
+
**name** | **String** | The name of the Carrier | [optional]
|
9
|
+
**carrier_vericred_id** | **String** | The parent carrier group vericred id | [optional]
|
10
|
+
**address_line_1** | **String** | First line of issuer street address | [optional]
|
11
|
+
**address_line_2** | **String** | Second line of issuer street address | [optional]
|
12
|
+
**state_code** | **String** | The state code of the Carrier | [optional]
|
13
|
+
**city** | **String** | The city for the issuer address | [optional]
|
14
|
+
**zip_code** | **String** | The zip code of the issuer | [optional]
|
15
|
+
**licensed_state_code** | **String** | The licensed state code of the Issuer | [optional]
|
16
|
+
**brand_name** | **String** | The brand name of the Carrier | [optional]
|
17
|
+
**source_logo_url** | **String** | url of logo to be associated with issuer | [optional]
|
18
|
+
|
19
|
+
|
data/docs/IssuersApi.md
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
# VericredClient::IssuersApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.vericred.com/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**delete_issuer**](IssuersApi.md#delete_issuer) | **DELETE** /issuers/{vericred_id} | Delete an Issuer.
|
8
|
+
[**put_issuer**](IssuersApi.md#put_issuer) | **PUT** /issuers/{vericred_id} | Create/update an Issuer
|
9
|
+
|
10
|
+
|
11
|
+
# **delete_issuer**
|
12
|
+
> delete_issuer(vericred_id)
|
13
|
+
|
14
|
+
Delete an Issuer.
|
15
|
+
|
16
|
+
Delete an Issuer from the database.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'vericred_client'
|
22
|
+
# setup authorization
|
23
|
+
VericredClient.configure do |config|
|
24
|
+
# Configure API key authorization: Vericred-Api-Key
|
25
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = VericredClient::IssuersApi.new
|
31
|
+
|
32
|
+
vericred_id = "a234567b90" # String | The unique Vericred id
|
33
|
+
|
34
|
+
|
35
|
+
begin
|
36
|
+
#Delete an Issuer.
|
37
|
+
api_instance.delete_issuer(vericred_id)
|
38
|
+
rescue VericredClient::ApiError => e
|
39
|
+
puts "Exception when calling IssuersApi->delete_issuer: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
### Parameters
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**vericred_id** | **String**| The unique Vericred id |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
nil (empty response body)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
# **put_issuer**
|
65
|
+
> put_issuer(vericred_id, body)
|
66
|
+
|
67
|
+
Create/update an Issuer
|
68
|
+
|
69
|
+
Add or update an Issuer to the database.
|
70
|
+
|
71
|
+
### Example
|
72
|
+
```ruby
|
73
|
+
# load the gem
|
74
|
+
require 'vericred_client'
|
75
|
+
# setup authorization
|
76
|
+
VericredClient.configure do |config|
|
77
|
+
# Configure API key authorization: Vericred-Api-Key
|
78
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
79
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
80
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
81
|
+
end
|
82
|
+
|
83
|
+
api_instance = VericredClient::IssuersApi.new
|
84
|
+
|
85
|
+
vericred_id = "a234567b90" # String | The unique Vericred id
|
86
|
+
|
87
|
+
body = VericredClient::IssuerRequest.new # IssuerRequest | Issuer Record
|
88
|
+
|
89
|
+
|
90
|
+
begin
|
91
|
+
#Create/update an Issuer
|
92
|
+
api_instance.put_issuer(vericred_id, body)
|
93
|
+
rescue VericredClient::ApiError => e
|
94
|
+
puts "Exception when calling IssuersApi->put_issuer: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
Name | Type | Description | Notes
|
101
|
+
------------- | ------------- | ------------- | -------------
|
102
|
+
**vericred_id** | **String**| The unique Vericred id |
|
103
|
+
**body** | [**IssuerRequest**](IssuerRequest.md)| Issuer Record |
|
104
|
+
|
105
|
+
### Return type
|
106
|
+
|
107
|
+
nil (empty response body)
|
108
|
+
|
109
|
+
### Authorization
|
110
|
+
|
111
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
112
|
+
|
113
|
+
### HTTP request headers
|
114
|
+
|
115
|
+
- **Content-Type**: application/json
|
116
|
+
- **Accept**: application/json
|
117
|
+
|
118
|
+
|
119
|
+
|
@@ -0,0 +1,122 @@
|
|
1
|
+
# VericredClient::MedicalPlansApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.vericred.com/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**find_plans**](MedicalPlansApi.md#find_plans) | **POST** /plans/medical/search | Find Plans
|
8
|
+
[**show_plan**](MedicalPlansApi.md#show_plan) | **GET** /plans/medical/{id} | Show Plan
|
9
|
+
|
10
|
+
|
11
|
+
# **find_plans**
|
12
|
+
> PlanSearchResponse find_plans(body)
|
13
|
+
|
14
|
+
Find Plans
|
15
|
+
|
16
|
+
### Location Information Searching for a set of plans requires a `zip_code` and `fips_code` code. These are used to determine pricing and availabity of health plans. This endpoint is paginated. Optionally, you may provide a list of Applicants or Providers ### Applicants This is a list of people who will be covered by the plan. We use this list to calculate the premium. You must include `age` and can include `smoker`, which also factors into pricing in some states. Applicants *must* include an age. If smoker is omitted, its value is assumed to be false. #### Multiple Applicants To get pricing for multiple applicants, just append multiple sets of data to the URL with the age and smoking status of each applicant next to each other. For example, given two applicants - one age 32 and a non-smoker and one age 29 and a smoker, you could use the following request `GET /plans/medical?zip_code=07451&fips_code=33025&applicants[][age]=32&applicants[][age]=29&applicants[][smoker]=true` It would also be acceptible to include `applicants[][smoker]=false` after the first applicant's age. ### Providers We identify Providers (Doctors) by their National Practitioner Index number (NPI). If you pass a list of Providers, keyed by their NPI number, we will return a list of which Providers are in and out of network for each plan returned. For example, if we had two providers with the NPI numbers `12345` and `23456` you would make the following request `GET /plans/medical?zip_code=07451&fips_code=33025&providers[][npi]=12345&providers[][npi]=23456` ### Enrollment Date To calculate plan pricing and availability, we default to the current date as the enrollment date. To specify a date in the future (or the past), pass a string with the format `YYYY-MM-DD` in the `enrollment_date` parameter. `GET /plans/medical?zip_code=07451&fips_code=33025&enrollment_date=2016-01-01` ### Subsidy On-marketplace plans are eligible for a subsidy based on the `household_size` and `household_income` of the applicants. If you pass those values, we will calculate the `subsidized_premium` and return it for each plan. If no values are provided, the `subsidized_premium` will be the same as the `premium` `GET /plans/medical?zip_code=07451&fips_code=33025&household_size=4&household_income=40000` ### Sorting Plans can be sorted by the `premium`, `carrier_name`, `level`, and `plan_type` fields, by either ascending (as `asc`) or descending (as `dsc`) sort under the `sort` field. For example, to sort plans by level, the sort parameter would be `level:asc`. ### Drug coverages Are included along with the rest of the plan data. See [the description below](#drugcoverages) for more details.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'vericred_client'
|
22
|
+
# setup authorization
|
23
|
+
VericredClient.configure do |config|
|
24
|
+
# Configure API key authorization: Vericred-Api-Key
|
25
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = VericredClient::MedicalPlansApi.new
|
31
|
+
|
32
|
+
body = VericredClient::RequestPlanFind.new # RequestPlanFind |
|
33
|
+
|
34
|
+
|
35
|
+
begin
|
36
|
+
#Find Plans
|
37
|
+
result = api_instance.find_plans(body)
|
38
|
+
p result
|
39
|
+
rescue VericredClient::ApiError => e
|
40
|
+
puts "Exception when calling MedicalPlansApi->find_plans: #{e}"
|
41
|
+
end
|
42
|
+
```
|
43
|
+
|
44
|
+
### Parameters
|
45
|
+
|
46
|
+
Name | Type | Description | Notes
|
47
|
+
------------- | ------------- | ------------- | -------------
|
48
|
+
**body** | [**RequestPlanFind**](RequestPlanFind.md)| |
|
49
|
+
|
50
|
+
### Return type
|
51
|
+
|
52
|
+
[**PlanSearchResponse**](PlanSearchResponse.md)
|
53
|
+
|
54
|
+
### Authorization
|
55
|
+
|
56
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
57
|
+
|
58
|
+
### HTTP request headers
|
59
|
+
|
60
|
+
- **Content-Type**: Not defined
|
61
|
+
- **Accept**: Not defined
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
# **show_plan**
|
66
|
+
> PlanShowResponse show_plan(id, opts)
|
67
|
+
|
68
|
+
Show Plan
|
69
|
+
|
70
|
+
Show the details of an individual Plan. This includes deductibles, maximums out of pocket, and co-pay/coinsurance for benefits (See [Benefits summary format](#header-benefits-summary-format) above.)
|
71
|
+
|
72
|
+
### Example
|
73
|
+
```ruby
|
74
|
+
# load the gem
|
75
|
+
require 'vericred_client'
|
76
|
+
# setup authorization
|
77
|
+
VericredClient.configure do |config|
|
78
|
+
# Configure API key authorization: Vericred-Api-Key
|
79
|
+
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
|
80
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
81
|
+
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
|
82
|
+
end
|
83
|
+
|
84
|
+
api_instance = VericredClient::MedicalPlansApi.new
|
85
|
+
|
86
|
+
id = "88582NY0230001" # String | ID of the Plan
|
87
|
+
|
88
|
+
opts = {
|
89
|
+
year: 2018 # Integer | Plan year (defaults to current year)
|
90
|
+
}
|
91
|
+
|
92
|
+
begin
|
93
|
+
#Show Plan
|
94
|
+
result = api_instance.show_plan(id, opts)
|
95
|
+
p result
|
96
|
+
rescue VericredClient::ApiError => e
|
97
|
+
puts "Exception when calling MedicalPlansApi->show_plan: #{e}"
|
98
|
+
end
|
99
|
+
```
|
100
|
+
|
101
|
+
### Parameters
|
102
|
+
|
103
|
+
Name | Type | Description | Notes
|
104
|
+
------------- | ------------- | ------------- | -------------
|
105
|
+
**id** | **String**| ID of the Plan |
|
106
|
+
**year** | **Integer**| Plan year (defaults to current year) | [optional]
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
[**PlanShowResponse**](PlanShowResponse.md)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
[Vericred-Api-Key](../README.md#Vericred-Api-Key)
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: application/json
|
119
|
+
- **Accept**: application/json
|
120
|
+
|
121
|
+
|
122
|
+
|