candidhealth 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb +4 -4
- data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create_optional.rb +4 -4
- data/lib/candidhealth/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb +77 -0
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +151 -2
- data/lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb +23 -0
- data/lib/candidhealth/exports/v_3/client.rb +16 -10
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +205 -2
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation.rb +63 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation.rb +144 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info.rb +124 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload.rb +102 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation.rb +70 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload.rb +87 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/payer_search_response.rb +107 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request.rb +96 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer.rb +144 -0
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item.rb +79 -0
- data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_item.rb +28 -1
- data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +8 -0
- data/lib/candidhealth/pre_encounter/tags/v_1/types/mutable_tag.rb +22 -3
- data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +21 -3
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +9 -1
- data/lib/candidhealth/x_12/v_1/types/patient_discharge_status_code.rb +52 -0
- data/lib/candidhealth/x_12/v_1/types/point_of_origin_for_admission_or_visit_code.rb +23 -0
- data/lib/candidhealth/x_12/v_1/types/type_of_admission_or_visit_code.rb +18 -0
- data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite.rb +98 -0
- data/lib/candidhealth/x_12/v_1/types/type_of_bill_frequency_code.rb +39 -0
- data/lib/candidhealth/x_12/v_1/types/type_of_care_code.rb +21 -0
- data/lib/candidhealth/x_12/v_1/types/type_of_facility_code.rb +19 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +19 -1
- metadata +21 -3
- data/lib/candidhealth/claim_submission/v_1/types/claim_frequency_type_code.rb +0 -15
data/lib/requests.rb
CHANGED
@@ -45,7 +45,7 @@ module CandidApiClient
|
|
45
45
|
|
46
46
|
# @return [Hash{String => String}]
|
47
47
|
def get_headers
|
48
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
48
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0" }
|
49
49
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
50
50
|
headers
|
51
51
|
end
|
@@ -90,7 +90,7 @@ module CandidApiClient
|
|
90
90
|
|
91
91
|
# @return [Hash{String => String}]
|
92
92
|
def get_headers
|
93
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
93
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0" }
|
94
94
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
95
95
|
headers
|
96
96
|
end
|
data/lib/types_export.rb
CHANGED
@@ -19,7 +19,6 @@ require_relative "candidhealth/charge_capture/v_1/types/charge_capture_sort_fiel
|
|
19
19
|
require_relative "candidhealth/charge_capture/v_1/types/charge_capture_status"
|
20
20
|
require_relative "candidhealth/charge_capture/v_1/types/charge_capture_post_billed_change"
|
21
21
|
require_relative "candidhealth/charge_capture/v_1/types/charge_external_id_conflict_error_message"
|
22
|
-
require_relative "candidhealth/claim_submission/v_1/types/claim_frequency_type_code"
|
23
22
|
require_relative "candidhealth/claim_submission/v_1/types/external_claim_submission_create"
|
24
23
|
require_relative "candidhealth/claim_submission/v_1/types/external_claim_submission_create_optional"
|
25
24
|
require_relative "candidhealth/claim_submission/v_1/types/claim_submission_record_create"
|
@@ -131,6 +130,7 @@ require_relative "candidhealth/encounters/v_4/types/value_does_not_match_key_typ
|
|
131
130
|
require_relative "candidhealth/encounters/v_4/types/multiple_instances_for_schema_error"
|
132
131
|
require_relative "candidhealth/encounters/v_4/types/schema_instance_validation_error"
|
133
132
|
require_relative "candidhealth/encounters/v_4/types/payer_plan_group_payer_does_not_match_insurance_card_error"
|
133
|
+
require_relative "candidhealth/encounters/v_4/types/encounter_submission_expectation"
|
134
134
|
require_relative "candidhealth/expected_network_status/v_1/types/expected_network_status"
|
135
135
|
require_relative "candidhealth/expected_network_status/v_1/types/expected_network_status_response"
|
136
136
|
require_relative "candidhealth/expected_network_status/v_2/types/line_of_business"
|
@@ -333,6 +333,13 @@ require_relative "candidhealth/x_12/v_1/types/claim_adjustment_reason_code"
|
|
333
333
|
require_relative "candidhealth/x_12/v_1/types/remittance_advice_remark_code"
|
334
334
|
require_relative "candidhealth/x_12/v_1/types/carc"
|
335
335
|
require_relative "candidhealth/x_12/v_1/types/rarc"
|
336
|
+
require_relative "candidhealth/x_12/v_1/types/type_of_facility_code"
|
337
|
+
require_relative "candidhealth/x_12/v_1/types/type_of_care_code"
|
338
|
+
require_relative "candidhealth/x_12/v_1/types/type_of_bill_frequency_code"
|
339
|
+
require_relative "candidhealth/x_12/v_1/types/type_of_bill_composite"
|
340
|
+
require_relative "candidhealth/x_12/v_1/types/type_of_admission_or_visit_code"
|
341
|
+
require_relative "candidhealth/x_12/v_1/types/point_of_origin_for_admission_or_visit_code"
|
342
|
+
require_relative "candidhealth/x_12/v_1/types/patient_discharge_status_code"
|
336
343
|
require_relative "candidhealth/pre_encounter/appointments/v_1/types/appointment_work_queue"
|
337
344
|
require_relative "candidhealth/pre_encounter/appointments/v_1/types/universal_service_identifier"
|
338
345
|
require_relative "candidhealth/pre_encounter/appointments/v_1/types/appointment_status"
|
@@ -376,6 +383,13 @@ require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/provid
|
|
376
383
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/encounter"
|
377
384
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_status"
|
378
385
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_status"
|
386
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload"
|
387
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation"
|
388
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation"
|
389
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info"
|
390
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload"
|
391
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation"
|
392
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request"
|
379
393
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_metadata"
|
380
394
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_request"
|
381
395
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/request_correction"
|
@@ -387,6 +401,9 @@ require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligib
|
|
387
401
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_response"
|
388
402
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_response"
|
389
403
|
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_page"
|
404
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer"
|
405
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item"
|
406
|
+
require_relative "candidhealth/pre_encounter/eligibility_checks/v_1/types/payer_search_response"
|
390
407
|
require_relative "candidhealth/pre_encounter/images/v_1/types/image_status"
|
391
408
|
require_relative "candidhealth/pre_encounter/images/v_1/types/coverage_image_side"
|
392
409
|
require_relative "candidhealth/pre_encounter/images/v_1/types/coverage_association"
|
@@ -465,6 +482,7 @@ require_relative "candidhealth/diagnoses/types/standalone_diagnosis_create"
|
|
465
482
|
require_relative "candidhealth/diagnoses/types/diagnosis_type_code"
|
466
483
|
require_relative "candidhealth/diagnoses/types/diagnosis"
|
467
484
|
require_relative "candidhealth/diagnoses/types/diagnosis_not_found_error"
|
485
|
+
require_relative "candidhealth/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error"
|
468
486
|
require_relative "candidhealth/era_commons/types/claim_status_code_create"
|
469
487
|
require_relative "candidhealth/era/types/era_base"
|
470
488
|
require_relative "candidhealth/era/types/era_not_fully_processed_error_message"
|
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: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|
@@ -158,7 +158,6 @@ files:
|
|
158
158
|
- lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_sort_field.rb
|
159
159
|
- lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_status.rb
|
160
160
|
- lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_summary.rb
|
161
|
-
- lib/candidhealth/claim_submission/v_1/types/claim_frequency_type_code.rb
|
162
161
|
- lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb
|
163
162
|
- lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create_optional.rb
|
164
163
|
- lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create.rb
|
@@ -247,6 +246,7 @@ files:
|
|
247
246
|
- lib/candidhealth/diagnoses/types/diagnosis_create_optional.rb
|
248
247
|
- lib/candidhealth/diagnoses/types/diagnosis_not_found_error.rb
|
249
248
|
- lib/candidhealth/diagnoses/types/diagnosis_type_code.rb
|
249
|
+
- lib/candidhealth/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb
|
250
250
|
- lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb
|
251
251
|
- lib/candidhealth/eligibility/client.rb
|
252
252
|
- lib/candidhealth/eligibility/v_2/client.rb
|
@@ -300,6 +300,7 @@ files:
|
|
300
300
|
- lib/candidhealth/encounters/v_4/types/encounter_page.rb
|
301
301
|
- lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb
|
302
302
|
- lib/candidhealth/encounters/v_4/types/encounter_sort_options.rb
|
303
|
+
- lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb
|
303
304
|
- lib/candidhealth/encounters/v_4/types/encounter_submission_origin_type.rb
|
304
305
|
- lib/candidhealth/encounters/v_4/types/epsdt_referral.rb
|
305
306
|
- lib/candidhealth/encounters/v_4/types/epsdt_referral_optional.rb
|
@@ -645,6 +646,7 @@ files:
|
|
645
646
|
- lib/candidhealth/pre_encounter/eligibility_checks/client.rb
|
646
647
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb
|
647
648
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_response.rb
|
649
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation.rb
|
648
650
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check.rb
|
649
651
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error.rb
|
650
652
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_details.rb
|
@@ -652,15 +654,24 @@ files:
|
|
652
654
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_metadata.rb
|
653
655
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_page.rb
|
654
656
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_status.rb
|
657
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation.rb
|
658
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info.rb
|
659
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload.rb
|
655
660
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_request.rb
|
656
661
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_response.rb
|
657
662
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_status.rb
|
658
663
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/encounter.rb
|
659
664
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/individual_provider.rb
|
665
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation.rb
|
666
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload.rb
|
660
667
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/organization_provider.rb
|
661
668
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/parsed_response.rb
|
669
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/payer_search_response.rb
|
670
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request.rb
|
662
671
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/provider.rb
|
663
672
|
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/request_correction.rb
|
673
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer.rb
|
674
|
+
- lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item.rb
|
664
675
|
- lib/candidhealth/pre_encounter/images/client.rb
|
665
676
|
- lib/candidhealth/pre_encounter/images/v_1/client.rb
|
666
677
|
- lib/candidhealth/pre_encounter/images/v_1/types/coverage_association.rb
|
@@ -766,8 +777,15 @@ files:
|
|
766
777
|
- lib/candidhealth/write_offs/v_1/types/write_offs_page.rb
|
767
778
|
- lib/candidhealth/x_12/v_1/types/carc.rb
|
768
779
|
- lib/candidhealth/x_12/v_1/types/claim_adjustment_reason_code.rb
|
780
|
+
- lib/candidhealth/x_12/v_1/types/patient_discharge_status_code.rb
|
781
|
+
- lib/candidhealth/x_12/v_1/types/point_of_origin_for_admission_or_visit_code.rb
|
769
782
|
- lib/candidhealth/x_12/v_1/types/rarc.rb
|
770
783
|
- lib/candidhealth/x_12/v_1/types/remittance_advice_remark_code.rb
|
784
|
+
- lib/candidhealth/x_12/v_1/types/type_of_admission_or_visit_code.rb
|
785
|
+
- lib/candidhealth/x_12/v_1/types/type_of_bill_composite.rb
|
786
|
+
- lib/candidhealth/x_12/v_1/types/type_of_bill_frequency_code.rb
|
787
|
+
- lib/candidhealth/x_12/v_1/types/type_of_care_code.rb
|
788
|
+
- lib/candidhealth/x_12/v_1/types/type_of_facility_code.rb
|
771
789
|
- lib/candidhealth/yes_no_indicator/types/yes_no_indicator.rb
|
772
790
|
- lib/core/file_utilities.rb
|
773
791
|
- lib/core/oauth.rb
|