candidhealth 0.17.1 → 0.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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/billing_notes/v_2/types/billing_note.rb +2 -2
  3. data/lib/candidhealth/billing_notes/v_2/types/billing_note_id.rb +1 -1
  4. data/lib/candidhealth/claims/types/claim.rb +1 -1
  5. data/lib/candidhealth/commons/types/claim_id.rb +1 -1
  6. data/lib/candidhealth/commons/types/encounter_id.rb +1 -1
  7. data/lib/candidhealth/commons/types/invoice_id.rb +1 -1
  8. data/lib/candidhealth/commons/types/organization_id.rb +1 -1
  9. data/lib/candidhealth/commons/types/provider_id.rb +1 -1
  10. data/lib/candidhealth/commons/types/service_line_id.rb +1 -1
  11. data/lib/candidhealth/commons/types/task_assignment_id.rb +1 -1
  12. data/lib/candidhealth/commons/types/task_id.rb +1 -1
  13. data/lib/candidhealth/commons/types/task_note_id.rb +1 -1
  14. data/lib/candidhealth/commons/types/user_id.rb +1 -1
  15. data/lib/candidhealth/contracts/v_2/client.rb +4 -4
  16. data/lib/candidhealth/contracts/v_2/types/contract.rb +1 -1
  17. data/lib/candidhealth/contracts/v_2/types/contract_id.rb +1 -1
  18. data/lib/candidhealth/contracts/v_2/types/contract_with_providers.rb +3 -3
  19. data/lib/candidhealth/contracts/v_2/types/contracting_provider_id.rb +1 -1
  20. data/lib/candidhealth/contracts/v_2/types/rendering_providerid.rb +1 -1
  21. data/lib/candidhealth/diagnoses/types/diagnosis.rb +2 -2
  22. data/lib/candidhealth/diagnoses/types/diagnosis_id.rb +1 -1
  23. data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +1 -1
  24. data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +1 -1
  25. data/lib/candidhealth/encounter_providers/v_2/types/provider_id.rb +1 -1
  26. data/lib/candidhealth/encounters/v_4/types/encounter.rb +1 -1
  27. data/lib/candidhealth/era/types/era.rb +1 -1
  28. data/lib/candidhealth/era/types/era_id.rb +1 -1
  29. data/lib/candidhealth/era/types/era_not_fully_processed_error_message.rb +1 -1
  30. data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status_response.rb +1 -1
  31. data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
  32. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +2 -2
  33. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +1 -1
  34. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +2 -2
  35. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +1 -1
  36. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +3 -3
  37. data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +4 -4
  38. data/lib/candidhealth/expected_network_status/v_2/types/in_network_status.rb +4 -4
  39. data/lib/candidhealth/expected_network_status/v_2/types/indeterminate_network_status.rb +4 -4
  40. data/lib/candidhealth/expected_network_status/v_2/types/network_status_check_id.rb +1 -1
  41. data/lib/candidhealth/expected_network_status/v_2/types/out_of_network_status.rb +4 -4
  42. data/lib/candidhealth/financials/types/allocation_target_create.rb +3 -3
  43. data/lib/candidhealth/financials/types/billing_provider_allocation_target.rb +1 -1
  44. data/lib/candidhealth/financials/types/claim_allocation_target.rb +2 -2
  45. data/lib/candidhealth/financials/types/invoice_update.rb +1 -1
  46. data/lib/candidhealth/financials/types/service_line_allocation_target.rb +3 -3
  47. data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +1 -1
  48. data/lib/candidhealth/guarantor/v_1/types/guarantor_id.rb +1 -1
  49. data/lib/candidhealth/identifiers/types/identifier.rb +1 -1
  50. data/lib/candidhealth/identifiers/types/identifier_id.rb +1 -1
  51. data/lib/candidhealth/identifiers/types/identifier_update.rb +1 -1
  52. data/lib/candidhealth/identifiers/types/updatable_identifier.rb +1 -1
  53. data/lib/candidhealth/individual/types/individual_id.rb +1 -1
  54. data/lib/candidhealth/individual/types/patient.rb +1 -1
  55. data/lib/candidhealth/individual/types/subscriber.rb +1 -1
  56. data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication.rb +1 -1
  57. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication.rb +4 -4
  58. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_id.rb +1 -1
  59. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication.rb +1 -1
  60. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_id.rb +1 -1
  61. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card.rb +1 -1
  62. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_id.rb +1 -1
  63. data/lib/candidhealth/insurance_payments/v_1/client.rb +2 -2
  64. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment.rb +1 -1
  65. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_id.rb +1 -1
  66. data/lib/candidhealth/insurance_refunds/v_1/client.rb +2 -2
  67. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund.rb +1 -1
  68. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_id.rb +1 -1
  69. data/lib/candidhealth/invoices/types/invoice.rb +2 -2
  70. data/lib/candidhealth/invoices/types/invoice_item.rb +1 -1
  71. data/lib/candidhealth/organization_providers/v_2/types/organization_provider.rb +1 -1
  72. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_id.rb +1 -1
  73. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_v_2.rb +1 -1
  74. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +1 -1
  75. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_id.rb +1 -1
  76. data/lib/candidhealth/patient_payments/v_3/types/patient_payment.rb +2 -2
  77. data/lib/candidhealth/patient_payments/v_4/types/patient_payment.rb +3 -3
  78. data/lib/candidhealth/patient_payments/v_4/types/patient_payment_id.rb +1 -1
  79. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund.rb +3 -3
  80. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_id.rb +1 -1
  81. data/lib/candidhealth/payers/v_3/client.rb +2 -2
  82. data/lib/candidhealth/payers/v_3/types/payer.rb +3 -3
  83. data/lib/candidhealth/payers/v_3/types/payer_identifier.rb +2 -2
  84. data/lib/candidhealth/payers/v_3/types/payer_uuid.rb +1 -1
  85. data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +1 -1
  86. data/lib/candidhealth/service_facility/types/service_facility_id.rb +1 -1
  87. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +6 -6
  88. data/lib/candidhealth/tasks/v_3/types/task.rb +2 -2
  89. data/lib/candidhealth/tasks/v_3/types/task_assignment.rb +2 -2
  90. data/lib/candidhealth/tasks/v_3/types/task_create_v_3.rb +2 -2
  91. data/lib/candidhealth/tasks/v_3/types/task_note.rb +1 -1
  92. data/lib/candidhealth/tasks/v_3/types/task_update_v_3.rb +1 -1
  93. data/lib/candidhealth/write_offs/v_1/client.rb +2 -2
  94. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off.rb +3 -3
  95. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_target.rb +3 -3
  96. data/lib/candidhealth/write_offs/v_1/types/patient_write_off.rb +4 -4
  97. data/lib/candidhealth/write_offs/v_1/types/patient_write_off_create.rb +1 -1
  98. data/lib/candidhealth/write_offs/v_1/types/write_off_id.rb +1 -1
  99. data/lib/requests.rb +2 -2
  100. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ec163005788baacf8b5afa3738624bac96fe454c6bbd7d1c47c2feda3c7def1
