candidhealth 0.42.5 → 0.43.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.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/charge_capture/v_1/client.rb +18 -24
  3. data/lib/candidhealth/charge_capture/v_1/types/charge_capture.rb +8 -8
  4. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_error.rb +21 -19
  5. data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +85 -129
  6. data/lib/candidhealth/charge_capture_bundles/v_1/types/{charge_capture_bundle.rb → charge_capture_claim_creation.rb} +18 -30
  7. data/lib/candidhealth/charge_capture_bundles/v_1/types/{charge_capture_bundle_page.rb → charge_capture_claim_creation_page.rb} +9 -9
  8. data/lib/candidhealth/charge_capture_bundles/v_1/types/{charge_capture_bundle_sort_field.rb → charge_capture_claim_creation_sort_field.rb} +1 -1
  9. data/lib/candidhealth/charge_capture_bundles/v_1/types/{charge_capture_bundle_status.rb → charge_capture_claim_creation_status.rb} +1 -1
  10. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_summary.rb +100 -0
  11. data/lib/candidhealth/encounter_attachments/client.rb +30 -0
  12. data/lib/candidhealth/encounter_attachments/v_1/client.rb +199 -0
  13. data/lib/candidhealth/encounter_attachments/v_1/types/base_attachment.rb +98 -0
  14. data/lib/candidhealth/encounter_attachments/v_1/types/encounter_attachment.rb +115 -0
  15. data/lib/candidhealth/encounter_attachments/v_1/types/encounter_attachment_type.rb +13 -0
  16. data/lib/candidhealth/encounter_providers/v_2/client.rb +16 -16
  17. data/lib/candidhealth/encounters/v_4/client.rb +20 -20
  18. data/lib/candidhealth/guarantor/v_1/client.rb +2 -2
  19. data/lib/candidhealth/service_lines/v_2/client.rb +2 -2
  20. data/lib/candidhealth.rb +7 -0
  21. data/lib/core/file_utilities.rb +26 -0
  22. data/lib/requests.rb +5 -2
  23. data/lib/types_export.rb +8 -6
  24. metadata +46 -7
  25. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_bundle_summary.rb +0 -94
  26. data/lib/candidhealth/commons/types/not_implemented_error_message.rb +0 -60
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bfb76c43078304ca5d9f9ca77e043de008b1d051a63c256783d2dc58a6121ee
4
- data.tar.gz: 8d986a7938e2b77bce1d32a8dd3547137baadba9bbd889747e02ffd63ebd784b
3
+ metadata.gz: f378950d09fa0584a30bcc4c970b4bbda3a35264fbe282cdfed41e2ae1e125f1
4
+ data.tar.gz: 27d34860a732d2119f1f887a955b356ab05abe8747b13a25841b7b40a323df0f
5
5
  SHA512:
6
- metadata.gz: c80c380649b2302fc02f03496f2dfafab1a02cc95fdc48447b85f84817744af74ae64f8716f3bdd3a3cce75300a987230d2e27d16306a51edb9dfa89674e22c9
7
- data.tar.gz: c061c1d6640bb76163cea03b8de64510b0ed25b7816a4a24316297974b647f056876ca2316d824902b6b72734775f54ce58c70b4633beafac6bd342b587595ff
6
+ metadata.gz: 580c4ca71bc108e028aa9c684d117a2d81581715c4237589771f6877b432db237304c60e3dd1a12af95ace3fd4f72beff9c57b4da5a7ab915c69e36da14fd99e
7
+ data.tar.gz: d89942c45d9ba43e7672812e3ce04e8e38a0177e3df324547ced5985e809dee9024a63fb0ae13b24185aa22e84fe8bef9783163e91bc8968a362d87108aa1c19
@@ -288,7 +288,7 @@ module CandidApiClient
288
288
  # @example
289
289
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
290
290
  # api.charge_capture.v_1.create(
291
- # data: { },
291
+ # data: { diagnoses: , interventions: , external_claim_submission: { claim_created_at: DateTime.parse(2023-01-01T12:00:00.000Z), patient_control_number: "PATIENT_CONTROL_NUMBER", submission_records: [{ submitted_at: DateTime.parse(2023-01-01T13:00:00.000Z), claim_frequency_code: ORIGINAL, payer_responsibility: PRIMARY, intended_submission_medium: ELECTRONIC }, { submitted_at: DateTime.parse(2023-01-04T12:00:00.000Z), claim_frequency_code: REPLACEMENT, payer_responsibility: PRIMARY, intended_submission_medium: PAPER }] }, service_lines: , patient_histories: , billing_notes: , benefits_assigned_to_provider: true, prior_authorization_number: "string", external_id: "string", date_of_service: DateTime.parse(2023-01-15), tag_ids: , clinical_notes: , pay_to_address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, billable_status: BILLABLE, responsible_party: INSURANCE_PAY, provider_accepts_assignment: true, synchronicity: SYNCHRONOUS, place_of_service_code: PHARMACY, appointment_type: "string", end_date_of_service: DateTime.parse(2023-01-15), subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_tertiary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, additional_information: "string", service_authorization_exception_code: C_1, admission_date: DateTime.parse(2023-01-15), discharge_date: DateTime.parse(2023-01-15), onset_of_current_illness_or_symptom_date: DateTime.parse(2023-01-15), last_menstrual_period_date: DateTime.parse(2023-01-15), delay_reason_code: C_1, patient: { }, patient_authorized_release: true, schema_instances: , vitals: { height_in: 70, weight_lbs: 165, blood_pressure_systolic_mmhg: 115, blood_pressure_diastolic_mmhg: 85, body_temperature_f: 98, hemoglobin_gdl: 15.1, hematocrit_pct: 51.2 }, existing_medications: , rendering_provider: { }, service_facility: { organization_name: "Test Organization", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } }, guarantor: { }, billing_provider: { }, supervising_provider: { }, referring_provider: { }, initial_referring_provider: { }, referral_number: "string", epsdt_referral: { condition_indicator_1: AV }, claim_supplemental_information: },
292
292
  # charge_external_id: "string",
293
293
  # ehr_source_url: "string",
294
294
  # patient_external_id: "string",
@@ -602,7 +602,7 @@ module CandidApiClient
602
602
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
603
603
  # api.charge_capture.v_1.update(
604
604
  # charge_capture_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
605
- # data: { },
605
+ # data: { diagnoses: , interventions: , external_claim_submission: { claim_created_at: DateTime.parse(2023-01-01T12:00:00.000Z), patient_control_number: "PATIENT_CONTROL_NUMBER", submission_records: [{ submitted_at: DateTime.parse(2023-01-01T13:00:00.000Z), claim_frequency_code: ORIGINAL, payer_responsibility: PRIMARY, intended_submission_medium: ELECTRONIC }, { submitted_at: DateTime.parse(2023-01-04T12:00:00.000Z), claim_frequency_code: REPLACEMENT, payer_responsibility: PRIMARY, intended_submission_medium: PAPER }] }, service_lines: , patient_histories: , billing_notes: , benefits_assigned_to_provider: true, prior_authorization_number: "string", external_id: "string", date_of_service: DateTime.parse(2023-01-15), tag_ids: , clinical_notes: , pay_to_address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, billable_status: BILLABLE, responsible_party: INSURANCE_PAY, provider_accepts_assignment: true, synchronicity: SYNCHRONOUS, place_of_service_code: PHARMACY, appointment_type: "string", end_date_of_service: DateTime.parse(2023-01-15), subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_tertiary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, additional_information: "string", service_authorization_exception_code: C_1, admission_date: DateTime.parse(2023-01-15), discharge_date: DateTime.parse(2023-01-15), onset_of_current_illness_or_symptom_date: DateTime.parse(2023-01-15), last_menstrual_period_date: DateTime.parse(2023-01-15), delay_reason_code: C_1, patient: { }, patient_authorized_release: true, schema_instances: , vitals: { height_in: 70, weight_lbs: 165, blood_pressure_systolic_mmhg: 115, blood_pressure_diastolic_mmhg: 85, body_temperature_f: 98, hemoglobin_gdl: 15.1, hematocrit_pct: 51.2 }, existing_medications: , rendering_provider: { }, service_facility: { organization_name: "Test Organization", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } }, guarantor: { }, billing_provider: { }, supervising_provider: { }, referring_provider: { }, initial_referring_provider: { }, referral_number: "string", epsdt_referral: { condition_indicator_1: AV }, claim_supplemental_information: },
606
606
  # charge_external_id: "string",
