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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a4c04d63b5d1b40ebcd57353e31098ca6b27ae453f371e9b67c09e4f0c6033a
4
- data.tar.gz: cbe7ac2226e15502a5816a3fc87eb57fd498fcb4c8c379024affdda1a2d96f89
3
+ metadata.gz: 06c3344f947cb5ccda66985c169972e67a794633620d028c440d9076d3cf944f
4
+ data.tar.gz: 426f3b89ff3dbae1b807bcdab97ce1208f916d20dd12699a5df62fc9621e683a
5
5
  SHA512:
6
- metadata.gz: 15e4aa4b661a142eab4877e175e245393a40c2d12ec56f6287c6d62992e538e01bf402ca383168fe54bc084856d41eb6c0b3ce2ef9761d8485edb267a0464bf2
7
- data.tar.gz: 73360d910bde419b9afad65415c7fa0731ce470c117f7525215289aebb9a4404ef7e4f3866ad178c67938c0e322e7b7542ff7a844deb3da8fdbb6e3716f4932b
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
- if service_date_begin.nil? || service_line_date < service_date_begin
70
- service_date_begin = service_line_date
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')
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '4.2.4'.freeze
2
+ VERSION = '4.2.5'.freeze
3
3
  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: 4.2.4
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-28 00:00:00.000000000 Z
11
+ date: 2022-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty