change_health 3.5.3 → 3.5.4

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: 601bff416950731a5af885161eedc34e97d79a8f746e96459229a483683bd5a1
4
- data.tar.gz: e66cfc8da889738869f830d3c46aa9176d08159405daa4865a083d544587da99
3
+ metadata.gz: 8952c67e30c7585a6b8f4183e444f1a67ea6d81a89e52c2a6748c2362f5c1eae
4
+ data.tar.gz: ac88b77be6c178e77cb7ea341fa0cd9a3796aa6012712142e4bb71953f3cb220
5
5
  SHA512:
6
- metadata.gz: aba95ecb3b61500e430a0112b5ba126104ce37ac31a1308ac29103f28d2b2b9a33c6b1e71acc137cf2a8c2f651749534a9e16cf1e1295afcccc264f2d66bf997
7
- data.tar.gz: e45adcf2fb3410c067db15503fb15b3cc053ab69111f4afec47bcdae76c5f95bd5c78c61e5c612ea20d836e9b4b5b51ba4e43eb65836ff331923e3b24e4e45dd
6
+ metadata.gz: dee82a6f161a6b74c6eba6ba352ed1daa64cb7b9cbd5ba51992aba3928d2957f401e6cadf86295667dbcaf62d82f36d1190e6aef3559304f2904b34f5bf869e0
7
+ data.tar.gz: 862e3585d1c3f077dfe1a1a8341c55afb574c4ed05d16c50d347a446b26c667a26452585d034c47b36682c95ee914eace40ba418ec426ec87ac8b6c0f8b456f5
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
 
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
+
8
+ # [3.5.4] - 2022-05-18
9
+
10
+ * Used dig on `service_provider_npi` variable assigning because it produces way fewer bugs
11
+
7
12
  # [3.5.3] - 2022-05-18
8
13
 
9
14
  * Added new ways to assign `patient_member_id` and `service_provider_npi` for claim reports returned by insurance
@@ -352,6 +357,7 @@ Added the ability to hit professional claim submission API. For more details, se
352
357
  * Authentication
353
358
  * Configuration
354
359
 
360
+ [3.5.4]: https://github.com/WeInfuse/change_health/compare/v3.5.3...v3.5.4
355
361
  [3.5.3]: https://github.com/WeInfuse/change_health/compare/v3.5.2...v3.5.3
356
362
  [3.5.2]: https://github.com/WeInfuse/change_health/compare/v3.5.1...v3.5.2
357
363
  [3.5.1]: https://github.com/WeInfuse/change_health/compare/v3.5.0...v3.5.1
@@ -51,7 +51,7 @@ module ChangeHealth
51
51
  patient_last_name = payment_info.dig('patientName', 'lastName')
52
52
  patient_member_id = payment_info.dig('patientName', 'memberId') || payment_info.dig('subscriber', 'memberId')
53
53
  payer_claim_control_number = payment_info.dig('claimPaymentInfo', 'payerClaimControlNumber')
54
- service_provider_npi = payment_info.dig('renderingProvider', 'npi') || detail_info['providerSummaryInformation']['providerIdentifier']
54
+ service_provider_npi = payment_info.dig('renderingProvider', 'npi') || detail_info.dig('providerSummaryInformation', 'providerIdentifier')
55
55
  total_charge_amount = payment_info.dig('claimPaymentInfo', 'totalClaimChargeAmount')
56
56
 
57
57
  claim_payment_remark_codes = []
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '3.5.3'.freeze
2
+ VERSION = '3.5.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: change_health
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Crockett