candidhealth 1.3.0 → 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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/charge_capture/v_1/client.rb +28 -2
  3. data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb +4 -4
  4. data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create_optional.rb +4 -4
  5. data/lib/candidhealth/commons/types/next_responsible_party.rb +16 -0
  6. data/lib/candidhealth/contracts/v_2/client.rb +4 -4
  7. data/lib/candidhealth/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb +77 -0
  8. data/lib/candidhealth/encounters/v_4/client.rb +2 -0
  9. data/lib/candidhealth/encounters/v_4/types/encounter.rb +162 -2
  10. data/lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb +23 -0
  11. data/lib/candidhealth/exports/v_3/client.rb +16 -10
  12. data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +1 -0
  13. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +205 -2
  14. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation.rb +63 -0
  15. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation.rb +144 -0
  16. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info.rb +124 -0
  17. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload.rb +102 -0
  18. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation.rb +70 -0
  19. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload.rb +87 -0
  20. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/payer_search_response.rb +107 -0
  21. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request.rb +96 -0
  22. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer.rb +144 -0
  23. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item.rb +79 -0
  24. data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_item.rb +28 -1
  25. data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +8 -0
  26. data/lib/candidhealth/pre_encounter/tags/v_1/types/mutable_tag.rb +22 -3
  27. data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +21 -3
  28. data/lib/candidhealth/service_lines/v_2/client.rb +4 -0
  29. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +18 -2
  30. data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +10 -2
  31. data/lib/candidhealth/service_lines/v_2/types/service_line_create_optional.rb +10 -2
  32. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone.rb +10 -2
  33. data/lib/candidhealth/service_lines/v_2/types/service_line_update.rb +10 -2
  34. data/lib/candidhealth/x_12/v_1/types/patient_discharge_status_code.rb +52 -0
  35. data/lib/candidhealth/x_12/v_1/types/point_of_origin_for_admission_or_visit_code.rb +23 -0
  36. data/lib/candidhealth/x_12/v_1/types/type_of_admission_or_visit_code.rb +18 -0
  37. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite.rb +98 -0
  38. data/lib/candidhealth/x_12/v_1/types/type_of_bill_frequency_code.rb +39 -0
  39. data/lib/candidhealth/x_12/v_1/types/type_of_care_code.rb +21 -0
  40. data/lib/candidhealth/x_12/v_1/types/type_of_facility_code.rb +19 -0
  41. data/lib/requests.rb +2 -2
  42. data/lib/types_export.rb +20 -1
  43. metadata +22 -3
  44. data/lib/candidhealth/claim_submission/v_1/types/claim_frequency_type_code.rb +0 -15
@@ -74,6 +74,8 @@ module CandidApiClient
74
74
  # If the value is true, the box will be populated with "Y". Otherwise, the box
75
75
  # will not be populated.
76
76
  attr_reader :has_family_planning_indicator
77
+ # @return [String] Maps to NTE02 loop 2400 on the EDI 837.
78
+ attr_reader :note
77
79
  # @return [OpenStruct] Additional properties unmapped to the current class definition
78
80
  attr_reader :additional_properties
79
81
  # @return [Object]
@@ -120,10 +122,11 @@ module CandidApiClient
120
122
  # @param has_family_planning_indicator [Boolean] Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
121
123
  # If the value is true, the box will be populated with "Y". Otherwise, the box
122
124
  # will not be populated.
125
+ # @param note [String] Maps to NTE02 loop 2400 on the EDI 837.
123
126
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
124
127
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateStandalone]
125
128
  def initialize(procedure_code:, quantity:, units:, claim_id:, modifiers: OMIT, charge_amount_cents: OMIT, diagnosis_id_zero: OMIT, diagnosis_id_one: OMIT,
126
- diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, drug_identification: OMIT, ordering_provider: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, additional_properties: nil)
129
+ diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, drug_identification: OMIT, ordering_provider: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, note: OMIT, additional_properties: nil)
127
130
  @modifiers = modifiers if modifiers != OMIT
