candidhealth 0.42.0 → 0.42.3
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 +202 -18
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture.rb +10 -1
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_page.rb +9 -1
- data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +98 -8
- data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_bundle_summary.rb +17 -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: a005a61196da727062a150f21c673f980a5ebaf7c99dffb0fea0e4a5617309c6
|
4
|
+
data.tar.gz: 841c1f36a32d3c6d507d4e3f10dd4976e619a033e8260733170e44932a7ca6a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbf1ebec8d05b44506041994d1173e78aafbeb56072083871cca847186e57cb2a942fae23a5f2bb8df6f54cc521e09d013958cf89403e523023fd9eda855c3d2
|
7
|
+
data.tar.gz: 67831a45dcab5e412a8e25554abfb2bc5d2871ce3b7068157965d8dc752b0f51a039da338919caaded2b63953e8fbbf79ca44dd2e69a69c1dfcec547cd66b8e0
|
@@ -662,11 +662,55 @@ module CandidApiClient
|
|
662
662
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
|
663
663
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
664
664
|
# This field should not contain PHI.
|
665
|
-
# @param
|
665
|
+
# @param date_of_service_min [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 date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
668
|
+
# This date must be the local date in the timezone where the service occurred.
|
669
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
|
670
|
+
# a resulting claim with one of the IDs in this list.
|
671
|
+
# @param bundle_id [String] A list of bundle IDs to filter by. Use `bundle_ids` instead.
|
672
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
673
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
674
|
+
# captures with one of the NPIs in this list.
|
675
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
|
676
|
+
# facility name.
|
677
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge captures
|
678
|
+
# with one of the primary payer IDs in this list.
|
679
|
+
# @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
|
680
|
+
# captures with one of the NPIs in this list.
|
681
|
+
# @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
|
682
|
+
# captures with one of the names in this list.
|
683
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
684
|
+
# captures with one of the NPIs in this list.
|
685
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
686
|
+
# captures with one of the names in this list.
|
687
|
+
# @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a claim creation.
|
688
|
+
# @param patient_external_id_ranked_sort [String] The patient ID from the external EMR platform for the patient
|
689
|
+
# @param status_ranked_sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] The charge capture status to show first
|
690
|
+
# @param charge_external_id_ranked_sort [String] A client-specified unique ID to associate with this encounter;
|
691
|
+
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
692
|
+
# This field should not contain PHI.
|
693
|
+
# @param date_of_service_min_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
694
|
+
# This date must be the local date in the timezone where the service occurred.
|
695
|
+
# @param date_of_service_max_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
696
|
+
# This date must be the local date in the timezone where the service occurred.
|
697
|
+
# @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
|
698
|
+
# have a resulting claim with one of the IDs in this list.
|
699
|
+
# @param bundle_ids_ranked_sort [String] A list of bundle IDs to show first.
|
700
|
+
# @param billing_provider_npis_ranked_sort [String] A list of billing provider NPIs to show first. This will return all charge
|
701
|
+
# captures with one of the NPIs in this list.
|
702
|
+
# @param service_facility_name_ranked_sort [String] A string to show first. This will return all charge captures with this service
|
703
|
+
# facility name.
|
704
|
+
# @param primary_payer_ids_ranked_sort [String] A list of primary payer IDs to show first. This will return all charge captures
|
705
|
+
# with one of the primary payer IDs in this list.
|
706
|
+
# @param rendering_provider_npis_ranked_sort [String] A list of rendering provider NPIs to show first. This will return all charge
|
707
|
+
# captures with one of the NPIs in this list.
|
708
|
+
# @param rendering_provider_names_ranked_sort [String] A list of rendering provider names to show first. This will return all charge
|
709
|
+
# captures with one of the names in this list.
|
710
|
+
# @param supervising_provider_npis_ranked_sort [String] A list of supervising provider NPIs to show first. This will return all charge
|
711
|
+
# captures with one of the NPIs in this list.
|
712
|
+
# @param supervising_provider_names_ranked_sort [String] A list of supervising provider names to show first. This will return all charge
|
713
|
+
# captures with one of the names in this list.
|
670
714
|
# @param request_options [CandidApiClient::RequestOptions]
|
671
715
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
|
672
716
|
# @example
|
@@ -679,12 +723,36 @@ module CandidApiClient
|
|
679
723
|
# patient_external_id: "string",
|
680
724
|
# status: PLANNED,
|
681
725
|
# charge_external_id: "string",
|
682
|
-
#
|
726
|
+
# date_of_service_min: DateTime.parse(2023-01-15),
|
727
|
+
# date_of_service_max: DateTime.parse(2023-01-15),
|
728
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
683
729
|
# bundle_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
684
|
-
#
|
730
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
731
|
+
# billing_provider_npis: "string",
|
732
|
+
# service_facility_name: "string",
|
733
|
+
# primary_payer_ids: "string",
|
734
|
+
# rendering_provider_npis: "string",
|
735
|
+
# rendering_provider_names: "string",
|
736
|
+
# supervising_provider_npis: "string",
|
737
|
+
# supervising_provider_names: "string",
|
738
|
+
# exclude_charges_linked_to_claims: true,
|
739
|
+
# patient_external_id_ranked_sort: "string",
|
740
|
+
# status_ranked_sort: PLANNED,
|
741
|
+
# charge_external_id_ranked_sort: "string",
|
742
|
+
# date_of_service_min_ranked_sort: DateTime.parse(2023-01-15),
|
743
|
+
# date_of_service_max_ranked_sort: DateTime.parse(2023-01-15),
|
744
|
+
# claim_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
745
|
+
# bundle_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
746
|
+
# billing_provider_npis_ranked_sort: "string",
|
747
|
+
# service_facility_name_ranked_sort: "string",
|
748
|
+
# primary_payer_ids_ranked_sort: "string",
|
749
|
+
# rendering_provider_npis_ranked_sort: "string",
|
750
|
+
# rendering_provider_names_ranked_sort: "string",
|
751
|
+
# supervising_provider_npis_ranked_sort: "string",
|
752
|
+
# supervising_provider_names_ranked_sort: "string"
|
685
753
|
# )
|
686
754
|
def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
|
687
|
-
charge_external_id: nil,
|
755
|
+
charge_external_id: nil, date_of_service_min: nil, date_of_service_max: 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, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, claim_ids_ranked_sort: nil, bundle_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
|
688
756
|
response = @request_client.conn.get do |req|
|
689
757
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
690
758
|
req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
|
@@ -702,9 +770,33 @@ module CandidApiClient
|
|
702
770
|
"patient_external_id": patient_external_id,
|
703
771
|
"status": status,
|
704
772
|
"charge_external_id": charge_external_id,
|
705
|
-
"
|
773
|
+
"date_of_service_min": date_of_service_min,
|
774
|
+
"date_of_service_max": date_of_service_max,
|
775
|
+
"claim_ids": claim_ids,
|
706
776
|
"bundle_id": bundle_id,
|
707
|
-
"
|
777
|
+
"bundle_ids": bundle_ids,
|
778
|
+
"billing_provider_npis": billing_provider_npis,
|
779
|
+
"service_facility_name": service_facility_name,
|
780
|
+
"primary_payer_ids": primary_payer_ids,
|
781
|
+
"rendering_provider_npis": rendering_provider_npis,
|
782
|
+
"rendering_provider_names": rendering_provider_names,
|
783
|
+
"supervising_provider_npis": supervising_provider_npis,
|
784
|
+
"supervising_provider_names": supervising_provider_names,
|
785
|
+
"exclude_charges_linked_to_claims": exclude_charges_linked_to_claims,
|
786
|
+
"patient_external_id_ranked_sort": patient_external_id_ranked_sort,
|
787
|
+
"status_ranked_sort": status_ranked_sort,
|
788
|
+
"charge_external_id_ranked_sort": charge_external_id_ranked_sort,
|
789
|
+
"date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
|
790
|
+
"date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
|
791
|
+
"claim_ids_ranked_sort": claim_ids_ranked_sort,
|
792
|
+
"bundle_ids_ranked_sort": bundle_ids_ranked_sort,
|
793
|
+
"billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
|
794
|
+
"service_facility_name_ranked_sort": service_facility_name_ranked_sort,
|
795
|
+
"primary_payer_ids_ranked_sort": primary_payer_ids_ranked_sort,
|
796
|
+
"rendering_provider_npis_ranked_sort": rendering_provider_npis_ranked_sort,
|
797
|
+
"rendering_provider_names_ranked_sort": rendering_provider_names_ranked_sort,
|
798
|
+
"supervising_provider_npis_ranked_sort": supervising_provider_npis_ranked_sort,
|
799
|
+
"supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort
|
708
800
|
}.compact
|
709
801
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
710
802
|
request_options: request_options)}/api/charge_captures/v1"
|
@@ -1394,11 +1486,55 @@ module CandidApiClient
|
|
1394
1486
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
|
1395
1487
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
1396
1488
|
# This field should not contain PHI.
|
1397
|
-
# @param
|
1489
|
+
# @param date_of_service_min [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
1490
|
+
# This date must be the local date in the timezone where the service occurred.
|
1491
|
+
# @param date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
1492
|
+
# This date must be the local date in the timezone where the service occurred.
|
1493
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
|
1494
|
+
# a resulting claim with one of the IDs in this list.
|
1495
|
+
# @param bundle_id [String] A list of bundle IDs to filter by. Use `bundle_ids` instead.
|
1496
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
1497
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
1498
|
+
# captures with one of the NPIs in this list.
|
1499
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
|
1500
|
+
# facility name.
|
1501
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge captures
|
1502
|
+
# with one of the primary payer IDs in this list.
|
1503
|
+
# @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
|
1504
|
+
# captures with one of the NPIs in this list.
|
1505
|
+
# @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
|
1506
|
+
# captures with one of the names in this list.
|
1507
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
1508
|
+
# captures with one of the NPIs in this list.
|
1509
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
1510
|
+
# captures with one of the names in this list.
|
1511
|
+
# @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a claim creation.
|
1512
|
+
# @param patient_external_id_ranked_sort [String] The patient ID from the external EMR platform for the patient
|
1513
|
+
# @param status_ranked_sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] The charge capture status to show first
|
1514
|
+
# @param charge_external_id_ranked_sort [String] A client-specified unique ID to associate with this encounter;
|
1515
|
+
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
1516
|
+
# This field should not contain PHI.
|
1517
|
+
# @param date_of_service_min_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
1518
|
+
# This date must be the local date in the timezone where the service occurred.
|
1519
|
+
# @param date_of_service_max_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
1398
1520
|
# This date must be the local date in the timezone where the service occurred.
|
1399
|
-
# @param
|
1400
|
-
#
|
1401
|
-
#
|
1521
|
+
# @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
|
1522
|
+
# have a resulting claim with one of the IDs in this list.
|
1523
|
+
# @param bundle_ids_ranked_sort [String] A list of bundle IDs to show first.
|
1524
|
+
# @param billing_provider_npis_ranked_sort [String] A list of billing provider NPIs to show first. This will return all charge
|
1525
|
+
# captures with one of the NPIs in this list.
|
1526
|
+
# @param service_facility_name_ranked_sort [String] A string to show first. This will return all charge captures with this service
|
1527
|
+
# facility name.
|
1528
|
+
# @param primary_payer_ids_ranked_sort [String] A list of primary payer IDs to show first. This will return all charge captures
|
1529
|
+
# with one of the primary payer IDs in this list.
|
1530
|
+
# @param rendering_provider_npis_ranked_sort [String] A list of rendering provider NPIs to show first. This will return all charge
|
1531
|
+
# captures with one of the NPIs in this list.
|
1532
|
+
# @param rendering_provider_names_ranked_sort [String] A list of rendering provider names to show first. This will return all charge
|
1533
|
+
# captures with one of the names in this list.
|
1534
|
+
# @param supervising_provider_npis_ranked_sort [String] A list of supervising provider NPIs to show first. This will return all charge
|
1535
|
+
# captures with one of the NPIs in this list.
|
1536
|
+
# @param supervising_provider_names_ranked_sort [String] A list of supervising provider names to show first. This will return all charge
|
1537
|
+
# captures with one of the names in this list.
|
1402
1538
|
# @param request_options [CandidApiClient::RequestOptions]
|
1403
1539
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
|
1404
1540
|
# @example
|
@@ -1411,12 +1547,36 @@ module CandidApiClient
|
|
1411
1547
|
# patient_external_id: "string",
|
1412
1548
|
# status: PLANNED,
|
1413
1549
|
# charge_external_id: "string",
|
1414
|
-
#
|
1550
|
+
# date_of_service_min: DateTime.parse(2023-01-15),
|
1551
|
+
# date_of_service_max: DateTime.parse(2023-01-15),
|
1552
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1415
1553
|
# bundle_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1416
|
-
#
|
1554
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1555
|
+
# billing_provider_npis: "string",
|
1556
|
+
# service_facility_name: "string",
|
1557
|
+
# primary_payer_ids: "string",
|
1558
|
+
# rendering_provider_npis: "string",
|
1559
|
+
# rendering_provider_names: "string",
|
1560
|
+
# supervising_provider_npis: "string",
|
1561
|
+
# supervising_provider_names: "string",
|
1562
|
+
# exclude_charges_linked_to_claims: true,
|
1563
|
+
# patient_external_id_ranked_sort: "string",
|
1564
|
+
# status_ranked_sort: PLANNED,
|
1565
|
+
# charge_external_id_ranked_sort: "string",
|
1566
|
+
# date_of_service_min_ranked_sort: DateTime.parse(2023-01-15),
|
1567
|
+
# date_of_service_max_ranked_sort: DateTime.parse(2023-01-15),
|
1568
|
+
# claim_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1569
|
+
# bundle_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
1570
|
+
# billing_provider_npis_ranked_sort: "string",
|
1571
|
+
# service_facility_name_ranked_sort: "string",
|
1572
|
+
# primary_payer_ids_ranked_sort: "string",
|
1573
|
+
# rendering_provider_npis_ranked_sort: "string",
|
1574
|
+
# rendering_provider_names_ranked_sort: "string",
|
1575
|
+
# supervising_provider_npis_ranked_sort: "string",
|
1576
|
+
# supervising_provider_names_ranked_sort: "string"
|
1417
1577
|
# )
|
1418
1578
|
def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
|
1419
|
-
charge_external_id: nil,
|
1579
|
+
charge_external_id: nil, date_of_service_min: nil, date_of_service_max: 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, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, claim_ids_ranked_sort: nil, bundle_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
|
1420
1580
|
Async do
|
1421
1581
|
response = @request_client.conn.get do |req|
|
1422
1582
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -1435,9 +1595,33 @@ module CandidApiClient
|
|
1435
1595
|
"patient_external_id": patient_external_id,
|
1436
1596
|
"status": status,
|
1437
1597
|
"charge_external_id": charge_external_id,
|
1438
|
-
"
|
1598
|
+
"date_of_service_min": date_of_service_min,
|
1599
|
+
"date_of_service_max": date_of_service_max,
|
1600
|
+
"claim_ids": claim_ids,
|
1439
1601
|
"bundle_id": bundle_id,
|
1440
|
-
"
|
1602
|
+
"bundle_ids": bundle_ids,
|
1603
|
+
"billing_provider_npis": billing_provider_npis,
|
1604
|
+
"service_facility_name": service_facility_name,
|
1605
|
+
"primary_payer_ids": primary_payer_ids,
|
1606
|
+
"rendering_provider_npis": rendering_provider_npis,
|
1607
|
+
"rendering_provider_names": rendering_provider_names,
|
1608
|
+
"supervising_provider_npis": supervising_provider_npis,
|
1609
|
+
"supervising_provider_names": supervising_provider_names,
|
1610
|
+
"exclude_charges_linked_to_claims": exclude_charges_linked_to_claims,
|
1611
|
+
"patient_external_id_ranked_sort": patient_external_id_ranked_sort,
|
1612
|
+
"status_ranked_sort": status_ranked_sort,
|
1613
|
+
"charge_external_id_ranked_sort": charge_external_id_ranked_sort,
|
1614
|
+
"date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
|
1615
|
+
"date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
|
1616
|
+
"claim_ids_ranked_sort": claim_ids_ranked_sort,
|
1617
|
+
"bundle_ids_ranked_sort": bundle_ids_ranked_sort,
|
1618
|
+
"billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
|
1619
|
+
"service_facility_name_ranked_sort": service_facility_name_ranked_sort,
|
1620
|
+
"primary_payer_ids_ranked_sort": primary_payer_ids_ranked_sort,
|
1621
|
+
"rendering_provider_npis_ranked_sort": rendering_provider_npis_ranked_sort,
|
1622
|
+
"rendering_provider_names_ranked_sort": rendering_provider_names_ranked_sort,
|
1623
|
+
"supervising_provider_npis_ranked_sort": supervising_provider_npis_ranked_sort,
|
1624
|
+
"supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort
|
1441
1625
|
}.compact
|
1442
1626
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
1443
1627
|
request_options: request_options)}/api/charge_captures/v1"
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require_relative "charge_capture_status"
|
4
4
|
require_relative "charge_capture_data"
|
5
|
+
require "date"
|
5
6
|
require_relative "charge_capture_error"
|
6
7
|
require_relative "charge_capture_post_billed_change"
|
7
8
|
require "ostruct"
|
@@ -18,6 +19,8 @@ module CandidApiClient
|
|
18
19
|
attr_reader :status
|
19
20
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData]
|
20
21
|
attr_reader :charge_capture_data
|
22
|
+
# @return [Date]
|
23
|
+
attr_reader :date_of_service
|
21
24
|
# @return [String]
|
22
25
|
attr_reader :patient_external_id
|
23
26
|
# @return [String]
|
@@ -41,6 +44,7 @@ module CandidApiClient
|
|
41
44
|
# @param id [String]
|
42
45
|
# @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus]
|
43
46
|
# @param charge_capture_data [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData]
|
47
|
+
# @param date_of_service [Date]
|
44
48
|
# @param patient_external_id [String]
|
45
49
|
# @param charge_external_id [String]
|
46
50
|
# @param ehr_source_url [String]
|
@@ -50,10 +54,11 @@ module CandidApiClient
|
|
50
54
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
51
55
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
|
52
56
|
def initialize(id:, status:, charge_capture_data:, patient_external_id:, charge_external_id:, updates:,
|
53
|
-
ehr_source_url: OMIT, error: OMIT, bundle_id: OMIT, additional_properties: nil)
|
57
|
+
date_of_service: OMIT, ehr_source_url: OMIT, error: OMIT, bundle_id: OMIT, additional_properties: nil)
|
54
58
|
@id = id
|
55
59
|
@status = status
|
56
60
|
@charge_capture_data = charge_capture_data
|
61
|
+
@date_of_service = date_of_service if date_of_service != OMIT
|
57
62
|
@patient_external_id = patient_external_id
|
58
63
|
@charge_external_id = charge_external_id
|
59
64
|
@ehr_source_url = ehr_source_url if ehr_source_url != OMIT
|
@@ -65,6 +70,7 @@ module CandidApiClient
|
|
65
70
|
"id": id,
|
66
71
|
"status": status,
|
67
72
|
"charge_capture_data": charge_capture_data,
|
73
|
+
"date_of_service": date_of_service,
|
68
74
|
"patient_external_id": patient_external_id,
|
69
75
|
"charge_external_id": charge_external_id,
|
70
76
|
"ehr_source_url": ehr_source_url,
|
@@ -91,6 +97,7 @@ module CandidApiClient
|
|
91
97
|
charge_capture_data = parsed_json["charge_capture_data"].to_json
|
92
98
|
charge_capture_data = CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData.from_json(json_object: charge_capture_data)
|
93
99
|
end
|
100
|
+
date_of_service = (Date.parse(parsed_json["date_of_service"]) unless parsed_json["date_of_service"].nil?)
|
94
101
|
patient_external_id = struct["patient_external_id"]
|
95
102
|
charge_external_id = struct["charge_external_id"]
|
96
103
|
ehr_source_url = struct["ehr_source_url"]
|
@@ -109,6 +116,7 @@ module CandidApiClient
|
|
109
116
|
id: id,
|
110
117
|
status: status,
|
111
118
|
charge_capture_data: charge_capture_data,
|
119
|
+
date_of_service: date_of_service,
|
112
120
|
patient_external_id: patient_external_id,
|
113
121
|
charge_external_id: charge_external_id,
|
114
122
|
ehr_source_url: ehr_source_url,
|
@@ -136,6 +144,7 @@ module CandidApiClient
|
|
136
144
|
obj.id.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
137
145
|
obj.status.is_a?(CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus) != false || raise("Passed value for field obj.status is not the expected type, validation failed.")
|
138
146
|
CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData.validate_raw(obj: obj.charge_capture_data)
|
147
|
+
obj.date_of_service&.is_a?(Date) != false || raise("Passed value for field obj.date_of_service is not the expected type, validation failed.")
|
139
148
|
obj.patient_external_id.is_a?(String) != false || raise("Passed value for field obj.patient_external_id is not the expected type, validation failed.")
|
140
149
|
obj.charge_external_id.is_a?(String) != false || raise("Passed value for field obj.charge_external_id is not the expected type, validation failed.")
|
141
150
|
obj.ehr_source_url&.is_a?(String) != false || raise("Passed value for field obj.ehr_source_url is not the expected type, validation failed.")
|
@@ -11,6 +11,8 @@ module CandidApiClient
|
|
11
11
|
class ChargeCapturePage
|
12
12
|
# @return [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapture>]
|
13
13
|
attr_reader :items
|
14
|
+
# @return [Integer]
|
15
|
+
attr_reader :item_count
|
14
16
|
# @return [String]
|
15
17
|
attr_reader :prev_page_token
|
16
18
|
# @return [String]
|
@@ -24,17 +26,20 @@ module CandidApiClient
|
|
24
26
|
OMIT = Object.new
|
25
27
|
|
26
28
|
# @param items [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapture>]
|
29
|
+
# @param item_count [Integer]
|
27
30
|
# @param prev_page_token [String]
|
28
31
|
# @param next_page_token [String]
|
29
32
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
30
33
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
|
31
|
-
def initialize(items:, prev_page_token: OMIT, next_page_token: OMIT, additional_properties: nil)
|
34
|
+
def initialize(items:, item_count:, prev_page_token: OMIT, next_page_token: OMIT, additional_properties: nil)
|
32
35
|
@items = items
|
36
|
+
@item_count = item_count
|
33
37
|
@prev_page_token = prev_page_token if prev_page_token != OMIT
|
34
38
|
@next_page_token = next_page_token if next_page_token != OMIT
|
35
39
|
@additional_properties = additional_properties
|
36
40
|
@_field_set = {
|
37
41
|
"items": items,
|
42
|
+
"item_count": item_count,
|
38
43
|
"prev_page_token": prev_page_token,
|
39
44
|
"next_page_token": next_page_token
|
40
45
|
}.reject do |_k, v|
|
@@ -53,10 +58,12 @@ module CandidApiClient
|
|
53
58
|
item = item.to_json
|
54
59
|
CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: item)
|
55
60
|
end
|
61
|
+
item_count = struct["item_count"]
|
56
62
|
prev_page_token = struct["prev_page_token"]
|
57
63
|
next_page_token = struct["next_page_token"]
|
58
64
|
new(
|
59
65
|
items: items,
|
66
|
+
item_count: item_count,
|
60
67
|
prev_page_token: prev_page_token,
|
61
68
|
next_page_token: next_page_token,
|
62
69
|
additional_properties: struct
|
@@ -78,6 +85,7 @@ module CandidApiClient
|
|
78
85
|
# @return [Void]
|
79
86
|
def self.validate_raw(obj:)
|
80
87
|
obj.items.is_a?(Array) != false || raise("Passed value for field obj.items is not the expected type, validation failed.")
|
88
|
+
obj.item_count.is_a?(Integer) != false || raise("Passed value for field obj.item_count is not the expected type, validation failed.")
|
81
89
|
obj.prev_page_token&.is_a?(String) != false || raise("Passed value for field obj.prev_page_token is not the expected type, validation failed.")
|
82
90
|
obj.next_page_token&.is_a?(String) != false || raise("Passed value for field obj.next_page_token is not the expected type, validation failed.")
|
83
91
|
end
|
@@ -97,8 +97,33 @@ module CandidApiClient
|
|
97
97
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
|
98
98
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
99
99
|
# This field should not contain PHI.
|
100
|
-
# @param
|
100
|
+
# @param date_of_service_min [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 date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
103
|
+
# This date must be the local date in the timezone where the service occurred.
|
104
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge capture bundles
|
105
|
+
# that have a resulting claim with one of the IDs in this list.
|
106
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
107
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
108
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
109
|
+
# list.
|
110
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge capture bundles which include
|
111
|
+
# one or more charges with this service facility name.
|
112
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge capture
|
113
|
+
# bundles which include one or more charges with one of the primary payer IDs in
|
114
|
+
# this list.
|
115
|
+
# @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
|
116
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
117
|
+
# list.
|
118
|
+
# @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
|
119
|
+
# capture bundles which include one or more charges with one of the names in this
|
120
|
+
# list.
|
121
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
122
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
123
|
+
# list.
|
124
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
125
|
+
# capture bundles which include one or more charges with one of the names in this
|
126
|
+
# list.
|
102
127
|
# @param has_charge_capture_updates [Boolean] If true, only return bundles that have charge captures that have been updated
|
103
128
|
# since the bundle has had a status of BILLED. See the updates property on
|
104
129
|
# ChargeCapture for more details.
|
@@ -115,11 +140,21 @@ module CandidApiClient
|
|
115
140
|
# bundle_status: NOT_STARTED,
|
116
141
|
# charge_status: PLANNED,
|
117
142
|
# charge_external_id: "string",
|
118
|
-
#
|
143
|
+
# date_of_service_min: DateTime.parse(2023-01-15),
|
144
|
+
# date_of_service_max: DateTime.parse(2023-01-15),
|
145
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
146
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
147
|
+
# billing_provider_npis: "string",
|
148
|
+
# service_facility_name: "string",
|
149
|
+
# primary_payer_ids: "string",
|
150
|
+
# rendering_provider_npis: "string",
|
151
|
+
# rendering_provider_names: "string",
|
152
|
+
# supervising_provider_npis: "string",
|
153
|
+
# supervising_provider_names: "string",
|
119
154
|
# has_charge_capture_updates: true
|
120
155
|
# )
|
121
156
|
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,
|
157
|
+
bundle_status: nil, charge_status: nil, charge_external_id: nil, date_of_service_min: nil, date_of_service_max: 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
158
|
response = @request_client.conn.get do |req|
|
124
159
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
125
160
|
req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
|
@@ -138,7 +173,17 @@ module CandidApiClient
|
|
138
173
|
"bundle_status": bundle_status,
|
139
174
|
"charge_status": charge_status,
|
140
175
|
"charge_external_id": charge_external_id,
|
141
|
-
"
|
176
|
+
"date_of_service_min": date_of_service_min,
|
177
|
+
"date_of_service_max": date_of_service_max,
|
178
|
+
"claim_ids": claim_ids,
|
179
|
+
"bundle_ids": bundle_ids,
|
180
|
+
"billing_provider_npis": billing_provider_npis,
|
181
|
+
"service_facility_name": service_facility_name,
|
182
|
+
"primary_payer_ids": primary_payer_ids,
|
183
|
+
"rendering_provider_npis": rendering_provider_npis,
|
184
|
+
"rendering_provider_names": rendering_provider_names,
|
185
|
+
"supervising_provider_npis": supervising_provider_npis,
|
186
|
+
"supervising_provider_names": supervising_provider_names,
|
142
187
|
"has_charge_capture_updates": has_charge_capture_updates
|
143
188
|
}.compact
|
144
189
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
@@ -237,8 +282,33 @@ module CandidApiClient
|
|
237
282
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
|
238
283
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
239
284
|
# This field should not contain PHI.
|
240
|
-
# @param
|
285
|
+
# @param date_of_service_min [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
286
|
+
# This date must be the local date in the timezone where the service occurred.
|
287
|
+
# @param date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
241
288
|
# This date must be the local date in the timezone where the service occurred.
|
289
|
+
# @param claim_ids [String] A list of claim IDs to filter by. This will return all charge capture bundles
|
290
|
+
# that have a resulting claim with one of the IDs in this list.
|
291
|
+
# @param bundle_ids [String] A list of bundle IDs to filter by.
|
292
|
+
# @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
|
293
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
294
|
+
# list.
|
295
|
+
# @param service_facility_name [String] A string to filter by. This will return all charge capture bundles which include
|
296
|
+
# one or more charges with this service facility name.
|
297
|
+
# @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge capture
|
298
|
+
# bundles which include one or more charges with one of the primary payer IDs in
|
299
|
+
# this list.
|
300
|
+
# @param rendering_provider_npis [String] A list of rendering 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 rendering_provider_names [String] A list of rendering 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.
|
306
|
+
# @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
|
307
|
+
# capture bundles which include one or more charges with one of the NPIs in this
|
308
|
+
# list.
|
309
|
+
# @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
|
310
|
+
# capture bundles which include one or more charges with one of the names in this
|
311
|
+
# list.
|
242
312
|
# @param has_charge_capture_updates [Boolean] If true, only return bundles that have charge captures that have been updated
|
243
313
|
# since the bundle has had a status of BILLED. See the updates property on
|
244
314
|
# ChargeCapture for more details.
|
@@ -255,11 +325,21 @@ module CandidApiClient
|
|
255
325
|
# bundle_status: NOT_STARTED,
|
256
326
|
# charge_status: PLANNED,
|
257
327
|
# charge_external_id: "string",
|
258
|
-
#
|
328
|
+
# date_of_service_min: DateTime.parse(2023-01-15),
|
329
|
+
# date_of_service_max: DateTime.parse(2023-01-15),
|
330
|
+
# claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
331
|
+
# bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
332
|
+
# billing_provider_npis: "string",
|
333
|
+
# service_facility_name: "string",
|
334
|
+
# primary_payer_ids: "string",
|
335
|
+
# rendering_provider_npis: "string",
|
336
|
+
# rendering_provider_names: "string",
|
337
|
+
# supervising_provider_npis: "string",
|
338
|
+
# supervising_provider_names: "string",
|
259
339
|
# has_charge_capture_updates: true
|
260
340
|
# )
|
261
341
|
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,
|
342
|
+
bundle_status: nil, charge_status: nil, charge_external_id: nil, date_of_service_min: nil, date_of_service_max: 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
343
|
Async do
|
264
344
|
response = @request_client.conn.get do |req|
|
265
345
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -279,7 +359,17 @@ module CandidApiClient
|
|
279
359
|
"bundle_status": bundle_status,
|
280
360
|
"charge_status": charge_status,
|
281
361
|
"charge_external_id": charge_external_id,
|
282
|
-
"
|
362
|
+
"date_of_service_min": date_of_service_min,
|
363
|
+
"date_of_service_max": date_of_service_max,
|
364
|
+
"claim_ids": claim_ids,
|
365
|
+
"bundle_ids": bundle_ids,
|
366
|
+
"billing_provider_npis": billing_provider_npis,
|
367
|
+
"service_facility_name": service_facility_name,
|
368
|
+
"primary_payer_ids": primary_payer_ids,
|
369
|
+
"rendering_provider_npis": rendering_provider_npis,
|
370
|
+
"rendering_provider_names": rendering_provider_names,
|
371
|
+
"supervising_provider_npis": supervising_provider_npis,
|
372
|
+
"supervising_provider_names": supervising_provider_names,
|
283
373
|
"has_charge_capture_updates": has_charge_capture_updates
|
284
374
|
}.compact
|
285
375
|
req.url "#{@request_client.get_url(environment: CandidApi,
|
@@ -8,11 +8,12 @@ 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 :charge_capture_unbundled_count
|
11
|
+
# @return [Integer] The count of charge captures which are not part of a claim creation.
|
12
|
+
attr_reader :charge_capture_charges_not_linked_to_claims_count
|
14
13
|
# @return [Integer] The count of charge capture bundles that have a bundle status of NOT_STARTED.
|
15
14
|
attr_reader :charge_capture_bundles_not_started_count
|
15
|
+
# @return [Integer] The count of charge capture bundles that have a bundle status of HELD.
|
16
|
+
attr_reader :charge_capture_held_bundles_count
|
16
17
|
# @return [Integer] The count of charge capture bundles that have a bundle status of IN_ERROR.
|
17
18
|
attr_reader :charge_capture_bundles_in_error_count
|
18
19
|
# @return [Integer] The number of ChargeCapturePostBilledChange items that are unresolved.
|
@@ -25,25 +26,23 @@ module CandidApiClient
|
|
25
26
|
|
26
27
|
OMIT = Object.new
|
27
28
|
|
28
|
-
# @param
|
29
|
-
# status other than SUCCESSFUL.
|
29
|
+
# @param charge_capture_charges_not_linked_to_claims_count [Integer] The count of charge captures which are not part of a claim creation.
|
30
30
|
# @param charge_capture_bundles_not_started_count [Integer] The count of charge capture bundles that have a bundle status of NOT_STARTED.
|
31
|
+
# @param charge_capture_held_bundles_count [Integer] The count of charge capture bundles that have a bundle status of HELD.
|
31
32
|
# @param charge_capture_bundles_in_error_count [Integer] The count of charge capture bundles that have a bundle status of IN_ERROR.
|
32
33
|
# @param charge_capture_unresolved_change_count [Integer] The number of ChargeCapturePostBilledChange items that are unresolved.
|
33
34
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
34
35
|
# @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
|
-
@
|
36
|
+
def initialize(charge_capture_charges_not_linked_to_claims_count:, charge_capture_bundles_not_started_count:,
|
37
|
+
charge_capture_held_bundles_count:, charge_capture_bundles_in_error_count:, charge_capture_unresolved_change_count:, additional_properties: nil)
|
38
|
+
@charge_capture_charges_not_linked_to_claims_count = charge_capture_charges_not_linked_to_claims_count
|
38
39
|
@charge_capture_bundles_not_started_count = charge_capture_bundles_not_started_count
|
40
|
+
@charge_capture_held_bundles_count = charge_capture_held_bundles_count
|
39
41
|
@charge_capture_bundles_in_error_count = charge_capture_bundles_in_error_count
|
40
42
|
@charge_capture_unresolved_change_count = charge_capture_unresolved_change_count
|
41
43
|
@additional_properties = additional_properties
|
42
44
|
@_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
|
45
|
+
"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
46
|
}
|
48
47
|
end
|
49
48
|
|
@@ -53,13 +52,15 @@ module CandidApiClient
|
|
53
52
|
# @return [CandidApiClient::ChargeCaptureBundles::V1::Types::ChargeCaptureBundleSummary]
|
54
53
|
def self.from_json(json_object:)
|
55
54
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
56
|
-
|
55
|
+
charge_capture_charges_not_linked_to_claims_count = struct["charge_capture_charges_not_linked_to_claims_count"]
|
57
56
|
charge_capture_bundles_not_started_count = struct["charge_capture_bundles_not_started_count"]
|
57
|
+
charge_capture_held_bundles_count = struct["charge_capture_held_bundles_count"]
|
58
58
|
charge_capture_bundles_in_error_count = struct["charge_capture_bundles_in_error_count"]
|
59
59
|
charge_capture_unresolved_change_count = struct["charge_capture_unresolved_change_count"]
|
60
60
|
new(
|
61
|
-
|
61
|
+
charge_capture_charges_not_linked_to_claims_count: charge_capture_charges_not_linked_to_claims_count,
|
62
62
|
charge_capture_bundles_not_started_count: charge_capture_bundles_not_started_count,
|
63
|
+
charge_capture_held_bundles_count: charge_capture_held_bundles_count,
|
63
64
|
charge_capture_bundles_in_error_count: charge_capture_bundles_in_error_count,
|
64
65
|
charge_capture_unresolved_change_count: charge_capture_unresolved_change_count,
|
65
66
|
additional_properties: struct
|
@@ -80,8 +81,9 @@ module CandidApiClient
|
|
80
81
|
# @param obj [Object]
|
81
82
|
# @return [Void]
|
82
83
|
def self.validate_raw(obj:)
|
83
|
-
obj.
|
84
|
+
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
85
|
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.")
|
86
|
+
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
87
|
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
88
|
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
89
|
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.3" }
|
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.3" }
|
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.3
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|