candidhealth 1.17.0 → 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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candid/claims/types/claim.rb +1 -1
  3. data/lib/candid/client.rb +1 -11
  4. data/lib/candid/eligibility/v_2/client.rb +0 -38
  5. data/lib/candid/encounter_providers/v_2/types/billing_provider.rb +3 -0
  6. data/lib/candid/encounter_providers/v_2/types/billing_provider_update.rb +3 -0
  7. data/lib/candid/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +3 -0
  8. data/lib/candid/encounter_providers/v_2/types/encounter_provider.rb +3 -0
  9. data/lib/candid/encounter_providers/v_2/types/provider_secondary_identification.rb +13 -0
  10. data/lib/candid/encounter_providers/v_2/types/rendering_provider.rb +3 -0
  11. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update.rb +3 -0
  12. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +3 -0
  13. data/lib/candid/encounters/v_4/client.rb +15 -0
  14. data/lib/candid/encounters/v_4/types/encounter.rb +3 -0
  15. data/lib/candid/encounters/v_4/types/encounter_deep_optional.rb +3 -0
  16. data/lib/candid/encounters_universal/types/universal_encounter_create_base.rb +3 -0
  17. data/lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +3 -0
  18. data/lib/candid/encounters_universal/types/universal_encounter_update_base.rb +3 -0
  19. data/lib/candid/{era → eras}/types/era.rb +1 -1
  20. data/lib/candid/{era → eras}/types/era_base.rb +1 -1
  21. data/lib/candid/fee_schedules/v_3/client.rb +9 -1
  22. data/lib/candid/fee_schedules/v_3/types/payer_threshold.rb +6 -1
  23. data/lib/candid/financials/types/allocation_create.rb +1 -0
  24. data/lib/candid/financials/types/allocation_earmark_type.rb +19 -0
  25. data/lib/candid/related_causes_information/v_1/types/related_causes_code.rb +20 -0
  26. data/lib/candid/related_causes_information/v_1/types/related_causes_information.rb +19 -0
  27. data/lib/candid/related_causes_information/v_1/types/related_causes_information_create.rb +11 -0
  28. data/lib/candid/related_causes_information/v_1/types/related_causes_information_update.rb +11 -0
  29. data/lib/candid/service_lines/v_2/types/service_line.rb +1 -0
  30. data/lib/candid/service_lines/v_2/types/service_line_create_base_base.rb +1 -0
  31. data/lib/candid/service_lines/v_2/types/service_line_create_optional.rb +1 -0
  32. data/lib/candid/service_lines/v_2/types/service_line_create_standalone.rb +1 -0
  33. data/lib/candid/service_lines/v_2/types/service_line_update_base.rb +1 -0
  34. data/lib/candid/service_lines/v_2/types/test_result_type.rb +1 -0
  35. data/lib/candid/service_lines/v_2/types/universal_service_line_create_standalone.rb +1 -0
  36. data/lib/candid/version.rb +1 -1
  37. data/lib/candid.rb +9 -34
  38. data/reference.md +62 -522
  39. metadata +9 -34
  40. data/lib/candid/commons/types/http_service_unavailable_error_message.rb +0 -11
  41. data/lib/candid/expected_network_status/client.rb +0 -22
  42. data/lib/candid/expected_network_status/v_1/client.rb +0 -38
  43. data/lib/candid/expected_network_status/v_1/types/expected_network_status.rb +0 -17
  44. data/lib/candid/expected_network_status/v_1/types/expected_network_status_request.rb +0 -24
  45. data/lib/candid/expected_network_status/v_1/types/expected_network_status_response.rb +0 -17
  46. data/lib/candid/expected_network_status/v_2/client.rb +0 -66
  47. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +0 -25
  48. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +0 -16
  49. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +0 -21
  50. data/lib/candid/expected_network_status/v_2/types/empty_object.rb +0 -11
  51. data/lib/candid/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +0 -13
  52. data/lib/candid/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +0 -25
  53. data/lib/candid/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +0 -16
  54. data/lib/candid/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +0 -17
  55. data/lib/candid/expected_network_status/v_2/types/expected_network_status_v_2.rb +0 -19
  56. data/lib/candid/expected_network_status/v_2/types/explanation.rb +0 -22
  57. data/lib/candid/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +0 -15
  58. data/lib/candid/expected_network_status/v_2/types/in_network_status.rb +0 -14
  59. data/lib/candid/expected_network_status/v_2/types/indeterminate_network_status.rb +0 -18
  60. data/lib/candid/expected_network_status/v_2/types/insurance_type.rb +0 -18
  61. data/lib/candid/expected_network_status/v_2/types/insurance_type_codes.rb +0 -19
  62. data/lib/candid/expected_network_status/v_2/types/line_of_business.rb +0 -17
  63. data/lib/candid/expected_network_status/v_2/types/out_of_network_status.rb +0 -17
  64. data/lib/candid/expected_network_status/v_2/types/service_type.rb +0 -55
  65. data/lib/candid/insurance_payments/client.rb +0 -17
  66. data/lib/candid/insurance_payments/v_1/client.rb +0 -68
  67. data/lib/candid/insurance_payments/v_1/types/get_multi_insurance_payment_request.rb +0 -22
  68. data/lib/candid/insurance_payments/v_1/types/insurance_payment.rb +0 -20
  69. data/lib/candid/insurance_payments/v_1/types/insurance_payment_sort_field.rb +0 -17
  70. data/lib/candid/insurance_payments/v_1/types/insurance_payments_page.rb +0 -15
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.0
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
@@ -215,6 +214,7 @@ files:
215
214
  - lib/candid/encounter_providers/v_2/types/ordering_provider.rb