128
131
  @charge_amount_cents = charge_amount_cents if charge_amount_cents != OMIT
129
132
  @diagnosis_id_zero = diagnosis_id_zero if diagnosis_id_zero != OMIT
@@ -144,6 +147,7 @@ module CandidApiClient
144
147
  @test_results = test_results if test_results != OMIT
145
148
  @has_epsdt_indicator = has_epsdt_indicator if has_epsdt_indicator != OMIT
146
149
  @has_family_planning_indicator = has_family_planning_indicator if has_family_planning_indicator != OMIT
150
+ @note = note if note != OMIT
147
151
  @additional_properties = additional_properties
148
152
  @_field_set = {
149
153
  "modifiers": modifiers,
@@ -165,7 +169,8 @@ module CandidApiClient
165
169
  "ordering_provider": ordering_provider,
166
170
  "test_results": test_results,
167
171
  "has_epsdt_indicator": has_epsdt_indicator,
168
- "has_family_planning_indicator": has_family_planning_indicator
172
+ "has_family_planning_indicator": has_family_planning_indicator,
173
+ "note": note
169
174
  }.reject do |_k, v|
170
175
  v == OMIT
171
176
  end
@@ -218,6 +223,7 @@ module CandidApiClient
218
223
  end
219
224
  has_epsdt_indicator = struct["has_epsdt_indicator"]
220
225
  has_family_planning_indicator = struct["has_family_planning_indicator"]
226
+ note = struct["note"]
221
227
  new(
222
228
  modifiers: modifiers,
223
229
  charge_amount_cents: charge_amount_cents,
@@ -239,6 +245,7 @@ module CandidApiClient
239
245
  test_results: test_results,
240
246
  has_epsdt_indicator: has_epsdt_indicator,
241
247
  has_family_planning_indicator: has_family_planning_indicator,
248
+ note: note,
242
249
  additional_properties: struct
243
250
  )
244
251
  end
@@ -277,6 +284,7 @@ module CandidApiClient
277
284
  obj.test_results&.is_a?(Array) != false || raise("Passed value for field obj.test_results is not the expected type, validation failed.")
278
285
  obj.has_epsdt_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_epsdt_indicator is not the expected type, validation failed.")
279
286
  obj.has_family_planning_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_family_planning_indicator is not the expected type, validation failed.")
287
+ obj.note&.is_a?(String) != false || raise("Passed value for field obj.note is not the expected type, validation failed.")
280
288
  end
281
289
  end
282
290
  end
@@ -74,6 +74,8 @@ module CandidApiClient
74
74
  # If the value is true, the box will be populated with "Y". Otherwise, the box
75
75
  # will not be populated.
76
76
  attr_reader :has_family_planning_indicator
77
+ # @return [String] Maps to NTE02 loop 2400 on the EDI 837.
78
+ attr_reader :note
77
79
  # @return [OpenStruct] Additional properties unmapped to the current class definition
78
80
  attr_reader :additional_properties
79
81
  # @return [Object]
@@ -122,10 +124,11 @@ module CandidApiClient
122
124
  # @param has_family_planning_indicator [Boolean] Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
123
125
  # If the value is true, the box will be populated with "Y". Otherwise, the box
124
126
  # will not be populated.
127
+ # @param note [String] Maps to NTE02 loop 2400 on the EDI 837.
125
128
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
126
129
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLineUpdate]
127
130
  def initialize(edit_reason: OMIT, modifiers: OMIT, charge_amount_cents: OMIT, diagnosis_id_zero: OMIT,
128
- diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, drug_identification: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, units: OMIT, procedure_code: OMIT, quantity: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, additional_properties: nil)
131
+ diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, drug_identification: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, units: OMIT, procedure_code: OMIT, quantity: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, note: OMIT, additional_properties: nil)
129
132
  @edit_reason = edit_reason if edit_reason != OMIT
