candidhealth 0.42.0 → 0.42.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/charge_capture/v_1/client.rb +82 -12
- data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +84 -2
- data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_bundle_summary.rb +19 -15
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/member_info.rb +28 -10
- data/lib/requests.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14b1c66383e6c0d25f48058a17f2bd8623f415f9b9389f364690ea1034d09f57
|
4
|
+
data.tar.gz: d4270825d5990d94d1b9d32c3c8512892711eb2f96f672ecae0e974fd5403184
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 363373864fe05b63e744da0a18d90f8fbc15f91fd2705a267d374488da5507d59655dbd6cd4c165c3b36ec7311c6ef30ae1f97cfc296374048359252644f888c
|
7
|
+
data.tar.gz: 6af16edc8f31215a4880fcfcea65858df7f6cef5e41a7971cb201a64ff4f7150696b9d1e4ef7fc120feb850fdf1666f117a97b1ba1227abccce208fa03204542
|
@@ -664,9 +664,26 @@ module CandidApiClient
|
|
664
664
|
# This field should not contain PHI.
|
665
665
|
# @param date_of_service [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
666
666
|
# This date must be the local date in the timezone where the service occurred.
|
667
|
-
# @param
|
668
|
-
#
|
669
|
-
#
|
667
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
|
668
|
+
# a resulting claim with one of the IDs in this list.
|
669
|
+
# @param bundle_id [String] A list of bundle IDs to filter by. Use `bundle_ids` instead.
|
670
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
671
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
672
|
+
# captures with one of the NPIs in this list.
|
673
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
|
674
|
+
# facility name.
|
675
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge captures
|
676
|
+
# with one of the primary payer IDs in this list.
|
677
|
+
# @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
|
678
|
+
# captures with one of the NPIs in this list.
|
679
|
+
# @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
|
680
|
+
# captures with one of the names in this list.
|
681
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
682
|
+
# captures with one of the NPIs in this list.
|
683
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
684
|
+
# captures with one of the names in this list.
|
685
|
+
# @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a bundle that has a created
|
686
|
+
# claim.
|
670
687
|
# @param request_options [CandidApiClient::RequestOptions]
|
671
688
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
|
672
689
|
# @example
|
@@ -680,11 +697,20 @@ module CandidApiClient
|
|
680
697
|
# status: PLANNED,
|
681
698
|
# charge_external_id: "string",
|
682
699
|
# date_of_service: DateTime.parse(2023-01-15),
|
700
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
683
701
|
# bundle_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
684
|
-
#
|
702
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
703
|
+
# billing_provider_npis: "string",
|
704
|
+
# service_facility_name: "string",
|
705
|
+
# primary_payer_ids: "string",
|
706
|
+
# rendering_provider_npis: "string",
|
707
|
+
# rendering_provider_names: "string",
|
708
|
+
# supervising_provider_npis: "string",
|
709
|
+
# supervising_provider_names: "string",
|
710
|
+
# exclude_charges_linked_to_claims: true
|
685
711
|
# )
|
686
712
|
def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
|
687
|
-
charge_external_id: nil, date_of_service: nil, bundle_id: nil,
|
713
|
+
charge_external_id: nil, date_of_service: nil, claim_ids: nil, bundle_id: nil, bundle_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, request_options: nil)
|
688
714
|
response = @request_client.conn.get do |req|
|
689
715
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
690
716
|
req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
|
@@ -703,8 +729,17 @@ module CandidApiClient
|
|
703
729
|
"status": status,
|
704
730
|
"charge_external_id": charge_external_id,
|
705
731
|
"date_of_service": date_of_service,
|
732
|
+
"claim_ids": claim_ids,
|
706
733
|
"bundle_id": bundle_id,
|
707
|
-
"
|
734
|
+
"bundle_ids": bundle_ids,
|
735
|
+
"billing_provider_npis": billing_provider_npis,
|
736
|
+
"service_facility_name": service_facility_name,
|
737
|
+
"primary_payer_ids": primary_payer_ids,
|
738
|
+
"rendering_provider_npis": rendering_provider_npis,
|
739
|
+
"rendering_provider_names": rendering_provider_names,
|
740
|
+
"supervising_provider_npis": supervising_provider_npis,
|
741
|
+
"supervising_provider_names": supervising_provider_names,
|
742
|
+
"exclude_charges_linked_to_claims": exclude_charges_linked_to_claims
|
708
743
|
}.compact
|
709
744
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
710
745
|
request_options: request_options)}/api/charge_captures/v1"
|
@@ -1396,9 +1431,26 @@ module CandidApiClient
|
|
1396
1431
|
# This field should not contain PHI.
|
1397
1432
|
# @param date_of_service [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
1398
1433
|
# This date must be the local date in the timezone where the service occurred.
|
1399
|
-
# @param
|
1400
|
-
#
|
1401
|
-
#
|
1434
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
|
1435
|
+
# a resulting claim with one of the IDs in this list.
|
1436
|
+
# @param bundle_id [String] A list of bundle IDs to filter by. Use `bundle_ids` instead.
|
1437
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
1438
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
1439
|
+
# captures with one of the NPIs in this list.
|
1440
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
|
1441
|
+
# facility name.
|
1442
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge captures
|
1443
|
+
# with one of the primary payer IDs in this list.
|
1444
|
+
# @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
|
1445
|
+
# captures with one of the NPIs in this list.
|
1446
|
+
# @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
|
1447
|
+
# captures with one of the names in this list.
|
1448
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
1449
|
+
# captures with one of the NPIs in this list.
|
1450
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
1451
|
+
# captures with one of the names in this list.
|
1452
|
+
# @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a bundle that has a created
|
1453
|
+
# claim.
|
1402
1454
|
# @param request_options [CandidApiClient::RequestOptions]
|
1403
1455
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
|
1404
1456
|
# @example
|
@@ -1412,11 +1464,20 @@ module CandidApiClient
|
|
1412
1464
|
# status: PLANNED,
|
1413
1465
|
# charge_external_id: "string",
|
1414
1466
|
# date_of_service: DateTime.parse(2023-01-15),
|
1467
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1415
1468
|
# bundle_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1416
|
-
#
|
1469
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1470
|
+
# billing_provider_npis: "string",
|
1471
|
+
# service_facility_name: "string",
|
1472
|
+
# primary_payer_ids: "string",
|
1473
|
+
# rendering_provider_npis: "string",
|
1474
|
+
# rendering_provider_names: "string",
|
1475
|
+
# supervising_provider_npis: "string",
|
1476
|
+
# supervising_provider_names: "string",
|
1477
|
+
# exclude_charges_linked_to_claims: true
|
1417
1478
|
# )
|
1418
1479
|
def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
|
1419
|
-
charge_external_id: nil, date_of_service: nil, bundle_id: nil,
|
1480
|
+
charge_external_id: nil, date_of_service: nil, claim_ids: nil, bundle_id: nil, bundle_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, request_options: nil)
|
1420
1481
|
Async do
|
1421
1482
|
response = @request_client.conn.get do |req|
|
1422
1483
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -1436,8 +1497,17 @@ module CandidApiClient
|
|
1436
1497
|
"status": status,
|
1437
1498
|
"charge_external_id": charge_external_id,
|
1438
1499
|
"date_of_service": date_of_service,
|
1500
|
+
"claim_ids": claim_ids,
|
1439
1501
|
"bundle_id": bundle_id,
|
1440
|
-
"
|
1502
|
+
"bundle_ids": bundle_ids,
|
1503
|
+
"billing_provider_npis": billing_provider_npis,
|
1504
|
+
"service_facility_name": service_facility_name,
|
1505
|
+
"primary_payer_ids": primary_payer_ids,
|
1506
|
+
"rendering_provider_npis": rendering_provider_npis,
|
1507
|
+
"rendering_provider_names": rendering_provider_names,
|
1508
|
+
"supervising_provider_npis": supervising_provider_npis,
|
1509
|
+
"supervising_provider_names": supervising_provider_names,
|
1510
|
+
"exclude_charges_linked_to_claims": exclude_charges_linked_to_claims
|
1441
1511
|
}.compact
|
1442
1512
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
1443
1513
|
request_options: request_options)}/api/charge_captures/v1"
|
@@ -99,6 +99,29 @@ module CandidApiClient
|
|
99
99
|
# This field should not contain PHI.
|
100
100
|
# @param date_of_service [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
101
101
|
# This date must be the local date in the timezone where the service occurred.
|
102
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge capture bundles
|
103
|
+
# that have a resulting claim with one of the IDs in this list.
|
104
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
105
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
106
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
107
|
+
# list.
|
108
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge capture bundles which include
|
109
|
+
# one or more charges with this service facility name.
|
110
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge capture
|
111
|
+
# bundles which include one or more charges with one of the primary payer IDs in
|
112
|
+
# this list.
|
113
|
+
# @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
|
114
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
115
|
+
# list.
|
116
|
+
# @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
|
117
|
+
# capture bundles which include one or more charges with one of the names in this
|
118
|
+
# list.
|
119
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
120
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
121
|
+
# list.
|
122
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
123
|
+
# capture bundles which include one or more charges with one of the names in this
|
124
|
+
# list.
|
102
125
|
# @param has_charge_capture_updates [Boolean] If true, only return bundles that have charge captures that have been updated
|
103
126
|
# since the bundle has had a status of BILLED. See the updates property on
|
104
127
|
# ChargeCapture for more details.
|
@@ -116,10 +139,19 @@ module CandidApiClient
|
|
116
139
|
# charge_status: PLANNED,
|
117
140
|
# charge_external_id: "string",
|
118
141
|
# date_of_service: DateTime.parse(2023-01-15),
|
142
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
143
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
144
|
+
# billing_provider_npis: "string",
|
145
|
+
# service_facility_name: "string",
|
146
|
+
# primary_payer_ids: "string",
|
147
|
+
# rendering_provider_npis: "string",
|
148
|
+
# rendering_provider_names: "string",
|
149
|
+
# supervising_provider_npis: "string",
|
150
|
+
# supervising_provider_names: "string",
|
119
151
|
# has_charge_capture_updates: true
|
120
152
|
# )
|
121
153
|
def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil,
|
122
|
-
bundle_status: nil, charge_status: nil, charge_external_id: nil, date_of_service: nil, has_charge_capture_updates: nil, request_options: nil)
|
154
|
+
bundle_status: nil, charge_status: nil, charge_external_id: nil, date_of_service: nil, claim_ids: nil, bundle_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, has_charge_capture_updates: nil, request_options: nil)
|
123
155
|
response = @request_client.conn.get do |req|
|
124
156
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
125
157
|
req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
|
@@ -139,6 +171,15 @@ module CandidApiClient
|
|
139
171
|
"charge_status": charge_status,
|
140
172
|
"charge_external_id": charge_external_id,
|
141
173
|
"date_of_service": date_of_service,
|
174
|
+
"claim_ids": claim_ids,
|
175
|
+
"bundle_ids": bundle_ids,
|
176
|
+
"billing_provider_npis": billing_provider_npis,
|
177
|
+
"service_facility_name": service_facility_name,
|
178
|
+
"primary_payer_ids": primary_payer_ids,
|
179
|
+
"rendering_provider_npis": rendering_provider_npis,
|
180
|
+
"rendering_provider_names": rendering_provider_names,
|
181
|
+
"supervising_provider_npis": supervising_provider_npis,
|
182
|
+
"supervising_provider_names": supervising_provider_names,
|
142
183
|
"has_charge_capture_updates": has_charge_capture_updates
|
143
184
|
}.compact
|
144
185
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
@@ -239,6 +280,29 @@ module CandidApiClient
|
|
239
280
|
# This field should not contain PHI.
|
240
281
|
# @param date_of_service [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
241
282
|
# This date must be the local date in the timezone where the service occurred.
|
283
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge capture bundles
|
284
|
+
# that have a resulting claim with one of the IDs in this list.
|
285
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
286
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
287
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
288
|
+
# list.
|
289
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge capture bundles which include
|
290
|
+
# one or more charges with this service facility name.
|
291
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge capture
|
292
|
+
# bundles which include one or more charges with one of the primary payer IDs in
|
293
|
+
# this list.
|
294
|
+
# @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
|
295
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
296
|
+
# list.
|
297
|
+
# @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
|
298
|
+
# capture bundles which include one or more charges with one of the names in this
|
299
|
+
# list.
|
300
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
301
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
302
|
+
# list.
|
303
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
304
|
+
# capture bundles which include one or more charges with one of the names in this
|
305
|
+
# list.
|
242
306
|
# @param has_charge_capture_updates [Boolean] If true, only return bundles that have charge captures that have been updated
|
243
307
|
# since the bundle has had a status of BILLED. See the updates property on
|
244
308
|
# ChargeCapture for more details.
|
@@ -256,10 +320,19 @@ module CandidApiClient
|
|
256
320
|
# charge_status: PLANNED,
|
257
321
|
# charge_external_id: "string",
|
258
322
|
# date_of_service: DateTime.parse(2023-01-15),
|
323
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
324
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
325
|
+
# billing_provider_npis: "string",
|
326
|
+
# service_facility_name: "string",
|
327
|
+
# primary_payer_ids: "string",
|
328
|
+
# rendering_provider_npis: "string",
|
329
|
+
# rendering_provider_names: "string",
|
330
|
+
# supervising_provider_npis: "string",
|
331
|
+
# supervising_provider_names: "string",
|
259
332
|
# has_charge_capture_updates: true
|
260
333
|
# )
|
261
334
|
def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil,
|
262
|
-
bundle_status: nil, charge_status: nil, charge_external_id: nil, date_of_service: nil, has_charge_capture_updates: nil, request_options: nil)
|
335
|
+
bundle_status: nil, charge_status: nil, charge_external_id: nil, date_of_service: nil, claim_ids: nil, bundle_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, has_charge_capture_updates: nil, request_options: nil)
|
263
336
|
Async do
|
264
337
|
response = @request_client.conn.get do |req|
|
265
338
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -280,6 +353,15 @@ module CandidApiClient
|
|
280
353
|
"charge_status": charge_status,
|
281
354
|
"charge_external_id": charge_external_id,
|
282
355
|
"date_of_service": date_of_service,
|
356
|
+
"claim_ids": claim_ids,
|
357
|
+
"bundle_ids": bundle_ids,
|
358
|
+
"billing_provider_npis": billing_provider_npis,
|
359
|
+
"service_facility_name": service_facility_name,
|
360
|
+
"primary_payer_ids": primary_payer_ids,
|
361
|
+
"rendering_provider_npis": rendering_provider_npis,
|
362
|
+
"rendering_provider_names": rendering_provider_names,
|
363
|
+
"supervising_provider_npis": supervising_provider_npis,
|
364
|
+
"supervising_provider_names": supervising_provider_names,
|
283
365
|
"has_charge_capture_updates": has_charge_capture_updates
|
284
366
|
}.compact
|
285
367
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
@@ -8,11 +8,13 @@ module CandidApiClient
|
|
8
8
|
module V1
|
9
9
|
module Types
|
10
10
|
class ChargeCaptureBundleSummary
|
11
|
-
# @return [Integer] The count of charge captures which are not
|
12
|
-
#
|
13
|
-
attr_reader :
|
11
|
+
# @return [Integer] The count of charge captures which are not part of a bundle with a created
|
12
|
+
# claim.
|
13
|
+
attr_reader :charge_capture_charges_not_linked_to_claims_count
|
14
14
|
# @return [Integer] The count of charge capture bundles that have a bundle status of NOT_STARTED.
|
15
15
|
attr_reader :charge_capture_bundles_not_started_count
|
16
|
+
# @return [Integer] The count of charge capture bundles that have a bundle status of HELD.
|
17
|
+
attr_reader :charge_capture_held_bundles_count
|
16
18
|
# @return [Integer] The count of charge capture bundles that have a bundle status of IN_ERROR.
|
17
19
|
attr_reader :charge_capture_bundles_in_error_count
|
18
20
|
# @return [Integer] The number of ChargeCapturePostBilledChange items that are unresolved.
|
@@ -25,25 +27,24 @@ module CandidApiClient
|
|
25
27
|
|
26
28
|
OMIT = Object.new
|
27
29
|
|
28
|
-
# @param
|
29
|
-
#
|
30
|
+
# @param charge_capture_charges_not_linked_to_claims_count [Integer] The count of charge captures which are not part of a bundle with a created
|
31
|
+
# claim.
|
30
32
|
# @param charge_capture_bundles_not_started_count [Integer] The count of charge capture bundles that have a bundle status of NOT_STARTED.
|
33
|
+
# @param charge_capture_held_bundles_count [Integer] The count of charge capture bundles that have a bundle status of HELD.
|
31
34
|
# @param charge_capture_bundles_in_error_count [Integer] The count of charge capture bundles that have a bundle status of IN_ERROR.
|
32
35
|
# @param charge_capture_unresolved_change_count [Integer] The number of ChargeCapturePostBilledChange items that are unresolved.
|
33
36
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
34
37
|
# @return [CandidApiClient::ChargeCaptureBundles::V1::Types::ChargeCaptureBundleSummary]
|
35
|
-
def initialize(
|
36
|
-
charge_capture_bundles_in_error_count:, charge_capture_unresolved_change_count:, additional_properties: nil)
|
37
|
-
@
|
38
|
+
def initialize(charge_capture_charges_not_linked_to_claims_count:, charge_capture_bundles_not_started_count:,
|
39
|
+
charge_capture_held_bundles_count:, charge_capture_bundles_in_error_count:, charge_capture_unresolved_change_count:, additional_properties: nil)
|
40
|
+
@charge_capture_charges_not_linked_to_claims_count = charge_capture_charges_not_linked_to_claims_count
|
38
41
|
@charge_capture_bundles_not_started_count = charge_capture_bundles_not_started_count
|
42
|
+
@charge_capture_held_bundles_count = charge_capture_held_bundles_count
|
39
43
|
@charge_capture_bundles_in_error_count = charge_capture_bundles_in_error_count
|
40
44
|
@charge_capture_unresolved_change_count = charge_capture_unresolved_change_count
|
41
45
|
@additional_properties = additional_properties
|
42
46
|
@_field_set = {
|
43
|
-
"
|
44
|
-
"charge_capture_bundles_not_started_count": charge_capture_bundles_not_started_count,
|
45
|
-
"charge_capture_bundles_in_error_count": charge_capture_bundles_in_error_count,
|
46
|
-
"charge_capture_unresolved_change_count": charge_capture_unresolved_change_count
|
47
|
+
"charge_capture_charges_not_linked_to_claims_count": charge_capture_charges_not_linked_to_claims_count, "charge_capture_bundles_not_started_count": charge_capture_bundles_not_started_count, "charge_capture_held_bundles_count": charge_capture_held_bundles_count, "charge_capture_bundles_in_error_count": charge_capture_bundles_in_error_count, "charge_capture_unresolved_change_count": charge_capture_unresolved_change_count
|
47
48
|
}
|
48
49
|
end
|
49
50
|
|
@@ -53,13 +54,15 @@ module CandidApiClient
|
|
53
54
|
# @return [CandidApiClient::ChargeCaptureBundles::V1::Types::ChargeCaptureBundleSummary]
|
54
55
|
def self.from_json(json_object:)
|
55
56
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
56
|
-
|
57
|
+
charge_capture_charges_not_linked_to_claims_count = struct["charge_capture_charges_not_linked_to_claims_count"]
|
57
58
|
charge_capture_bundles_not_started_count = struct["charge_capture_bundles_not_started_count"]
|
59
|
+
charge_capture_held_bundles_count = struct["charge_capture_held_bundles_count"]
|
58
60
|
charge_capture_bundles_in_error_count = struct["charge_capture_bundles_in_error_count"]
|
59
61
|
charge_capture_unresolved_change_count = struct["charge_capture_unresolved_change_count"]
|
60
62
|
new(
|
61
|
-
|
63
|
+
charge_capture_charges_not_linked_to_claims_count: charge_capture_charges_not_linked_to_claims_count,
|
62
64
|
charge_capture_bundles_not_started_count: charge_capture_bundles_not_started_count,
|
65
|
+
charge_capture_held_bundles_count: charge_capture_held_bundles_count,
|
63
66
|
charge_capture_bundles_in_error_count: charge_capture_bundles_in_error_count,
|
64
67
|
charge_capture_unresolved_change_count: charge_capture_unresolved_change_count,
|
65
68
|
additional_properties: struct
|
@@ -80,8 +83,9 @@ module CandidApiClient
|
|
80
83
|
# @param obj [Object]
|
81
84
|
# @return [Void]
|
82
85
|
def self.validate_raw(obj:)
|
83
|
-
obj.
|
86
|
+
obj.charge_capture_charges_not_linked_to_claims_count.is_a?(Integer) != false || raise("Passed value for field obj.charge_capture_charges_not_linked_to_claims_count is not the expected type, validation failed.")
|
84
87
|
obj.charge_capture_bundles_not_started_count.is_a?(Integer) != false || raise("Passed value for field obj.charge_capture_bundles_not_started_count is not the expected type, validation failed.")
|
88
|
+
obj.charge_capture_held_bundles_count.is_a?(Integer) != false || raise("Passed value for field obj.charge_capture_held_bundles_count is not the expected type, validation failed.")
|
85
89
|
obj.charge_capture_bundles_in_error_count.is_a?(Integer) != false || raise("Passed value for field obj.charge_capture_bundles_in_error_count is not the expected type, validation failed.")
|
86
90
|
obj.charge_capture_unresolved_change_count.is_a?(Integer) != false || raise("Passed value for field obj.charge_capture_unresolved_change_count is not the expected type, validation failed.")
|
87
91
|
end
|
@@ -10,13 +10,21 @@ module CandidApiClient
|
|
10
10
|
module V1
|
11
11
|
module Types
|
12
12
|
class MemberInfo
|
13
|
-
# @return [String]
|
13
|
+
# @return [String] Stedi requires that you supply at least one of these fields in the request:
|
14
|
+
# memberId, dateOfBirth, or lastName.
|
15
|
+
# However, each payer has different requirements, so you should supply as many of
|
16
|
+
# the fields necessary for each payer
|
17
|
+
# to identify the subscriber/dependent in their system.
|
14
18
|
attr_reader :member_id
|
15
19
|
# @return [String]
|
16
20
|
attr_reader :first_name
|
17
21
|
# @return [String]
|
18
22
|
attr_reader :last_name
|
19
|
-
# @return [Date]
|
23
|
+
# @return [Date] Stedi requires that you supply at least one of these fields in the request:
|
24
|
+
# memberId, dateOfBirth, or lastName.
|
25
|
+
# However, each payer has different requirements, so you should supply as many of
|
26
|
+
# the fields necessary for each payer
|
27
|
+
# to identify the subscriber/dependent in their system.
|
20
28
|
attr_reader :date_of_birth
|
21
29
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
22
30
|
attr_reader :additional_properties
|
@@ -26,24 +34,34 @@ module CandidApiClient
|
|
26
34
|
|
27
35
|
OMIT = Object.new
|
28
36
|
|
29
|
-
# @param member_id [String]
|
37
|
+
# @param member_id [String] Stedi requires that you supply at least one of these fields in the request:
|
38
|
+
# memberId, dateOfBirth, or lastName.
|
39
|
+
# However, each payer has different requirements, so you should supply as many of
|
40
|
+
# the fields necessary for each payer
|
41
|
+
# to identify the subscriber/dependent in their system.
|
30
42
|
# @param first_name [String]
|
31
43
|
# @param last_name [String]
|
32
|
-
# @param date_of_birth [Date]
|
44
|
+
# @param date_of_birth [Date] Stedi requires that you supply at least one of these fields in the request:
|
45
|
+
# memberId, dateOfBirth, or lastName.
|
46
|
+
# However, each payer has different requirements, so you should supply as many of
|
47
|
+
# the fields necessary for each payer
|
48
|
+
# to identify the subscriber/dependent in their system.
|
33
49
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
34
50
|
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::MemberInfo]
|
35
|
-
def initialize(
|
36
|
-
@member_id = member_id
|
51
|
+
def initialize(first_name:, last_name:, member_id: OMIT, date_of_birth: OMIT, additional_properties: nil)
|
52
|
+
@member_id = member_id if member_id != OMIT
|
37
53
|
@first_name = first_name
|
38
54
|
@last_name = last_name
|
39
|
-
@date_of_birth = date_of_birth
|
55
|
+
@date_of_birth = date_of_birth if date_of_birth != OMIT
|
40
56
|
@additional_properties = additional_properties
|
41
57
|
@_field_set = {
|
42
58
|
"member_id": member_id,
|
43
59
|
"first_name": first_name,
|
44
60
|
"last_name": last_name,
|
45
61
|
"date_of_birth": date_of_birth
|
46
|
-
}
|
62
|
+
}.reject do |_k, v|
|
63
|
+
v == OMIT
|
64
|
+
end
|
47
65
|
end
|
48
66
|
|
49
67
|
# Deserialize a JSON object to an instance of MemberInfo
|
@@ -80,10 +98,10 @@ module CandidApiClient
|
|
80
98
|
# @param obj [Object]
|
81
99
|
# @return [Void]
|
82
100
|
def self.validate_raw(obj:)
|
83
|
-
obj.member_id
|
101
|
+
obj.member_id&.is_a?(String) != false || raise("Passed value for field obj.member_id is not the expected type, validation failed.")
|
84
102
|
obj.first_name.is_a?(String) != false || raise("Passed value for field obj.first_name is not the expected type, validation failed.")
|
85
103
|
obj.last_name.is_a?(String) != false || raise("Passed value for field obj.last_name is not the expected type, validation failed.")
|
86
|
-
obj.date_of_birth
|
104
|
+
obj.date_of_birth&.is_a?(Date) != false || raise("Passed value for field obj.date_of_birth is not the expected type, validation failed.")
|
87
105
|
end
|
88
106
|
end
|
89
107
|
end
|
data/lib/requests.rb
CHANGED
@@ -43,7 +43,7 @@ module CandidApiClient
|
|
43
43
|
|
44
44
|
# @return [Hash{String => String}]
|
45
45
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.2" }
|
47
47
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
48
48
|
headers
|
49
49
|
end
|
@@ -87,7 +87,7 @@ module CandidApiClient
|
|
87
87
|
|
88
88
|
# @return [Hash{String => String}]
|
89
89
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.2" }
|
91
91
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
92
92
|
headers
|
93
93
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.42.
|
4
|
+
version: 0.42.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|