216
215
  - lib/candid/encounter_providers/v_2/types/ordering_provider_optional.rb
217
216
  - lib/candid/encounter_providers/v_2/types/ordering_provider_update.rb
217
+ - lib/candid/encounter_providers/v_2/types/provider_secondary_identification.rb
218
218
  - lib/candid/encounter_providers/v_2/types/referring_provider.rb
219
219
  - lib/candid/encounter_providers/v_2/types/referring_provider_update.rb
220
220
  - lib/candid/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb
@@ -297,8 +297,8 @@ files:
297
297
  - lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb
298
298
  - lib/candid/encounters_universal/types/universal_encounter_update.rb
299
299
  - lib/candid/encounters_universal/types/universal_encounter_update_base.rb
300
- - lib/candid/era/types/era.rb
301
- - lib/candid/era/types/era_base.rb
300
+ - lib/candid/eras/types/era.rb
301
+ - lib/candid/eras/types/era_base.rb
302
302
  - lib/candid/errors/api_error.rb
303
303
  - lib/candid/errors/client_error.rb
304
304
  - lib/candid/errors/redirect_error.rb
@@ -310,30 +310,6 @@ files:
310
310
  - lib/candid/events/v_1/types/event.rb
311
311
  - lib/candid/events/v_1/types/event_scan_page.rb
312
312
  - lib/candid/events/v_1/types/get_event_scan_request.rb
313
- - lib/candid/expected_network_status/client.rb
314
- - lib/candid/expected_network_status/v_1/client.rb
315
- - lib/candid/expected_network_status/v_1/types/expected_network_status.rb
316
- - lib/candid/expected_network_status/v_1/types/expected_network_status_request.rb
317
- - lib/candid/expected_network_status/v_1/types/expected_network_status_response.rb
318
- - lib/candid/expected_network_status/v_2/client.rb
319
- - lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb
320
- - lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb
321
- - lib/candid/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb
322
- - lib/candid/expected_network_status/v_2/types/empty_object.rb
323
- - lib/candid/expected_network_status/v_2/types/expected_network_status_check_error_message.rb
324
- - lib/candid/expected_network_status/v_2/types/expected_network_status_request_v_2.rb
325
- - lib/candid/expected_network_status/v_2/types/expected_network_status_response_v_2.rb
326
- - lib/candid/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb
327
- - lib/candid/expected_network_status/v_2/types/expected_network_status_v_2.rb
328
- - lib/candid/expected_network_status/v_2/types/explanation.rb
329
- - lib/candid/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb
330
- - lib/candid/expected_network_status/v_2/types/in_network_status.rb
331
- - lib/candid/expected_network_status/v_2/types/indeterminate_network_status.rb
332
- - lib/candid/expected_network_status/v_2/types/insurance_type.rb
333
- - lib/candid/expected_network_status/v_2/types/insurance_type_codes.rb
334
- - lib/candid/expected_network_status/v_2/types/line_of_business.rb
335
- - lib/candid/expected_network_status/v_2/types/out_of_network_status.rb
336
- - lib/candid/expected_network_status/v_2/types/service_type.rb
337
313
  - lib/candid/exports/client.rb
338
314
  - lib/candid/exports/v_3/client.rb
339
315
  - lib/candid/exports/v_3/types/get_exports_request.rb
@@ -383,6 +359,7 @@ files:
383
359
  - lib/candid/financials/types/account_type.rb
