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.
- checksums.yaml +4 -4
- data/lib/candidhealth/billing_notes/v_2/types/billing_note.rb +2 -2
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_id.rb +1 -1
- data/lib/candidhealth/claims/types/claim.rb +1 -1
- data/lib/candidhealth/commons/types/claim_id.rb +1 -1
- data/lib/candidhealth/commons/types/encounter_id.rb +1 -1
- data/lib/candidhealth/commons/types/invoice_id.rb +1 -1
- data/lib/candidhealth/commons/types/organization_id.rb +1 -1
- data/lib/candidhealth/commons/types/provider_id.rb +1 -1
- data/lib/candidhealth/commons/types/service_line_id.rb +1 -1
- data/lib/candidhealth/commons/types/task_assignment_id.rb +1 -1
- data/lib/candidhealth/commons/types/task_id.rb +1 -1
- data/lib/candidhealth/commons/types/task_note_id.rb +1 -1
- data/lib/candidhealth/commons/types/user_id.rb +1 -1
- data/lib/candidhealth/contracts/v_2/client.rb +4 -4
- data/lib/candidhealth/contracts/v_2/types/contract.rb +1 -1
- data/lib/candidhealth/contracts/v_2/types/contract_id.rb +1 -1
- data/lib/candidhealth/contracts/v_2/types/contract_with_providers.rb +3 -3
- data/lib/candidhealth/contracts/v_2/types/contracting_provider_id.rb +1 -1
- data/lib/candidhealth/contracts/v_2/types/rendering_providerid.rb +1 -1
- data/lib/candidhealth/diagnoses/types/diagnosis.rb +2 -2
- data/lib/candidhealth/diagnoses/types/diagnosis_id.rb +1 -1
- data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +1 -1
- data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +1 -1
- data/lib/candidhealth/encounter_providers/v_2/types/provider_id.rb +1 -1
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +1 -1
- data/lib/candidhealth/era/types/era.rb +1 -1
- data/lib/candidhealth/era/types/era_id.rb +1 -1
- data/lib/candidhealth/era/types/era_not_fully_processed_error_message.rb +1 -1
- data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status_response.rb +1 -1
- data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +2 -2
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +1 -1
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +2 -2
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +1 -1
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +3 -3
- data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +4 -4
- data/lib/candidhealth/expected_network_status/v_2/types/in_network_status.rb +4 -4
- data/lib/candidhealth/expected_network_status/v_2/types/indeterminate_network_status.rb +4 -4
- data/lib/candidhealth/expected_network_status/v_2/types/network_status_check_id.rb +1 -1
- data/lib/candidhealth/expected_network_status/v_2/types/out_of_network_status.rb +4 -4
- data/lib/candidhealth/financials/types/allocation_target_create.rb +3 -3
- data/lib/candidhealth/financials/types/billing_provider_allocation_target.rb +1 -1
- data/lib/candidhealth/financials/types/claim_allocation_target.rb +2 -2
- data/lib/candidhealth/financials/types/invoice_update.rb +1 -1
- data/lib/candidhealth/financials/types/service_line_allocation_target.rb +3 -3
- data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +1 -1
- data/lib/candidhealth/guarantor/v_1/types/guarantor_id.rb +1 -1
- data/lib/candidhealth/identifiers/types/identifier.rb +1 -1
- data/lib/candidhealth/identifiers/types/identifier_id.rb +1 -1
- data/lib/candidhealth/identifiers/types/identifier_update.rb +1 -1
- data/lib/candidhealth/identifiers/types/updatable_identifier.rb +1 -1
- data/lib/candidhealth/individual/types/individual_id.rb +1 -1
- data/lib/candidhealth/individual/types/patient.rb +1 -1
- data/lib/candidhealth/individual/types/subscriber.rb +1 -1
- data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication.rb +1 -1
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication.rb +4 -4
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_id.rb +1 -1
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication.rb +1 -1
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_id.rb +1 -1
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card.rb +1 -1
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_id.rb +1 -1
- data/lib/candidhealth/insurance_payments/v_1/client.rb +2 -2
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment.rb +1 -1
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_id.rb +1 -1
- data/lib/candidhealth/insurance_refunds/v_1/client.rb +2 -2
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund.rb +1 -1
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_id.rb +1 -1
- data/lib/candidhealth/invoices/types/invoice.rb +2 -2
- data/lib/candidhealth/invoices/types/invoice_item.rb +1 -1
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider.rb +1 -1
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_id.rb +1 -1
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_v_2.rb +1 -1
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +1 -1
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_id.rb +1 -1
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment.rb +2 -2
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment.rb +3 -3
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment_id.rb +1 -1
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund.rb +3 -3
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_id.rb +1 -1
- data/lib/candidhealth/payers/v_3/client.rb +2 -2
- data/lib/candidhealth/payers/v_3/types/payer.rb +3 -3
- data/lib/candidhealth/payers/v_3/types/payer_identifier.rb +2 -2
- data/lib/candidhealth/payers/v_3/types/payer_uuid.rb +1 -1
- data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +1 -1
- data/lib/candidhealth/service_facility/types/service_facility_id.rb +1 -1
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +6 -6
- data/lib/candidhealth/tasks/v_3/types/task.rb +2 -2
- data/lib/candidhealth/tasks/v_3/types/task_assignment.rb +2 -2
- data/lib/candidhealth/tasks/v_3/types/task_create_v_3.rb +2 -2
- data/lib/candidhealth/tasks/v_3/types/task_note.rb +1 -1
- data/lib/candidhealth/tasks/v_3/types/task_update_v_3.rb +1 -1
- data/lib/candidhealth/write_offs/v_1/client.rb +2 -2
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off.rb +3 -3
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_target.rb +3 -3
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off.rb +4 -4
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off_create.rb +1 -1
- data/lib/candidhealth/write_offs/v_1/types/write_off_id.rb +1 -1
- data/lib/requests.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5753bb683e7accdc01d17e1f453b467dcc5a66b684b11edb7414883ffd370236
|
4
|
+
data.tar.gz: 5fd65dec563cb7b589315fc6d17759800b15700a175f07effcbb786c4884a1d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?(
|
80
|
-
obj.encounter_id.is_a?(
|
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.")
|
@@ -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?(
|
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.")
|
@@ -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
|
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 [
|
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
|
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 [
|
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?(
|
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)
|
@@ -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<
|
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<
|
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?(
|
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)
|
@@ -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?(
|
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?(
|
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.")
|
@@ -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?(
|
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?(
|
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.")
|
@@ -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?(
|
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?(
|
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
|
@@ -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?(
|
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?(
|
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::
|
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::
|
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::
|
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::
|
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)
|
data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb
CHANGED
@@ -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?(
|
113
|
-
obj.organization_service_facility_id.is_a?(
|
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
|
data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb
CHANGED
@@ -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?(
|
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
|
data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb
CHANGED
@@ -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?(
|
113
|
-
obj.organization_service_facility_id.is_a?(
|
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
|
data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb
CHANGED
@@ -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?(
|
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::
|
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::
|
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?(
|
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
|
data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb
CHANGED
@@ -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::
|
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::
|
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?(
|
62
|
-
obj.routed_billing_provider_id.is_a?(
|
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::
|
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::
|
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?(
|
52
|
-
obj.routed_billing_provider_id.is_a?(
|
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::
|
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::
|
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?(
|
69
|
-
obj.routed_billing_provider_id&.is_a?(
|
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
|
@@ -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::
|
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::
|
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?(
|
62
|
-
obj.routed_billing_provider_id.is_a?(
|
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?(
|
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?(
|
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?(
|
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?(
|
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?(
|
50
|
-
obj.encounter_id.is_a?(
|
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
|