4
- data.tar.gz: dbe20fcc6609e0d6e7e33df97842c66748f4f9acc0cf57e99ddde424af3a4d69
3
+ metadata.gz: 5753bb683e7accdc01d17e1f453b467dcc5a66b684b11edb7414883ffd370236
4
+ data.tar.gz: 5fd65dec563cb7b589315fc6d17759800b15700a175f07effcbb786c4884a1d9
5
5
  SHA512:
6
- metadata.gz: a60be793fb9db59989d3649c7c31a1a8419dade0146ed4bff33ef42cb0e9e17ddcfaccc25fc0fde8317e749715e36fb00d5f4237cc04256d44e2819d34674405
7
- data.tar.gz: d780ab9fb480c4f2a89069e97f353ac27b06374fba880586d3c42e7802773510a475d6e06f6a25dac41530f6168494a2aaebcda716fa0a37ac32ce43fd5b0751
6
+ metadata.gz: 15fc7b5586c501f89f4bcf516416f6e3931fc75aaa4ff97c28ba318bb24cbe828dbd2f16497345250976da9dc5b4d6c1728cfdcdb667dd76e1f07f678e6da8c0
7
+ data.tar.gz: f0a280d8b8d0376da768b7a7e2695ccc894b166b881caf120e95d46613dcb5b6ac893cabfe906d80ba2aab8ea24baed652bf39b8af2c337e033fea8bfa8c0a44
@@ -76,8 +76,8 @@ module CandidApiClient
76
76
  # @param obj [Object]
77
77
  # @return [Void]
78
78
  def self.validate_raw(obj:)
79
- obj.billing_note_id.is_a?(String) != false || raise("Passed value for field obj.billing_note_id is not the expected type, validation failed.")
80
- obj.encounter_id.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
79
+ obj.billing_note_id.is_a?(UUID) != false || raise("Passed value for field obj.billing_note_id is not the expected type, validation failed.")
80
+ obj.encounter_id.is_a?(UUID) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
81
81
  obj.created_at.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.")
82
82
  obj.author_auth_0_id&.is_a?(String) != false || raise("Passed value for field obj.author_auth_0_id is not the expected type, validation failed.")
83
83
  obj.author_name&.is_a?(String) != false || raise("Passed value for field obj.author_name is not the expected type, validation failed.")
@@ -3,7 +3,7 @@
3
3
  module CandidApiClient
4
4
  module BillingNotes
5
5
  module V2
6
- BILLING_NOTE_ID = String
6
+ BILLING_NOTE_ID = UUID
7
7
  end
8
8
  end
9
9
  end
@@ -85,7 +85,7 @@ module CandidApiClient
85
85
  # @param obj [Object]
86
86
  # @return [Void]
87
87
  def self.validate_raw(obj:)
88
- obj.claim_id.is_a?(String) != false || raise("Passed value for field obj.claim_id is not the expected type, validation failed.")
88
+ obj.claim_id.is_a?(UUID) != false || raise("Passed value for field obj.claim_id is not the expected type, validation failed.")
89
89
  obj.status.is_a?(Claims::ClaimStatus) != false || raise("Passed value for field obj.status is not the expected type, validation failed.")