130
133
  @modifiers = modifiers if modifiers != OMIT
131
134
  @charge_amount_cents = charge_amount_cents if charge_amount_cents != OMIT
@@ -145,6 +148,7 @@ module CandidApiClient
145
148
  @test_results = test_results if test_results != OMIT
146
149
  @has_epsdt_indicator = has_epsdt_indicator if has_epsdt_indicator != OMIT
147
150
  @has_family_planning_indicator = has_family_planning_indicator if has_family_planning_indicator != OMIT
151
+ @note = note if note != OMIT
148
152
  @additional_properties = additional_properties
149
153
  @_field_set = {
150
154
  "edit_reason": edit_reason,
@@ -165,7 +169,8 @@ module CandidApiClient
165
169
  "end_date_of_service": end_date_of_service,
166
170
  "test_results": test_results,
167
171
  "has_epsdt_indicator": has_epsdt_indicator,
168
- "has_family_planning_indicator": has_family_planning_indicator
172
+ "has_family_planning_indicator": has_family_planning_indicator,
173
+ "note": note
169
174
  }.reject do |_k, v|
170
175
  v == OMIT
171
176
  end
@@ -212,6 +217,7 @@ module CandidApiClient
212
217
  end
213
218
  has_epsdt_indicator = struct["has_epsdt_indicator"]
214
219
  has_family_planning_indicator = struct["has_family_planning_indicator"]
220
+ note = struct["note"]
215
221
  new(
216
222
  edit_reason: edit_reason,
217
223
  modifiers: modifiers,
@@ -232,6 +238,7 @@ module CandidApiClient
232
238
  test_results: test_results,
233
239
  has_epsdt_indicator: has_epsdt_indicator,
234
240
  has_family_planning_indicator: has_family_planning_indicator,
241
+ note: note,
235
242
  additional_properties: struct
236
243
  )
237
244
  end
@@ -269,6 +276,7 @@ module CandidApiClient
269
276
  obj.test_results&.is_a?(Array) != false || raise("Passed value for field obj.test_results is not the expected type, validation failed.")
270
277
  obj.has_epsdt_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_epsdt_indicator is not the expected type, validation failed.")
271
278
  obj.has_family_planning_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_family_planning_indicator is not the expected type, validation failed.")
279
+ obj.note&.is_a?(String) != false || raise("Passed value for field obj.note is not the expected type, validation failed.")
272
280
  end
273
281
  end
274
282
  end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module X12
