candidhealth 0.17.1 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- 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 +2 -2
@@ -81,11 +81,11 @@ module CandidApiClient
|
|
81
81
|
# @param obj [Object]
|
82
82
|
# @return [Void]
|
83
83
|
def self.validate_raw(obj:)
|
84
|
-
obj.encounter_id.is_a?(
|
84
|
+
obj.encounter_id.is_a?(UUID) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
|
85
85
|
obj.task_type.is_a?(Tasks::Commons::TaskType) != false || raise("Passed value for field obj.task_type is not the expected type, validation failed.")
|
86
86
|
obj.description.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.")
|
87
87
|
obj.blocks_claim_submission&.is_a?(Boolean) != false || raise("Passed value for field obj.blocks_claim_submission is not the expected type, validation failed.")
|
88
|
-
obj.assignee_user_id&.is_a?(
|
88
|
+
obj.assignee_user_id&.is_a?(UUID) != false || raise("Passed value for field obj.assignee_user_id is not the expected type, validation failed.")
|
89
89
|
obj.category&.is_a?(Tasks::Commons::TaskCategory) != false || raise("Passed value for field obj.category is not the expected type, validation failed.")
|
90
90
|
obj.work_queue_id.is_a?(String) != false || raise("Passed value for field obj.work_queue_id is not the expected type, validation failed.")
|
91
91
|
end
|
@@ -67,7 +67,7 @@ module CandidApiClient
|
|
67
67
|
# @param obj [Object]
|
68
68
|
# @return [Void]
|
69
69
|
def self.validate_raw(obj:)
|
70
|
-
obj.task_note_id.is_a?(
|
70
|
+
obj.task_note_id.is_a?(UUID) != false || raise("Passed value for field obj.task_note_id is not the expected type, validation failed.")
|
71
71
|
obj.text.is_a?(String) != false || raise("Passed value for field obj.text is not the expected type, validation failed.")
|
72
72
|
obj.created_at.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.")
|
73
73
|
obj.author_name.is_a?(String) != false || raise("Passed value for field obj.author_name is not the expected type, validation failed.")
|
@@ -57,7 +57,7 @@ module CandidApiClient
|
|
57
57
|
# @return [Void]
|
58
58
|
def self.validate_raw(obj:)
|
59
59
|
obj.status&.is_a?(Tasks::Commons::TaskStatus) != false || raise("Passed value for field obj.status is not the expected type, validation failed.")
|
60
|
-
obj.assignee_user_id&.is_a?(
|
60
|
+
obj.assignee_user_id&.is_a?(UUID) != false || raise("Passed value for field obj.assignee_user_id is not the expected type, validation failed.")
|
61
61
|
obj.blocks_claim_submission&.is_a?(Boolean) != false || raise("Passed value for field obj.blocks_claim_submission is not the expected type, validation failed.")
|
62
62
|
end
|
63
63
|
end
|
@@ -34,7 +34,7 @@ module CandidApiClient
|
|
34
34
|
#
|
35
35
|
# @param limit [Integer] Defaults to 100. The value must be greater than 0 and less than 1000.
|
36
36
|
# @param patient_external_id [Commons::PATIENT_EXTERNAL_ID]
|
37
|
-
# @param payer_uuid [Payers::V3::
|
37
|
+
# @param payer_uuid [Payers::V3::PAYER_UUID]
|
38
38
|
# @param service_line_id [Commons::SERVICE_LINE_ID]
|
39
39
|
# @param claim_id [Commons::CLAIM_ID]
|
40
40
|
# @param billing_provider_id [Commons::PROVIDER_ID]
|
@@ -127,7 +127,7 @@ module CandidApiClient
|
|
127
127
|
#
|
128
128
|
# @param limit [Integer] Defaults to 100. The value must be greater than 0 and less than 1000.
|
129
129
|
# @param patient_external_id [Commons::PATIENT_EXTERNAL_ID]
|
130
|
-
# @param payer_uuid [Payers::V3::
|
130
|
+
# @param payer_uuid [Payers::V3::PAYER_UUID]
|
131
131
|
# @param service_line_id [Commons::SERVICE_LINE_ID]
|
132
132
|
# @param claim_id [Commons::CLAIM_ID]
|
133
133
|
# @param billing_provider_id [Commons::PROVIDER_ID]
|
@@ -103,14 +103,14 @@ module CandidApiClient
|
|
103
103
|
# @param obj [Object]
|
104
104
|
# @return [Void]
|
105
105
|
def self.validate_raw(obj:)
|
106
|
-
obj.write_off_id.is_a?(
|
106
|
+
obj.write_off_id.is_a?(UUID) != false || raise("Passed value for field obj.write_off_id is not the expected type, validation failed.")
|
107
107
|
Payers::V3::Payer.validate_raw(obj: obj.payer)
|
108
108
|
WriteOffs::V1::InsuranceWriteOffTarget.validate_raw(obj: obj.write_off_target)
|
109
109
|
obj.write_off_timestamp.is_a?(DateTime) != false || raise("Passed value for field obj.write_off_timestamp is not the expected type, validation failed.")
|
110
110
|
obj.write_off_note&.is_a?(String) != false || raise("Passed value for field obj.write_off_note is not the expected type, validation failed.")
|
111
111
|
obj.write_off_reason.is_a?(WriteOffs::V1::InsuranceWriteOffReason) != false || raise("Passed value for field obj.write_off_reason is not the expected type, validation failed.")
|
112
|
-
obj.reverts_write_off_id&.is_a?(
|
113
|
-
obj.reverted_by_write_off_id&.is_a?(
|
112
|
+
obj.reverts_write_off_id&.is_a?(UUID) != false || raise("Passed value for field obj.reverts_write_off_id is not the expected type, validation failed.")
|
113
|
+
obj.reverted_by_write_off_id&.is_a?(UUID) != false || raise("Passed value for field obj.reverted_by_write_off_id is not the expected type, validation failed.")
|
114
114
|
obj.amount_cents.is_a?(Integer) != false || raise("Passed value for field obj.amount_cents is not the expected type, validation failed.")
|
115
115
|
end
|
116
116
|
end
|
@@ -62,11 +62,11 @@ module CandidApiClient
|
|
62
62
|
def self.validate_raw(obj:)
|
63
63
|
case obj.type
|
64
64
|
when "service_line_id"
|
65
|
-
obj.is_a?(
|
65
|
+
obj.is_a?(UUID) != false || raise("Passed value for field obj is not the expected type, validation failed.")
|
66
66
|
when "claim_id"
|
67
|
-
obj.is_a?(
|
67
|
+
obj.is_a?(UUID) != false || raise("Passed value for field obj is not the expected type, validation failed.")
|
68
68
|
when "billing_provider_id"
|
69
|
-
obj.is_a?(
|
69
|
+
obj.is_a?(UUID) != false || raise("Passed value for field obj is not the expected type, validation failed.")
|
70
70
|
else
|
71
71
|
raise("Passed value matched no type within the union, validation failed.")
|
72
72
|
end
|
@@ -87,13 +87,13 @@ module CandidApiClient
|
|
87
87
|
# @param obj [Object]
|
88
88
|
# @return [Void]
|
89
89
|
def self.validate_raw(obj:)
|
90
|
-
obj.write_off_id.is_a?(
|
90
|
+
obj.write_off_id.is_a?(UUID) != false || raise("Passed value for field obj.write_off_id is not the expected type, validation failed.")
|
91
91
|
obj.write_off_timestamp.is_a?(DateTime) != false || raise("Passed value for field obj.write_off_timestamp is not the expected type, validation failed.")
|
92
92
|
obj.write_off_note&.is_a?(String) != false || raise("Passed value for field obj.write_off_note is not the expected type, validation failed.")
|
93
93
|
obj.write_off_reason.is_a?(WriteOffs::V1::PatientWriteOffReason) != false || raise("Passed value for field obj.write_off_reason is not the expected type, validation failed.")
|
94
|
-
obj.service_line_id.is_a?(
|
95
|
-
obj.reverts_write_off_id&.is_a?(
|
96
|
-
obj.reverted_by_write_off_id&.is_a?(
|
94
|
+
obj.service_line_id.is_a?(UUID) != false || raise("Passed value for field obj.service_line_id is not the expected type, validation failed.")
|
95
|
+
obj.reverts_write_off_id&.is_a?(UUID) != false || raise("Passed value for field obj.reverts_write_off_id is not the expected type, validation failed.")
|
96
|
+
obj.reverted_by_write_off_id&.is_a?(UUID) != false || raise("Passed value for field obj.reverted_by_write_off_id is not the expected type, validation failed.")
|
97
97
|
obj.amount_cents.is_a?(Integer) != false || raise("Passed value for field obj.amount_cents is not the expected type, validation failed.")
|
98
98
|
end
|
99
99
|
end
|
@@ -74,7 +74,7 @@ module CandidApiClient
|
|
74
74
|
obj.write_off_timestamp.is_a?(DateTime) != false || raise("Passed value for field obj.write_off_timestamp is not the expected type, validation failed.")
|
75
75
|
obj.write_off_note&.is_a?(String) != false || raise("Passed value for field obj.write_off_note is not the expected type, validation failed.")
|
76
76
|
obj.write_off_reason.is_a?(WriteOffs::V1::PatientWriteOffReason) != false || raise("Passed value for field obj.write_off_reason is not the expected type, validation failed.")
|
77
|
-
obj.service_line_id.is_a?(
|
77
|
+
obj.service_line_id.is_a?(UUID) != false || raise("Passed value for field obj.service_line_id is not the expected type, validation failed.")
|
78
78
|
obj.amount_cents.is_a?(Integer) != false || raise("Passed value for field obj.amount_cents is not the expected type, validation failed.")
|
79
79
|
end
|
80
80
|
end
|
data/lib/requests.rb
CHANGED
@@ -20,7 +20,7 @@ module CandidApiClient
|
|
20
20
|
@headers = {
|
21
21
|
"X-Fern-Language": "Ruby",
|
22
22
|
"X-Fern-SDK-Name": "candidhealth",
|
23
|
-
"X-Fern-SDK-Version": "0.17.
|
23
|
+
"X-Fern-SDK-Version": "0.17.3",
|
24
24
|
"Authorization": "Bearer #{token}"
|
25
25
|
}
|
26
26
|
@conn = Faraday.new(@base_url, headers: @headers) do |faraday|
|
@@ -46,7 +46,7 @@ module CandidApiClient
|
|
46
46
|
@headers = {
|
47
47
|
"X-Fern-Language": "Ruby",
|
48
48
|
"X-Fern-SDK-Name": "candidhealth",
|
49
|
-
"X-Fern-SDK-Version": "0.17.
|
49
|
+
"X-Fern-SDK-Version": "0.17.3",
|
50
50
|
"Authorization": "Bearer #{token}"
|
51
51
|
}
|
52
52
|
@conn = Faraday.new(@base_url, headers: @headers) do |faraday|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|