change_health 5.13.1 → 5.13.2
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/CHANGELOG.md +10 -0
- data/lib/change_health/response/claim/report/report_835_data.rb +14 -9
- data/lib/change_health/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c95b37ea0d630e1b501ad965c147d322c1be1bbd9298b5c0da933fd9aa445b5
|
|
4
|
+
data.tar.gz: 33c0714782d1d1aca7c5ea4653ca02886287c885d66922a863ab18d5cc4a31a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 921d83689411006e810ffd34ef3bab0be2b6442ca1623f0b2be26035433d1915cb7bcd3a58e98cc61a53f0300a16766cd90215701c08a14c49b68ae258261fb0
|
|
7
|
+
data.tar.gz: 58ed6ee76be49d56149b2b0329a81fe5d71c9d6736170fc311f1027cf0feb304b2c5fa29f17a3965a9cf91a2b08a29f20d906223eebc3482cc619ce559c5a431
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
# [5.13.2] - 2024-05-16
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
* For ChangeHealth::Response::Claim::Report835Data, the following lists of values will now ignore empty "" in the json, even if the WHOLE field is empty
|
|
13
|
+
- claim_payment_remark_codes
|
|
14
|
+
- claim_adjustments
|
|
15
|
+
- service_adjustments
|
|
16
|
+
|
|
8
17
|
# [5.13.1] - 2024-05-15
|
|
9
18
|
|
|
10
19
|
### Fixed
|
|
@@ -677,6 +686,7 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
|
677
686
|
* Authentication
|
|
678
687
|
* Configuration
|
|
679
688
|
|
|
689
|
+
[5.13.2]: https://github.com/WeInfuse/change_health/compare/v5.13.1...v5.13.2
|
|
680
690
|
[5.13.1]: https://github.com/WeInfuse/change_health/compare/v5.13.0...v5.13.1
|
|
681
691
|
[5.13.0]: https://github.com/WeInfuse/change_health/compare/v5.12.1...v5.13.0
|
|
682
692
|
[5.12.1]: https://github.com/WeInfuse/change_health/compare/v5.12.0...v5.12.1
|
|
@@ -110,13 +110,16 @@ module ChangeHealth
|
|
|
110
110
|
|
|
111
111
|
service_adjustments = adjustments(service_line['serviceAdjustments'])
|
|
112
112
|
|
|
113
|
-
health_care_check_remark_codes = service_line['healthCareCheckRemarkCodes']&.
|
|
113
|
+
health_care_check_remark_codes = presence(service_line['healthCareCheckRemarkCodes']&.filter_map do |health_care_check_remark_code|
|
|
114
|
+
remark_code = health_care_check_remark_code['remarkCode']
|
|
115
|
+
next unless presence(remark_code)
|
|
116
|
+
|
|
114
117
|
Report835HealthCareCheckRemarkCode.new(
|
|
115
118
|
code_list_qualifier_code: health_care_check_remark_code['codeListQualifierCode'],
|
|
116
119
|
code_list_qualifier_code_value: health_care_check_remark_code['codeListQualifierCodeValue'],
|
|
117
|
-
remark_code:
|
|
120
|
+
remark_code: remark_code
|
|
118
121
|
)
|
|
119
|
-
end
|
|
122
|
+
end)
|
|
120
123
|
|
|
121
124
|
Report835ServiceLine.new(
|
|
122
125
|
adjudicated_procedure_code: adjudicated_procedure_code,
|
|
@@ -178,7 +181,7 @@ module ChangeHealth
|
|
|
178
181
|
private
|
|
179
182
|
|
|
180
183
|
def adjustments(list)
|
|
181
|
-
list&.
|
|
184
|
+
presence(list&.filter_map do |adjustment|
|
|
182
185
|
adjustments = {}
|
|
183
186
|
adjustment_index = 1
|
|
184
187
|
loop do
|
|
@@ -192,11 +195,13 @@ module ChangeHealth
|
|
|
192
195
|
|
|
193
196
|
claim_adjustment_group_code = adjustment['claimAdjustmentGroupCode']
|
|
194
197
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
if presence(adjustments)
|
|
199
|
+
Report835ServiceAdjustment.new(
|
|
200
|
+
adjustments: adjustments,
|
|
201
|
+
claim_adjustment_group_code: claim_adjustment_group_code
|
|
202
|
+
)
|
|
203
|
+
end
|
|
204
|
+
end)
|
|
200
205
|
end
|
|
201
206
|
end
|
|
202
207
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: change_health
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.13.
|
|
4
|
+
version: 5.13.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Crockett
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-05-
|
|
11
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|