607
607
  # ehr_source_url: "string",
608
608
  # patient_external_id: "string",
@@ -668,8 +668,7 @@ module CandidApiClient
668
668
  # This date must be the local date in the timezone where the service occurred.
669
669
  # @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
670
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.
671
+ # @param claim_creation_ids [String] A list of Claim Creation IDs to filter by.
673
672
  # @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
674
673
  # captures with one of the NPIs in this list.
675
674
  # @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
@@ -696,7 +695,7 @@ module CandidApiClient
696
695
  # This date must be the local date in the timezone where the service occurred.
697
696
  # @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
698
697
  # 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.
698
+ # @param claim_creation_ids_ranked_sort [String] A list of Claim Creation IDs to show first.
700
699
  # @param billing_provider_npis_ranked_sort [String] A list of billing provider NPIs to show first. This will return all charge
701
700
  # captures with one of the NPIs in this list.
702
701
  # @param service_facility_name_ranked_sort [String] A string to show first. This will return all charge captures with this service
@@ -726,8 +725,7 @@ module CandidApiClient
726
725
  # date_of_service_min: DateTime.parse(2023-01-15),
727
726
  # date_of_service_max: DateTime.parse(2023-01-15),
728
727
  # claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
729
- # bundle_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
730
- # bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
728
+ # claim_creation_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
731
729
  # billing_provider_npis: "string",
732
730
  # service_facility_name: "string",
733
731
  # primary_payer_ids: "string",
@@ -742,7 +740,7 @@ module CandidApiClient
742
740
  # date_of_service_min_ranked_sort: DateTime.parse(2023-01-15),
743
741
  # date_of_service_max_ranked_sort: DateTime.parse(2023-01-15),
744
742
  # claim_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
745
- # bundle_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
743
+ # claim_creation_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
746
744
  # billing_provider_npis_ranked_sort: "string",
747
745
  # service_facility_name_ranked_sort: "string",
748
746
  # primary_payer_ids_ranked_sort: "string",
@@ -752,7 +750,7 @@ module CandidApiClient
752
750
  # supervising_provider_names_ranked_sort: "string"
753
751
  # )
754
752
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: 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)
753
+ charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_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, claim_creation_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)
756
754
  response = @request_client.conn.get do |req|
757
755
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
758
756
  req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
@@ -773,8 +771,7 @@ module CandidApiClient
773
771
  "date_of_service_min": date_of_service_min,
774
772
  "date_of_service_max": date_of_service_max,
775
773
  "claim_ids": claim_ids,
776
- "bundle_id": bundle_id,
777
- "bundle_ids": bundle_ids,
774
+ "claim_creation_ids": claim_creation_ids,
778
775
  "billing_provider_npis": billing_provider_npis,
779
776
  "service_facility_name": service_facility_name,
780
777
  "primary_payer_ids": primary_payer_ids,
@@ -789,7 +786,7 @@ module CandidApiClient
789
786
  "date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
790
787
  "date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
791
788
  "claim_ids_ranked_sort": claim_ids_ranked_sort,
792
- "bundle_ids_ranked_sort": bundle_ids_ranked_sort,
789
+ "claim_creation_ids_ranked_sort": claim_creation_ids_ranked_sort,
793
790
  "billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
794
791
  "service_facility_name_ranked_sort": service_facility_name_ranked_sort,
795
792
  "primary_payer_ids_ranked_sort": primary_payer_ids_ranked_sort,
@@ -1104,7 +1101,7 @@ module CandidApiClient
1104
1101
  # @example
1105
1102
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1106
1103
  # api.charge_capture.v_1.create(
