candidhealth 0.45.0 → 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 +10 -94
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +16 -16
- data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +2 -44
- 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/encounters/v_4/client.rb +38 -102
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +12 -12
- 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 +14 -14
- 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/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_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 +2 -0
- metadata +4 -2
@@ -41,7 +41,7 @@ module CandidApiClient
|
|
41
41
|
# @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
|
42
42
|
# @example
|
43
43
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
44
|
-
# api.import_invoice.v_1.import_invoice(request: { external_payment_account_config_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", patient_external_id: "
|
44
|
+
# api.import_invoice.v_1.import_invoice(request: { external_payment_account_config_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", patient_external_id: "patient_external_id", external_customer_identifier: "external_customer_identifier", items: [{ amount_cents: 1 }, { amount_cents: 1 }], status: DRAFT, external_identifier: "external_identifier" })
|
45
45
|
def import_invoice(request:, request_options: nil)
|
46
46
|
response = @request_client.conn.post do |req|
|
47
47
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -75,18 +75,7 @@ module CandidApiClient
|
|
75
75
|
# @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoicesPage]
|
76
76
|
# @example
|
77
77
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
78
|
-
# api.import_invoice.v_1.get_multi
|
79
|
-
# patient_external_id: "string",
|
80
|
-
# encounter_external_id: "string",
|
81
|
-
# note: "string",
|
82
|
-
# due_date_before: DateTime.parse(2023-01-15),
|
83
|
-
# due_date_after: DateTime.parse(2023-01-15),
|
84
|
-
# status: DRAFT,
|
85
|
-
# limit: 1,
|
86
|
-
# sort: CREATED_AT,
|
87
|
-
# sort_direction: ASC,
|
88
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
89
|
-
# )
|
78
|
+
# api.import_invoice.v_1.get_multi
|
90
79
|
def get_multi(patient_external_id: nil, encounter_external_id: nil, note: nil, due_date_before: nil,
|
91
80
|
due_date_after: nil, status: nil, limit: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
92
81
|
response = @request_client.conn.get do |req|
|
@@ -154,7 +143,7 @@ module CandidApiClient
|
|
154
143
|
# @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
|
155
144
|
# @example
|
156
145
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
157
|
-
# api.import_invoice.v_1.update(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: {
|
146
|
+
# api.import_invoice.v_1.update(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
|
158
147
|
def update(invoice_id:, request:, request_options: nil)
|
159
148
|
response = @request_client.conn.patch do |req|
|
160
149
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -199,7 +188,7 @@ module CandidApiClient
|
|
199
188
|
# @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
|
200
189
|
# @example
|
201
190
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
202
|
-
# api.import_invoice.v_1.import_invoice(request: { external_payment_account_config_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", patient_external_id: "
|
191
|
+
# api.import_invoice.v_1.import_invoice(request: { external_payment_account_config_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", patient_external_id: "patient_external_id", external_customer_identifier: "external_customer_identifier", items: [{ amount_cents: 1 }, { amount_cents: 1 }], status: DRAFT, external_identifier: "external_identifier" })
|
203
192
|
def import_invoice(request:, request_options: nil)
|
204
193
|
Async do
|
205
194
|
response = @request_client.conn.post do |req|
|
@@ -235,18 +224,7 @@ module CandidApiClient
|
|
235
224
|
# @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoicesPage]
|
236
225
|
# @example
|
237
226
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
238
|
-
# api.import_invoice.v_1.get_multi
|
239
|
-
# patient_external_id: "string",
|
240
|
-
# encounter_external_id: "string",
|
241
|
-
# note: "string",
|
242
|
-
# due_date_before: DateTime.parse(2023-01-15),
|
243
|
-
# due_date_after: DateTime.parse(2023-01-15),
|
244
|
-
# status: DRAFT,
|
245
|
-
# limit: 1,
|
246
|
-
# sort: CREATED_AT,
|
247
|
-
# sort_direction: ASC,
|
248
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
249
|
-
# )
|
227
|
+
# api.import_invoice.v_1.get_multi
|
250
228
|
def get_multi(patient_external_id: nil, encounter_external_id: nil, note: nil, due_date_before: nil,
|
251
229
|
due_date_after: nil, status: nil, limit: nil, sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
252
230
|
Async do
|
@@ -318,7 +296,7 @@ module CandidApiClient
|
|
318
296
|
# @return [CandidApiClient::ImportInvoice::V1::Types::ImportInvoice]
|
319
297
|
# @example
|
320
298
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
321
|
-
# api.import_invoice.v_1.update(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: {
|
299
|
+
# api.import_invoice.v_1.update(invoice_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
|
322
300
|
def update(invoice_id:, request:, request_options: nil)
|
323
301
|
Async do
|
324
302
|
response = @request_client.conn.patch do |req|
|
@@ -60,7 +60,7 @@ module CandidApiClient
|
|
60
60
|
# @return [CandidApiClient::InsuranceAdjudications::V1::Types::InsuranceAdjudication]
|
61
61
|
# @example
|
62
62
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
63
|
-
# api.insurance_adjudications.v_1.create(request: { payee: { payee_name: "
|
63
|
+
# api.insurance_adjudications.v_1.create(request: { payee: { payee_name: "payee_name" }, check_date: DateTime.parse(2023-01-15), claims: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ claim_status_code: PROCESSED_AS_PRIMARY, service_lines: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }, { carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }] }, carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }] }, { claim_status_code: PROCESSED_AS_PRIMARY, service_lines: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }, { carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }] }, carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }] }] } })
|
64
64
|
def create(request:, request_options: nil)
|
65
65
|
response = @request_client.conn.post do |req|
|
66
66
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -155,7 +155,7 @@ module CandidApiClient
|
|
155
155
|
# @return [CandidApiClient::InsuranceAdjudications::V1::Types::InsuranceAdjudication]
|
156
156
|
# @example
|
157
157
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
158
|
-
# api.insurance_adjudications.v_1.create(request: { payee: { payee_name: "
|
158
|
+
# api.insurance_adjudications.v_1.create(request: { payee: { payee_name: "payee_name" }, check_date: DateTime.parse(2023-01-15), claims: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ claim_status_code: PROCESSED_AS_PRIMARY, service_lines: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }, { carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }] }, carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }] }, { claim_status_code: PROCESSED_AS_PRIMARY, service_lines: { "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{ carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }, { carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }], rarcs: [{ reason_code: M_1 }, { reason_code: M_1 }] }] }, carcs: [{ group_code: CO, reason_code: CARC_1, amount_cents: 1 }, { group_code: CO, reason_code: CARC_1, amount_cents: 1 }] }] } })
|
159
159
|
def create(request:, request_options: nil)
|
160
160
|
Async do
|
161
161
|
response = @request_client.conn.post do |req|
|
@@ -34,16 +34,7 @@ module CandidApiClient
|
|
34
34
|
# @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePaymentsPage]
|
35
35
|
# @example
|
36
36
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
37
|
-
# api.insurance_payments.v_1.get_multi
|
38
|
-
# limit: 1,
|
39
|
-
# payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
40
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
41
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
42
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
43
|
-
# sort: AMOUNT_CENTS,
|
44
|
-
# sort_direction: ASC,
|
45
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
46
|
-
# )
|
37
|
+
# api.insurance_payments.v_1.get_multi
|
47
38
|
def get_multi(limit: nil, payer_uuid: nil, claim_id: nil, service_line_id: nil, billing_provider_id: nil,
|
48
39
|
sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
49
40
|
response = @request_client.conn.get do |req|
|
@@ -120,16 +111,7 @@ module CandidApiClient
|
|
120
111
|
# @return [CandidApiClient::InsurancePayments::V1::Types::InsurancePaymentsPage]
|
121
112
|
# @example
|
122
113
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
123
|
-
# api.insurance_payments.v_1.get_multi
|
124
|
-
# limit: 1,
|
125
|
-
# payer_uuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
126
|
-
# claim_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
127
|
-
# service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
128
|
-
# billing_provider_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
129
|
-
# sort: AMOUNT_CENTS,
|
130
|
-
# sort_direction: ASC,
|
131
|
-
# page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"
|
132
|
-
# )
|
114
|
+
# api.insurance_payments.v_1.get_multi
|
133
115
|
def get_multi(limit: nil, payer_uuid: nil, claim_id: nil, service_line_id: nil, billing_provider_id: nil,
|
134
116
|
sort: nil, sort_direction: nil, page_token: nil, request_options: nil)
|
135
117
|
Async do
|
@@ -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|
|