candidhealth 0.46.0 → 0.46.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f08f5801fd6b3045ca91039153e930f57677a8563495d251b3da2f27fae736ba
|
4
|
+
data.tar.gz: 7a711a2827c01ec5749281389f1b78980a0b53c8a6649e9aa7b45f517e600858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 530d5a4263b205f5ec6083bcacb6cb15eeb7d99139b9c1c75f500bc4dd750d605ebb425987b2b9182862f944dca5ddc3cd4ad951191eb54be9f722889d34f269
|
7
|
+
data.tar.gz: ab9f05a7603b6226a8b2a456f0dda01599306047bc305ecff9827608ec741a9a7c911b4a2828d375b05ae07fb09f4038ef7705b813fdc58d8e6b51b92f7d868d
|
@@ -10,6 +10,7 @@ module CandidApiClient
|
|
10
10
|
MEDICAL_RECORDS_REQUESTED = "Medical Records Requested"
|
11
11
|
TIMELY_FILING = "Timely Filing"
|
12
12
|
DUPLICATE_CLAIM = "Duplicate Claim"
|
13
|
+
FULL_CONTRACTUAL_ADJUSTMENT = "Full Contractual Adjustment"
|
13
14
|
INCORRECT_PLACE_OF_SERVICE = "Incorrect Place of Service"
|
14
15
|
INCORRECT_PATIENT_GENDER = "Incorrect Patient Gender"
|
15
16
|
BUNDLED = "Bundled"
|
@@ -50,6 +50,8 @@ module CandidApiClient
|
|
50
50
|
attr_reader :assignments
|
51
51
|
# @return [CandidApiClient::Tasks::Commons::Types::TaskCategory]
|
52
52
|
attr_reader :category
|
53
|
+
# @return [String]
|
54
|
+
attr_reader :configurable_rule_id
|
53
55
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
54
56
|
attr_reader :additional_properties
|
55
57
|
# @return [Object]
|
@@ -76,10 +78,11 @@ module CandidApiClient
|
|
76
78
|
# @param date_of_service [Date]
|
77
79
|
# @param assignments [Array<CandidApiClient::Tasks::V3::Types::TaskAssignment>]
|
78
80
|
# @param category [CandidApiClient::Tasks::Commons::Types::TaskCategory]
|
81
|
+
# @param configurable_rule_id [String]
|
79
82
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
80
83
|
# @return [CandidApiClient::Tasks::V3::Types::Task]
|
81
84
|
def initialize(task_id:, encounter_id:, task_type:, description:, blocks_claim_submission:, external_id:,
|
82
|
-
patient_name:, patient_external_id:, status:, notes:, created_at:, updated_at:, agg_updated_at:, date_of_service:, assignments:, payer_name: OMIT, payer_id: OMIT, category: OMIT, additional_properties: nil)
|
85
|
+
patient_name:, patient_external_id:, status:, notes:, created_at:, updated_at:, agg_updated_at:, date_of_service:, assignments:, payer_name: OMIT, payer_id: OMIT, category: OMIT, configurable_rule_id: OMIT, additional_properties: nil)
|
83
86
|
@task_id = task_id
|
84
87
|
@encounter_id = encounter_id
|
85
88
|
@task_type = task_type
|
@@ -98,6 +101,7 @@ module CandidApiClient
|
|
98
101
|
@date_of_service = date_of_service
|
99
102
|
@assignments = assignments
|
100
103
|
@category = category if category != OMIT
|
104
|
+
@configurable_rule_id = configurable_rule_id if configurable_rule_id != OMIT
|
101
105
|
@additional_properties = additional_properties
|
102
106
|
@_field_set = {
|
103
107
|
"task_id": task_id,
|
@@ -117,7 +121,8 @@ module CandidApiClient
|
|
117
121
|
"agg_updated_at": agg_updated_at,
|
118
122
|
"date_of_service": date_of_service,
|
119
123
|
"assignments": assignments,
|
120
|
-
"category": category
|
124
|
+
"category": category,
|
125
|
+
"configurable_rule_id": configurable_rule_id
|
121
126
|
}.reject do |_k, v|
|
122
127
|
v == OMIT
|
123
128
|
end
|
@@ -154,6 +159,7 @@ module CandidApiClient
|
|
154
159
|
CandidApiClient::Tasks::V3::Types::TaskAssignment.from_json(json_object: item)
|
155
160
|
end
|
156
161
|
category = struct["category"]
|
162
|
+
configurable_rule_id = struct["configurable_rule_id"]
|
157
163
|
new(
|
158
164
|
task_id: task_id,
|
159
165
|
encounter_id: encounter_id,
|
@@ -173,6 +179,7 @@ module CandidApiClient
|
|
173
179
|
date_of_service: date_of_service,
|
174
180
|
assignments: assignments,
|
175
181
|
category: category,
|
182
|
+
configurable_rule_id: configurable_rule_id,
|
176
183
|
additional_properties: struct
|
177
184
|
)
|
178
185
|
end
|
@@ -209,6 +216,7 @@ module CandidApiClient
|
|
209
216
|
obj.date_of_service.is_a?(Date) != false || raise("Passed value for field obj.date_of_service is not the expected type, validation failed.")
|
210
217
|
obj.assignments.is_a?(Array) != false || raise("Passed value for field obj.assignments is not the expected type, validation failed.")
|
211
218
|
obj.category&.is_a?(CandidApiClient::Tasks::Commons::Types::TaskCategory) != false || raise("Passed value for field obj.category is not the expected type, validation failed.")
|
219
|
+
obj.configurable_rule_id&.is_a?(String) != false || raise("Passed value for field obj.configurable_rule_id is not the expected type, validation failed.")
|
212
220
|
end
|
213
221
|
end
|
214
222
|
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": "0.46.
|
48
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1" }
|
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": "0.46.
|
93
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1" }
|
94
94
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
95
95
|
headers
|
96
96
|
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.46.
|
4
|
+
version: 0.46.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|