1107
- # data: { },
1104
+ # data: { diagnoses: , interventions: , external_claim_submission: { claim_created_at: DateTime.parse(2023-01-01T12:00:00.000Z), patient_control_number: "PATIENT_CONTROL_NUMBER", submission_records: [{ submitted_at: DateTime.parse(2023-01-01T13:00:00.000Z), claim_frequency_code: ORIGINAL, payer_responsibility: PRIMARY, intended_submission_medium: ELECTRONIC }, { submitted_at: DateTime.parse(2023-01-04T12:00:00.000Z), claim_frequency_code: REPLACEMENT, payer_responsibility: PRIMARY, intended_submission_medium: PAPER }] }, service_lines: , patient_histories: , billing_notes: , benefits_assigned_to_provider: true, prior_authorization_number: "string", external_id: "string", date_of_service: DateTime.parse(2023-01-15), tag_ids: , clinical_notes: , pay_to_address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, billable_status: BILLABLE, responsible_party: INSURANCE_PAY, provider_accepts_assignment: true, synchronicity: SYNCHRONOUS, place_of_service_code: PHARMACY, appointment_type: "string", end_date_of_service: DateTime.parse(2023-01-15), subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_tertiary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, additional_information: "string", service_authorization_exception_code: C_1, admission_date: DateTime.parse(2023-01-15), discharge_date: DateTime.parse(2023-01-15), onset_of_current_illness_or_symptom_date: DateTime.parse(2023-01-15), last_menstrual_period_date: DateTime.parse(2023-01-15), delay_reason_code: C_1, patient: { }, patient_authorized_release: true, schema_instances: , vitals: { height_in: 70, weight_lbs: 165, blood_pressure_systolic_mmhg: 115, blood_pressure_diastolic_mmhg: 85, body_temperature_f: 98, hemoglobin_gdl: 15.1, hematocrit_pct: 51.2 }, existing_medications: , rendering_provider: { }, service_facility: { organization_name: "Test Organization", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } }, guarantor: { }, billing_provider: { }, supervising_provider: { }, referring_provider: { }, initial_referring_provider: { }, referral_number: "string", epsdt_referral: { condition_indicator_1: AV }, claim_supplemental_information: },
1108
1105
  # charge_external_id: "string",
1109
1106
  # ehr_source_url: "string",
1110
1107
  # patient_external_id: "string",
@@ -1422,7 +1419,7 @@ module CandidApiClient
1422
1419
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1423
1420
  # api.charge_capture.v_1.update(
1424
1421
  # charge_capture_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1425
- # data: { },
1422
+ # data: { diagnoses: , interventions: , external_claim_submission: { claim_created_at: DateTime.parse(2023-01-01T12:00:00.000Z), patient_control_number: "PATIENT_CONTROL_NUMBER", submission_records: [{ submitted_at: DateTime.parse(2023-01-01T13:00:00.000Z), claim_frequency_code: ORIGINAL, payer_responsibility: PRIMARY, intended_submission_medium: ELECTRONIC }, { submitted_at: DateTime.parse(2023-01-04T12:00:00.000Z), claim_frequency_code: REPLACEMENT, payer_responsibility: PRIMARY, intended_submission_medium: PAPER }] }, service_lines: , patient_histories: , billing_notes: , benefits_assigned_to_provider: true, prior_authorization_number: "string", external_id: "string", date_of_service: DateTime.parse(2023-01-15), tag_ids: , clinical_notes: , pay_to_address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, billable_status: BILLABLE, responsible_party: INSURANCE_PAY, provider_accepts_assignment: true, synchronicity: SYNCHRONOUS, place_of_service_code: PHARMACY, appointment_type: "string", end_date_of_service: DateTime.parse(2023-01-15), subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, subscriber_tertiary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string" }, patient_relationship_to_subscriber_code: SPOUSE, first_name: "string", last_name: "string", gender: MALE }, additional_information: "string", service_authorization_exception_code: C_1, admission_date: DateTime.parse(2023-01-15), discharge_date: DateTime.parse(2023-01-15), onset_of_current_illness_or_symptom_date: DateTime.parse(2023-01-15), last_menstrual_period_date: DateTime.parse(2023-01-15), delay_reason_code: C_1, patient: { }, patient_authorized_release: true, schema_instances: , vitals: { height_in: 70, weight_lbs: 165, blood_pressure_systolic_mmhg: 115, blood_pressure_diastolic_mmhg: 85, body_temperature_f: 98, hemoglobin_gdl: 15.1, hematocrit_pct: 51.2 }, existing_medications: , rendering_provider: { }, service_facility: { organization_name: "Test Organization", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } }, guarantor: { }, billing_provider: { }, supervising_provider: { }, referring_provider: { }, initial_referring_provider: { }, referral_number: "string", epsdt_referral: { condition_indicator_1: AV }, claim_supplemental_information: },
1426
1423
  # charge_external_id: "string",