90
90
  obj.clearinghouse&.is_a?(String) != false || raise("Passed value for field obj.clearinghouse is not the expected type, validation failed.")
91
91
  obj.clearinghouse_claim_id&.is_a?(String) != false || raise("Passed value for field obj.clearinghouse_claim_id is not the expected type, validation failed.")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- CLAIM_ID = String
5
+ CLAIM_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- ENCOUNTER_ID = String
5
+ ENCOUNTER_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- INVOICE_ID = String
5
+ INVOICE_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- ORGANIZATION_ID = String
5
+ ORGANIZATION_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- PROVIDER_ID = String
5
+ PROVIDER_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- SERVICE_LINE_ID = String
5
+ SERVICE_LINE_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- TASK_ASSIGNMENT_ID = String
5
+ TASK_ASSIGNMENT_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- TASK_ID = String
5
+ TASK_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- TASK_NOTE_ID = String
5
+ TASK_NOTE_ID = UUID
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Commons
5
- USER_ID = String
5
+ USER_ID = UUID
6
6
  end
7
7
  end
@@ -91,11 +91,11 @@ module CandidApiClient
91
91
  # @param medicare_insurance_types [Contracts::V2::InsuranceTypes] The Medicare plan insurance types this contract applies.
92
92
  # @param medicaid_insurance_types [Contracts::V2::InsuranceTypes] The Medicaid plan insurance types this contract applies.
93
93
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
94
- # @param contracting_provider_id [Contracts::V2::CONTRACTING_PROVIDER_ID] The String of the provider under agreement to the contract
94
+ # @param contracting_provider_id [Contracts::V2::CONTRACTING_PROVIDER_ID] The UUID of the provider under agreement to the contract
95
95
  # @param rendering_provider_ids [Set<Contracts::V2::RENDERING_PROVIDERID>] A rendering provider isn't contracted directly with the payer but can render
96
96
  # services under the contract held by the contracting provider.
97
97
  # Max items is 100.
98
- # @param payer_uuid [String] The String of the insurance company under agreement to the contract
98
+ # @param payer_uuid [UUID] The UUID of the insurance company under agreement to the contract
99
99
  # @param request_options [RequestOptions]
100
100
  # @return [Contracts::V2::ContractWithProviders]
