candidhealth 0.43.1 → 0.46.0
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/client.rb +2 -2
- data/lib/candidhealth/charge_capture/v_1/client.rb +479 -559
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +200 -190
- data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +2 -44
- data/lib/candidhealth/commons/types/street_address_optional_base.rb +99 -0
- data/lib/candidhealth/commons/types/street_address_short_zip_optional.rb +107 -0
- data/lib/candidhealth/contracts/v_2/client.rb +18 -34
- data/lib/candidhealth/contracts/v_2/types/contract_sort_field.rb +18 -0
- data/lib/candidhealth/credentialing/v_2/client.rb +6 -44
- data/lib/candidhealth/diagnoses/client.rb +4 -14
- data/lib/candidhealth/eligibility/v_2/client.rb +4 -4
- data/lib/candidhealth/encounter_attachments/v_1/client.rb +0 -6
- data/lib/candidhealth/encounter_providers/v_2/client.rb +16 -16
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +160 -0
- data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +134 -0
- data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounters/v_4/client.rb +259 -293
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +23 -13
- data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +10 -10
- data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +10 -10
- data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +26 -184
- data/lib/candidhealth/expected_network_status/v_1/client.rb +12 -18
- data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
- data/lib/candidhealth/expected_network_status/v_2/types/empty_object.rb +53 -0
- data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +13 -10
- data/lib/candidhealth/external_payment_account_config/v_1/client.rb +2 -2
- data/lib/candidhealth/fee_schedules/v_3/client.rb +12 -68
- data/lib/candidhealth/fee_schedules/v_3/types/payer_threshold.rb +3 -3
- data/lib/candidhealth/fee_schedules/v_3/types/rate_entry.rb +2 -2
- data/lib/candidhealth/guarantor/v_1/client.rb +4 -4
- data/lib/candidhealth/import_invoice/v_1/client.rb +6 -28
- data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +179 -0
- data/lib/candidhealth/insurance_adjudications/v_1/client.rb +2 -2
- data/lib/candidhealth/insurance_payments/v_1/client.rb +2 -20
- data/lib/candidhealth/insurance_refunds/v_1/client.rb +6 -24
- data/lib/candidhealth/medication_dispense/v_1/client.rb +2 -2
- data/lib/candidhealth/non_insurance_payer_payments/v_1/client.rb +6 -22
- data/lib/candidhealth/non_insurance_payer_refunds/v_1/client.rb +6 -22
- data/lib/candidhealth/non_insurance_payers/v_1/client.rb +6 -22
- data/lib/candidhealth/organization_providers/v_3/client.rb +4 -4
- data/lib/candidhealth/organization_service_facilities/v_2/client.rb +2 -2
- data/lib/candidhealth/patient_payments/v_4/client.rb +8 -38
- data/lib/candidhealth/patient_refunds/v_1/client.rb +8 -40
- data/lib/candidhealth/payer_plan_groups/v_1/client.rb +6 -30
- data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +32 -44
- data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +4 -4
- data/lib/candidhealth/pre_encounter/common/types/base_model.rb +4 -4
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +24 -34
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb +4 -4
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +2 -2
- data/lib/candidhealth/pre_encounter/images/v_1/client.rb +20 -20
- data/lib/candidhealth/pre_encounter/images/v_1/types/image.rb +6 -6
- data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +4 -28
- data/lib/candidhealth/pre_encounter/notes/v_1/client.rb +14 -14
- data/lib/candidhealth/pre_encounter/notes/v_1/types/note.rb +4 -4
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +56 -68
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +8 -8
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +8 -8
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +16 -16
- data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +16 -16
- data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +4 -4
- data/lib/candidhealth/service_facility/client.rb +2 -2
- data/lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb +113 -0
- data/lib/candidhealth/service_lines/v_2/client.rb +4 -4
- data/lib/candidhealth/superbills/v_1/client.rb +4 -6
- data/lib/candidhealth/tasks/v_3/client.rb +6 -34
- data/lib/candidhealth/write_offs/v_1/client.rb +2 -24
- data/lib/environment.rb +4 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +11 -1
- metadata +13 -3
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_optional.rb +0 -112
@@ -40,16 +40,7 @@ module CandidApiClient
|
|
40
40
|
# @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefundsPage]
|
41
41
|
# @example
|
42
42
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
43
|
-
# api.insurance_refunds.v_1.get_multi
|
44
|
-
# limit: 1,
|
45
|
-
# payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
46
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
47
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
48
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
49
|
-
# sort: AMOUNT_CENTS,
|
50
|
-
# sort_direction: ASC,
|
51
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
52
|
-
# )
|
43
|
+
# api.insurance_refunds.v_1.get_multi
|
53
44
|
def get_multi(limit: nil, payer_uuid: nil, claim_id: nil, service_line_id: nil, billing_provider_id: nil,
|
54
45
|
sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
55
46
|
response = @request_client.conn.get do |req|
|
@@ -118,7 +109,7 @@ module CandidApiClient
|
|
118
109
|
# @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
|
119
110
|
# @example
|
120
111
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
121
|
-
# api.insurance_refunds.v_1.create(request: { amount_cents: 1,
|
112
|
+
# api.insurance_refunds.v_1.create(request: { amount_cents: 1, allocations: [{ amount_cents: 1 }, { amount_cents: 1 }] })
|
122
113
|
def create(request:, request_options: nil)
|
123
114
|
response = @request_client.conn.post do |req|
|
124
115
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -147,7 +138,7 @@ module CandidApiClient
|
|
147
138
|
# @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
|
148
139
|
# @example
|
149
140
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
150
|
-
# api.insurance_refunds.v_1.update(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
141
|
+
# api.insurance_refunds.v_1.update(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
151
142
|
def update(insurance_refund_id:, refund_timestamp: nil, refund_note: nil, refund_reason: nil,
|
152
143
|
request_options: nil)
|
153
144
|
response = @request_client.conn.patch do |req|
|
@@ -221,16 +212,7 @@ module CandidApiClient
|
|
221
212
|
# @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefundsPage]
|
222
213
|
# @example
|
223
214
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
224
|
-
# api.insurance_refunds.v_1.get_multi
|
225
|
-
# limit: 1,
|
226
|
-
# payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
227
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
228
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
229
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
230
|
-
# sort: AMOUNT_CENTS,
|
231
|
-
# sort_direction: ASC,
|
232
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
233
|
-
# )
|
215
|
+
# api.insurance_refunds.v_1.get_multi
|
234
216
|
def get_multi(limit: nil, payer_uuid: nil, claim_id: nil, service_line_id: nil, billing_provider_id: nil,
|
235
217
|
sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
236
218
|
Async do
|
@@ -303,7 +285,7 @@ module CandidApiClient
|
|
303
285
|
# @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
|
304
286
|
# @example
|
305
287
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
306
|
-
# api.insurance_refunds.v_1.create(request: { amount_cents: 1,
|
288
|
+
# api.insurance_refunds.v_1.create(request: { amount_cents: 1, allocations: [{ amount_cents: 1 }, { amount_cents: 1 }] })
|
307
289
|
def create(request:, request_options: nil)
|
308
290
|
Async do
|
309
291
|
response = @request_client.conn.post do |req|
|
@@ -334,7 +316,7 @@ module CandidApiClient
|
|
334
316
|
# @return [CandidApiClient::InsuranceRefunds::V1::Types::InsuranceRefund]
|
335
317
|
# @example
|
336
318
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
337
|
-
# api.insurance_refunds.v_1.update(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
319
|
+
# api.insurance_refunds.v_1.update(insurance_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
338
320
|
def update(insurance_refund_id:, refund_timestamp: nil, refund_note: nil, refund_reason: nil,
|
339
321
|
request_options: nil)
|
340
322
|
Async do
|
@@ -40,7 +40,7 @@ module CandidApiClient
|
|
40
40
|
# @return [CandidApiClient::Encounters::V4::Types::Encounter]
|
41
41
|
# @example
|
42
42
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
43
|
-
# api.medication_dispense.v_1.create(request: { medication_dispense_external_id: "
|
43
|
+
# api.medication_dispense.v_1.create(request: { medication_dispense_external_id: "medication_dispense_external_id", patient_external_id: "patient_external_id", procedure_code: "procedure_code", quantity: "quantity", units: MJ, date_of_service: DateTime.parse(2023-01-15) })
|
44
44
|
def create(request:, request_options: nil)
|
45
45
|
response = @request_client.conn.post do |req|
|
46
46
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -90,7 +90,7 @@ module CandidApiClient
|
|
90
90
|
# @return [CandidApiClient::Encounters::V4::Types::Encounter]
|
91
91
|
# @example
|
92
92
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
93
|
-
# api.medication_dispense.v_1.create(request: { medication_dispense_external_id: "
|
93
|
+
# api.medication_dispense.v_1.create(request: { medication_dispense_external_id: "medication_dispense_external_id", patient_external_id: "patient_external_id", procedure_code: "procedure_code", quantity: "quantity", units: MJ, date_of_service: DateTime.parse(2023-01-15) })
|
94
94
|
def create(request:, request_options: nil)
|
95
95
|
Async do
|
96
96
|
response = @request_client.conn.post do |req|
|
@@ -37,15 +37,7 @@ module CandidApiClient
|
|
37
37
|
# @return [CandidApiClient::NonInsurancePayerPayments::V1::Types::NonInsurancePayerPaymentsPage]
|
38
38
|
# @example
|
39
39
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
40
|
-
# api.non_insurance_payer_payments.v_1.get_multi
|
41
|
-
# limit: 1,
|
42
|
-
# non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
43
|
-
# check_number: "string",
|
44
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
45
|
-
# sort: AMOUNT_CENTS,
|
46
|
-
# sort_direction: ASC,
|
47
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
48
|
-
# )
|
40
|
+
# api.non_insurance_payer_payments.v_1.get_multi
|
49
41
|
def get_multi(limit: nil, non_insurance_payer_id: nil, check_number: nil, invoice_id: nil, sort: nil,
|
50
42
|
sort_direction: nil, page_token: nil, request_options: nil)
|
51
43
|
response = @request_client.conn.get do |req|
|
@@ -108,7 +100,7 @@ module CandidApiClient
|
|
108
100
|
# @return [CandidApiClient::NonInsurancePayerPayments::V1::Types::NonInsurancePayerPayment]
|
109
101
|
# @example
|
110
102
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
111
|
-
# api.non_insurance_payer_payments.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", amount_cents: 1,
|
103
|
+
# api.non_insurance_payer_payments.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", amount_cents: 1, allocations: [{ amount_cents: 1 }, { amount_cents: 1 }] })
|
112
104
|
def create(request:, request_options: nil)
|
113
105
|
response = @request_client.conn.post do |req|
|
114
106
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -133,7 +125,7 @@ module CandidApiClient
|
|
133
125
|
# @return [CandidApiClient::NonInsurancePayerPayments::V1::Types::NonInsurancePayerPayment]
|
134
126
|
# @example
|
135
127
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
136
|
-
# api.non_insurance_payer_payments.v_1.update(non_insurance_payer_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
128
|
+
# api.non_insurance_payer_payments.v_1.update(non_insurance_payer_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
137
129
|
def update(non_insurance_payer_payment_id:, payment_timestamp: nil, payment_note: nil, invoice_id: nil,
|
138
130
|
request_options: nil)
|
139
131
|
response = @request_client.conn.patch do |req|
|
@@ -203,15 +195,7 @@ module CandidApiClient
|
|
203
195
|
# @return [CandidApiClient::NonInsurancePayerPayments::V1::Types::NonInsurancePayerPaymentsPage]
|
204
196
|
# @example
|
205
197
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
206
|
-
# api.non_insurance_payer_payments.v_1.get_multi
|
207
|
-
# limit: 1,
|
208
|
-
# non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
209
|
-
# check_number: "string",
|
210
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
211
|
-
# sort: AMOUNT_CENTS,
|
212
|
-
# sort_direction: ASC,
|
213
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
214
|
-
# )
|
198
|
+
# api.non_insurance_payer_payments.v_1.get_multi
|
215
199
|
def get_multi(limit: nil, non_insurance_payer_id: nil, check_number: nil, invoice_id: nil, sort: nil,
|
216
200
|
sort_direction: nil, page_token: nil, request_options: nil)
|
217
201
|
Async do
|
@@ -278,7 +262,7 @@ module CandidApiClient
|
|
278
262
|
# @return [CandidApiClient::NonInsurancePayerPayments::V1::Types::NonInsurancePayerPayment]
|
279
263
|
# @example
|
280
264
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
281
|
-
# api.non_insurance_payer_payments.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", amount_cents: 1,
|
265
|
+
# api.non_insurance_payer_payments.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", amount_cents: 1, allocations: [{ amount_cents: 1 }, { amount_cents: 1 }] })
|
282
266
|
def create(request:, request_options: nil)
|
283
267
|
Async do
|
284
268
|
response = @request_client.conn.post do |req|
|
@@ -305,7 +289,7 @@ module CandidApiClient
|
|
305
289
|
# @return [CandidApiClient::NonInsurancePayerPayments::V1::Types::NonInsurancePayerPayment]
|
306
290
|
# @example
|
307
291
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
308
|
-
# api.non_insurance_payer_payments.v_1.update(non_insurance_payer_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
292
|
+
# api.non_insurance_payer_payments.v_1.update(non_insurance_payer_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
309
293
|
def update(non_insurance_payer_payment_id:, payment_timestamp: nil, payment_note: nil, invoice_id: nil,
|
310
294
|
request_options: nil)
|
311
295
|
Async do
|
@@ -38,15 +38,7 @@ module CandidApiClient
|
|
38
38
|
# @return [CandidApiClient::NonInsurancePayerRefunds::V1::Types::NonInsurancePayerRefundsPage]
|
39
39
|
# @example
|
40
40
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
41
|
-
# api.non_insurance_payer_refunds.v_1.get_multi
|
42
|
-
# limit: 1,
|
43
|
-
# non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
44
|
-
# check_number: "string",
|
45
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
46
|
-
# sort: AMOUNT_CENTS,
|
47
|
-
# sort_direction: ASC,
|
48
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
49
|
-
# )
|
41
|
+
# api.non_insurance_payer_refunds.v_1.get_multi
|
50
42
|
def get_multi(limit: nil, non_insurance_payer_id: nil, check_number: nil, invoice_id: nil, sort: nil,
|
51
43
|
sort_direction: nil, page_token: nil, request_options: nil)
|
52
44
|
response = @request_client.conn.get do |req|
|
@@ -116,7 +108,7 @@ module CandidApiClient
|
|
116
108
|
# @return [CandidApiClient::NonInsurancePayerRefunds::V1::Types::NonInsurancePayerRefund]
|
117
109
|
# @example
|
118
110
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
119
|
-
# api.non_insurance_payer_refunds.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
111
|
+
# api.non_insurance_payer_refunds.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", amount_cents: 1, allocations: [{ amount_cents: 1 }, { amount_cents: 1 }] })
|
120
112
|
def create(request:, request_options: nil)
|
121
113
|
response = @request_client.conn.post do |req|
|
122
114
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -146,7 +138,7 @@ module CandidApiClient
|
|
146
138
|
# @return [CandidApiClient::NonInsurancePayerRefunds::V1::Types::NonInsurancePayerRefund]
|
147
139
|
# @example
|
148
140
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
149
|
-
# api.non_insurance_payer_refunds.v_1.update(non_insurance_payer_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
141
|
+
# api.non_insurance_payer_refunds.v_1.update(non_insurance_payer_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
150
142
|
def update(non_insurance_payer_refund_id:, refund_timestamp: nil, refund_note: nil, refund_reason: nil,
|
151
143
|
invoice_id: nil, request_options: nil)
|
152
144
|
response = @request_client.conn.patch do |req|
|
@@ -217,15 +209,7 @@ module CandidApiClient
|
|
217
209
|
# @return [CandidApiClient::NonInsurancePayerRefunds::V1::Types::NonInsurancePayerRefundsPage]
|
218
210
|
# @example
|
219
211
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
220
|
-
# api.non_insurance_payer_refunds.v_1.get_multi
|
221
|
-
# limit: 1,
|
222
|
-
# non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
223
|
-
# check_number: "string",
|
224
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
225
|
-
# sort: AMOUNT_CENTS,
|
226
|
-
# sort_direction: ASC,
|
227
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
228
|
-
# )
|
212
|
+
# api.non_insurance_payer_refunds.v_1.get_multi
|
229
213
|
def get_multi(limit: nil, non_insurance_payer_id: nil, check_number: nil, invoice_id: nil, sort: nil,
|
230
214
|
sort_direction: nil, page_token: nil, request_options: nil)
|
231
215
|
Async do
|
@@ -299,7 +283,7 @@ module CandidApiClient
|
|
299
283
|
# @return [CandidApiClient::NonInsurancePayerRefunds::V1::Types::NonInsurancePayerRefund]
|
300
284
|
# @example
|
301
285
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
302
|
-
# api.non_insurance_payer_refunds.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
286
|
+
# api.non_insurance_payer_refunds.v_1.create(request: { non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", amount_cents: 1, allocations: [{ amount_cents: 1 }, { amount_cents: 1 }] })
|
303
287
|
def create(request:, request_options: nil)
|
304
288
|
Async do
|
305
289
|
response = @request_client.conn.post do |req|
|
@@ -331,7 +315,7 @@ module CandidApiClient
|
|
331
315
|
# @return [CandidApiClient::NonInsurancePayerRefunds::V1::Types::NonInsurancePayerRefund]
|
332
316
|
# @example
|
333
317
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
334
|
-
# api.non_insurance_payer_refunds.v_1.update(non_insurance_payer_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
318
|
+
# api.non_insurance_payer_refunds.v_1.update(non_insurance_payer_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
335
319
|
def update(non_insurance_payer_refund_id:, refund_timestamp: nil, refund_note: nil, refund_reason: nil,
|
336
320
|
invoice_id: nil, request_options: nil)
|
337
321
|
Async do
|
@@ -39,7 +39,7 @@ module CandidApiClient
|
|
39
39
|
# @return [CandidApiClient::NonInsurancePayers::V1::Types::NonInsurancePayer]
|
40
40
|
# @example
|
41
41
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
42
|
-
# api.non_insurance_payers.v_1.create(request: { name: "
|
42
|
+
# api.non_insurance_payers.v_1.create(request: { name: "name" })
|
43
43
|
def create(request:, request_options: nil)
|
44
44
|
response = @request_client.conn.post do |req|
|
45
45
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -91,15 +91,7 @@ module CandidApiClient
|
|
91
91
|
# @return [CandidApiClient::NonInsurancePayers::V1::Types::NonInsurancePayerPage]
|
92
92
|
# @example
|
93
93
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
94
|
-
# api.non_insurance_payers.v_1.get_multi
|
95
|
-
# name: "string",
|
96
|
-
# category: "string",
|
97
|
-
# enabled: true,
|
98
|
-
# sort: NAME,
|
99
|
-
# sort_direction: ASC,
|
100
|
-
# limit: 1,
|
101
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
102
|
-
# )
|
94
|
+
# api.non_insurance_payers.v_1.get_multi
|
103
95
|
def get_multi(name: nil, category: nil, enabled: nil, sort: nil, sort_direction: nil, limit: nil,
|
104
96
|
page_token: nil, request_options: nil)
|
105
97
|
response = @request_client.conn.get do |req|
|
@@ -157,7 +149,7 @@ module CandidApiClient
|
|
157
149
|
# @return [CandidApiClient::NonInsurancePayers::V1::Types::NonInsurancePayer]
|
158
150
|
# @example
|
159
151
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
160
|
-
# api.non_insurance_payers.v_1.update(non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: {
|
152
|
+
# api.non_insurance_payers.v_1.update(non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
|
161
153
|
def update(non_insurance_payer_id:, request:, request_options: nil)
|
162
154
|
response = @request_client.conn.patch do |req|
|
163
155
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -221,7 +213,7 @@ module CandidApiClient
|
|
221
213
|
# @return [CandidApiClient::NonInsurancePayers::V1::Types::NonInsurancePayer]
|
222
214
|
# @example
|
223
215
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
224
|
-
# api.non_insurance_payers.v_1.create(request: { name: "
|
216
|
+
# api.non_insurance_payers.v_1.create(request: { name: "name" })
|
225
217
|
def create(request:, request_options: nil)
|
226
218
|
Async do
|
227
219
|
response = @request_client.conn.post do |req|
|
@@ -277,15 +269,7 @@ module CandidApiClient
|
|
277
269
|
# @return [CandidApiClient::NonInsurancePayers::V1::Types::NonInsurancePayerPage]
|
278
270
|
# @example
|
279
271
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
280
|
-
# api.non_insurance_payers.v_1.get_multi
|
281
|
-
# name: "string",
|
282
|
-
# category: "string",
|
283
|
-
# enabled: true,
|
284
|
-
# sort: NAME,
|
285
|
-
# sort_direction: ASC,
|
286
|
-
# limit: 1,
|
287
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
288
|
-
# )
|
272
|
+
# api.non_insurance_payers.v_1.get_multi
|
289
273
|
def get_multi(name: nil, category: nil, enabled: nil, sort: nil, sort_direction: nil, limit: nil,
|
290
274
|
page_token: nil, request_options: nil)
|
291
275
|
Async do
|
@@ -347,7 +331,7 @@ module CandidApiClient
|
|
347
331
|
# @return [CandidApiClient::NonInsurancePayers::V1::Types::NonInsurancePayer]
|
348
332
|
# @example
|
349
333
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
350
|
-
# api.non_insurance_payers.v_1.update(non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: {
|
334
|
+
# api.non_insurance_payers.v_1.update(non_insurance_payer_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
|
351
335
|
def update(non_insurance_payer_id:, request:, request_options: nil)
|
352
336
|
Async do
|
353
337
|
response = @request_client.conn.patch do |req|
|
@@ -107,7 +107,7 @@ module CandidApiClient
|
|
107
107
|
# @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
|
108
108
|
# @example
|
109
109
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
110
|
-
# api.organization_providers.v_3.create(request: { npi: "
|
110
|
+
# api.organization_providers.v_3.create(request: { npi: "npi", is_rendering: true, is_billing: true, provider_type: INDIVIDUAL, license_type: MD, qualifications: [{ identifier_code: MCR }, { identifier_code: MCR }] })
|
111
111
|
def create(request:, request_options: nil)
|
112
112
|
response = @request_client.conn.post do |req|
|
113
113
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -144,7 +144,7 @@ module CandidApiClient
|
|
144
144
|
# @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
|
145
145
|
# @example
|
146
146
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
147
|
-
# api.organization_providers.v_3.update(organization_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: {
|
147
|
+
# api.organization_providers.v_3.update(organization_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
|
148
148
|
def update(organization_provider_id:, request:, request_options: nil)
|
149
149
|
response = @request_client.conn.patch do |req|
|
150
150
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -262,7 +262,7 @@ module CandidApiClient
|
|
262
262
|
# @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
|
263
263
|
# @example
|
264
264
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
265
|
-
# api.organization_providers.v_3.create(request: { npi: "
|
265
|
+
# api.organization_providers.v_3.create(request: { npi: "npi", is_rendering: true, is_billing: true, provider_type: INDIVIDUAL, license_type: MD, qualifications: [{ identifier_code: MCR }, { identifier_code: MCR }] })
|
266
266
|
def create(request:, request_options: nil)
|
267
267
|
Async do
|
268
268
|
response = @request_client.conn.post do |req|
|
@@ -301,7 +301,7 @@ module CandidApiClient
|
|
301
301
|
# @return [CandidApiClient::OrganizationProviders::V3::Types::OrganizationProviderV2]
|
302
302
|
# @example
|
303
303
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
304
|
-
# api.organization_providers.v_3.update(organization_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: {
|
304
|
+
# api.organization_providers.v_3.update(organization_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
|
305
305
|
def update(organization_provider_id:, request:, request_options: nil)
|
306
306
|
Async do
|
307
307
|
response = @request_client.conn.patch do |req|
|
@@ -25,7 +25,7 @@ module CandidApiClient
|
|
25
25
|
# @return [CandidApiClient::OrganizationServiceFacilities::V2::Types::OrganizationServiceFacility]
|
26
26
|
# @example
|
27
27
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
28
|
-
# api.organization_service_facilities.v_2.get(organization_service_facility_id: "
|
28
|
+
# api.organization_service_facilities.v_2.get(organization_service_facility_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
29
29
|
def get(organization_service_facility_id:, request_options: nil)
|
30
30
|
response = @request_client.conn.get do |req|
|
31
31
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -189,7 +189,7 @@ module CandidApiClient
|
|
189
189
|
# @return [CandidApiClient::OrganizationServiceFacilities::V2::Types::OrganizationServiceFacility]
|
190
190
|
# @example
|
191
191
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
192
|
-
# api.organization_service_facilities.v_2.get(organization_service_facility_id: "
|
192
|
+
# api.organization_service_facilities.v_2.get(organization_service_facility_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
193
193
|
def get(organization_service_facility_id:, request_options: nil)
|
194
194
|
Async do
|
195
195
|
response = @request_client.conn.get do |req|
|
@@ -44,19 +44,7 @@ module CandidApiClient
|
|
44
44
|
# @return [CandidApiClient::PatientPayments::V4::Types::PatientPaymentsPage]
|
45
45
|
# @example
|
46
46
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
47
|
-
# api.patient_payments.v_4.get_multi
|
48
|
-
# limit: 1,
|
49
|
-
# patient_external_id: "string",
|
50
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
51
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
52
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
53
|
-
# unattributed: true,
|
54
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
55
|
-
# sources: MANUAL_ENTRY,
|
56
|
-
# sort: PAYMENT_SOURCE,
|
57
|
-
# sort_direction: ASC,
|
58
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
59
|
-
# )
|
47
|
+
# api.patient_payments.v_4.get_multi
|
60
48
|
def get_multi(limit: nil, patient_external_id: nil, claim_id: nil, service_line_id: nil,
|
61
49
|
billing_provider_id: nil, unattributed: nil, invoice_id: nil, sources: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
62
50
|
response = @request_client.conn.get do |req|
|
@@ -130,11 +118,8 @@ module CandidApiClient
|
|
130
118
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
131
119
|
# api.patient_payments.v_4.create(
|
132
120
|
# amount_cents: 1,
|
133
|
-
#
|
134
|
-
#
|
135
|
-
# patient_external_id: "string",
|
136
|
-
# allocations: [{ amount_cents: 1 }],
|
137
|
-
# invoice: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
121
|
+
# patient_external_id: "patient_external_id",
|
122
|
+
# allocations: [{ amount_cents: 1 }, { amount_cents: 1 }]
|
138
123
|
# )
|
139
124
|
def create(amount_cents:, patient_external_id:, allocations:, payment_timestamp: nil, payment_note: nil,
|
140
125
|
invoice: nil, request_options: nil)
|
@@ -171,7 +156,7 @@ module CandidApiClient
|
|
171
156
|
# @return [CandidApiClient::PatientPayments::V4::Types::PatientPayment]
|
172
157
|
# @example
|
173
158
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
174
|
-
# api.patient_payments.v_4.update(patient_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
159
|
+
# api.patient_payments.v_4.update(patient_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
175
160
|
def update(patient_payment_id:, payment_timestamp: nil, payment_note: nil, invoice: nil, request_options: nil)
|
176
161
|
response = @request_client.conn.patch do |req|
|
177
162
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -245,19 +230,7 @@ module CandidApiClient
|
|
245
230
|
# @return [CandidApiClient::PatientPayments::V4::Types::PatientPaymentsPage]
|
246
231
|
# @example
|
247
232
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
248
|
-
# api.patient_payments.v_4.get_multi
|
249
|
-
# limit: 1,
|
250
|
-
# patient_external_id: "string",
|
251
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
252
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
253
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
254
|
-
# unattributed: true,
|
255
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
256
|
-
# sources: MANUAL_ENTRY,
|
257
|
-
# sort: PAYMENT_SOURCE,
|
258
|
-
# sort_direction: ASC,
|
259
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
260
|
-
# )
|
233
|
+
# api.patient_payments.v_4.get_multi
|
261
234
|
def get_multi(limit: nil, patient_external_id: nil, claim_id: nil, service_line_id: nil,
|
262
235
|
billing_provider_id: nil, unattributed: nil, invoice_id: nil, sources: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
263
236
|
Async do
|
@@ -335,11 +308,8 @@ module CandidApiClient
|
|
335
308
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
336
309
|
# api.patient_payments.v_4.create(
|
337
310
|
# amount_cents: 1,
|
338
|
-
#
|
339
|
-
#
|
340
|
-
# patient_external_id: "string",
|
341
|
-
# allocations: [{ amount_cents: 1 }],
|
342
|
-
# invoice: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
311
|
+
# patient_external_id: "patient_external_id",
|
312
|
+
# allocations: [{ amount_cents: 1 }, { amount_cents: 1 }]
|
343
313
|
# )
|
344
314
|
def create(amount_cents:, patient_external_id:, allocations:, payment_timestamp: nil, payment_note: nil,
|
345
315
|
invoice: nil, request_options: nil)
|
@@ -378,7 +348,7 @@ module CandidApiClient
|
|
378
348
|
# @return [CandidApiClient::PatientPayments::V4::Types::PatientPayment]
|
379
349
|
# @example
|
380
350
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
381
|
-
# api.patient_payments.v_4.update(patient_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
351
|
+
# api.patient_payments.v_4.update(patient_payment_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
382
352
|
def update(patient_payment_id:, payment_timestamp: nil, payment_note: nil, invoice: nil, request_options: nil)
|
383
353
|
Async do
|
384
354
|
response = @request_client.conn.patch do |req|
|
@@ -46,19 +46,7 @@ module CandidApiClient
|
|
46
46
|
# @return [CandidApiClient::PatientRefunds::V1::Types::PatientRefundsPage]
|
47
47
|
# @example
|
48
48
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
49
|
-
# api.patient_refunds.v_1.get_multi
|
50
|
-
# limit: 1,
|
51
|
-
# patient_external_id: "string",
|
52
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
53
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
54
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
55
|
-
# unattributed: true,
|
56
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
57
|
-
# sources: MANUAL_ENTRY,
|
58
|
-
# sort: REFUND_SOURCE,
|
59
|
-
# sort_direction: ASC,
|
60
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
61
|
-
# )
|
49
|
+
# api.patient_refunds.v_1.get_multi
|
62
50
|
def get_multi(limit: nil, patient_external_id: nil, claim_id: nil, service_line_id: nil,
|
63
51
|
billing_provider_id: nil, unattributed: nil, invoice_id: nil, sources: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
64
52
|
response = @request_client.conn.get do |req|
|
@@ -133,12 +121,8 @@ module CandidApiClient
|
|
133
121
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
134
122
|
# api.patient_refunds.v_1.create(
|
135
123
|
# amount_cents: 1,
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# patient_external_id: "string",
|
139
|
-
# allocations: [{ amount_cents: 1 }],
|
140
|
-
# invoice: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
141
|
-
# refund_reason: OVERCHARGED
|
124
|
+
# patient_external_id: "patient_external_id",
|
125
|
+
# allocations: [{ amount_cents: 1 }, { amount_cents: 1 }]
|
142
126
|
# )
|
143
127
|
def create(amount_cents:, patient_external_id:, allocations:, refund_timestamp: nil, refund_note: nil,
|
144
128
|
invoice: nil, refund_reason: nil, request_options: nil)
|
@@ -177,7 +161,7 @@ module CandidApiClient
|
|
177
161
|
# @return [CandidApiClient::PatientRefunds::V1::Types::PatientRefund]
|
178
162
|
# @example
|
179
163
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
180
|
-
# api.patient_refunds.v_1.update(patient_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
164
|
+
# api.patient_refunds.v_1.update(patient_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
181
165
|
def update(patient_refund_id:, refund_timestamp: nil, refund_note: nil, invoice: nil, refund_reason: nil,
|
182
166
|
request_options: nil)
|
183
167
|
response = @request_client.conn.patch do |req|
|
@@ -253,19 +237,7 @@ module CandidApiClient
|
|
253
237
|
# @return [CandidApiClient::PatientRefunds::V1::Types::PatientRefundsPage]
|
254
238
|
# @example
|
255
239
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
256
|
-
# api.patient_refunds.v_1.get_multi
|
257
|
-
# limit: 1,
|
258
|
-
# patient_external_id: "string",
|
259
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
260
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
261
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
262
|
-
# unattributed: true,
|
263
|
-
# invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
264
|
-
# sources: MANUAL_ENTRY,
|
265
|
-
# sort: REFUND_SOURCE,
|
266
|
-
# sort_direction: ASC,
|
267
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
268
|
-
# )
|
240
|
+
# api.patient_refunds.v_1.get_multi
|
269
241
|
def get_multi(limit: nil, patient_external_id: nil, claim_id: nil, service_line_id: nil,
|
270
242
|
billing_provider_id: nil, unattributed: nil, invoice_id: nil, sources: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
271
243
|
Async do
|
@@ -344,12 +316,8 @@ module CandidApiClient
|
|
344
316
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
345
317
|
# api.patient_refunds.v_1.create(
|
346
318
|
# amount_cents: 1,
|
347
|
-
#
|
348
|
-
#
|
349
|
-
# patient_external_id: "string",
|
350
|
-
# allocations: [{ amount_cents: 1 }],
|
351
|
-
# invoice: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
352
|
-
# refund_reason: OVERCHARGED
|
319
|
+
# patient_external_id: "patient_external_id",
|
320
|
+
# allocations: [{ amount_cents: 1 }, { amount_cents: 1 }]
|
353
321
|
# )
|
354
322
|
def create(amount_cents:, patient_external_id:, allocations:, refund_timestamp: nil, refund_note: nil,
|
355
323
|
invoice: nil, refund_reason: nil, request_options: nil)
|
@@ -390,7 +358,7 @@ module CandidApiClient
|
|
390
358
|
# @return [CandidApiClient::PatientRefunds::V1::Types::PatientRefund]
|
391
359
|
# @example
|
392
360
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
393
|
-
# api.patient_refunds.v_1.update(patient_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
361
|
+
# api.patient_refunds.v_1.update(patient_refund_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
394
362
|
def update(patient_refund_id:, refund_timestamp: nil, refund_note: nil, invoice: nil, refund_reason: nil,
|
395
363
|
request_options: nil)
|
396
364
|
Async do
|
@@ -44,19 +44,7 @@ module CandidApiClient
|
|
44
44
|
# @return [CandidApiClient::PayerPlanGroups::V1::Types::PayerPlanGroupPage]
|
45
45
|
# @example
|
46
46
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
47
|
-
# api.payer_plan_groups.v_1.get_multi
|
48
|
-
# plan_group_name: "string",
|
49
|
-
# payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
50
|
-
# payer_id: "string",
|
51
|
-
# plan_type: SELF_PAY,
|
52
|
-
# is_active: true,
|
53
|
-
# payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
54
|
-
# limit: 1,
|
55
|
-
# sort_by_similarity: "string",
|
56
|
-
# sort: PLAN_GROUP_NAME,
|
57
|
-
# sort_direction: ASC,
|
58
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
59
|
-
# )
|
47
|
+
# api.payer_plan_groups.v_1.get_multi
|
60
48
|
def get_multi(plan_group_name: nil, payer_uuid: nil, payer_id: nil, plan_type: nil, is_active: nil,
|
61
49
|
payer_plan_group_id: nil, limit: nil, sort_by_similarity: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
62
50
|
response = @request_client.conn.get do |req|
|
@@ -120,7 +108,7 @@ module CandidApiClient
|
|
120
108
|
# @return [CandidApiClient::PayerPlanGroups::V1::Types::PayerPlanGroup]
|
121
109
|
# @example
|
122
110
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
123
|
-
# api.payer_plan_groups.v_1.create(request: { plan_group_name: "
|
111
|
+
# api.payer_plan_groups.v_1.create(request: { plan_group_name: "plan_group_name", payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", plan_type: SELF_PAY })
|
124
112
|
def create(request:, request_options: nil)
|
125
113
|
response = @request_client.conn.post do |req|
|
126
114
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -148,7 +136,7 @@ module CandidApiClient
|
|
148
136
|
# @return [CandidApiClient::PayerPlanGroups::V1::Types::PayerPlanGroup]
|
149
137
|
# @example
|
150
138
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
151
|
-
# api.payer_plan_groups.v_1.update(payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { plan_group_name: "
|
139
|
+
# api.payer_plan_groups.v_1.update(payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { plan_group_name: "plan_group_name", payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", plan_type: SELF_PAY })
|
152
140
|
def update(payer_plan_group_id:, request:, request_options: nil)
|
153
141
|
response = @request_client.conn.put do |req|
|
154
142
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -221,19 +209,7 @@ module CandidApiClient
|
|
221
209
|
# @return [CandidApiClient::PayerPlanGroups::V1::Types::PayerPlanGroupPage]
|
222
210
|
# @example
|
223
211
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
224
|
-
# api.payer_plan_groups.v_1.get_multi
|
225
|
-
# plan_group_name: "string",
|
226
|
-
# payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
227
|
-
# payer_id: "string",
|
228
|
-
# plan_type: SELF_PAY,
|
229
|
-
# is_active: true,
|
230
|
-
# payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
231
|
-
# limit: 1,
|
232
|
-
# sort_by_similarity: "string",
|
233
|
-
# sort: PLAN_GROUP_NAME,
|
234
|
-
# sort_direction: ASC,
|
235
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
236
|
-
# )
|
212
|
+
# api.payer_plan_groups.v_1.get_multi
|
237
213
|
def get_multi(plan_group_name: nil, payer_uuid: nil, payer_id: nil, plan_type: nil, is_active: nil,
|
238
214
|
payer_plan_group_id: nil, limit: nil, sort_by_similarity: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
239
215
|
Async do
|
@@ -301,7 +277,7 @@ module CandidApiClient
|
|
301
277
|
# @return [CandidApiClient::PayerPlanGroups::V1::Types::PayerPlanGroup]
|
302
278
|
# @example
|
303
279
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
304
|
-
# api.payer_plan_groups.v_1.create(request: { plan_group_name: "
|
280
|
+
# api.payer_plan_groups.v_1.create(request: { plan_group_name: "plan_group_name", payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", plan_type: SELF_PAY })
|
305
281
|
def create(request:, request_options: nil)
|
306
282
|
Async do
|
307
283
|
response = @request_client.conn.post do |req|
|
@@ -331,7 +307,7 @@ module CandidApiClient
|
|
331
307
|
# @return [CandidApiClient::PayerPlanGroups::V1::Types::PayerPlanGroup]
|
332
308
|
# @example
|
333
309
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
334
|
-
# api.payer_plan_groups.v_1.update(payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { plan_group_name: "
|
310
|
+
# api.payer_plan_groups.v_1.update(payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { plan_group_name: "plan_group_name", payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", plan_type: SELF_PAY })
|
335
311
|
def update(payer_plan_group_id:, request:, request_options: nil)
|
336
312
|
Async do
|
337
313
|
response = @request_client.conn.put do |req|
|