5
+ module V1
6
+ module Types
7
+ class PatientDischargeStatusCode
8
+ C_01 = "01"
9
+ C_02 = "02"
10
+ C_03 = "03"
11
+ C_04 = "04"
12
+ C_05 = "05"
13
+ C_06 = "06"
14
+ C_07 = "07"
15
+ C_09 = "09"
16
+ C_20 = "20"
17
+ C_21 = "21"
18
+ C_30 = "30"
19
+ C_40 = "40"
20
+ C_41 = "41"
21
+ C_42 = "42"
22
+ C_43 = "43"
23
+ C_50 = "50"
24
+ C_51 = "51"
25
+ C_61 = "61"
26
+ C_62 = "62"
27
+ C_63 = "63"
28
+ C_64 = "64"
29
+ C_65 = "65"
30
+ C_66 = "66"
31
+ C_69 = "69"
32
+ C_70 = "70"
33
+ C_81 = "81"
34
+ C_82 = "82"
35
+ C_83 = "83"
36
+ C_84 = "84"
37
+ C_85 = "85"
38
+ C_86 = "86"
39
+ C_87 = "87"
40
+ C_88 = "88"
41
+ C_89 = "89"
42
+ C_90 = "90"
43
+ C_91 = "91"
44
+ C_92 = "92"
45
+ C_93 = "93"
46
+ C_94 = "94"
47
+ C_95 = "95"
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module X12
5
+ module V1
6
+ module Types
7
+ class PointOfOriginForAdmissionOrVisitCode
8
+ C_1 = "1"
9
+ C_2 = "2"
10
+ C_4 = "4"
11
+ C_5 = "5"
12
+ C_6 = "6"
13
+ C_8 = "8"
14
+ C_9 = "9"
15
+ CD = "D"
16
+ CE = "E"
17
+ CF = "F"
18
+ CG = "G"
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module X12
5
+ module V1
6
+ module Types
7
+ class TypeOfAdmissionOrVisitCode
8
+ C_1 = "1"
9
+ C_2 = "2"
10
+ C_3 = "3"
11
+ C_4 = "4"
12
+ C_5 = "5"
13
+ C_9 = "9"
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,98 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "type_of_facility_code"
4
+ require_relative "type_of_care_code"
5
+ require_relative "type_of_bill_frequency_code"
6
+ require "ostruct"
7
+ require "json"
8
+
9
+ module CandidApiClient
10
+ module X12
11
+ module V1
12
+ module Types
13
+ class TypeOfBillComposite
14
+ # @return [String] The composite, 4 digit code of the composite, starting with a padding code 0.
15
+ attr_reader :code
16
+ # @return [CandidApiClient::X12::V1::Types::TypeOfFacilityCode] The FL04 Institutional type of facility code for the bill. The second digit of
17
+ # the composite code.
18
+ attr_reader :type_of_facility
19
+ # @return [CandidApiClient::X12::V1::Types::TypeOfCareCode] The FL04 Institutional type of care code for the bill. The second digit of the
20
+ # composite code.
21
+ attr_reader :type_of_care
22
+ # @return [CandidApiClient::X12::V1::Types::TypeOfBillFrequencyCode] The FL04 Institutional frequency code for the bill. The fourth digit of the
23
+ # composite code.
24
+ attr_reader :frequency_code
25
+ # @return [OpenStruct] Additional properties unmapped to the current class definition
26
+ attr_reader :additional_properties
27
+ # @return [Object]
28
+ attr_reader :_field_set
29
+ protected :_field_set
30
+
31
+ OMIT = Object.new
32
+
33
+ # @param code [String] The composite, 4 digit code of the composite, starting with a padding code 0.
34
+ # @param type_of_facility [CandidApiClient::X12::V1::Types::TypeOfFacilityCode] The FL04 Institutional type of facility code for the bill. The second digit of
35
+ # the composite code.
36
+ # @param type_of_care [CandidApiClient::X12::V1::Types::TypeOfCareCode] The FL04 Institutional type of care code for the bill. The second digit of the
37
+ # composite code.
38
+ # @param frequency_code [CandidApiClient::X12::V1::Types::TypeOfBillFrequencyCode] The FL04 Institutional frequency code for the bill. The fourth digit of the
39
+ # composite code.
40
+ # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
41
+ # @return [CandidApiClient::X12::V1::Types::TypeOfBillComposite]
42
+ def initialize(code:, type_of_facility:, type_of_care:, frequency_code:, additional_properties: nil)
43
+ @code = code
44
+ @type_of_facility = type_of_facility
45
+ @type_of_care = type_of_care
46
+ @frequency_code = frequency_code
47
+ @additional_properties = additional_properties
48
+ @_field_set = {
49
+ "code": code,
50
+ "type_of_facility": type_of_facility,
51
+ "type_of_care": type_of_care,
52
+ "frequency_code": frequency_code
53
+ }
54
+ end
55
+
56
+ # Deserialize a JSON object to an instance of TypeOfBillComposite
57
+ #
58
+ # @param json_object [String]
59
+ # @return [CandidApiClient::X12::V1::Types::TypeOfBillComposite]
60
+ def self.from_json(json_object:)
61
+ struct = JSON.parse(json_object, object_class: OpenStruct)
62
+ code = struct["code"]
63
+ type_of_facility = struct["type_of_facility"]
64
+ type_of_care = struct["type_of_care"]
65
+ frequency_code = struct["frequency_code"]
66
+ new(
67
+ code: code,
68
+ type_of_facility: type_of_facility,
69
+ type_of_care: type_of_care,
70
+ frequency_code: frequency_code,
71
+ additional_properties: struct
72
+ )
73
+ end
74
+
75
+ # Serialize an instance of TypeOfBillComposite to a JSON object
76
+ #
77
+ # @return [String]
78
+ def to_json(*_args)
79
+ @_field_set&.to_json
80
+ end
81
+
82
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
83
+ # hash and check each fields type against the current object's property
84
+ # definitions.
85
+ #
86
+ # @param obj [Object]
87
+ # @return [Void]
88
+ def self.validate_raw(obj:)
89
+ obj.code.is_a?(String) != false || raise("Passed value for field obj.code is not the expected type, validation failed.")
90
+ obj.type_of_facility.is_a?(CandidApiClient::X12::V1::Types::TypeOfFacilityCode) != false || raise("Passed value for field obj.type_of_facility is not the expected type, validation failed.")
91
+ obj.type_of_care.is_a?(CandidApiClient::X12::V1::Types::TypeOfCareCode) != false || raise("Passed value for field obj.type_of_care is not the expected type, validation failed.")
92
+ obj.frequency_code.is_a?(CandidApiClient::X12::V1::Types::TypeOfBillFrequencyCode) != false || raise("Passed value for field obj.frequency_code is not the expected type, validation failed.")
93
+ end
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module X12
5
+ module V1
6
+ module Types
7
+ class TypeOfBillFrequencyCode
8
+ C_0 = "0"
9
+ C_1 = "1"
10
+ C_2 = "2"
11
+ C_3 = "3"
12
+ C_4 = "4"
13
+ C_5 = "5"
14
+ C_7 = "7"
15
+ C_8 = "8"
16
+ C_9 = "9"
17
+ CA = "A"
18
+ CB = "B"
19
+ CC = "C"
20
+ CD = "D"
21
+ CE = "E"
22
+ CF = "F"
23
+ CG = "G"
24
+ CH = "H"
25
+ CI = "I"
26
+ CJ = "J"
27
+ CK = "K"
28
+ CM = "M"
29
+ CO_FREQ = "O"
30
+ CP = "P"
31
+ CQ = "Q"
32
+ CX = "X"
33
+ CY_FREQ = "Y"
34
+ CZ_FREQ = "Z"
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module X12
5
+ module V1
6
+ module Types
7
+ class TypeOfCareCode
8
+ C_1 = "1"
9
+ C_2 = "2"
10
+ C_3 = "3"
11
+ C_4 = "4"
12
+ C_5 = "5"
13
+ C_6 = "6"
14
+ C_7 = "7"
15
+ C_8 = "8"
16
+ C_9 = "9"
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module X12
5
+ module V1
6
+ module Types
7
+ class TypeOfFacilityCode
8
+ C_1 = "1"
9
+ C_2 = "2"
10
+ C_3 = "3"
11
+ C_4 = "4"
12
+ C_6 = "6"
13
+ C_7 = "7"
14
+ C_8 = "8"
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
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.3.0" }
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.3.0" }
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"
@@ -458,12 +475,14 @@ require_relative "candidhealth/commons/types/delay_reason_code"
458
475
  require_relative "candidhealth/commons/types/intended_submission_medium"
459
476
  require_relative "candidhealth/commons/types/billing_provider_commercial_license_type"
460
477
  require_relative "candidhealth/commons/types/epsdt_referral_condition_indicator_code"
478
+ require_relative "candidhealth/commons/types/next_responsible_party"
461
479
  require_relative "candidhealth/diagnoses/types/diagnosis_create_optional"
462
480
  require_relative "candidhealth/diagnoses/types/diagnosis_create"
463
481
  require_relative "candidhealth/diagnoses/types/standalone_diagnosis_create"
464
482
  require_relative "candidhealth/diagnoses/types/diagnosis_type_code"
465
483
  require_relative "candidhealth/diagnoses/types/diagnosis"
466
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"
467
486
  require_relative "candidhealth/era_commons/types/claim_status_code_create"
468
487
  require_relative "candidhealth/era/types/era_base"
469
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.3.0
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-06-20 00:00:00.000000000 Z
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
@@ -182,6 +181,7 @@ files:
182
181
  - lib/candidhealth/commons/types/insurance_type_code.rb
183
182
  - lib/candidhealth/commons/types/intended_submission_medium.rb
184
183
  - lib/candidhealth/commons/types/network_type.rb
184
+ - lib/candidhealth/commons/types/next_responsible_party.rb
185
185
  - lib/candidhealth/commons/types/organization_not_authorized_error_message.rb
