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
@@ -93,7 +93,7 @@ document.
|
|
93
93
|
In this case, we want to select `name` and `phone` from the `provider` key,
|
94
94
|
so we would add the parameters `select=provider.name,provider.phone`.
|
95
95
|
We also want the `name` and `code` from the `states` key, so we would
|
96
|
-
add the parameters `select=states.name,
|
96
|
+
add the parameters `select=states.name,states.code`. The id field of
|
97
97
|
each document is always returned whether or not it is requested.
|
98
98
|
|
99
99
|
Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
|
@@ -150,15 +150,16 @@ Here's a description of the benefits summary string, represented as a context-fr
|
|
150
150
|
```
|
151
151
|
root ::= coverage
|
152
152
|
|
153
|
-
coverage ::= (simple_coverage | tiered_coverage) (space pipe space
|
153
|
+
coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_modifier)?
|
154
154
|
tiered_coverage ::= tier (space slash space tier)*
|
155
155
|
tier ::= tier_name colon space (tier_coverage | not_applicable)
|
156
156
|
tier_coverage ::= simple_coverage (space (then | or | and) space simple_coverage)* tier_limitation?
|
157
157
|
simple_coverage ::= (pre_coverage_limitation space)? coverage_amount (space post_coverage_limitation)? (comma? space coverage_condition)?
|
158
|
-
|
158
|
+
coverage_modifier ::= limit_condition colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted | shared_across_tiers)
|
159
159
|
waived_if_admitted ::= ("copay" space)? "waived if admitted"
|
160
160
|
simple_limitation ::= pre_coverage_limitation space "copay applies"
|
161
161
|
tier_name ::= "In-Network-Tier-2" | "Out-of-Network" | "In-Network"
|
162
|
+
limit_condition ::= "limit" | "condition"
|
162
163
|
tier_limitation ::= comma space "up to" space (currency | (integer space time_unit plural?)) (space post_coverage_limitation)?
|
163
164
|
coverage_amount ::= currency | unlimited | included | unknown | percentage | (digits space (treatment_unit | time_unit) plural?)
|
164
165
|
pre_coverage_limitation ::= first space digits space time_unit plural?
|
@@ -168,6 +169,7 @@ allowance ::= upto_allowance | after_allowance
|
|
168
169
|
upto_allowance ::= "up to" space (currency space)? "allowance"
|
169
170
|
after_allowance ::= "after" space (currency space)? "allowance"
|
170
171
|
see_carrier_documentation ::= "see carrier documentation for more information"
|
172
|
+
shared_across_tiers ::= "shared across all tiers"
|
171
173
|
unknown ::= "unknown"
|
172
174
|
unlimited ::= /[uU]nlimited/
|
173
175
|
included ::= /[iI]ncluded in [mM]edical/
|
data/spec/models/plan_spec.rb
CHANGED
@@ -93,7 +93,7 @@ document.
|
|
93
93
|
In this case, we want to select `name` and `phone` from the `provider` key,
|
94
94
|
so we would add the parameters `select=provider.name,provider.phone`.
|
95
95
|
We also want the `name` and `code` from the `states` key, so we would
|
96
|
-
add the parameters `select=states.name,
|
96
|
+
add the parameters `select=states.name,states.code`. The id field of
|
97
97
|
each document is always returned whether or not it is requested.
|
98
98
|
|
99
99
|
Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
|
@@ -150,15 +150,16 @@ Here's a description of the benefits summary string, represented as a context-fr
|
|
150
150
|
```
|
151
151
|
root ::= coverage
|
152
152
|
|
153
|
-
coverage ::= (simple_coverage | tiered_coverage) (space pipe space
|
153
|
+
coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_modifier)?
|
154
154
|
tiered_coverage ::= tier (space slash space tier)*
|
155
155
|
tier ::= tier_name colon space (tier_coverage | not_applicable)
|
156
156
|
tier_coverage ::= simple_coverage (space (then | or | and) space simple_coverage)* tier_limitation?
|
157
157
|
simple_coverage ::= (pre_coverage_limitation space)? coverage_amount (space post_coverage_limitation)? (comma? space coverage_condition)?
|
158
|
-
|
158
|
+
coverage_modifier ::= limit_condition colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted | shared_across_tiers)
|
159
159
|
waived_if_admitted ::= ("copay" space)? "waived if admitted"
|
160
160
|
simple_limitation ::= pre_coverage_limitation space "copay applies"
|
161
161
|
tier_name ::= "In-Network-Tier-2" | "Out-of-Network" | "In-Network"
|
162
|
+
limit_condition ::= "limit" | "condition"
|
162
163
|
tier_limitation ::= comma space "up to" space (currency | (integer space time_unit plural?)) (space post_coverage_limitation)?
|
163
164
|
coverage_amount ::= currency | unlimited | included | unknown | percentage | (digits space (treatment_unit | time_unit) plural?)
|
164
165
|
pre_coverage_limitation ::= first space digits space time_unit plural?
|
@@ -168,6 +169,7 @@ allowance ::= upto_allowance | after_allowance
|
|
168
169
|
upto_allowance ::= "up to" space (currency space)? "allowance"
|
169
170
|
after_allowance ::= "after" space (currency space)? "allowance"
|
170
171
|
see_carrier_documentation ::= "see carrier documentation for more information"
|
172
|
+
shared_across_tiers ::= "shared across all tiers"
|
171
173
|
unknown ::= "unknown"
|
172
174
|
unlimited ::= /[uU]nlimited/
|
173
175
|
included ::= /[iI]ncluded in [mM]edical/
|
@@ -237,96 +239,18 @@ describe 'Plan' do
|
|
237
239
|
expect(@instance).to be_instance_of(VericredClient::Plan)
|
238
240
|
end
|
239
241
|
end
|
240
|
-
describe 'test attribute "adult_dental"' do
|
241
|
-
it 'should work' do
|
242
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
describe 'test attribute "age29_rider"' do
|
247
|
-
it 'should work' do
|
248
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
249
|
-
end
|
250
|
-
end
|
251
|
-
|
252
|
-
describe 'test attribute "ambulance"' do
|
253
|
-
it 'should work' do
|
254
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
255
|
-
end
|
256
|
-
end
|
257
|
-
|
258
|
-
describe 'test attribute "benefits_summary_url"' do
|
259
|
-
it 'should work' do
|
260
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
describe 'test attribute "buy_link"' do
|
265
|
-
it 'should work' do
|
266
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
267
|
-
end
|
268
|
-
end
|
269
|
-
|
270
242
|
describe 'test attribute "carrier_name"' do
|
271
243
|
it 'should work' do
|
272
244
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
273
245
|
end
|
274
246
|
end
|
275
247
|
|
276
|
-
describe 'test attribute "child_dental"' do
|
277
|
-
it 'should work' do
|
278
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
279
|
-
end
|
280
|
-
end
|
281
|
-
|
282
|
-
describe 'test attribute "child_eyewear"' do
|
283
|
-
it 'should work' do
|
284
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
285
|
-
end
|
286
|
-
end
|
287
|
-
|
288
|
-
describe 'test attribute "child_eye_exam"' do
|
289
|
-
it 'should work' do
|
290
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
294
|
-
describe 'test attribute "customer_service_phone_number"' do
|
295
|
-
it 'should work' do
|
296
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
|
-
describe 'test attribute "durable_medical_equipment"' do
|
301
|
-
it 'should work' do
|
302
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
describe 'test attribute "diagnostic_test"' do
|
307
|
-
it 'should work' do
|
308
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
309
|
-
end
|
310
|
-
end
|
311
|
-
|
312
248
|
describe 'test attribute "display_name"' do
|
313
249
|
it 'should work' do
|
314
250
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
315
251
|
end
|
316
252
|
end
|
317
253
|
|
318
|
-
describe 'test attribute "dp_rider"' do
|
319
|
-
it 'should work' do
|
320
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
321
|
-
end
|
322
|
-
end
|
323
|
-
|
324
|
-
describe 'test attribute "drug_formulary_url"' do
|
325
|
-
it 'should work' do
|
326
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
327
|
-
end
|
328
|
-
end
|
329
|
-
|
330
254
|
describe 'test attribute "effective_date"' do
|
331
255
|
it 'should work' do
|
332
256
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -339,157 +263,7 @@ describe 'Plan' do
|
|
339
263
|
end
|
340
264
|
end
|
341
265
|
|
342
|
-
describe 'test attribute "
|
343
|
-
it 'should work' do
|
344
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
345
|
-
end
|
346
|
-
end
|
347
|
-
|
348
|
-
describe 'test attribute "family_drug_deductible"' do
|
349
|
-
it 'should work' do
|
350
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
351
|
-
end
|
352
|
-
end
|
353
|
-
|
354
|
-
describe 'test attribute "family_drug_moop"' do
|
355
|
-
it 'should work' do
|
356
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
357
|
-
end
|
358
|
-
end
|
359
|
-
|
360
|
-
describe 'test attribute "family_medical_deductible"' do
|
361
|
-
it 'should work' do
|
362
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
363
|
-
end
|
364
|
-
end
|
365
|
-
|
366
|
-
describe 'test attribute "family_medical_moop"' do
|
367
|
-
it 'should work' do
|
368
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
369
|
-
end
|
370
|
-
end
|
371
|
-
|
372
|
-
describe 'test attribute "fp_rider"' do
|
373
|
-
it 'should work' do
|
374
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
375
|
-
end
|
376
|
-
end
|
377
|
-
|
378
|
-
describe 'test attribute "generic_drugs"' do
|
379
|
-
it 'should work' do
|
380
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
381
|
-
end
|
382
|
-
end
|
383
|
-
|
384
|
-
describe 'test attribute "habilitation_services"' do
|
385
|
-
it 'should work' do
|
386
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
387
|
-
end
|
388
|
-
end
|
389
|
-
|
390
|
-
describe 'test attribute "hios_issuer_id"' do
|
391
|
-
it 'should work' do
|
392
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
393
|
-
end
|
394
|
-
end
|
395
|
-
|
396
|
-
describe 'test attribute "home_health_care"' do
|
397
|
-
it 'should work' do
|
398
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
|
-
describe 'test attribute "hospice_service"' do
|
403
|
-
it 'should work' do
|
404
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
405
|
-
end
|
406
|
-
end
|
407
|
-
|
408
|
-
describe 'test attribute "hsa_eligible"' do
|
409
|
-
it 'should work' do
|
410
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
411
|
-
end
|
412
|
-
end
|
413
|
-
|
414
|
-
describe 'test attribute "id"' do
|
415
|
-
it 'should work' do
|
416
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
417
|
-
end
|
418
|
-
end
|
419
|
-
|
420
|
-
describe 'test attribute "imaging"' do
|
421
|
-
it 'should work' do
|
422
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
423
|
-
end
|
424
|
-
end
|
425
|
-
|
426
|
-
describe 'test attribute "in_network_ids"' do
|
427
|
-
it 'should work' do
|
428
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
429
|
-
end
|
430
|
-
end
|
431
|
-
|
432
|
-
describe 'test attribute "individual_drug_deductible"' do
|
433
|
-
it 'should work' do
|
434
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
435
|
-
end
|
436
|
-
end
|
437
|
-
|
438
|
-
describe 'test attribute "individual_drug_moop"' do
|
439
|
-
it 'should work' do
|
440
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
441
|
-
end
|
442
|
-
end
|
443
|
-
|
444
|
-
describe 'test attribute "individual_medical_deductible"' do
|
445
|
-
it 'should work' do
|
446
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
447
|
-
end
|
448
|
-
end
|
449
|
-
|
450
|
-
describe 'test attribute "individual_medical_moop"' do
|
451
|
-
it 'should work' do
|
452
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
|
-
describe 'test attribute "inpatient_birth"' do
|
457
|
-
it 'should work' do
|
458
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
459
|
-
end
|
460
|
-
end
|
461
|
-
|
462
|
-
describe 'test attribute "inpatient_facility"' do
|
463
|
-
it 'should work' do
|
464
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
465
|
-
end
|
466
|
-
end
|
467
|
-
|
468
|
-
describe 'test attribute "inpatient_mental_health"' do
|
469
|
-
it 'should work' do
|
470
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
471
|
-
end
|
472
|
-
end
|
473
|
-
|
474
|
-
describe 'test attribute "inpatient_physician"' do
|
475
|
-
it 'should work' do
|
476
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
477
|
-
end
|
478
|
-
end
|
479
|
-
|
480
|
-
describe 'test attribute "inpatient_substance"' do
|
481
|
-
it 'should work' do
|
482
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
483
|
-
end
|
484
|
-
end
|
485
|
-
|
486
|
-
describe 'test attribute "level"' do
|
487
|
-
it 'should work' do
|
488
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
489
|
-
end
|
490
|
-
end
|
491
|
-
|
492
|
-
describe 'test attribute "logo_url"' do
|
266
|
+
describe 'test attribute "identifiers"' do
|
493
267
|
it 'should work' do
|
494
268
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
495
269
|
end
|
@@ -501,67 +275,13 @@ describe 'Plan' do
|
|
501
275
|
end
|
502
276
|
end
|
503
277
|
|
504
|
-
describe 'test attribute "
|
505
|
-
it 'should work' do
|
506
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
507
|
-
end
|
508
|
-
end
|
509
|
-
|
510
|
-
describe 'test attribute "non_preferred_brand_drugs"' do
|
511
|
-
it 'should work' do
|
512
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
513
|
-
end
|
514
|
-
end
|
515
|
-
|
516
|
-
describe 'test attribute "on_market"' do
|
517
|
-
it 'should work' do
|
518
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
519
|
-
end
|
520
|
-
end
|
521
|
-
|
522
|
-
describe 'test attribute "off_market"' do
|
523
|
-
it 'should work' do
|
524
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
525
|
-
end
|
526
|
-
end
|
527
|
-
|
528
|
-
describe 'test attribute "out_of_network_coverage"' do
|
529
|
-
it 'should work' do
|
530
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
531
|
-
end
|
532
|
-
end
|
533
|
-
|
534
|
-
describe 'test attribute "out_of_network_ids"' do
|
535
|
-
it 'should work' do
|
536
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
537
|
-
end
|
538
|
-
end
|
539
|
-
|
540
|
-
describe 'test attribute "outpatient_facility"' do
|
541
|
-
it 'should work' do
|
542
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
543
|
-
end
|
544
|
-
end
|
545
|
-
|
546
|
-
describe 'test attribute "outpatient_mental_health"' do
|
547
|
-
it 'should work' do
|
548
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
549
|
-
end
|
550
|
-
end
|
551
|
-
|
552
|
-
describe 'test attribute "outpatient_physician"' do
|
278
|
+
describe 'test attribute "network_ids"' do
|
553
279
|
it 'should work' do
|
554
280
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
555
281
|
end
|
556
282
|
end
|
557
283
|
|
558
|
-
describe 'test attribute "
|
559
|
-
it 'should work' do
|
560
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
561
|
-
end
|
562
|
-
end
|
563
|
-
|
564
|
-
describe 'test attribute "plan_market"' do
|
284
|
+
describe 'test attribute "network_size"' do
|
565
285
|
it 'should work' do
|
566
286
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
567
287
|
end
|
@@ -573,89 +293,17 @@ describe 'Plan' do
|
|
573
293
|
end
|
574
294
|
end
|
575
295
|
|
576
|
-
describe 'test attribute "preferred_brand_drugs"' do
|
577
|
-
it 'should work' do
|
578
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
579
|
-
end
|
580
|
-
end
|
581
|
-
|
582
|
-
describe 'test attribute "prenatal_postnatal_care"' do
|
583
|
-
it 'should work' do
|
584
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
585
|
-
end
|
586
|
-
end
|
587
|
-
|
588
|
-
describe 'test attribute "preventative_care"' do
|
589
|
-
it 'should work' do
|
590
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
591
|
-
end
|
592
|
-
end
|
593
|
-
|
594
|
-
describe 'test attribute "premium_subsidized"' do
|
595
|
-
it 'should work' do
|
596
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
597
|
-
end
|
598
|
-
end
|
599
|
-
|
600
|
-
describe 'test attribute "premium"' do
|
601
|
-
it 'should work' do
|
602
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
603
|
-
end
|
604
|
-
end
|
605
|
-
|
606
|
-
describe 'test attribute "premium_source"' do
|
607
|
-
it 'should work' do
|
608
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
609
|
-
end
|
610
|
-
end
|
611
|
-
|
612
|
-
describe 'test attribute "primary_care_physician"' do
|
613
|
-
it 'should work' do
|
614
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
615
|
-
end
|
616
|
-
end
|
617
|
-
|
618
|
-
describe 'test attribute "rehabilitation_services"' do
|
619
|
-
it 'should work' do
|
620
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
621
|
-
end
|
622
|
-
end
|
623
|
-
|
624
296
|
describe 'test attribute "service_area_id"' do
|
625
297
|
it 'should work' do
|
626
298
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
627
299
|
end
|
628
300
|
end
|
629
301
|
|
630
|
-
describe 'test attribute "skilled_nursing"' do
|
631
|
-
it 'should work' do
|
632
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
633
|
-
end
|
634
|
-
end
|
635
|
-
|
636
302
|
describe 'test attribute "source"' do
|
637
303
|
it 'should work' do
|
638
304
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
639
305
|
end
|
640
306
|
end
|
641
307
|
|
642
|
-
describe 'test attribute "specialist"' do
|
643
|
-
it 'should work' do
|
644
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
645
|
-
end
|
646
|
-
end
|
647
|
-
|
648
|
-
describe 'test attribute "specialty_drugs"' do
|
649
|
-
it 'should work' do
|
650
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
651
|
-
end
|
652
|
-
end
|
653
|
-
|
654
|
-
describe 'test attribute "urgent_care"' do
|
655
|
-
it 'should work' do
|
656
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
657
|
-
end
|
658
|
-
end
|
659
|
-
|
660
308
|
end
|
661
309
|
|
@@ -93,7 +93,7 @@ document.
|
|
93
93
|
In this case, we want to select `name` and `phone` from the `provider` key,
|
94
94
|
so we would add the parameters `select=provider.name,provider.phone`.
|
95
95
|
We also want the `name` and `code` from the `states` key, so we would
|
96
|
-
add the parameters `select=states.name,
|
96
|
+
add the parameters `select=states.name,states.code`. The id field of
|
97
97
|
each document is always returned whether or not it is requested.
|
98
98
|
|
99
99
|
Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
|
@@ -150,15 +150,16 @@ Here's a description of the benefits summary string, represented as a context-fr
|
|
150
150
|
```
|
151
151
|
root ::= coverage
|
152
152
|
|
153
|
-
coverage ::= (simple_coverage | tiered_coverage) (space pipe space
|
153
|
+
coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_modifier)?
|
154
154
|
tiered_coverage ::= tier (space slash space tier)*
|
155
155
|
tier ::= tier_name colon space (tier_coverage | not_applicable)
|
156
156
|
tier_coverage ::= simple_coverage (space (then | or | and) space simple_coverage)* tier_limitation?
|
157
157
|
simple_coverage ::= (pre_coverage_limitation space)? coverage_amount (space post_coverage_limitation)? (comma? space coverage_condition)?
|
158
|
-
|
158
|
+
coverage_modifier ::= limit_condition colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted | shared_across_tiers)
|
159
159
|
waived_if_admitted ::= ("copay" space)? "waived if admitted"
|
160
160
|
simple_limitation ::= pre_coverage_limitation space "copay applies"
|
161
161
|
tier_name ::= "In-Network-Tier-2" | "Out-of-Network" | "In-Network"
|
162
|
+
limit_condition ::= "limit" | "condition"
|
162
163
|
tier_limitation ::= comma space "up to" space (currency | (integer space time_unit plural?)) (space post_coverage_limitation)?
|
163
164
|
coverage_amount ::= currency | unlimited | included | unknown | percentage | (digits space (treatment_unit | time_unit) plural?)
|
164
165
|
pre_coverage_limitation ::= first space digits space time_unit plural?
|
@@ -168,6 +169,7 @@ allowance ::= upto_allowance | after_allowance
|
|
168
169
|
upto_allowance ::= "up to" space (currency space)? "allowance"
|
169
170
|
after_allowance ::= "after" space (currency space)? "allowance"
|
170
171
|
see_carrier_documentation ::= "see carrier documentation for more information"
|
172
|
+
shared_across_tiers ::= "shared across all tiers"
|
171
173
|
unknown ::= "unknown"
|
172
174
|
unlimited ::= /[uU]nlimited/
|
173
175
|
included ::= /[iI]ncluded in [mM]edical/
|
@@ -303,12 +305,6 @@ describe 'ProviderDetails' do
|
|
303
305
|
end
|
304
306
|
end
|
305
307
|
|
306
|
-
describe 'test attribute "personal_phone"' do
|
307
|
-
it 'should work' do
|
308
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
309
|
-
end
|
310
|
-
end
|
311
|
-
|
312
308
|
describe 'test attribute "phone"' do
|
313
309
|
it 'should work' do
|
314
310
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -375,6 +371,12 @@ describe 'ProviderDetails' do
|
|
375
371
|
end
|
376
372
|
end
|
377
373
|
|
374
|
+
describe 'test attribute "npis"' do
|
375
|
+
it 'should work' do
|
376
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
378
380
|
describe 'test attribute "hios_ids"' do
|
379
381
|
it 'should work' do
|
380
382
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -93,7 +93,7 @@ document.
|
|
93
93
|
In this case, we want to select `name` and `phone` from the `provider` key,
|
94
94
|
so we would add the parameters `select=provider.name,provider.phone`.
|
95
95
|
We also want the `name` and `code` from the `states` key, so we would
|
96
|
-
add the parameters `select=states.name,
|
96
|
+
add the parameters `select=states.name,states.code`. The id field of
|
97
97
|
each document is always returned whether or not it is requested.
|
98
98
|
|
99
99
|
Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
|
@@ -150,15 +150,16 @@ Here's a description of the benefits summary string, represented as a context-fr
|
|
150
150
|
```
|
151
151
|
root ::= coverage
|
152
152
|
|
153
|
-
coverage ::= (simple_coverage | tiered_coverage) (space pipe space
|
153
|
+
coverage ::= (simple_coverage | tiered_coverage) (space pipe space coverage_modifier)?
|
154
154
|
tiered_coverage ::= tier (space slash space tier)*
|
155
155
|
tier ::= tier_name colon space (tier_coverage | not_applicable)
|
156
156
|
tier_coverage ::= simple_coverage (space (then | or | and) space simple_coverage)* tier_limitation?
|
157
157
|
simple_coverage ::= (pre_coverage_limitation space)? coverage_amount (space post_coverage_limitation)? (comma? space coverage_condition)?
|
158
|
-
|
158
|
+
coverage_modifier ::= limit_condition colon space (((simple_coverage | simple_limitation) (semicolon space see_carrier_documentation)?) | see_carrier_documentation | waived_if_admitted | shared_across_tiers)
|
159
159
|
waived_if_admitted ::= ("copay" space)? "waived if admitted"
|
160
160
|
simple_limitation ::= pre_coverage_limitation space "copay applies"
|
161
161
|
tier_name ::= "In-Network-Tier-2" | "Out-of-Network" | "In-Network"
|
162
|
+
limit_condition ::= "limit" | "condition"
|
162
163
|
tier_limitation ::= comma space "up to" space (currency | (integer space time_unit plural?)) (space post_coverage_limitation)?
|
163
164
|
coverage_amount ::= currency | unlimited | included | unknown | percentage | (digits space (treatment_unit | time_unit) plural?)
|
164
165
|
pre_coverage_limitation ::= first space digits space time_unit plural?
|
@@ -168,6 +169,7 @@ allowance ::= upto_allowance | after_allowance
|
|
168
169
|
upto_allowance ::= "up to" space (currency space)? "allowance"
|
169
170
|
after_allowance ::= "after" space (currency space)? "allowance"
|
170
171
|
see_carrier_documentation ::= "see carrier documentation for more information"
|
172
|
+
shared_across_tiers ::= "shared across all tiers"
|
171
173
|
unknown ::= "unknown"
|
172
174
|
unlimited ::= /[uU]nlimited/
|
173
175
|
included ::= /[iI]ncluded in [mM]edical/
|