1427
1424
  # ehr_source_url: "string",
1428
1425
  # patient_external_id: "string",
@@ -1492,8 +1489,7 @@ module CandidApiClient
1492
1489
  # This date must be the local date in the timezone where the service occurred.
1493
1490
  # @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
1494
1491
  # 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.
1492
+ # @param claim_creation_ids [String] A list of Claim Creation IDs to filter by.
1497
1493
  # @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
1498
1494
  # captures with one of the NPIs in this list.
1499
1495
  # @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
@@ -1520,7 +1516,7 @@ module CandidApiClient
1520
1516
  # This date must be the local date in the timezone where the service occurred.
1521
1517
  # @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
1522
1518
  # 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.
1519
+ # @param claim_creation_ids_ranked_sort [String] A list of Claim Creation IDs to show first.
1524
1520
  # @param billing_provider_npis_ranked_sort [String] A list of billing provider NPIs to show first. This will return all charge
1525
1521
  # captures with one of the NPIs in this list.
1526
1522
  # @param service_facility_name_ranked_sort [String] A string to show first. This will return all charge captures with this service
@@ -1550,8 +1546,7 @@ module CandidApiClient
1550
1546
  # date_of_service_min: DateTime.parse(2023-01-15),
1551
1547
  # date_of_service_max: DateTime.parse(2023-01-15),
1552
1548
  # claim_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1553
- # bundle_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1554
- # bundle_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1549
+ # claim_creation_ids: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1555
1550
  # billing_provider_npis: "string",
1556
1551
  # service_facility_name: "string",
1557
1552
  # primary_payer_ids: "string",
@@ -1566,7 +1561,7 @@ module CandidApiClient
1566
1561
  # date_of_service_min_ranked_sort: DateTime.parse(2023-01-15),
1567
1562
  # date_of_service_max_ranked_sort: DateTime.parse(2023-01-15),
1568
1563
  # claim_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1569
- # bundle_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1564
+ # claim_creation_ids_ranked_sort: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1570
1565
  # billing_provider_npis_ranked_sort: "string",
1571
1566
  # service_facility_name_ranked_sort: "string",
1572
1567
  # primary_payer_ids_ranked_sort: "string",
@@ -1576,7 +1571,7 @@ module CandidApiClient
1576
1571
  # supervising_provider_names_ranked_sort: "string"
1577
1572
  # )
1578
1573
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: 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)
1574
+ charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_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, claim_creation_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)
1580
1575
  Async do
1581
1576
  response = @request_client.conn.get do |req|
1582
1577
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -1598,8 +1593,7 @@ module CandidApiClient
1598
1593
  "date_of_service_min": date_of_service_min,
1599
1594
  "date_of_service_max": date_of_service_max,
1600
1595
  "claim_ids": claim_ids,
1601
- "bundle_id": bundle_id,
1602
- "bundle_ids": bundle_ids,
1596
+ "claim_creation_ids": claim_creation_ids,
1603
1597
  "billing_provider_npis": billing_provider_npis,
1604
1598
  "service_facility_name": service_facility_name,
1605
1599
  "primary_payer_ids": primary_payer_ids,
@@ -1614,7 +1608,7 @@ module CandidApiClient
1614
1608
  "date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
1615
1609
  "date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
1616
1610
  "claim_ids_ranked_sort": claim_ids_ranked_sort,
1617
- "bundle_ids_ranked_sort": bundle_ids_ranked_sort,
1611
+ "claim_creation_ids_ranked_sort": claim_creation_ids_ranked_sort,
1618
1612
  "billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
1619
1613
  "service_facility_name_ranked_sort": service_facility_name_ranked_sort,
1620
1614
  "primary_payer_ids_ranked_sort": primary_payer_ids_ranked_sort,
@@ -32,7 +32,7 @@ module CandidApiClient
32
32
  # @return [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange>]
33
33
  attr_reader :updates
34
34
  # @return [String]
35
- attr_reader :bundle_id
35
+ attr_reader :claim_creation_id
36
36
  # @return [OpenStruct] Additional properties unmapped to the current class definition
37
37
  attr_reader :additional_properties
38
38
  # @return [Object]
@@ -50,11 +50,11 @@ module CandidApiClient
50
50
  # @param ehr_source_url [String]
51
51
  # @param error [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureError]
52
52
  # @param updates [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange>]
53
- # @param bundle_id [String]
53
+ # @param claim_creation_id [String]
54
54
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
55
55
  # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
56
56
  def initialize(id:, status:, charge_capture_data:, patient_external_id:, charge_external_id:, updates:,
57
- date_of_service: OMIT, ehr_source_url: OMIT, error: OMIT, bundle_id: OMIT, additional_properties: nil)
57
+ date_of_service: OMIT, ehr_source_url: OMIT, error: OMIT, claim_creation_id: OMIT, additional_properties: nil)
58
58
  @id = id
59
59
  @status = status
60
60
  @charge_capture_data = charge_capture_data
@@ -64,7 +64,7 @@ module CandidApiClient
64
64
  @ehr_source_url = ehr_source_url if ehr_source_url != OMIT
65
65
  @error = error if error != OMIT
66
66
  @updates = updates
67
- @bundle_id = bundle_id if bundle_id != OMIT
67
+ @claim_creation_id = claim_creation_id if claim_creation_id != OMIT
68
68
  @additional_properties = additional_properties
69
69
  @_field_set = {
70
70
  "id": id,
@@ -76,7 +76,7 @@ module CandidApiClient
76
76
  "ehr_source_url": ehr_source_url,
77
77
  "error": error,
78
78
  "updates": updates,
79
- "bundle_id": bundle_id
79
+ "claim_creation_id": claim_creation_id
80
80
  }.reject do |_k, v|
81
81
  v == OMIT
82
82
  end
@@ -111,7 +111,7 @@ module CandidApiClient
111
111
  item = item.to_json
112
112
  CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange.from_json(json_object: item)
113
113
  end
114
- bundle_id = struct["bundle_id"]
114
+ claim_creation_id = struct["claim_creation_id"]
115
115
  new(
116
116
  id: id,
117
117
  status: status,
@@ -122,7 +122,7 @@ module CandidApiClient
122
122
  ehr_source_url: ehr_source_url,
123
123
  error: error,
124
124
  updates: updates,
125
- bundle_id: bundle_id,
125
+ claim_creation_id: claim_creation_id,
126
126
  additional_properties: struct
127
127
  )
128
128
  end
@@ -150,7 +150,7 @@ module CandidApiClient
150
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.")
151
151
  obj.error.nil? || CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureError.validate_raw(obj: obj.error)
152
152
  obj.updates.is_a?(Array) != false || raise("Passed value for field obj.updates is not the expected type, validation failed.")
153
- obj.bundle_id&.is_a?(String) != false || raise("Passed value for field obj.bundle_id is not the expected type, validation failed.")
153
+ obj.claim_creation_id&.is_a?(String) != false || raise("Passed value for field obj.claim_creation_id is not the expected type, validation failed.")
154
154
  end
155
155
  end
156
156
  end
@@ -11,19 +11,20 @@ module CandidApiClient
11
11
  # @return [String]
12
12
  attr_reader :id
13
13
  # @return [String] The underlying Charge Capture that this error object references.
14
- # The Charge Capture referenced will be a part of the bundle tied to this error.
15
- # Errors may also refer to all charge_captures present in a bundle, in which case
16
- # this field will be null.
14
+ # The Charge Capture referenced will be a part of the Claim Creation tied to this
15
+ # error.
16
+ # Errors may also refer to all charge_captures present in a Claim Creation, in
17
+ # which case this field will be null.
17
18
  attr_reader :charge_capture_id
18
- # @return [String] A human readable error explaining why this charge capture bundle failed to
19
- # create a claim.
19
+ # @return [String] A human readable error explaining why this charge capture Claim Creation failed
20
+ # to create a claim.
20
21
  attr_reader :message
21
22
  # @return [String] The field of the corresponding underlying ChargeCapture that has a field that is
22
23
  # failing validations,
23
24
  # is not present but marked as required, or otherwise in error.