186
186
  - lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb
187
187
  - lib/candidhealth/commons/types/phone_number.rb
@@ -246,6 +246,7 @@ files:
246
246
  - lib/candidhealth/diagnoses/types/diagnosis_create_optional.rb
247
247
  - lib/candidhealth/diagnoses/types/diagnosis_not_found_error.rb
248
248
  - lib/candidhealth/diagnoses/types/diagnosis_type_code.rb
249
+ - lib/candidhealth/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb
249
250
  - lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb
250
251
  - lib/candidhealth/eligibility/client.rb
251
252
  - lib/candidhealth/eligibility/v_2/client.rb
@@ -299,6 +300,7 @@ files:
299
300
  - lib/candidhealth/encounters/v_4/types/encounter_page.rb
300
301
  - lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb
301
302
  - lib/candidhealth/encounters/v_4/types/encounter_sort_options.rb
303
+ - lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb
302
304
  - lib/candidhealth/encounters/v_4/types/encounter_submission_origin_type.rb
303
305
  - lib/candidhealth/encounters/v_4/types/epsdt_referral.rb
304
306
  - lib/candidhealth/encounters/v_4/types/epsdt_referral_optional.rb
@@ -644,6 +646,7 @@ files:
644
646
  - lib/candidhealth/pre_encounter/eligibility_checks/client.rb
645
647
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb
646
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
647
650
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check.rb
648
651
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error.rb
649
652
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_details.rb
@@ -651,15 +654,24 @@ files:
651
654
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_metadata.rb
652
655
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_page.rb
653
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
654
660
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_request.rb
655
661
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_response.rb
656
662
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_status.rb
657
663
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/encounter.rb
658
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
659
667
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/organization_provider.rb
660
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
661
671
  - lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/provider.rb
662
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
663
675
  - lib/candidhealth/pre_encounter/images/client.rb
664
676
  - lib/candidhealth/pre_encounter/images/v_1/client.rb
665
677
  - lib/candidhealth/pre_encounter/images/v_1/types/coverage_association.rb
@@ -765,8 +777,15 @@ files:
765
777
  - lib/candidhealth/write_offs/v_1/types/write_offs_page.rb
766
778
  - lib/candidhealth/x_12/v_1/types/carc.rb
767
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
768
782
  - lib/candidhealth/x_12/v_1/types/rarc.rb
769
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
770
789
  - lib/candidhealth/yes_no_indicator/types/yes_no_indicator.rb
771
790
  - lib/core/file_utilities.rb
772
791
  - lib/core/oauth.rb
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module CandidApiClient
4
- module ClaimSubmission
5
- module V1
6
- module Types
7
- class ClaimFrequencyTypeCode
8
- ORIGINAL = "1"
9
- REPLACEMENT = "7"
10
- VOID = "8"
11
- end
12
- end
13
- end
14
- end
15
- end