change_health 3.5.2 → 3.5.3

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: 21003bc5658e7a52ae3218445c766a83eb897b6eae35bd0cc63f42a94bc84ee6
4
- data.tar.gz: ed6ddcf079ade0f37a23c109ab8a264bf18bbfc7745f8e7a59038629954c12cc
3
+ metadata.gz: 601bff416950731a5af885161eedc34e97d79a8f746e96459229a483683bd5a1
4
+ data.tar.gz: e66cfc8da889738869f830d3c46aa9176d08159405daa4865a083d544587da99
5
5
  SHA512:
6
- metadata.gz: a89a6adaed5d80cacaa2f23a23eab21f409a19361620bf49ae3afe020be1ef02a3d7e9be4cf4d045cf1307ffd32b3a2faaa1ece65a9eddd298e882cfdeff76bb
7
- data.tar.gz: d9ebd400bbabd5d1514b5a3f0bfeabbf02db383b7ddd762571a1420ef0b451c67ee7b23070d42b1699672dd677ca5942030027944633501a811458a2ec3f7ec0
6
+ metadata.gz: aba95ecb3b61500e430a0112b5ba126104ce37ac31a1308ac29103f28d2b2b9a33c6b1e71acc137cf2a8c2f651749534a9e16cf1e1295afcccc264f2d66bf997
7
+ data.tar.gz: e45adcf2fb3410c067db15503fb15b3cc053ab69111f4afec47bcdae76c5f95bd5c78c61e5c612ea20d836e9b4b5b51ba4e43eb65836ff331923e3b24e4e45dd
data/CHANGELOG.md CHANGED
@@ -4,6 +4,9 @@ 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
+ # [3.5.3] - 2022-05-18
8
+
9
+ * Added new ways to assign `patient_member_id` and `service_provider_npi` for claim reports returned by insurance
7
10
 
8
11
  # [3.5.2] - 2022-04-27
9
12
 
@@ -349,6 +352,7 @@ Added the ability to hit professional claim submission API. For more details, se
349
352
  * Authentication
350
353
  * Configuration
351
354
 
355
+ [3.5.3]: https://github.com/WeInfuse/change_health/compare/v3.5.2...v3.5.3
352
356
  [3.5.2]: https://github.com/WeInfuse/change_health/compare/v3.5.1...v3.5.2
353
357
  [3.5.1]: https://github.com/WeInfuse/change_health/compare/v3.5.0...v3.5.1
354
358
  [3.5.0]: https://github.com/WeInfuse/change_health/compare/v3.4.0...v3.5.0
@@ -49,9 +49,9 @@ module ChangeHealth
49
49
  patient_control_number = payment_info.dig('claimPaymentInfo', 'patientControlNumber')
50
50
  patient_first_name = payment_info.dig('patientName', 'firstName')
51
51
  patient_last_name = payment_info.dig('patientName', 'lastName')
52
- patient_member_id = payment_info.dig('patientName', 'memberId')
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')
54
+ service_provider_npi = payment_info.dig('renderingProvider', 'npi') || detail_info['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.2'.freeze
2
+ VERSION = '3.5.3'.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: 3.5.2
4
+ version: 3.5.3
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-04-27 00:00:00.000000000 Z
11
+ date: 2022-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty