change_health 4.2.4 → 4.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/change_health/response/claim/report/report_835_data.rb +7 -3
- 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: 06c3344f947cb5ccda66985c169972e67a794633620d028c440d9076d3cf944f
|
4
|
+
data.tar.gz: 426f3b89ff3dbae1b807bcdab97ce1208f916d20dd12699a5df62fc9621e683a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab258da80630ce40c87acc078cc55550b652574675a7441f213cbab3a43ab9de42ae3bda9f4e2b7527e0fd82206a9f7e0b2dd384f6a41e8197ef6ac0c66735b9
|
7
|
+
data.tar.gz: 42a7eec473855c81bb0056817fa5b23603b7c058547f567b285cd01f2debfb515076608fc884948a946740376d411fe5e100a73ca1fc15c3ee8978ada8ae4aa3
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ 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
|
+
# [4.2.5] - 2022-07-29
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
* Report835Data can now handle when a service line doesn't have a service date
|
12
|
+
|
8
13
|
# [4.2.4] - 2022-07-28
|
9
14
|
|
10
15
|
* Removed all RARC Codes (HealthCareCheckRemarkCodes) from JSON
|
@@ -401,6 +406,7 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
401
406
|
* Authentication
|
402
407
|
* Configuration
|
403
408
|
|
409
|
+
[4.2.5]: https://github.com/WeInfuse/change_health/compare/v4.2.4...v4.2.5
|
404
410
|
[4.2.4]: https://github.com/WeInfuse/change_health/compare/v4.2.3...v4.2.4
|
405
411
|
[4.2.3]: https://github.com/WeInfuse/change_health/compare/v4.2.2...v4.2.3
|
406
412
|
[4.2.2]: https://github.com/WeInfuse/change_health/compare/v4.2.1...v4.2.2
|
@@ -66,10 +66,14 @@ module ChangeHealth
|
|
66
66
|
service_date_end = nil
|
67
67
|
service_lines = payment_info['serviceLines']&.map do |service_line|
|
68
68
|
service_line_date = ChangeHealth::Models::PARSE_DATE.call(service_line['serviceDate'])
|
69
|
-
|
70
|
-
service_date_begin
|
69
|
+
unless service_line_date.nil?
|
70
|
+
if service_date_begin.nil? || service_line_date < service_date_begin
|
71
|
+
service_date_begin = service_line_date
|
72
|
+
end
|
73
|
+
if service_date_end.nil? || service_date_end < service_line_date
|
74
|
+
service_date_end = service_line_date
|
75
|
+
end
|
71
76
|
end
|
72
|
-
service_date_end = service_line_date if service_date_end.nil? || service_date_end < service_line_date
|
73
77
|
|
74
78
|
adjudicated_procedure_code = service_line.dig('servicePaymentInformation', 'adjudicatedProcedureCode')
|
75
79
|
allowed_actual = service_line.dig('serviceSupplementalAmounts', 'allowedActual')
|
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: 4.2.
|
4
|
+
version: 4.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Crockett
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|