24
25
  attr_reader :field_in_error
25
- # @return [String] The ID of the ChargeCaptureBundle associated with this Error.
26
- attr_reader :bundle_id
26
+ # @return [String] The ID of the ChargeCaptureClaimCreation associated with this Error.
27
+ attr_reader :claim_creation_id
27
28
  # @return [OpenStruct] Additional properties unmapped to the current class definition
28
29
  attr_reader :additional_properties
29
30
  # @return [Object]
@@ -34,31 +35,32 @@ module CandidApiClient
34
35
 
35
36
  # @param id [String]
36
37
  # @param charge_capture_id [String] The underlying Charge Capture that this error object references.
37
- # The Charge Capture referenced will be a part of the bundle tied to this error.
38
- # Errors may also refer to all charge_captures present in a bundle, in which case
39
- # this field will be null.
40
- # @param message [String] A human readable error explaining why this charge capture bundle failed to
41
- # create a claim.
38
+ # The Charge Capture referenced will be a part of the Claim Creation tied to this
39
+ # error.
40
+ # Errors may also refer to all charge_captures present in a Claim Creation, in
41
+ # which case this field will be null.
42
+ # @param message [String] A human readable error explaining why this charge capture Claim Creation failed
43
+ # to create a claim.
42
44
  # @param field_in_error [String] The field of the corresponding underlying ChargeCapture that has a field that is
43
45
  # failing validations,
44
46
  # is not present but marked as required, or otherwise in error.
45
- # @param bundle_id [String] The ID of the ChargeCaptureBundle associated with this Error.
47
+ # @param claim_creation_id [String] The ID of the ChargeCaptureClaimCreation associated with this Error.
46
48
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
47
49
  # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureError]
48
- def initialize(id:, message:, bundle_id:, charge_capture_id: OMIT, field_in_error: OMIT,
50
+ def initialize(id:, message:, claim_creation_id:, charge_capture_id: OMIT, field_in_error: OMIT,
49
51
  additional_properties: nil)
50
52
  @id = id
51
53
  @charge_capture_id = charge_capture_id if charge_capture_id != OMIT
52
54
  @message = message
53
55
  @field_in_error = field_in_error if field_in_error != OMIT
54
- @bundle_id = bundle_id
56
+ @claim_creation_id = claim_creation_id
55
57
  @additional_properties = additional_properties
56
58
  @_field_set = {
57
59
  "id": id,
58
60
  "charge_capture_id": charge_capture_id,
59
61
  "message": message,
60
62
  "field_in_error": field_in_error,
61
- "bundle_id": bundle_id
63
+ "claim_creation_id": claim_creation_id
62
64
  }.reject do |_k, v|
63
65
  v == OMIT
64
66
  end
@@ -74,13 +76,13 @@ module CandidApiClient
74
76
  charge_capture_id = struct["charge_capture_id"]
75
77
  message = struct["message"]
76
78
  field_in_error = struct["field_in_error"]
77
- bundle_id = struct["bundle_id"]
79
+ claim_creation_id = struct["claim_creation_id"]
78
80
  new(
79
81
  id: id,
80
82
  charge_capture_id: charge_capture_id,
81
83
  message: message,
82
84
  field_in_error: field_in_error,
83
- bundle_id: bundle_id,
85
+ claim_creation_id: claim_creation_id,
84
86
  additional_properties: struct
85
87
  )
86
88
  end
@@ -103,7 +105,7 @@ module CandidApiClient
103
105
  obj.charge_capture_id&.is_a?(String) != false || raise("Passed value for field obj.charge_capture_id is not the expected type, validation failed.")
104
106
  obj.message.is_a?(String) != false || raise("Passed value for field obj.message is not the expected type, validation failed.")
105
107
  obj.field_in_error&.is_a?(String) != false || raise("Passed value for field obj.field_in_error is not the expected type, validation failed.")
106
- obj.bundle_id.is_a?(String) != false || raise("Passed value for field obj.bundle_id is not the expected type, validation failed.")
108
+ obj.claim_creation_id.is_a?(String) != false || raise("Passed value for field obj.claim_creation_id is not the expected type, validation failed.")
107
109
  end
108
110
  end
109
111
  end