101
101
  def create(effective_date:, regions:, commercial_insurance_types:, medicare_insurance_types:,
@@ -245,11 +245,11 @@ module CandidApiClient
245
245
  # @param medicare_insurance_types [Contracts::V2::InsuranceTypes] The Medicare plan insurance types this contract applies.
246
246
  # @param medicaid_insurance_types [Contracts::V2::InsuranceTypes] The Medicaid plan insurance types this contract applies.
247
247
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
248
- # @param contracting_provider_id [Contracts::V2::CONTRACTING_PROVIDER_ID] The String of the provider under agreement to the contract
248
+ # @param contracting_provider_id [Contracts::V2::CONTRACTING_PROVIDER_ID] The UUID of the provider under agreement to the contract
249
249
  # @param rendering_provider_ids [Set<Contracts::V2::RENDERING_PROVIDERID>] A rendering provider isn't contracted directly with the payer but can render
250
250
  # services under the contract held by the contracting provider.
251
251
  # Max items is 100.
252
- # @param payer_uuid [String] The String of the insurance company under agreement to the contract
252
+ # @param payer_uuid [UUID] The UUID of the insurance company under agreement to the contract
253
253
  # @param request_options [RequestOptions]
254
254
  # @return [Contracts::V2::ContractWithProviders]
255
255
  def create(effective_date:, regions:, commercial_insurance_types:, medicare_insurance_types:,
@@ -146,7 +146,7 @@ module CandidApiClient
146
146
  # @param obj [Object]
147
147
  # @return [Void]
148
148
  def self.validate_raw(obj:)
149
- obj.contract_id.is_a?(String) != false || raise("Passed value for field obj.contract_id is not the expected type, validation failed.")
149
+ obj.contract_id.is_a?(UUID) != false || raise("Passed value for field obj.contract_id is not the expected type, validation failed.")
150
150
  OrganizationProviders::V2::OrganizationProvider.validate_raw(obj: obj.contracting_provider)
151
151
  obj.provider_count.is_a?(Integer) != false || raise("Passed value for field obj.provider_count is not the expected type, validation failed.")
152
152
  obj.payer.nil? || Payers::V3::Payer.validate_raw(obj: obj.payer)
@@ -3,7 +3,7 @@
3
3
  module CandidApiClient
4
4
  module Contracts
5
5
  module V2
6
- CONTRACT_ID = String
6
+ CONTRACT_ID = UUID
7
7
  end
8
8
  end
9
9
  end
@@ -18,7 +18,7 @@ module CandidApiClient
18
18
  attr_reader :rendering_provider_ids, :contract_id, :contracting_provider, :provider_count, :payer,
19
19
  :effective_date, :expiration_date, :regions, :contract_status, :authorized_signatory, :commercial_insurance_types, :medicare_insurance_types, :medicaid_insurance_types, :additional_properties
20
20
 
21
- # @param rendering_provider_ids [Set<String>] The providers who can render medical services under the contract
21
+ # @param rendering_provider_ids [Set<UUID>] The providers who can render medical services under the contract
22
22
  # @param contract_id [Contracts::V2::CONTRACT_ID]
23
23
  # @param contracting_provider [OrganizationProviders::V2::OrganizationProvider] The provider under contract
24
24
  # @param provider_count [Integer] The number of linked providers who can render medical services under this contract
@@ -36,7 +36,7 @@ module CandidApiClient
36
36
  # @return [Contracts::V2::ContractWithProviders]
37
37
  def initialize(rendering_provider_ids:, contract_id:, contracting_provider:, provider_count:, effective_date:,
38
38
  regions:, commercial_insurance_types:, medicare_insurance_types:, medicaid_insurance_types:, payer: nil, expiration_date: nil, contract_status: nil, authorized_signatory: nil, additional_properties: nil)
39
- # @type [Set<String>] The providers who can render medical services under the contract
39
+ # @type [Set<UUID>] The providers who can render medical services under the contract
40
40
  @rendering_provider_ids = rendering_provider_ids
41
41
  # @type [Contracts::V2::CONTRACT_ID]
42
42
  @contract_id = contract_id
@@ -158,7 +158,7 @@ module CandidApiClient
158
158
  # @return [Void]
159
159
  def self.validate_raw(obj:)
160
160
  obj.rendering_provider_ids.is_a?(Set) != false || raise("Passed value for field obj.rendering_provider_ids is not the expected type, validation failed.")
161
- obj.contract_id.is_a?(String) != false || raise("Passed value for field obj.contract_id is not the expected type, validation failed.")
161
+ obj.contract_id.is_a?(UUID) != false || raise("Passed value for field obj.contract_id is not the expected type, validation failed.")
162
162
  OrganizationProviders::V2::OrganizationProvider.validate_raw(obj: obj.contracting_provider)
163
163
  obj.provider_count.is_a?(Integer) != false || raise("Passed value for field obj.provider_count is not the expected type, validation failed.")
164
164
  obj.payer.nil? || Payers::V3::Payer.validate_raw(obj: obj.payer)
@@ -3,7 +3,7 @@
3
3
  module CandidApiClient
4
4
  module Contracts
5
5
  module V2
6
- CONTRACTING_PROVIDER_ID = String
6
+ CONTRACTING_PROVIDER_ID = UUID
7
7
  end
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@
3
3
  module CandidApiClient
4
4
  module Contracts
5
5
  module V2
6
- RENDERING_PROVIDERID = String
6
+ RENDERING_PROVIDERID = UUID
7
7
  end
8
8
  end
9
9
  end
@@ -93,10 +93,10 @@ module CandidApiClient
93
93
  # @param obj [Object]
94
94
  # @return [Void]
95
95
  def self.validate_raw(obj:)
96
- obj.diagnosis_id.is_a?(String) != false || raise("Passed value for field obj.diagnosis_id is not the expected type, validation failed.")
96
+ obj.diagnosis_id.is_a?(UUID) != false || raise("Passed value for field obj.diagnosis_id is not the expected type, validation failed.")
97
97
  obj.created_at.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.")
98
98
  obj.updated_at.is_a?(DateTime) != false || raise("Passed value for field obj.updated_at is not the expected type, validation failed.")
99
- obj.encounter_id.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
99
+ obj.encounter_id.is_a?(UUID) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
100
100
  obj.name&.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
101
101
  obj.code_type.is_a?(Diagnoses::DiagnosisTypeCode) != false || raise("Passed value for field obj.code_type is not the expected type, validation failed.")
102
102
  obj.code.is_a?(String) != false || raise("Passed value for field obj.code is not the expected type, validation failed.")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Diagnoses
5
- DIAGNOSIS_ID = String
5
+ DIAGNOSIS_ID = UUID
6
6
  end
7
7
  end
@@ -68,7 +68,7 @@ module CandidApiClient
68
68
  # @param obj [Object]
69
69
  # @return [Void]
70
70
  def self.validate_raw(obj:)
71
- obj.encounter_id.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
71
+ obj.encounter_id.is_a?(UUID) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
72
72
  obj.name&.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
73
73
  obj.code_type.is_a?(Diagnoses::DiagnosisTypeCode) != false || raise("Passed value for field obj.code_type is not the expected type, validation failed.")
74
74
  obj.code.is_a?(String) != false || raise("Passed value for field obj.code is not the expected type, validation failed.")
@@ -88,7 +88,7 @@ module CandidApiClient
88
88
  # @param obj [Object]
89
89
  # @return [Void]
90
90
  def self.validate_raw(obj:)
91
- obj.provider_id.is_a?(String) != false || raise("Passed value for field obj.provider_id is not the expected type, validation failed.")
91
+ obj.provider_id.is_a?(UUID) != false || raise("Passed value for field obj.provider_id is not the expected type, validation failed.")
92
92
  Commons::StreetAddressLongZip.validate_raw(obj: obj.address)
93
93
  obj.tax_id&.is_a?(String) != false || raise("Passed value for field obj.tax_id is not the expected type, validation failed.")
94
94
  obj.npi.is_a?(String) != false || raise("Passed value for field obj.npi is not the expected type, validation failed.")
@@ -3,7 +3,7 @@
3
3
  module CandidApiClient
4
4
  module EncounterProviders
5
5
  module V2
6
- PROVIDER_ID = String
6
+ PROVIDER_ID = UUID
7
7
  end
8
8
  end
9
9
  end
@@ -462,7 +462,7 @@ module CandidApiClient
462
462
  # @param obj [Object]
463
463
  # @return [Void]
464
464
  def self.validate_raw(obj:)
465
- obj.encounter_id.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
465
+ obj.encounter_id.is_a?(UUID) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
466
466
  obj.claims.is_a?(Array) != false || raise("Passed value for field obj.claims is not the expected type, validation failed.")
467
467
  Individual::Patient.validate_raw(obj: obj.patient)
468
468
  obj.guarantor.nil? || Guarantor::V1::Guarantor.validate_raw(obj: obj.guarantor)
@@ -50,7 +50,7 @@ module CandidApiClient
50
50
  # @param obj [Object]
51
51
  # @return [Void]
52
52
  def self.validate_raw(obj:)
53
- obj.era_id.is_a?(String) != false || raise("Passed value for field obj.era_id is not the expected type, validation failed.")
53
+ obj.era_id.is_a?(UUID) != false || raise("Passed value for field obj.era_id is not the expected type, validation failed.")
54
54
  obj.check_number.is_a?(String) != false || raise("Passed value for field obj.check_number is not the expected type, validation failed.")
55
55
  obj.check_date.is_a?(String) != false || raise("Passed value for field obj.check_date is not the expected type, validation failed.")
56
56
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CandidApiClient
4
4
  class Era
5
- ERA_ID = String
5
+ ERA_ID = UUID
6
6
  end
7
7
  end
@@ -45,7 +45,7 @@ module CandidApiClient
45
45
  # @param obj [Object]
46
46
  # @return [Void]
47
47
  def self.validate_raw(obj:)
48
- obj.claim_id.is_a?(String) != false || raise("Passed value for field obj.claim_id is not the expected type, validation failed.")
48
+ obj.claim_id.is_a?(UUID) != false || raise("Passed value for field obj.claim_id is not the expected type, validation failed.")
49
49
  obj.message.is_a?(String) != false || raise("Passed value for field obj.message is not the expected type, validation failed.")
50
50
  end
51
51
  end
@@ -58,7 +58,7 @@ module CandidApiClient
58
58
  def self.validate_raw(obj:)
59
59
  obj.expected_network_status.is_a?(ExpectedNetworkStatus::V1::ExpectedNetworkStatus) != false || raise("Passed value for field obj.expected_network_status is not the expected type, validation failed.")
60
60
  obj.explanation.is_a?(String) != false || raise("Passed value for field obj.explanation is not the expected type, validation failed.")
61
- obj.contract_id&.is_a?(String) != false || raise("Passed value for field obj.contract_id is not the expected type, validation failed.")
61
+ obj.contract_id&.is_a?(UUID) != false || raise("Passed value for field obj.contract_id is not the expected type, validation failed.")
62
62
  end
63
63
  end
64
64
  end
@@ -30,7 +30,7 @@ module CandidApiClient
30
30
  # * :service_type (ExpectedNetworkStatus::V2::ServiceType)
31
31
  # * :place_of_service_code (Commons::FacilityTypeCode)
32
32
  # * :subscriber_information (Hash)
33
- # * :payer_uuid (Payers::V3::PAYER_String)
33
+ # * :payer_uuid (Payers::V3::PAYER_UUID)
34
34
  # * :member_id (String)
35
35
  # * :insurance_type (Hash)
36
36
  # * :line_of_business (ExpectedNetworkStatus::V2::LineOfBusiness)
@@ -65,7 +65,7 @@ module CandidApiClient
65
65
  # * :service_type (ExpectedNetworkStatus::V2::ServiceType)
66
66
  # * :place_of_service_code (Commons::FacilityTypeCode)
67
67
  # * :subscriber_information (Hash)
68
- # * :payer_uuid (Payers::V3::PAYER_String)
68
+ # * :payer_uuid (Payers::V3::PAYER_UUID)
69
69
  # * :member_id (String)
70
70
  # * :insurance_type (Hash)
71
71
  # * :line_of_business (ExpectedNetworkStatus::V2::LineOfBusiness)
@@ -112,7 +112,7 @@ module CandidApiClient
112
112
  # * :service_type (ExpectedNetworkStatus::V2::ServiceType)
113
113
  # * :place_of_service_code (Commons::FacilityTypeCode)
114
114
  # * :subscriber_information (Hash)
115
- # * :payer_uuid (Payers::V3::PAYER_String)
115
+ # * :payer_uuid (Payers::V3::PAYER_UUID)
116
116
  # * :member_id (String)
117
117
  # * :insurance_type (Hash)
118
118
  # * :line_of_business (ExpectedNetworkStatus::V2::LineOfBusiness)
@@ -149,7 +149,7 @@ module CandidApiClient
149
149
  # * :service_type (ExpectedNetworkStatus::V2::ServiceType)
150
150
  # * :place_of_service_code (Commons::FacilityTypeCode)
151
151
  # * :subscriber_information (Hash)
152
- # * :payer_uuid (Payers::V3::PAYER_String)
152
+ # * :payer_uuid (Payers::V3::PAYER_UUID)
153
153
  # * :member_id (String)
154
154
  # * :insurance_type (Hash)
155
155
  # * :line_of_business (ExpectedNetworkStatus::V2::LineOfBusiness)
@@ -109,8 +109,8 @@ module CandidApiClient
109
109
  obj.place_of_service_code.is_a?(Commons::FacilityTypeCode) != false || raise("Passed value for field obj.place_of_service_code is not the expected type, validation failed.")
110
110
  ExpectedNetworkStatus::V2::ExpectedNetworkStatusSubscriberInformation.validate_raw(obj: obj.subscriber_information)
111
111
  Commons::StreetAddressShortZip.validate_raw(obj: obj.patient_address)
112
- obj.billing_provider_id.is_a?(String) != false || raise("Passed value for field obj.billing_provider_id is not the expected type, validation failed.")
113
- obj.organization_service_facility_id.is_a?(String) != false || raise("Passed value for field obj.organization_service_facility_id is not the expected type, validation failed.")
112
+ obj.billing_provider_id.is_a?(UUID) != false || raise("Passed value for field obj.billing_provider_id is not the expected type, validation failed.")
113
+ obj.organization_service_facility_id.is_a?(UUID) != false || raise("Passed value for field obj.organization_service_facility_id is not the expected type, validation failed.")
114
114
  obj.date_of_service.is_a?(Date) != false || raise("Passed value for field obj.date_of_service is not the expected type, validation failed.")
115
115
  end
116
116
  end
@@ -57,7 +57,7 @@ module CandidApiClient
57
57
  # @return [Void]
58
58
  def self.validate_raw(obj:)
59
59
  ExpectedNetworkStatus::V2::ComputeAllInNetworkRenderingProvidersResult.validate_raw(obj: obj.computed_network_status)
60
- obj.network_status_check_id.is_a?(String) != false || raise("Passed value for field obj.network_status_check_id is not the expected type, validation failed.")
60
+ obj.network_status_check_id.is_a?(UUID) != false || raise("Passed value for field obj.network_status_check_id is not the expected type, validation failed.")
61
61
  end
62
62
  end
63
63
  end
@@ -109,8 +109,8 @@ module CandidApiClient
109
109
  obj.place_of_service_code.is_a?(Commons::FacilityTypeCode) != false || raise("Passed value for field obj.place_of_service_code is not the expected type, validation failed.")
110
110
  ExpectedNetworkStatus::V2::ExpectedNetworkStatusSubscriberInformation.validate_raw(obj: obj.subscriber_information)
111
111
  Commons::StreetAddressShortZip.validate_raw(obj: obj.patient_address)
112
- obj.billing_provider_id.is_a?(String) != false || raise("Passed value for field obj.billing_provider_id is not the expected type, validation failed.")
113
- obj.organization_service_facility_id.is_a?(String) != false || raise("Passed value for field obj.organization_service_facility_id is not the expected type, validation failed.")
112
+ obj.billing_provider_id.is_a?(UUID) != false || raise("Passed value for field obj.billing_provider_id is not the expected type, validation failed.")
113
+ obj.organization_service_facility_id.is_a?(UUID) != false || raise("Passed value for field obj.organization_service_facility_id is not the expected type, validation failed.")
114
114
  obj.date_of_service.is_a?(Date) != false || raise("Passed value for field obj.date_of_service is not the expected type, validation failed.")
115
115
  end
116
116
  end
@@ -53,7 +53,7 @@ module CandidApiClient
53
53
  # @param obj [Object]
54
54
  # @return [Void]
55
55
  def self.validate_raw(obj:)
56
- obj.network_status_check_id.is_a?(String) != false || raise("Passed value for field obj.network_status_check_id is not the expected type, validation failed.")
56
+ obj.network_status_check_id.is_a?(UUID) != false || raise("Passed value for field obj.network_status_check_id is not the expected type, validation failed.")
57
57
  ExpectedNetworkStatus::V2::ExpectedNetworkStatusV2.validate_raw(obj: obj.network_status)
58
58
  end
59
59
  end
@@ -10,13 +10,13 @@ module CandidApiClient
10
10
  class ExpectedNetworkStatusSubscriberInformation
11
11
  attr_reader :payer_uuid, :member_id, :insurance_type, :additional_properties
12
12
 
13
- # @param payer_uuid [Payers::V3::PAYER_String] The String that corresponds with the payer on the patient’s insurance card
13
+ # @param payer_uuid [Payers::V3::PAYER_UUID] The UUID that corresponds with the payer on the patient’s insurance card
14
14
  # @param member_id [String] The member_id on the patient’s insurance card
15
15
  # @param insurance_type [ExpectedNetworkStatus::V2::InsuranceType] The insurance information on the patient's insurance card
16
16
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
17
17
  # @return [ExpectedNetworkStatus::V2::ExpectedNetworkStatusSubscriberInformation]
18
18
  def initialize(payer_uuid:, member_id:, insurance_type:, additional_properties: nil)
19
- # @type [Payers::V3::PAYER_String] The String that corresponds with the payer on the patient’s insurance card
19
+ # @type [Payers::V3::PAYER_UUID] The UUID that corresponds with the payer on the patient’s insurance card
20
20
  @payer_uuid = payer_uuid
21
21
  # @type [String] The member_id on the patient’s insurance card
22
22
  @member_id = member_id
@@ -57,7 +57,7 @@ module CandidApiClient
57
57
  # @param obj [Object]
58
58
  # @return [Void]
59
59
  def self.validate_raw(obj:)
60
- obj.payer_uuid.is_a?(String) != false || raise("Passed value for field obj.payer_uuid is not the expected type, validation failed.")
60
+ obj.payer_uuid.is_a?(UUID) != false || raise("Passed value for field obj.payer_uuid is not the expected type, validation failed.")
61
61
  obj.member_id.is_a?(String) != false || raise("Passed value for field obj.member_id is not the expected type, validation failed.")
62
62
  ExpectedNetworkStatus::V2::InsuranceType.validate_raw(obj: obj.insurance_type)
63
63
  end
@@ -11,7 +11,7 @@ module CandidApiClient
11
11
  attr_reader :rendering_providers, :routed_payer_uuid, :routed_billing_provider_id, :additional_properties
12
12
 
13
13
  # @param rendering_providers [Array<OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID>]
14
- # @param routed_payer_uuid [Payers::V3::PAYER_String]
14
+ # @param routed_payer_uuid [Payers::V3::PAYER_UUID]
15
15
  # @param routed_billing_provider_id [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
16
16
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
17
17
  # @return [ExpectedNetworkStatus::V2::InNetworkRenderingProvidersDetail]
@@ -19,7 +19,7 @@ module CandidApiClient
19
19
  additional_properties: nil)
20
20
  # @type [Array<OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID>]
21
21
  @rendering_providers = rendering_providers
22
- # @type [Payers::V3::PAYER_String]
22
+ # @type [Payers::V3::PAYER_UUID]
23
23
  @routed_payer_uuid = routed_payer_uuid
24
24
  # @type [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
25
25
  @routed_billing_provider_id = routed_billing_provider_id
@@ -58,8 +58,8 @@ module CandidApiClient
58
58
  # @return [Void]
59
59
  def self.validate_raw(obj:)
60
60
  obj.rendering_providers.is_a?(Array) != false || raise("Passed value for field obj.rendering_providers is not the expected type, validation failed.")
61
- obj.routed_payer_uuid.is_a?(String) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
62
- obj.routed_billing_provider_id.is_a?(String) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
61
+ obj.routed_payer_uuid.is_a?(UUID) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
62
+ obj.routed_billing_provider_id.is_a?(UUID) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
63
63
  end
64
64
  end
65
65
  end
@@ -10,12 +10,12 @@ module CandidApiClient
10
10
  class InNetworkStatus
11
11
  attr_reader :routed_payer_uuid, :routed_billing_provider_id, :additional_properties
12
12
 
13
- # @param routed_payer_uuid [Payers::V3::PAYER_String]
13
+ # @param routed_payer_uuid [Payers::V3::PAYER_UUID]
14
14
  # @param routed_billing_provider_id [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
15
15
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
16
16
  # @return [ExpectedNetworkStatus::V2::InNetworkStatus]
17
17
  def initialize(routed_payer_uuid:, routed_billing_provider_id:, additional_properties: nil)
18
- # @type [Payers::V3::PAYER_String]
18
+ # @type [Payers::V3::PAYER_UUID]
19
19
  @routed_payer_uuid = routed_payer_uuid
20
20
  # @type [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
21
21
  @routed_billing_provider_id = routed_billing_provider_id
@@ -48,8 +48,8 @@ module CandidApiClient
48
48
  # @param obj [Object]
49
49
  # @return [Void]
50
50
  def self.validate_raw(obj:)
51
- obj.routed_payer_uuid.is_a?(String) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
52
- obj.routed_billing_provider_id.is_a?(String) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
51
+ obj.routed_payer_uuid.is_a?(UUID) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
52
+ obj.routed_billing_provider_id.is_a?(UUID) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
53
53
  end
54
54
  end
55
55
  end
@@ -13,7 +13,7 @@ module CandidApiClient
13
13
 
14
14
  # @param error [String]
15
15
  # @param explanation [ExpectedNetworkStatus::V2::Explanation]
16
- # @param routed_payer_uuid [Payers::V3::PAYER_String]
16
+ # @param routed_payer_uuid [Payers::V3::PAYER_UUID]
17
17
  # @param routed_billing_provider_id [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
18
18
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
19
19
  # @return [ExpectedNetworkStatus::V2::IndeterminateNetworkStatus]
@@ -23,7 +23,7 @@ module CandidApiClient
23
23
  @error = error
24
24
  # @type [ExpectedNetworkStatus::V2::Explanation]
25
25
  @explanation = explanation
26
- # @type [Payers::V3::PAYER_String]
26
+ # @type [Payers::V3::PAYER_UUID]
27
27
  @routed_payer_uuid = routed_payer_uuid
28
28
  # @type [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
29
29
  @routed_billing_provider_id = routed_billing_provider_id
@@ -65,8 +65,8 @@ module CandidApiClient
65
65
  def self.validate_raw(obj:)
66
66
  obj.error.is_a?(String) != false || raise("Passed value for field obj.error is not the expected type, validation failed.")
67
67
  obj.explanation.is_a?(ExpectedNetworkStatus::V2::Explanation) != false || raise("Passed value for field obj.explanation is not the expected type, validation failed.")
68
- obj.routed_payer_uuid&.is_a?(String) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
69
- obj.routed_billing_provider_id&.is_a?(String) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
68
+ obj.routed_payer_uuid&.is_a?(UUID) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
69
+ obj.routed_billing_provider_id&.is_a?(UUID) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
70
70
  end
71
71
  end
72
72
  end
@@ -3,7 +3,7 @@
3
3
  module CandidApiClient
4
4
  module ExpectedNetworkStatus
5
5
  module V2
6
- NETWORK_STATUS_CHECK_ID = String
6
+ NETWORK_STATUS_CHECK_ID = UUID
7
7
  end
8
8
  end
9
9
  end
@@ -12,14 +12,14 @@ module CandidApiClient
12
12
  attr_reader :explanation, :routed_payer_uuid, :routed_billing_provider_id, :additional_properties
13
13
 
14
14
  # @param explanation [ExpectedNetworkStatus::V2::Explanation]
15
- # @param routed_payer_uuid [Payers::V3::PAYER_String]
15
+ # @param routed_payer_uuid [Payers::V3::PAYER_UUID]
16
16
  # @param routed_billing_provider_id [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
17
17
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
18
18
  # @return [ExpectedNetworkStatus::V2::OutOfNetworkStatus]
19
19
  def initialize(explanation:, routed_payer_uuid:, routed_billing_provider_id:, additional_properties: nil)
20
20
  # @type [ExpectedNetworkStatus::V2::Explanation]
21
21
  @explanation = explanation
22
- # @type [Payers::V3::PAYER_String]
22
+ # @type [Payers::V3::PAYER_UUID]
23
23
  @routed_payer_uuid = routed_payer_uuid
24
24
  # @type [OrganizationProviders::V2::ORGANIZATION_PROVIDER_ID]
25
25
  @routed_billing_provider_id = routed_billing_provider_id
@@ -58,8 +58,8 @@ module CandidApiClient
58
58
  # @return [Void]
59
59
  def self.validate_raw(obj:)
60
60
  obj.explanation.is_a?(ExpectedNetworkStatus::V2::Explanation) != false || raise("Passed value for field obj.explanation is not the expected type, validation failed.")
61
- obj.routed_payer_uuid.is_a?(String) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
62
- obj.routed_billing_provider_id.is_a?(String) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
61
+ obj.routed_payer_uuid.is_a?(UUID) != false || raise("Passed value for field obj.routed_payer_uuid is not the expected type, validation failed.")
62
+ obj.routed_billing_provider_id.is_a?(UUID) != false || raise("Passed value for field obj.routed_billing_provider_id is not the expected type, validation failed.")
63
63
  end
64
64
  end
65
65
  end
@@ -71,11 +71,11 @@ module CandidApiClient
71
71
  def self.validate_raw(obj:)
72
72
  case obj.type
73
73
  when "service_line_by_id"
74
- obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.")
74
+ obj.is_a?(UUID) != false || raise("Passed value for field obj is not the expected type, validation failed.")
75
75
  when "claim_by_id"
76
- obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.")
76
+ obj.is_a?(UUID) != false || raise("Passed value for field obj is not the expected type, validation failed.")
77
77
  when "billing_provider_by_id"
78
- obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.")
78
+ obj.is_a?(UUID) != false || raise("Passed value for field obj is not the expected type, validation failed.")
79
79
  when "unattributed"
80
80
  # noop
81
81
  else
@@ -41,7 +41,7 @@ module CandidApiClient
41
41
  # @param obj [Object]
42
42
  # @return [Void]
43
43
  def self.validate_raw(obj:)
44
- obj.billing_provider_id.is_a?(String) != false || raise("Passed value for field obj.billing_provider_id is not the expected type, validation failed.")
44
+ obj.billing_provider_id.is_a?(UUID) != false || raise("Passed value for field obj.billing_provider_id is not the expected type, validation failed.")
45
45
  end
46
46
  end
47
47
  end
@@ -46,8 +46,8 @@ module CandidApiClient
46
46
  # @param obj [Object]
47
47
  # @return [Void]
48
48
  def self.validate_raw(obj:)
49
- obj.claim_id.is_a?(String) != false || raise("Passed value for field obj.claim_id is not the expected type, validation failed.")
50
- obj.encounter_id.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
49
+ obj.claim_id.is_a?(UUID) != false || raise("Passed value for field obj.claim_id is not the expected type, validation failed.")
50
+ obj.encounter_id.is_a?(UUID) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
51
51
  end
52
52
  end
53
53
  end