384
360
  - lib/candid/financials/types/allocation.rb
385
361
  - lib/candid/financials/types/allocation_create.rb
362
+ - lib/candid/financials/types/allocation_earmark_type.rb
386
363
  - lib/candid/financials/types/allocation_target.rb
387
364
  - lib/candid/financials/types/allocation_target_create.rb
388
365
  - lib/candid/financials/types/appointment_allocation_target.rb
@@ -504,12 +481,6 @@ files:
504
481
  - lib/candid/insurance_cards/v_2/types/insurance_card_base.rb
505
482
  - lib/candid/insurance_cards/v_2/types/insurance_card_create.rb
506
483
  - lib/candid/insurance_cards/v_2/types/insurance_card_create_optional.rb
507
- - lib/candid/insurance_payments/client.rb
508
- - lib/candid/insurance_payments/v_1/client.rb
509
- - lib/candid/insurance_payments/v_1/types/get_multi_insurance_payment_request.rb
510
- - lib/candid/insurance_payments/v_1/types/insurance_payment.rb
511
- - lib/candid/insurance_payments/v_1/types/insurance_payment_sort_field.rb
512
- - lib/candid/insurance_payments/v_1/types/insurance_payments_page.rb
513
484
  - lib/candid/insurance_refunds/client.rb
514
485
  - lib/candid/insurance_refunds/v_1/client.rb
515
486
  - lib/candid/insurance_refunds/v_1/types/get_multi_insurance_refunds_request.rb
@@ -840,6 +811,10 @@ files:
840
811
  - lib/candid/pre_encounter/tags/v_1/types/mutable_tag.rb
841
812
  - lib/candid/pre_encounter/tags/v_1/types/tag.rb
842
813
  - lib/candid/pre_encounter/tags/v_1/types/tag_page.rb
814
+ - lib/candid/related_causes_information/v_1/types/related_causes_code.rb
815
+ - lib/candid/related_causes_information/v_1/types/related_causes_information.rb
816
+ - lib/candid/related_causes_information/v_1/types/related_causes_information_create.rb
817
+ - lib/candid/related_causes_information/v_1/types/related_causes_information_update.rb
843
818
  - lib/candid/service_facility/types/encounter_service_facility.rb
844
819
  - lib/candid/service_facility/types/encounter_service_facility_base.rb
