candidhealth 1.17.1 → 1.17.2
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.
- checksums.yaml +4 -4
- data/lib/candid/claims/types/claim.rb +1 -1
- data/lib/candid/client.rb +1 -6
- data/lib/candid/eligibility/v_2/client.rb +0 -38
- data/lib/candid/encounters/v_4/types/encounter_deep_optional.rb +3 -0
- data/lib/candid/{era → eras}/types/era.rb +1 -1
- data/lib/candid/{era → eras}/types/era_base.rb +1 -1
- data/lib/candid/financials/types/allocation_create.rb +1 -0
- data/lib/candid/financials/types/allocation_earmark_type.rb +19 -0
- data/lib/candid/service_lines/v_2/types/service_line.rb +1 -0
- data/lib/candid/service_lines/v_2/types/service_line_create_base_base.rb +1 -0
- data/lib/candid/service_lines/v_2/types/service_line_create_optional.rb +1 -0
- data/lib/candid/service_lines/v_2/types/service_line_create_standalone.rb +1 -0
- data/lib/candid/service_lines/v_2/types/service_line_update_base.rb +1 -0
- data/lib/candid/service_lines/v_2/types/test_result_type.rb +1 -0
- data/lib/candid/service_lines/v_2/types/universal_service_line_create_standalone.rb +1 -0
- data/lib/candid/version.rb +1 -1
- data/lib/candid.rb +6 -30
- data/reference.md +0 -354
- metadata +4 -28
- data/lib/candid/commons/types/http_service_unavailable_error_message.rb +0 -11
- data/lib/candid/expected_network_status/client.rb +0 -22
- data/lib/candid/expected_network_status/v_1/client.rb +0 -38
- data/lib/candid/expected_network_status/v_1/types/expected_network_status.rb +0 -17
- data/lib/candid/expected_network_status/v_1/types/expected_network_status_request.rb +0 -24
- data/lib/candid/expected_network_status/v_1/types/expected_network_status_response.rb +0 -17
- data/lib/candid/expected_network_status/v_2/client.rb +0 -66
- data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +0 -25
- data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +0 -16
- data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +0 -21
- data/lib/candid/expected_network_status/v_2/types/empty_object.rb +0 -11
- data/lib/candid/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +0 -13
- data/lib/candid/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +0 -25
- data/lib/candid/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +0 -16
- data/lib/candid/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +0 -17
- data/lib/candid/expected_network_status/v_2/types/expected_network_status_v_2.rb +0 -19
- data/lib/candid/expected_network_status/v_2/types/explanation.rb +0 -22
- data/lib/candid/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +0 -15
- data/lib/candid/expected_network_status/v_2/types/in_network_status.rb +0 -14
- data/lib/candid/expected_network_status/v_2/types/indeterminate_network_status.rb +0 -18
- data/lib/candid/expected_network_status/v_2/types/insurance_type.rb +0 -18
- data/lib/candid/expected_network_status/v_2/types/insurance_type_codes.rb +0 -19
- data/lib/candid/expected_network_status/v_2/types/line_of_business.rb +0 -17
- data/lib/candid/expected_network_status/v_2/types/out_of_network_status.rb +0 -17
- data/lib/candid/expected_network_status/v_2/types/service_type.rb +0 -55
data/reference.md
CHANGED
|
@@ -3250,76 +3250,6 @@ client.custom_schemas.v_1.update(
|
|
|
3250
3250
|
</details>
|
|
3251
3251
|
|
|
3252
3252
|
## Eligibility V2
|
|
3253
|
-
<details><summary><code>client.eligibility.v_2.submit_eligibility_check(request) -> Internal::Types::Hash[String, Object]</code></summary>
|
|
3254
|
-
<dl>
|
|
3255
|
-
<dd>
|
|
3256
|
-
|
|
3257
|
-
#### 📝 Description
|
|
3258
|
-
|
|
3259
|
-
<dl>
|
|
3260
|
-
<dd>
|
|
3261
|
-
|
|
3262
|
-
<dl>
|
|
3263
|
-
<dd>
|
|
3264
|
-
|
|
3265
|
-
<Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/pre-encounter/eligibility-checks/v-1/post).
|
|
3266
|
-
For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
|
|
3267
|
-
|
|
3268
|
-
This API is a wrapper around Change Healthcare's eligibility API. Below are some helpful documentation links:
|
|
3269
|
-
|
|
3270
|
-
- [Change Healthcare - Guides: Contents of the Eligibility Request Body](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-request-body)
|
|
3271
|
-
- [Change Healthcare - Guides: Use "Bare Minimum" Eligibility Requests](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-bare-minimum-eligibility-requests)
|
|
3272
|
-
- [Change Healthcare - Guides: Contents of the Eligibility Response](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-response)
|
|
3273
|
-
- [Change Healthcare - Guides: Eligibility JSON-to-EDI API Contents](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-json-to-edi-api-contents)
|
|
3274
|
-
- [Change Healthcare - Guides: Eligibility Error Messages](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-error-messages)
|
|
3275
|
-
- [Change Healthcare - Guides: FAQ](https://developers.changehealthcare.com/eligibilityandclaims/docs/frequently-asked-questions)
|
|
3276
|
-
- [Change Healthcare - Guides: Eligibility FAQs](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-api-requests)
|
|
3277
|
-
- [Change Healthcare - Guides: Sandbox API Values and Test Responses](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-sandbox-api-values-and-test-responses)
|
|
3278
|
-
- [Change Healthcare - Guides: Sandbox Predefined Fields and Values](https://developers.changehealthcare.com/eligibilityandclaims/docs/sandbox-predefined-fields-and-values)
|
|
3279
|
-
- [Change Healthcare - Guides: Using Test Payers in the Sandbox](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-the-test-payers-in-the-sandbox-api)
|
|
3280
|
-
|
|
3281
|
-
A schema of the response object can be found here: [Change Healthcare Docs](https://developers.changehealthcare.com/eligibilityandclaims/reference/medicaleligibility)
|
|
3282
|
-
</dd>
|
|
3283
|
-
</dl>
|
|
3284
|
-
</dd>
|
|
3285
|
-
</dl>
|
|
3286
|
-
|
|
3287
|
-
#### 🔌 Usage
|
|
3288
|
-
|
|
3289
|
-
<dl>
|
|
3290
|
-
<dd>
|
|
3291
|
-
|
|
3292
|
-
<dl>
|
|
3293
|
-
<dd>
|
|
3294
|
-
|
|
3295
|
-
```ruby
|
|
3296
|
-
client.eligibility.v_2.submit_eligibility_check();
|
|
3297
|
-
```
|
|
3298
|
-
</dd>
|
|
3299
|
-
</dl>
|
|
3300
|
-
</dd>
|
|
3301
|
-
</dl>
|
|
3302
|
-
|
|
3303
|
-
#### ⚙️ Parameters
|
|
3304
|
-
|
|
3305
|
-
<dl>
|
|
3306
|
-
<dd>
|
|
3307
|
-
|
|
3308
|
-
<dl>
|
|
3309
|
-
<dd>
|
|
3310
|
-
|
|
3311
|
-
**request:** `Internal::Types::Hash[String, Object]`
|
|
3312
|
-
|
|
3313
|
-
</dd>
|
|
3314
|
-
</dl>
|
|
3315
|
-
</dd>
|
|
3316
|
-
</dl>
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
</dd>
|
|
3320
|
-
</dl>
|
|
3321
|
-
</details>
|
|
3322
|
-
|
|
3323
3253
|
<details><summary><code>client.eligibility.v_2.submit_eligibility_check_availity() -> Internal::Types::Hash[String, Object]</code></summary>
|
|
3324
3254
|
<dl>
|
|
3325
3255
|
<dd>
|
|
@@ -5090,290 +5020,6 @@ client.events.v_1.get();
|
|
|
5090
5020
|
</dl>
|
|
5091
5021
|
|
|
5092
5022
|
|
|
5093
|
-
</dd>
|
|
5094
|
-
</dl>
|
|
5095
|
-
</details>
|
|
5096
|
-
|
|
5097
|
-
## ExpectedNetworkStatus V1
|
|
5098
|
-
<details><summary><code>client.expected_network_status.v_1.compute(request) -> Candid::ExpectedNetworkStatus::V1::Types::ExpectedNetworkStatusResponse</code></summary>
|
|
5099
|
-
<dl>
|
|
5100
|
-
<dd>
|
|
5101
|
-
|
|
5102
|
-
#### 📝 Description
|
|
5103
|
-
|
|
5104
|
-
<dl>
|
|
5105
|
-
<dd>
|
|
5106
|
-
|
|
5107
|
-
<dl>
|
|
5108
|
-
<dd>
|
|
5109
|
-
|
|
5110
|
-
Computes the expected network status given the provided information.
|
|
5111
|
-
</dd>
|
|
5112
|
-
</dl>
|
|
5113
|
-
</dd>
|
|
5114
|
-
</dl>
|
|
5115
|
-
|
|
5116
|
-
#### 🔌 Usage
|
|
5117
|
-
|
|
5118
|
-
<dl>
|
|
5119
|
-
<dd>
|
|
5120
|
-
|
|
5121
|
-
<dl>
|
|
5122
|
-
<dd>
|
|
5123
|
-
|
|
5124
|
-
```ruby
|
|
5125
|
-
client.expected_network_status.v_1.compute(
|
|
5126
|
-
subscriberPayerId: 'subscriber_payer_id',
|
|
5127
|
-
subscriberPayerName: 'subscriber_payer_name',
|
|
5128
|
-
billingProviderNpi: 'billing_provider_npi',
|
|
5129
|
-
billingProviderTin: 'billing_provider_tin',
|
|
5130
|
-
renderingProviderNpi: 'rendering_provider_npi',
|
|
5131
|
-
contractedState: ,
|
|
5132
|
-
dateOfService: 'date_of_service'
|
|
5133
|
-
);
|
|
5134
|
-
```
|
|
5135
|
-
</dd>
|
|
5136
|
-
</dl>
|
|
5137
|
-
</dd>
|
|
5138
|
-
</dl>
|
|
5139
|
-
|
|
5140
|
-
#### ⚙️ Parameters
|
|
5141
|
-
|
|
5142
|
-
<dl>
|
|
5143
|
-
<dd>
|
|
5144
|
-
|
|
5145
|
-
<dl>
|
|
5146
|
-
<dd>
|
|
5147
|
-
|
|
5148
|
-
**external_patient_id:** `String`
|
|
5149
|
-
|
|
5150
|
-
</dd>
|
|
5151
|
-
</dl>
|
|
5152
|
-
|
|
5153
|
-
<dl>
|
|
5154
|
-
<dd>
|
|
5155
|
-
|
|
5156
|
-
**subscriber_payer_id:** `String`
|
|
5157
|
-
|
|
5158
|
-
</dd>
|
|
5159
|
-
</dl>
|
|
5160
|
-
|
|
5161
|
-
<dl>
|
|
5162
|
-
<dd>
|
|
5163
|
-
|
|
5164
|
-
**subscriber_payer_name:** `String`
|
|
5165
|
-
|
|
5166
|
-
</dd>
|
|
5167
|
-
</dl>
|
|
5168
|
-
|
|
5169
|
-
<dl>
|
|
5170
|
-
<dd>
|
|
5171
|
-
|
|
5172
|
-
**subscriber_insurance_type:** `Candid::Commons::Types::InsuranceTypeCode`
|
|
5173
|
-
|
|
5174
|
-
</dd>
|
|
5175
|
-
</dl>
|
|
5176
|
-
|
|
5177
|
-
<dl>
|
|
5178
|
-
<dd>
|
|
5179
|
-
|
|
5180
|
-
**subscriber_plan_name:** `String` — The descriptive name of the insurance plan selected by the subscriber, often indicating coverage specifics or tier.
|
|
5181
|
-
|
|
5182
|
-
</dd>
|
|
5183
|
-
</dl>
|
|
5184
|
-
|
|
5185
|
-
<dl>
|
|
5186
|
-
<dd>
|
|
5187
|
-
|
|
5188
|
-
**billing_provider_npi:** `String` — The National Provider Identifier (NPI) of the healthcare provider responsible for billing. A unique 10-digit identification number.
|
|
5189
|
-
|
|
5190
|
-
</dd>
|
|
5191
|
-
</dl>
|
|
5192
|
-
|
|
5193
|
-
<dl>
|
|
5194
|
-
<dd>
|
|
5195
|
-
|
|
5196
|
-
**billing_provider_tin:** `String` — Follow the 9-digit format of the Taxpayer Identification Number (TIN).
|
|
5197
|
-
|
|
5198
|
-
</dd>
|
|
5199
|
-
</dl>
|
|
5200
|
-
|
|
5201
|
-
<dl>
|
|
5202
|
-
<dd>
|
|
5203
|
-
|
|
5204
|
-
**rendering_provider_npi:** `String` — The National Provider Identifier (NPI) of the healthcare provider who delivered the services. A unique 10-digit identification number.
|
|
5205
|
-
|
|
5206
|
-
</dd>
|
|
5207
|
-
</dl>
|
|
5208
|
-
|
|
5209
|
-
<dl>
|
|
5210
|
-
<dd>
|
|
5211
|
-
|
|
5212
|
-
**contracted_state:** `Candid::Commons::Types::State` — The state in which the healthcare provider has a contractual agreement with the insurance payer.
|
|
5213
|
-
|
|
5214
|
-
</dd>
|
|
5215
|
-
</dl>
|
|
5216
|
-
|
|
5217
|
-
<dl>
|
|
5218
|
-
<dd>
|
|
5219
|
-
|
|
5220
|
-
**date_of_service:** `String` — Date formatted as YYYY-MM-DD; eg: 2019-08-25.
|
|
5221
|
-
|
|
5222
|
-
</dd>
|
|
5223
|
-
</dl>
|
|
5224
|
-
</dd>
|
|
5225
|
-
</dl>
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
</dd>
|
|
5229
|
-
</dl>
|
|
5230
|
-
</details>
|
|
5231
|
-
|
|
5232
|
-
## ExpectedNetworkStatus V2
|
|
5233
|
-
<details><summary><code>client.expected_network_status.v_2.compute_for_rendering_provider(rendering_provider_id, request) -> Candid::ExpectedNetworkStatus::V2::Types::ExpectedNetworkStatusResponseV2</code></summary>
|
|
5234
|
-
<dl>
|
|
5235
|
-
<dd>
|
|
5236
|
-
|
|
5237
|
-
#### 📝 Description
|
|
5238
|
-
|
|
5239
|
-
<dl>
|
|
5240
|
-
<dd>
|
|
5241
|
-
|
|
5242
|
-
<dl>
|
|
5243
|
-
<dd>
|
|
5244
|
-
|
|
5245
|
-
Computes the expected network status for a given rendering provider.
|
|
5246
|
-
This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
5247
|
-
to discuss enabling this endpoint if it is not available for your organization.
|
|
5248
|
-
</dd>
|
|
5249
|
-
</dl>
|
|
5250
|
-
</dd>
|
|
5251
|
-
</dl>
|
|
5252
|
-
|
|
5253
|
-
#### 🔌 Usage
|
|
5254
|
-
|
|
5255
|
-
<dl>
|
|
5256
|
-
<dd>
|
|
5257
|
-
|
|
5258
|
-
<dl>
|
|
5259
|
-
<dd>
|
|
5260
|
-
|
|
5261
|
-
```ruby
|
|
5262
|
-
client.expected_network_status.v_2.compute_for_rendering_provider({
|
|
5263
|
-
subscriber_information: {
|
|
5264
|
-
payer_uuid: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
|
|
5265
|
-
member_id: 'member_id',
|
|
5266
|
-
insurance_type: {}
|
|
5267
|
-
},
|
|
5268
|
-
patient_address: {
|
|
5269
|
-
address1: 'address1',
|
|
5270
|
-
city: 'city',
|
|
5271
|
-
zip_code: 'zip_code'
|
|
5272
|
-
},
|
|
5273
|
-
billing_provider_id: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
|
|
5274
|
-
organization_service_facility_id: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
|
|
5275
|
-
date_of_service: '2023-01-15'
|
|
5276
|
-
});
|
|
5277
|
-
```
|
|
5278
|
-
</dd>
|
|
5279
|
-
</dl>
|
|
5280
|
-
</dd>
|
|
5281
|
-
</dl>
|
|
5282
|
-
|
|
5283
|
-
#### ⚙️ Parameters
|
|
5284
|
-
|
|
5285
|
-
<dl>
|
|
5286
|
-
<dd>
|
|
5287
|
-
|
|
5288
|
-
<dl>
|
|
5289
|
-
<dd>
|
|
5290
|
-
|
|
5291
|
-
**rendering_provider_id:** `String`
|
|
5292
|
-
|
|
5293
|
-
</dd>
|
|
5294
|
-
</dl>
|
|
5295
|
-
|
|
5296
|
-
<dl>
|
|
5297
|
-
<dd>
|
|
5298
|
-
|
|
5299
|
-
**request:** `Candid::ExpectedNetworkStatus::V2::Types::ExpectedNetworkStatusRequestV2`
|
|
5300
|
-
|
|
5301
|
-
</dd>
|
|
5302
|
-
</dl>
|
|
5303
|
-
</dd>
|
|
5304
|
-
</dl>
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
</dd>
|
|
5308
|
-
</dl>
|
|
5309
|
-
</details>
|
|
5310
|
-
|
|
5311
|
-
<details><summary><code>client.expected_network_status.v_2.compute_all_in_network_providers(request) -> Candid::ExpectedNetworkStatus::V2::Types::ComputeAllInNetworkProvidersResponse</code></summary>
|
|
5312
|
-
<dl>
|
|
5313
|
-
<dd>
|
|
5314
|
-
|
|
5315
|
-
#### 📝 Description
|
|
5316
|
-
|
|
5317
|
-
<dl>
|
|
5318
|
-
<dd>
|
|
5319
|
-
|
|
5320
|
-
<dl>
|
|
5321
|
-
<dd>
|
|
5322
|
-
|
|
5323
|
-
Computes all the in network providers for a given set of inputs.
|
|
5324
|
-
This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
5325
|
-
to discuss enabling this endpoint if it is not available for your organization.
|
|
5326
|
-
</dd>
|
|
5327
|
-
</dl>
|
|
5328
|
-
</dd>
|
|
5329
|
-
</dl>
|
|
5330
|
-
|
|
5331
|
-
#### 🔌 Usage
|
|
5332
|
-
|
|
5333
|
-
<dl>
|
|
5334
|
-
<dd>
|
|
5335
|
-
|
|
5336
|
-
<dl>
|
|
5337
|
-
<dd>
|
|
5338
|
-
|
|
5339
|
-
```ruby
|
|
5340
|
-
client.expected_network_status.v_2.compute_all_in_network_providers({
|
|
5341
|
-
subscriber_information: {
|
|
5342
|
-
payer_uuid: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
|
|
5343
|
-
member_id: 'member_id',
|
|
5344
|
-
insurance_type: {}
|
|
5345
|
-
},
|
|
5346
|
-
patient_address: {
|
|
5347
|
-
address1: 'address1',
|
|
5348
|
-
city: 'city',
|
|
5349
|
-
zip_code: 'zip_code'
|
|
5350
|
-
},
|
|
5351
|
-
billing_provider_id: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
|
|
5352
|
-
organization_service_facility_id: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
|
|
5353
|
-
date_of_service: '2023-01-15'
|
|
5354
|
-
});
|
|
5355
|
-
```
|
|
5356
|
-
</dd>
|
|
5357
|
-
</dl>
|
|
5358
|
-
</dd>
|
|
5359
|
-
</dl>
|
|
5360
|
-
|
|
5361
|
-
#### ⚙️ Parameters
|
|
5362
|
-
|
|
5363
|
-
<dl>
|
|
5364
|
-
<dd>
|
|
5365
|
-
|
|
5366
|
-
<dl>
|
|
5367
|
-
<dd>
|
|
5368
|
-
|
|
5369
|
-
**request:** `Candid::ExpectedNetworkStatus::V2::Types::ComputeAllInNetworkProvidersRequest`
|
|
5370
|
-
|
|
5371
|
-
</dd>
|
|
5372
|
-
</dl>
|
|
5373
|
-
</dd>
|
|
5374
|
-
</dl>
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
5023
|
</dd>
|
|
5378
5024
|
</dl>
|
|
5379
5025
|
</details>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: candidhealth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.17.
|
|
4
|
+
version: 1.17.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Candid
|
|
@@ -80,7 +80,6 @@ files:
|
|
|
80
80
|
- lib/candid/commons/types/entity_not_found_error_message.rb
|
|
81
81
|
- lib/candid/commons/types/epsdt_referral_condition_indicator_code.rb
|
|
82
82
|
- lib/candid/commons/types/facility_type_code.rb
|
|
83
|
-
- lib/candid/commons/types/http_service_unavailable_error_message.rb
|
|
84
83
|
- lib/candid/commons/types/insurance_type_code.rb
|
|
85
84
|
- lib/candid/commons/types/intended_submission_medium.rb
|
|
86
85
|
- lib/candid/commons/types/internal_error_message.rb
|
|
@@ -298,8 +297,8 @@ files:
|
|
|
298
297
|
- lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb
|
|
299
298
|
- lib/candid/encounters_universal/types/universal_encounter_update.rb
|
|
300
299
|
- lib/candid/encounters_universal/types/universal_encounter_update_base.rb
|
|
301
|
-
- lib/candid/
|
|
302
|
-
- lib/candid/
|
|
300
|
+
- lib/candid/eras/types/era.rb
|
|
301
|
+
- lib/candid/eras/types/era_base.rb
|
|
303
302
|
- lib/candid/errors/api_error.rb
|
|
304
303
|
- lib/candid/errors/client_error.rb
|
|
305
304
|
- lib/candid/errors/redirect_error.rb
|
|
@@ -311,30 +310,6 @@ files:
|
|
|
311
310
|
- lib/candid/events/v_1/types/event.rb
|
|
312
311
|
- lib/candid/events/v_1/types/event_scan_page.rb
|
|
313
312
|
- lib/candid/events/v_1/types/get_event_scan_request.rb
|
|
314
|
-
- lib/candid/expected_network_status/client.rb
|
|
315
|
-
- lib/candid/expected_network_status/v_1/client.rb
|
|
316
|
-
- lib/candid/expected_network_status/v_1/types/expected_network_status.rb
|
|
317
|
-
- lib/candid/expected_network_status/v_1/types/expected_network_status_request.rb
|
|
318
|
-
- lib/candid/expected_network_status/v_1/types/expected_network_status_response.rb
|
|
319
|
-
- lib/candid/expected_network_status/v_2/client.rb
|
|
320
|
-
- lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb
|
|
321
|
-
- lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb
|
|
322
|
-
- lib/candid/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb
|
|
323
|
-
- lib/candid/expected_network_status/v_2/types/empty_object.rb
|
|
324
|
-
- lib/candid/expected_network_status/v_2/types/expected_network_status_check_error_message.rb
|
|
325
|
-
- lib/candid/expected_network_status/v_2/types/expected_network_status_request_v_2.rb
|
|
326
|
-
- lib/candid/expected_network_status/v_2/types/expected_network_status_response_v_2.rb
|
|
327
|
-
- lib/candid/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb
|
|
328
|
-
- lib/candid/expected_network_status/v_2/types/expected_network_status_v_2.rb
|
|
329
|
-
- lib/candid/expected_network_status/v_2/types/explanation.rb
|
|
330
|
-
- lib/candid/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb
|
|
331
|
-
- lib/candid/expected_network_status/v_2/types/in_network_status.rb
|
|
332
|
-
- lib/candid/expected_network_status/v_2/types/indeterminate_network_status.rb
|
|
333
|
-
- lib/candid/expected_network_status/v_2/types/insurance_type.rb
|
|
334
|
-
- lib/candid/expected_network_status/v_2/types/insurance_type_codes.rb
|
|
335
|
-
- lib/candid/expected_network_status/v_2/types/line_of_business.rb
|
|
336
|
-
- lib/candid/expected_network_status/v_2/types/out_of_network_status.rb
|
|
337
|
-
- lib/candid/expected_network_status/v_2/types/service_type.rb
|
|
338
313
|
- lib/candid/exports/client.rb
|
|
339
314
|
- lib/candid/exports/v_3/client.rb
|
|
340
315
|
- lib/candid/exports/v_3/types/get_exports_request.rb
|
|
@@ -384,6 +359,7 @@ files:
|
|
|
384
359
|
- lib/candid/financials/types/account_type.rb
|
|
385
360
|
- lib/candid/financials/types/allocation.rb
|
|
386
361
|
- lib/candid/financials/types/allocation_create.rb
|
|
362
|
+
- lib/candid/financials/types/allocation_earmark_type.rb
|
|
387
363
|
- lib/candid/financials/types/allocation_target.rb
|
|
388
364
|
- lib/candid/financials/types/allocation_target_create.rb
|
|
389
365
|
- lib/candid/financials/types/appointment_allocation_target.rb
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
class Client
|
|
6
|
-
# @return [Candid::ExpectedNetworkStatus::Client]
|
|
7
|
-
def initialize(client:)
|
|
8
|
-
@client = client
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
# @return [Candid::V1::Client]
|
|
12
|
-
def v_1
|
|
13
|
-
@v_1 ||= Candid::ExpectedNetworkStatus::V1::Client.new(client: @client)
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
# @return [Candid::V2::Client]
|
|
17
|
-
def v_2
|
|
18
|
-
@v_2 ||= Candid::ExpectedNetworkStatus::V2::Client.new(client: @client)
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
module V1
|
|
6
|
-
class Client
|
|
7
|
-
# @return [Candid::ExpectedNetworkStatus::V1::Client]
|
|
8
|
-
def initialize(client:)
|
|
9
|
-
@client = client
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# Computes the expected network status given the provided information.
|
|
13
|
-
#
|
|
14
|
-
# @return [Candid::ExpectedNetworkStatus::V1::Types::ExpectedNetworkStatusResponse]
|
|
15
|
-
def compute(request_options: {}, **params)
|
|
16
|
-
_request = Candid::Internal::JSON::Request.new(
|
|
17
|
-
base_url: request_options[:base_url] || Candid::Environment::PRODUCTION,
|
|
18
|
-
method: "POST",
|
|
19
|
-
path: "/api/expected-network-status/v1",
|
|
20
|
-
body: params
|
|
21
|
-
)
|
|
22
|
-
begin
|
|
23
|
-
_response = @client.send(_request)
|
|
24
|
-
rescue Net::HTTPRequestTimeout
|
|
25
|
-
raise Candid::Errors::TimeoutError
|
|
26
|
-
end
|
|
27
|
-
code = _response.code.to_i
|
|
28
|
-
if code.between?(200, 299)
|
|
29
|
-
Candid::ExpectedNetworkStatus::V1::Types::ExpectedNetworkStatusResponse.load(_response.body)
|
|
30
|
-
else
|
|
31
|
-
error_class = Candid::Errors::ResponseError.subclass_for_code(code)
|
|
32
|
-
raise error_class.new(_response.body, code: code)
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
module V1
|
|
6
|
-
module Types
|
|
7
|
-
module ExpectedNetworkStatus
|
|
8
|
-
extend Candid::Internal::Types::Enum
|
|
9
|
-
|
|
10
|
-
IN_NETWORK = "in_network"
|
|
11
|
-
OUT_OF_NETWORK = "out_of_network"
|
|
12
|
-
UNKNOWN = "unknown"
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
module V1
|
|
6
|
-
module Types
|
|
7
|
-
class ExpectedNetworkStatusRequest < Internal::Types::Model
|
|
8
|
-
field :external_patient_id, -> { String }, optional: true, nullable: false
|
|
9
|
-
field :subscriber_payer_id, -> { String }, optional: false, nullable: false
|
|
10
|
-
field :subscriber_payer_name, -> { String }, optional: false, nullable: false
|
|
11
|
-
field :subscriber_insurance_type, lambda {
|
|
12
|
-
Candid::Commons::Types::InsuranceTypeCode
|
|
13
|
-
}, optional: true, nullable: false
|
|
14
|
-
field :subscriber_plan_name, -> { String }, optional: true, nullable: false
|
|
15
|
-
field :billing_provider_npi, -> { String }, optional: false, nullable: false
|
|
16
|
-
field :billing_provider_tin, -> { String }, optional: false, nullable: false
|
|
17
|
-
field :rendering_provider_npi, -> { String }, optional: false, nullable: false
|
|
18
|
-
field :contracted_state, -> { Candid::Commons::Types::State }, optional: false, nullable: false
|
|
19
|
-
field :date_of_service, -> { String }, optional: false, nullable: false
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
module V1
|
|
6
|
-
module Types
|
|
7
|
-
class ExpectedNetworkStatusResponse < Internal::Types::Model
|
|
8
|
-
field :expected_network_status, lambda {
|
|
9
|
-
Candid::ExpectedNetworkStatus::V1::Types::ExpectedNetworkStatus
|
|
10
|
-
}, optional: false, nullable: false
|
|
11
|
-
field :explanation, -> { String }, optional: false, nullable: false
|
|
12
|
-
field :contract_id, -> { String }, optional: true, nullable: false
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
module V2
|
|
6
|
-
class Client
|
|
7
|
-
# @return [Candid::ExpectedNetworkStatus::V2::Client]
|
|
8
|
-
def initialize(client:)
|
|
9
|
-
@client = client
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# Computes the expected network status for a given rendering provider.
|
|
13
|
-
# This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
14
|
-
# to discuss enabling this endpoint if it is not available for your organization.
|
|
15
|
-
#
|
|
16
|
-
# @return [Candid::ExpectedNetworkStatus::V2::Types::ExpectedNetworkStatusResponseV2]
|
|
17
|
-
def compute_for_rendering_provider(request_options: {}, **params)
|
|
18
|
-
_request = Candid::Internal::JSON::Request.new(
|
|
19
|
-
base_url: request_options[:base_url] || Candid::Environment::PRODUCTION,
|
|
20
|
-
method: "POST",
|
|
21
|
-
path: "/api/expected-network-status/v2/compute/#{params[:rendering_provider_id]}",
|
|
22
|
-
body: Candid::ExpectedNetworkStatus::V2::Types::ExpectedNetworkStatusRequestV2.new(params).to_h
|
|
23
|
-
)
|
|
24
|
-
begin
|
|
25
|
-
_response = @client.send(_request)
|
|
26
|
-
rescue Net::HTTPRequestTimeout
|
|
27
|
-
raise Candid::Errors::TimeoutError
|
|
28
|
-
end
|
|
29
|
-
code = _response.code.to_i
|
|
30
|
-
if code.between?(200, 299)
|
|
31
|
-
Candid::ExpectedNetworkStatus::V2::Types::ExpectedNetworkStatusResponseV2.load(_response.body)
|
|
32
|
-
else
|
|
33
|
-
error_class = Candid::Errors::ResponseError.subclass_for_code(code)
|
|
34
|
-
raise error_class.new(_response.body, code: code)
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
# Computes all the in network providers for a given set of inputs.
|
|
39
|
-
# This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
40
|
-
# to discuss enabling this endpoint if it is not available for your organization.
|
|
41
|
-
#
|
|
42
|
-
# @return [Candid::ExpectedNetworkStatus::V2::Types::ComputeAllInNetworkProvidersResponse]
|
|
43
|
-
def compute_all_in_network_providers(request_options: {}, **params)
|
|
44
|
-
_request = Candid::Internal::JSON::Request.new(
|
|
45
|
-
base_url: request_options[:base_url] || Candid::Environment::PRODUCTION,
|
|
46
|
-
method: "POST",
|
|
47
|
-
path: "/api/expected-network-status/v2/compute",
|
|
48
|
-
body: Candid::ExpectedNetworkStatus::V2::Types::ComputeAllInNetworkProvidersRequest.new(params).to_h
|
|
49
|
-
)
|
|
50
|
-
begin
|
|
51
|
-
_response = @client.send(_request)
|
|
52
|
-
rescue Net::HTTPRequestTimeout
|
|
53
|
-
raise Candid::Errors::TimeoutError
|
|
54
|
-
end
|
|
55
|
-
code = _response.code.to_i
|
|
56
|
-
if code.between?(200, 299)
|
|
57
|
-
Candid::ExpectedNetworkStatus::V2::Types::ComputeAllInNetworkProvidersResponse.load(_response.body)
|
|
58
|
-
else
|
|
59
|
-
error_class = Candid::Errors::ResponseError.subclass_for_code(code)
|
|
60
|
-
raise error_class.new(_response.body, code: code)
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
end
|
data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
module V2
|
|
6
|
-
module Types
|
|
7
|
-
class ComputeAllInNetworkProvidersRequest < Internal::Types::Model
|
|
8
|
-
field :service_type, lambda {
|
|
9
|
-
Candid::ExpectedNetworkStatus::V2::Types::ServiceType
|
|
10
|
-
}, optional: false, nullable: false
|
|
11
|
-
field :place_of_service_code, lambda {
|
|
12
|
-
Candid::Commons::Types::FacilityTypeCode
|
|
13
|
-
}, optional: false, nullable: false
|
|
14
|
-
field :subscriber_information, lambda {
|
|
15
|
-
Candid::ExpectedNetworkStatus::V2::Types::ExpectedNetworkStatusSubscriberInformation
|
|
16
|
-
}, optional: false, nullable: false
|
|
17
|
-
field :patient_address, -> { Candid::Commons::Types::StreetAddressShortZip }, optional: false, nullable: false
|
|
18
|
-
field :billing_provider_id, -> { String }, optional: false, nullable: false
|
|
19
|
-
field :organization_service_facility_id, -> { String }, optional: false, nullable: false
|
|
20
|
-
field :date_of_service, -> { String }, optional: false, nullable: false
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Candid
|
|
4
|
-
module ExpectedNetworkStatus
|
|
5
|
-
module V2
|
|
6
|
-
module Types
|
|
7
|
-
class ComputeAllInNetworkProvidersResponse < Internal::Types::Model
|
|
8
|
-
field :computed_network_status, lambda {
|
|
9
|
-
Candid::ExpectedNetworkStatus::V2::Types::ComputeAllInNetworkRenderingProvidersResult
|
|
10
|
-
}, optional: false, nullable: false
|
|
11
|
-
field :network_status_check_id, -> { String }, optional: false, nullable: false
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|