vericred_client 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +225 -0
  3. data/docs/Applicant.md +14 -0
  4. data/docs/Carrier.md +10 -0
  5. data/docs/CarrierSubsidiary.md +9 -0
  6. data/docs/County.md +16 -0
  7. data/docs/Drug.md +10 -0
  8. data/docs/DrugCoverage.md +13 -0
  9. data/docs/DrugCoverageApi.md +60 -0
  10. data/docs/InlineResponse200.md +9 -0
  11. data/docs/InlineResponse2001.md +8 -0
  12. data/docs/InlineResponse2002.md +10 -0
  13. data/docs/Plan.md +53 -0
  14. data/docs/PlanCounty.md +10 -0
  15. data/docs/PlanSearchResult.md +54 -0
  16. data/docs/PlansApi.md +118 -0
  17. data/docs/Pricing.md +12 -0
  18. data/docs/Provider.md +31 -0
  19. data/docs/ProvidersApi.md +135 -0
  20. data/docs/Query.md +15 -0
  21. data/docs/RatingArea.md +9 -0
  22. data/docs/State.md +15 -0
  23. data/docs/ZipCode.md +9 -0
  24. data/docs/ZipCountiesApi.md +63 -0
  25. data/docs/ZipCounty.md +10 -0
  26. data/lib/vericred_client/api/drug_coverage_api.rb +201 -0
  27. data/lib/vericred_client/api/plans_api.rb +317 -0
  28. data/lib/vericred_client/api/providers_api.rb +303 -0
  29. data/lib/vericred_client/api/zip_counties_api.rb +208 -0
  30. data/lib/vericred_client/api_client.rb +474 -0
  31. data/lib/vericred_client/api_error.rb +149 -0
  32. data/lib/vericred_client/configuration.rb +163 -0
  33. data/lib/vericred_client/models/applicant.rb +358 -0
  34. data/lib/vericred_client/models/carrier.rb +318 -0
  35. data/lib/vericred_client/models/carrier_subsidiary.rb +308 -0
  36. data/lib/vericred_client/models/county.rb +360 -0
  37. data/lib/vericred_client/models/drug.rb +318 -0
  38. data/lib/vericred_client/models/drug_coverage.rb +348 -0
  39. data/lib/vericred_client/models/inline_response_200.rb +308 -0
  40. data/lib/vericred_client/models/inline_response_200_1.rb +297 -0
  41. data/lib/vericred_client/models/inline_response_200_2.rb +321 -0
  42. data/lib/vericred_client/models/plan.rb +748 -0
  43. data/lib/vericred_client/models/plan_county.rb +318 -0
  44. data/lib/vericred_client/models/plan_search_result.rb +758 -0
  45. data/lib/vericred_client/models/pricing.rb +338 -0
  46. data/lib/vericred_client/models/provider.rb +528 -0
  47. data/lib/vericred_client/models/query.rb +364 -0
  48. data/lib/vericred_client/models/rating_area.rb +308 -0
  49. data/lib/vericred_client/models/state.rb +368 -0
  50. data/lib/vericred_client/models/zip_code.rb +308 -0
  51. data/lib/vericred_client/models/zip_county.rb +318 -0
  52. data/lib/vericred_client/version.rb +128 -0
  53. data/lib/vericred_client.rb +175 -0
  54. data/spec/api/drug_coverage_api_spec.rb +168 -0
  55. data/spec/api/plans_api_spec.rb +226 -0
  56. data/spec/api/providers_api_spec.rb +202 -0
  57. data/spec/api/zip_counties_api_spec.rb +171 -0
  58. data/vericred_client.gemspec +31 -0
  59. metadata +285 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 945030aaf97fceaacfa3cfb248e31fbdd6dbe12d
4
+ data.tar.gz: 6bb7645738cfe35e12898c55563f541574726fcf
5
+ SHA512:
6
+ metadata.gz: 717c505e5ebc629e90da6ba08b89e0f5f6ba7ee744ec2f0b970d64b9dec9a1a376a2013dab0980fc853177d3c16d59075262498657b7f97b76577c855788741b
7
+ data.tar.gz: fc71bec4b5f38c3539bc026f541364cb9a96811ada07cb258da525ab9da290bb1695746019c1ef8892c157ef338b0baf37be06d2a9204916e4fa0a55ec7fe7dc
data/README.md ADDED
@@ -0,0 +1,225 @@
1
+ # vericred_client
2
+
3
+ VericredClient - the Ruby gem for the Vericred API
4
+
5
+ Vericred's API allows you to search for Health Plans that a specific doctor
6
+ accepts.
7
+
8
+ ## Getting Started
9
+
10
+ Visit our [Developer Portal](https://vericred.3scale.net/access_code?access_code=vericred&cms_token=3545ca52af07bde85b7c0c3aa9d1985e) to
11
+ create an account.
12
+
13
+ Once you have created an account, you can create one Application for
14
+ Production and another for our Sandbox (select the appropriate Plan when
15
+ you create the Application).
16
+
17
+ ## Authentication
18
+
19
+ To authenticate, pass the API Key you created in the Developer Portal as
20
+ a `Vericred-Api-Key` header.
21
+
22
+ `curl -H 'Vericred-Api-Key: YOUR_KEY' "https://api.vericred.com/providers?search_term=Foo&zip_code=11215"`
23
+
24
+ ## Versioning
25
+
26
+ Vericred's API default to the latest version. However, if you need a specific
27
+ version, you can request it with an `Accept-Version` header.
28
+
29
+ The current version is `v3`. Previous versions are `v1` and `v2`.
30
+
31
+ `curl -H 'Vericred-Api-Key: YOUR_KEY' -H 'Accept-Version: v2' "https://api.vericred.com/providers?search_term=Foo&zip_code=11215"`
32
+
33
+ ## Pagination
34
+
35
+ Most endpoints are not paginated. It will be noted in the documentation if/when
36
+ an endpoint is paginated.
37
+
38
+ When pagination is present, a `meta` stanza will be present in the response
39
+ with the total number of records
40
+
41
+ ```
42
+ {
43
+ things: [{ id: 1 }, { id: 2 }],
44
+ meta: { total: 500 }
45
+ }
46
+ ```
47
+
48
+ ## Sideloading
49
+
50
+ When we return multiple levels of an object graph (e.g. `Provider`s and their `State`s
51
+ we sideload the associated data. In this example, we would provide an Array of
52
+ `State`s and a `state_id` for each provider. This is done primarily to reduce the
53
+ payload size since many of the `Provider`s will share a `State`
54
+
55
+ ```
56
+ {
57
+ providers: [{ id: 1, state_id: 1}, { id: 2, state_id: 1 }],
58
+ states: [{ id: 1, code: 'NY' }]
59
+ }
60
+ ```
61
+
62
+ If you need the second level of the object graph, you can just match the
63
+ corresponding id.
64
+
65
+ ## Selecting specific data
66
+
67
+ All endpoints allow you to specify which fields you would like to return.
68
+ This allows you to limit the response to contain only the data you need.
69
+
70
+ For example, let's take a request that returns the following JSON by default
71
+
72
+ ```
73
+ {
74
+ provider: {
75
+ id: 1,
76
+ name: 'John',
77
+ phone: '1234567890',
78
+ field_we_dont_care_about: 'value_we_dont_care_about'
79
+ },
80
+ states: [{
81
+ id: 1,
82
+ name: 'New York',
83
+ code: 'NY',
84
+ field_we_dont_care_about: 'value_we_dont_care_about'
85
+ }]
86
+ }
87
+ ```
88
+
89
+ To limit our results to only return the fields we care about, we specify the
90
+ `select` query string parameter for the corresponding fields in the JSON
91
+ document.
92
+
93
+ In this case, we want to select `name` and `phone` from the `provider` key,
94
+ so we would add the parameters `select=provider.name,provider.phone`.
95
+ We also want the `name` and `code` from the `states` key, so we would
96
+ add the parameters `select=states.name,staes.code`. The id field of
97
+ each document is always returned whether or not it is requested.
98
+
99
+ Our final request would be `GET /providers/12345?select=provider.name,provider.phone,states.name,states.code`
100
+
101
+ The response would be
102
+
103
+ ```
104
+ {
105
+ provider: {
106
+ id: 1,
107
+ name: 'John',
108
+ phone: '1234567890'
109
+ },
110
+ states: [{
111
+ id: 1,
112
+ name: 'New York',
113
+ code: 'NY'
114
+ }]
115
+ }
116
+ ```
117
+
118
+
119
+
120
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
121
+
122
+ - API version:
123
+ - Package version: 0.0.1
124
+ - Build date: 2016-04-29T19:28:54.758-04:00
125
+ - Build package: class io.swagger.codegen.languages.RubyClientCodegen
126
+
127
+ ## Installation
128
+
129
+ ### Build a gem
130
+
131
+ To build the Ruby code into a gem:
132
+
133
+ ```shell
134
+ gem build vericred_client.gemspec
135
+ ```
136
+
137
+ Then either install the gem locally:
138
+
139
+ ```shell
140
+ gem install ./vericred_client-0.0.1.gem
141
+ ```
142
+ (for development, run `gem install --dev ./vericred_client-0.0.1.gem` to install the development dependencies)
143
+
144
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
145
+
146
+ Finally add this to the Gemfile:
147
+
148
+ gem 'vericred_client', '~> 0.0.1'
149
+
150
+ ### Install from Git
151
+
152
+ If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USR_ID/YOUR_GIT_REPO_ID, then add the following in the Gemfile:
153
+
154
+ gem 'vericred_client', :git => 'https://github.com/YOUR_GIT_USR_ID/YOUR_GIT_REPO_ID.git'
155
+
156
+ ### Include the Ruby code directly
157
+
158
+ Include the Ruby code directly using `-I` as follows:
159
+
160
+ ```shell
161
+ ruby -Ilib script.rb
162
+ ```
163
+
164
+ ## Getting Started
165
+
166
+ Please follow the [installation](#installation) procedure and then run the following code:
167
+ ```ruby
168
+ # Load the gem
169
+ require 'vericred_client'
170
+
171
+ api_instance = VericredClient::DrugCoverageApi.new
172
+
173
+ ndc = "ndc_example" # String | NDC for a drug
174
+
175
+
176
+ begin
177
+ #Find Drug Coverages for a given NDC
178
+ result = api_instance.drugs_ndc_coverages_get(ndc)
179
+ p result
180
+ rescue VericredClient::ApiError => e
181
+ puts "Exception when calling DrugCoverageApi->drugs_ndc_coverages_get: #{e}"
182
+ end
183
+
184
+ ```
185
+
186
+ ## Documentation for API Endpoints
187
+
188
+ All URIs are relative to *https://api.vericred.com/*
189
+
190
+ Class | Method | HTTP request | Description
191
+ ------------ | ------------- | ------------- | -------------
192
+ *VericredClient::DrugCoverageApi* | [**drugs_ndc_coverages_get**](docs/DrugCoverageApi.md#drugs_ndc_coverages_get) | **GET** /drugs/{ndc}/coverages | Find Drug Coverages for a given NDC
193
+ *VericredClient::PlansApi* | [**plans_find_post**](docs/PlansApi.md#plans_find_post) | **POST** /plans/find | Find a set of plans for a Zip Code and County
194
+ *VericredClient::ProvidersApi* | [**providers_get**](docs/ProvidersApi.md#providers_get) | **GET** /providers | Find providers by term and zip code
195
+ *VericredClient::ProvidersApi* | [**providers_npi_get**](docs/ProvidersApi.md#providers_npi_get) | **GET** /providers/{npi} | Find a specific Provider
196
+ *VericredClient::ZipCountiesApi* | [**zip_counties_get**](docs/ZipCountiesApi.md#zip_counties_get) | **GET** /zip_counties | Find Zip Counties by Zip Code
197
+
198
+
199
+ ## Documentation for Models
200
+
201
+ - [VericredClient::Applicant](docs/Applicant.md)
202
+ - [VericredClient::Carrier](docs/Carrier.md)
203
+ - [VericredClient::CarrierSubsidiary](docs/CarrierSubsidiary.md)
204
+ - [VericredClient::County](docs/County.md)
205
+ - [VericredClient::Drug](docs/Drug.md)
206
+ - [VericredClient::DrugCoverage](docs/DrugCoverage.md)
207
+ - [VericredClient::InlineResponse200](docs/InlineResponse200.md)
208
+ - [VericredClient::InlineResponse2001](docs/InlineResponse2001.md)
209
+ - [VericredClient::InlineResponse2002](docs/InlineResponse2002.md)
210
+ - [VericredClient::Plan](docs/Plan.md)
211
+ - [VericredClient::PlanCounty](docs/PlanCounty.md)
212
+ - [VericredClient::PlanSearchResult](docs/PlanSearchResult.md)
213
+ - [VericredClient::Pricing](docs/Pricing.md)
214
+ - [VericredClient::Provider](docs/Provider.md)
215
+ - [VericredClient::Query](docs/Query.md)
216
+ - [VericredClient::RatingArea](docs/RatingArea.md)
217
+ - [VericredClient::State](docs/State.md)
218
+ - [VericredClient::ZipCode](docs/ZipCode.md)
219
+ - [VericredClient::ZipCounty](docs/ZipCounty.md)
220
+
221
+
222
+ ## Documentation for Authorization
223
+
224
+ All endpoints do not require authorization.
225
+
data/docs/Applicant.md ADDED
@@ -0,0 +1,14 @@
1
+ # VericredClient::Applicant
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | Primary key | [optional]
7
+ **dob** | **Date** | Date of Birth | [optional]
8
+ **member_id** | **String** | Foreign key to members | [optional]
9
+ **name** | **String** | Full name of the Applicant | [optional]
10
+ **relationship** | **String** | Relationship of the Applicant to the Member | [optional]
11
+ **smoker** | **BOOLEAN** | Does the Applicant smoke? | [optional]
12
+ **ssn** | **String** | Applicant's Social Security Number | [optional]
13
+
14
+
data/docs/Carrier.md ADDED
@@ -0,0 +1,10 @@
1
+ # VericredClient::Carrier
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | Primary key | [optional]
7
+ **name** | **String** | Name of the Carrier | [optional]
8
+ **logo_path** | **String** | URL for the Carrier's logo | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # VericredClient::CarrierSubsidiary
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | Primary key | [optional]
7
+ **name** | **String** | Subsidiary name | [optional]
8
+
9
+
data/docs/County.md ADDED
@@ -0,0 +1,16 @@
1
+ # VericredClient::County
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | Primary key | [optional]
7
+ **fips_code** | **String** | State FIPS code | [optional]
8
+ **name** | **String** | Human-readable name | [optional]
9
+ **state_code** | **String** | Two-character state code | [optional]
10
+ **state_id** | **Integer** | state relationship | [optional]
11
+ **state_live** | **BOOLEAN** | Is the state containing this county active for consumers?
12
+ *deprecated in favor of last_date_for_individual | [optional]
13
+ **state_live_for_business** | **BOOLEAN** | Is the state containing this county active for business?
14
+ *deprecated in favor of last_date_for_shop | [optional]
15
+
16
+
data/docs/Drug.md ADDED
@@ -0,0 +1,10 @@
1
+ # VericredClient::Drug
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **ndc** | **String** | National Drug Code ID | [optional]
7
+ **proprietary_name** | **String** | Proprietary name of drug | [optional]
8
+ **non_proprietary_name** | **String** | Non-proprietary name of drug | [optional]
9
+
10
+
@@ -0,0 +1,13 @@
1
+ # VericredClient::DrugCoverage
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **plan_id** | **String** | Health Insurance Oversight System id | [optional]
7
+ **ndc_package_code** | **String** | NDC package code | [optional]
8
+ **tier** | **String** | Tier Name | [optional]
9
+ **quantity_limit** | **BOOLEAN** | Quantity limit exists | [optional]
10
+ **prior_authorization** | **BOOLEAN** | Prior authorization required | [optional]
11
+ **step_therapy** | **BOOLEAN** | Step Treatment required | [optional]
12
+
13
+
@@ -0,0 +1,60 @@
1
+ # VericredClient::DrugCoverageApi
2
+
3
+ All URIs are relative to *https://api.vericred.com/*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**drugs_ndc_coverages_get**](DrugCoverageApi.md#drugs_ndc_coverages_get) | **GET** /drugs/{ndc}/coverages | Find Drug Coverages for a given NDC
8
+
9
+
10
+ # **drugs_ndc_coverages_get**
11
+ > Array<DrugCoverage> drugs_ndc_coverages_get(ndc)
12
+
13
+ Find Drug Coverages for a given NDC
14
+
15
+ Drug Coverages are the specific tier level, quantity limit, prior authorization
16
+ and step therapy for a given Drug/Plan combination. This endpoint returns
17
+ all DrugCoverages for a given Drug
18
+
19
+
20
+
21
+ ### Example
22
+ ```ruby
23
+ # load the gem
24
+ require 'vericred_client'
25
+
26
+ api_instance = VericredClient::DrugCoverageApi.new
27
+
28
+ ndc = "ndc_example" # String | NDC for a drug
29
+
30
+
31
+ begin
32
+ #Find Drug Coverages for a given NDC
33
+ result = api_instance.drugs_ndc_coverages_get(ndc)
34
+ p result
35
+ rescue VericredClient::ApiError => e
36
+ puts "Exception when calling DrugCoverageApi->drugs_ndc_coverages_get: #{e}"
37
+ end
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ Name | Type | Description | Notes
43
+ ------------- | ------------- | ------------- | -------------
44
+ **ndc** | **String**| NDC for a drug |
45
+
46
+ ### Return type
47
+
48
+ [**Array<DrugCoverage>**](DrugCoverage.md)
49
+
50
+ ### Authorization
51
+
52
+ No authorization required
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: Not defined
58
+
59
+
60
+
@@ -0,0 +1,9 @@
1
+ # VericredClient::InlineResponse200
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **meta** | **Object** | | [optional]
7
+ **providers** | [**Array<Provider>**](Provider.md) | | [optional]
8
+
9
+
@@ -0,0 +1,8 @@
1
+ # VericredClient::InlineResponse2001
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **provider** | [**Provider**](Provider.md) | | [optional]
7
+
8
+
@@ -0,0 +1,10 @@
1
+ # VericredClient::InlineResponse2002
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **zip_counties** | [**Array<ZipCounty>**](ZipCounty.md) | | [optional]
7
+ **counties** | [**Array<County>**](County.md) | | [optional]
8
+ **zip_codes** | [**Array<ZipCode>**](ZipCode.md) | | [optional]
9
+
10
+
data/docs/Plan.md ADDED
@@ -0,0 +1,53 @@
1
+ # VericredClient::Plan
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **adult_dental** | **BOOLEAN** | Does the plan provide dental coverage for adults? | [optional]
7
+ **ambulance** | **String** | Benefits string for ambulance coverage | [optional]
8
+ **benefits_summary_url** | **String** | Link to the summary of benefits and coverage (SBC) document. | [optional]
9
+ **buy_link** | **String** | Link to a location to purchase the plan. | [optional]
10
+ **carrier_name** | **String** | Name of the insurance carrier | [optional]
11
+ **child_dental** | **BOOLEAN** | Does the plan provide dental coverage for children? | [optional]
12
+ **child_eyewear** | **String** | Child eyewear benefits summary | [optional]
13
+ **customer_service_phone_number** | **String** | Phone number to contact the insurance carrier | [optional]
14
+ **durable_medical_equipment** | **String** | Benefits summary for durable medical equipment | [optional]
15
+ **diagnostic_test** | **String** | Diagnostic tests benefit summary | [optional]
16
+ **drug_formulary_url** | **String** | Link to the summary of drug benefits for the plan | [optional]
17
+ **emergency_room** | **String** | Description of costs when visiting the ER | [optional]
18
+ **family_drug_deductible** | **String** | Deductible for drugs when a family is on the plan. | [optional]
19
+ **family_drug_moop** | **String** | Maximum out-of-pocket for drugs when a family is on the plan | [optional]
20
+ **family_medical_deductible** | **String** | Deductible when a family is on the plan | [optional]
21
+ **family_medical_moop** | **String** | Maximum out-of-pocket when a family is on the plan | [optional]
22
+ **generic_drugs** | **String** | Cost for generic drugs | [optional]
23
+ **hios_issuer_id** | **String** | | [optional]
24
+ **id** | **String** | Government-issued HIOS plan ID | [optional]
25
+ **imaging** | **String** | Benefits summary for imaging coverage | [optional]
26
+ **individual_drug_deductible** | **String** | Deductible for drugs when an individual is on the plan | [optional]
27
+ **individual_drug_moop** | **String** | Maximum out-of-pocket for drugs when an individual is on the plan | [optional]
28
+ **individual_medical_deductible** | **String** | Deductible when an individual is on the plan | [optional]
29
+ **individual_medical_moop** | **String** | Maximum out-of-pocket when an individual is on the plan | [optional]
30
+ **inpatient_facility** | **String** | Cost under the plan for an inpatient facility | [optional]
31
+ **inpatient_physician** | **String** | Cost under the plan for an inpatient physician | [optional]
32
+ **level** | **String** | Plan metal grouping (e.g. platinum, gold, silver, etc) | [optional]
33
+ **logo_url** | **String** | Link to a copy of the insurance carrier's logo | [optional]
34
+ **name** | **String** | Marketing name of the plan | [optional]
35
+ **network_size** | **Integer** | Total number of Providers in network | [optional]
36
+ **non_preferred_brand_drugs** | **String** | Cost under the plan for non-preferred brand drugs | [optional]
37
+ **on_market** | **BOOLEAN** | Is the plan on-market? | [optional]
38
+ **off_market** | **BOOLEAN** | Is the plan off-market? | [optional]
39
+ **out_of_network_coverage** | **BOOLEAN** | Does this plan provide any out of network coverage? | [optional]
40
+ **outpatient_facility** | **String** | Benefits summary for outpatient facility coverage | [optional]
41
+ **outpatient_mental_health** | **String** | Benefits summary for outpatient mental health coverage | [optional]
42
+ **outpatient_physician** | **String** | Benefits summary for outpatient physician coverage | [optional]
43
+ **plan_market** | **String** | Market in which the plan is offered (on_marketplace, shop, etc) | [optional]
44
+ **plan_type** | **String** | Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity) | [optional]
45
+ **preferred_brand_drugs** | **String** | Cost under the plan for perferred brand drugs | [optional]
46
+ **preventative_care** | **String** | Benefits summary for preventative care | [optional]
47
+ **primary_care_physician** | **String** | Cost under the plan to visit a Primary Care Physician | [optional]
48
+ **rehabilitation_services** | **String** | Benefits summary for rehabilitation services | [optional]
49
+ **specialist** | **String** | Cost under the plan to visit a specialist | [optional]
50
+ **specialty_drugs** | **String** | Cost under the plan for specialty drugs | [optional]
51
+ **urgent_care** | **String** | Benefits summary for urgent care | [optional]
52
+
53
+
@@ -0,0 +1,10 @@
1
+ # VericredClient::PlanCounty
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | Primary key | [optional]
7
+ **plan_id** | **Integer** | Foreign key to plan | [optional]
8
+ **county_id** | **Integer** | Foreign key to county | [optional]
9
+
10
+
@@ -0,0 +1,54 @@
1
+ # VericredClient::PlanSearchResult
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **adult_dental** | **BOOLEAN** | Does the plan provide dental coverage for adults? | [optional]
7
+ **ambulance** | **String** | Benefits string for ambulance coverage | [optional]
8
+ **benefits_summary_url** | **String** | Link to the summary of benefits and coverage (SBC) document. | [optional]
9
+ **buy_link** | **String** | Link to a location to purchase the plan. | [optional]
10
+ **carrier_name** | **String** | Name of the insurance carrier | [optional]
11
+ **child_dental** | **BOOLEAN** | Does the plan provide dental coverage for children? | [optional]
12
+ **child_eyewear** | **String** | Child eyewear benefits summary | [optional]
13
+ **customer_service_phone_number** | **String** | Phone number to contact the insurance carrier | [optional]
14
+ **durable_medical_equipment** | **String** | Benefits summary for durable medical equipment | [optional]
15
+ **diagnostic_test** | **String** | Diagnostic tests benefit summary | [optional]
16
+ **drug_formulary_url** | **String** | Link to the summary of drug benefits for the plan | [optional]
17
+ **emergency_room** | **String** | Description of costs when visiting the ER | [optional]
18
+ **family_drug_deductible** | **String** | Deductible for drugs when a family is on the plan. | [optional]
19
+ **family_drug_moop** | **String** | Maximum out-of-pocket for drugs when a family is on the plan | [optional]
20
+ **family_medical_deductible** | **String** | Deductible when a family is on the plan | [optional]
21
+ **family_medical_moop** | **String** | Maximum out-of-pocket when a family is on the plan | [optional]
22
+ **generic_drugs** | **String** | Cost for generic drugs | [optional]
23
+ **hios_issuer_id** | **String** | | [optional]
24
+ **id** | **String** | Government-issued HIOS plan ID | [optional]
25
+ **imaging** | **String** | Benefits summary for imaging coverage | [optional]
26
+ **individual_drug_deductible** | **String** | Deductible for drugs when an individual is on the plan | [optional]
27
+ **individual_drug_moop** | **String** | Maximum out-of-pocket for drugs when an individual is on the plan | [optional]
28
+ **individual_medical_deductible** | **String** | Deductible when an individual is on the plan | [optional]
29
+ **individual_medical_moop** | **String** | Maximum out-of-pocket when an individual is on the plan | [optional]
30
+ **inpatient_facility** | **String** | Cost under the plan for an inpatient facility | [optional]
31
+ **inpatient_physician** | **String** | Cost under the plan for an inpatient physician | [optional]
32
+ **level** | **String** | Plan metal grouping (e.g. platinum, gold, silver, etc) | [optional]
33
+ **logo_url** | **String** | Link to a copy of the insurance carrier's logo | [optional]
34
+ **name** | **String** | Marketing name of the plan | [optional]
35
+ **non_preferred_brand_drugs** | **String** | Cost under the plan for non-preferred brand drugs | [optional]
36
+ **on_market** | **BOOLEAN** | Is the plan on-market? | [optional]
37
+ **off_market** | **BOOLEAN** | Is the plan off-market? | [optional]
38
+ **out_of_network_coverage** | **BOOLEAN** | Does this plan provide any out of network coverage? | [optional]
39
+ **outpatient_facility** | **String** | Benefits summary for outpatient facility coverage | [optional]
40
+ **outpatient_mental_health** | **String** | Benefits summary for outpatient mental health coverage | [optional]
41
+ **outpatient_physician** | **String** | Benefits summary for outpatient physician coverage | [optional]
42
+ **plan_market** | **String** | Market in which the plan is offered (on_marketplace, shop, etc) | [optional]
43
+ **plan_type** | **String** | Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity) | [optional]
44
+ **preferred_brand_drugs** | **String** | Cost under the plan for perferred brand drugs | [optional]
45
+ **preventative_care** | **String** | Benefits summary for preventative care | [optional]
46
+ **primary_care_physician** | **String** | Cost under the plan to visit a Primary Care Physician | [optional]
47
+ **rehabilitation_services** | **String** | Benefits summary for rehabilitation services | [optional]
48
+ **specialist** | **String** | Cost under the plan to visit a specialist | [optional]
49
+ **specialty_drugs** | **String** | Cost under the plan for specialty drugs | [optional]
50
+ **urgent_care** | **String** | Benefits summary for urgent care | [optional]
51
+ **match_percentage** | **Integer** | Percentage of doctors who matched this Plan | [optional]
52
+ **perfect_match_percentage** | **Integer** | Percentage of employees with 100% match | [optional]
53
+
54
+
data/docs/PlansApi.md ADDED
@@ -0,0 +1,118 @@
1
+ # VericredClient::PlansApi
2
+
3
+ All URIs are relative to *https://api.vericred.com/*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**plans_find_post**](PlansApi.md#plans_find_post) | **POST** /plans/find | Find a set of plans for a Zip Code and County
8
+
9
+
10
+ # **plans_find_post**
11
+ > Array<Plan> plans_find_post(query)
12
+
13
+ Find a set of plans for a Zip Code and County
14
+
15
+ ### Location Information
16
+
17
+ Searching for a set of plans requires a `zip_code` and `fips_code`
18
+ code. These are used to determine pricing and availabity
19
+ of health plans.
20
+
21
+ Optionally, you may provide a list of Applicants or Providers
22
+
23
+ ### Applicants
24
+
25
+ This is a list of people who will be covered by the plan. We
26
+ use this list to calculate the premium. You must include `age`
27
+ and can include `smoker`, which also factors into pricing in some
28
+ states.
29
+
30
+ Applicants *must* include an age. If smoker is omitted, its value is assumed
31
+ to be false.
32
+
33
+ #### Multiple Applicants
34
+
35
+ To get pricing for multiple applicants, just append multiple sets
36
+ of data to the URL with the age and smoking status of each applicant
37
+ next to each other.
38
+
39
+ For example, given two applicants - one age 32 and a non-smoker and one
40
+ age 29 and a smoker, you could use the following request
41
+
42
+ `GET /plans?zip_code=07451&fips_code=33025&applicants[][age]=32&applicants[][age]=29&applicants[][smoker]=true`
43
+
44
+ It would also be acceptible to include `applicants[][smoker]=false` after the
45
+ first applicant's age.
46
+
47
+ ### Providers
48
+
49
+ We identify Providers (Doctors) by their National Practitioner
50
+ Index number (NPI). If you pass a list of Providers, keyed by
51
+ their NPI number, we will return a list of which Providers are
52
+ in and out of network for each plan returned.
53
+
54
+ For example, if we had two providers with the NPI numbers `12345` and `23456`
55
+ you would make the following request
56
+
57
+ `GET /plans?zip_code=07451&fips_code=33025&providers[][npi]=12345&providers[][npi]=23456`
58
+
59
+ ### Enrollment Date
60
+
61
+ To calculate plan pricing and availability, we default to the current date
62
+ as the enrollment date. To specify a date in the future (or the past), pass
63
+ a string with the format `YYYY-MM-DD` in the `enrollment_date` parameter.
64
+
65
+ `GET /plans?zip_code=07451&fips_code=33025&enrollment_date=2016-01-01`
66
+
67
+ ### Subsidy
68
+
69
+ On-marketplace plans are eligible for a subsidy based on the
70
+ `household_size` and `household_income` of the applicants. If you
71
+ pass those values, we will calculate the `subsidized_premium`
72
+ and return it for each plan. If no values are provided, the
73
+ `subsidized_premium` will be the same as the `premium`
74
+
75
+ `GET /plans?zip_code=07451&fips_code=33025&household_size=4&household_income=40000`
76
+
77
+
78
+
79
+ ### Example
80
+ ```ruby
81
+ # load the gem
82
+ require 'vericred_client'
83
+
84
+ api_instance = VericredClient::PlansApi.new
85
+
86
+ query = VericredClient::Query.new # Query | Plan query
87
+
88
+
89
+ begin
90
+ #Find a set of plans for a Zip Code and County
91
+ result = api_instance.plans_find_post(query)
92
+ p result
93
+ rescue VericredClient::ApiError => e
94
+ puts "Exception when calling PlansApi->plans_find_post: #{e}"
95
+ end
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ Name | Type | Description | Notes
101
+ ------------- | ------------- | ------------- | -------------
102
+ **query** | [**Query**](Query.md)| Plan query |
103
+
104
+ ### Return type
105
+
106
+ [**Array<Plan>**](Plan.md)
107
+
108
+ ### Authorization
109
+
110
+ No authorization required
111
+
112
+ ### HTTP request headers
113
+
114
+ - **Content-Type**: Not defined
115
+ - **Accept**: Not defined
116
+
117
+
118
+
data/docs/Pricing.md ADDED
@@ -0,0 +1,12 @@
1
+ # VericredClient::Pricing
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **age** | **Integer** | Age of applicant | [optional]
7
+ **effective_date** | **Date** | Effective date of plan | [optional]
8
+ **expiration_date** | **Date** | Plan expiration date | [optional]
9
+ **plan_id** | **Integer** | Foreign key to plans | [optional]
10
+ **rating_area_id** | **Integer** | Foreign key to rating areas | [optional]
11
+
12
+