845
820
  - lib/candid/service_facility/types/encounter_service_facility_update.rb
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module Commons
5
- module Types
6
- class HttpServiceUnavailableErrorMessage < Internal::Types::Model
7
- field :message, -> { String }, optional: true, nullable: false
8
- end
9
- end
10
- end
11
- end
@@ -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
@@ -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
@@ -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
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class ComputeAllInNetworkRenderingProvidersResult < Internal::Types::Model
8
- extend Candid::Internal::Types::Union
9
-
10
- discriminant :type
11
-
12
- member lambda {
13
- Candid::ExpectedNetworkStatus::V2::Types::InNetworkRenderingProvidersDetail
14
- }, key: "RENDERING_PROVIDERS"
15
- member -> { Candid::ExpectedNetworkStatus::V2::Types::IndeterminateNetworkStatus }, key: "INDETERMINATE"
16
- member -> { Candid::ExpectedNetworkStatus::V2::Types::OutOfNetworkStatus }, key: "OUT_OF_NETWORK"
17
- end
18
- end
19
- end
20
- end
21
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class EmptyObject < Internal::Types::Model; end
8
- end
9
- end
10
- end
11
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class ExpectedNetworkStatusCheckErrorMessage < Internal::Types::Model
8
- field :message, -> { String }, optional: false, nullable: false
9
- end
10
- end
11
- end
12
- end
13
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class ExpectedNetworkStatusRequestV2 < 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
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class ExpectedNetworkStatusResponseV2 < Internal::Types::Model
8
- field :network_status_check_id, -> { String }, optional: false, nullable: false
9
- field :network_status, lambda {
10
- Candid::ExpectedNetworkStatus::V2::Types::ExpectedNetworkStatusV2
11
- }, optional: false, nullable: false
12
- end
13
- end
14
- end
15
- end
16
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class ExpectedNetworkStatusSubscriberInformation < Internal::Types::Model
8
- field :payer_uuid, -> { String }, optional: false, nullable: false
9
- field :member_id, -> { String }, optional: false, nullable: false
10
- field :insurance_type, lambda {
11
- Candid::ExpectedNetworkStatus::V2::Types::InsuranceType
12
- }, optional: false, nullable: false
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class ExpectedNetworkStatusV2 < Internal::Types::Model
8
- extend Candid::Internal::Types::Union
9
-
10
- discriminant :type
11
-
12
- member -> { Candid::ExpectedNetworkStatus::V2::Types::InNetworkStatus }, key: "IN_NETWORK"
13
- member -> { Candid::ExpectedNetworkStatus::V2::Types::OutOfNetworkStatus }, key: "OUT_OF_NETWORK"
14
- member -> { Candid::ExpectedNetworkStatus::V2::Types::IndeterminateNetworkStatus }, key: "INDETERMINATE"
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- module Explanation
8
- extend Candid::Internal::Types::Enum
9
-
10
- ROUTING_FAILED = "Payer Routing and/or Billing Provider Routing Failed"
11
- PAYER_MATCH_FAILED = "No Effective Contract with Payer"
12
- BILLING_PROVIDER_MATCH_FAILED = "No Effective Contract with Billing Provider"
13
- COVERED_GEOGRAPHY_MATCH_FAILED = "No Effective Contract with Covered Geography"
14
- LINE_OF_BUSINESS_MATCH_FAILED = "No Effective Contract with Line of Business"
15
- INSURANCE_TYPE_MATCH_FAILED = "No Effective Contract with Insurance Type"
16
- RENDERING_PROVIDER_MATCH_FAILED = "No Effective Contract with Rendering Provider"
17
- RENDERING_PROVIDER_CREDENTIALING_CHECK_FAILED = "Rendering Provider Not Credentialed"
18
- end
19
- end
20
- end
21
- end
22
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class InNetworkRenderingProvidersDetail < Internal::Types::Model
8
- field :rendering_providers, -> { Internal::Types::Array[String] }, optional: false, nullable: false
9
- field :routed_payer_uuid, -> { String }, optional: false, nullable: false
10
- field :routed_billing_provider_id, -> { String }, optional: false, nullable: false
11
- end
12
- end
13
- end
14
- end
15
- end
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class InNetworkStatus < Internal::Types::Model
8
- field :routed_payer_uuid, -> { String }, optional: false, nullable: false
9
- field :routed_billing_provider_id, -> { String }, optional: false, nullable: false
10
- end
11
- end
12
- end
13
- end
14
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class IndeterminateNetworkStatus < Internal::Types::Model
8
- field :error, -> { String }, optional: false, nullable: false
9
- field :explanation, lambda {
10
- Candid::ExpectedNetworkStatus::V2::Types::Explanation
11
- }, optional: false, nullable: false
12
- field :routed_payer_uuid, -> { String }, optional: true, nullable: false
13
- field :routed_billing_provider_id, -> { String }, optional: true, nullable: false
14
- end
15
- end
16
- end
17
- end
18
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class InsuranceType < Internal::Types::Model
8
- field :line_of_business, lambda {
9
- Candid::ExpectedNetworkStatus::V2::Types::LineOfBusiness
10
- }, optional: false, nullable: false
11
- field :insurance_type_codes, lambda {
12
- Candid::ExpectedNetworkStatus::V2::Types::InsuranceTypeCodes
13
- }, optional: false, nullable: false
14
- end
15
- end
16
- end
17
- end
18
- end
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class InsuranceTypeCodes < Internal::Types::Model
8
- extend Candid::Internal::Types::Union
9
-
10
- discriminant :type
11
-
12
- member -> { Candid::Commons::Types::InsuranceTypeCode }, key: "INSURANCE_TYPE_CODE"
13
- member -> { Candid::ExpectedNetworkStatus::V2::Types::EmptyObject }, key: "UNKNOWN_INSURANCE_TYPE_CODE"
14
- member -> { Candid::ExpectedNetworkStatus::V2::Types::EmptyObject }, key: "NOT_APPLICABLE"
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- module LineOfBusiness
8
- extend Candid::Internal::Types::Enum
9
-
10
- MEDICARE = "medicare"
11
- MEDICAID = "medicaid"
12
- COMMERCIAL = "commercial"
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Candid
4
- module ExpectedNetworkStatus
5
- module V2
6
- module Types
7
- class OutOfNetworkStatus < Internal::Types::Model
8
- field :explanation, lambda {
9
- Candid::ExpectedNetworkStatus::V2::Types::Explanation
10
- }, optional: false, nullable: false
11
- field :routed_payer_uuid, -> { String }, optional: false, nullable: false
12
- field :routed_billing_provider_id, -> { String }, optional: false, nullable: false
13
- end
14
- end
15
- end
16
- end
17
- end