change_health 3.5.1 → 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: e7885934a9f3e1fba5250c70c43ebcc0ed9b4df5b4bf78e832e6f542efa20923
4
- data.tar.gz: e5eb64dc022f02cbee0ac756823bf66fe8857f7fa00e0bd4e1249ddda57b0823
3
+ metadata.gz: 8952c67e30c7585a6b8f4183e444f1a67ea6d81a89e52c2a6748c2362f5c1eae
4
+ data.tar.gz: ac88b77be6c178e77cb7ea341fa0cd9a3796aa6012712142e4bb71953f3cb220
5
5
  SHA512:
6
- metadata.gz: 9016ac80c8164a66cab62a1a2078bbcbcbb53f0249d37c2214954a5a7e9c0f5f40bebf173ce37275e219b785dcc31a912e4e21a86657e377ad832f07084cd76f
7
- data.tar.gz: 57cab83269d9615344adeef02b4c6f7b021c0604368cff9966697595fc75243e02cfcb62f8aef7c4334215a92f49a2f1740d5e8cbb6ebafc247967844b3c4a23
6
+ metadata.gz: dee82a6f161a6b74c6eba6ba352ed1daa64cb7b9cbd5ba51992aba3928d2957f401e6cadf86295667dbcaf62d82f36d1190e6aef3559304f2904b34f5bf869e0
7
+ data.tar.gz: 862e3585d1c3f077dfe1a1a8341c55afb574c4ed05d16c50d347a446b26c667a26452585d034c47b36682c95ee914eace40ba418ec426ec87ac8b6c0f8b456f5
data/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ 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
+ # [3.5.4] - 2022-05-18
9
+
10
+ * Used dig on `service_provider_npi` variable assigning because it produces way fewer bugs
11
+
12
+ # [3.5.3] - 2022-05-18
13
+
14
+ * Added new ways to assign `patient_member_id` and `service_provider_npi` for claim reports returned by insurance
15
+
16
+ # [3.5.2] - 2022-04-27
17
+
18
+ * Added properties of `claimNote` to `claimInformation` so it will serialize properly into JSON
19
+
8
20
  # [3.5.1] - 2022-04-12
9
21
 
10
22
  * Added properties of `lineAdjudicationInformation` and `otherSubscriberInformation` so they can serialize correctly into JSON
@@ -345,7 +357,10 @@ Added the ability to hit professional claim submission API. For more details, se
345
357
  * Authentication
346
358
  * Configuration
347
359
 
348
- [3.5.1]: https://github.com/WeInfuse/change_health/compare/v3.4.0...v3.5.1
360
+ [3.5.4]: https://github.com/WeInfuse/change_health/compare/v3.5.3...v3.5.4
361
+ [3.5.3]: https://github.com/WeInfuse/change_health/compare/v3.5.2...v3.5.3
362
+ [3.5.2]: https://github.com/WeInfuse/change_health/compare/v3.5.1...v3.5.2
363
+ [3.5.1]: https://github.com/WeInfuse/change_health/compare/v3.5.0...v3.5.1
349
364
  [3.5.0]: https://github.com/WeInfuse/change_health/compare/v3.4.0...v3.5.0
350
365
  [3.4.0]: https://github.com/WeInfuse/change_health/compare/v3.3.0...v3.4.0
351
366
  [3.3.0]: https://github.com/WeInfuse/change_health/compare/v3.2.0...v3.3.0
@@ -16,6 +16,7 @@ module ChangeHealth
16
16
  property :serviceLines, from: :service_lines, required: false
17
17
  property :signatureIndicator, from: :signature_indicator, required: false
18
18
  property :otherSubscriberInformation, from: :other_subscriber_information, required: false
19
+ property :claimNote, from: :claim_note, required: false
19
20
 
20
21
  def add_service_line(service_line)
21
22
  self[:serviceLines] ||= []
@@ -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.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.1'.freeze
2
+ VERSION = '3.5.4'.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.1
4
+ version: 3.5.4
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-12 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