change_health 3.5.0 → 3.5.3

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: fcaa925e21cc617765587cded7d5b3b10a5414985d2b7b1431a9369d3de30186
4
- data.tar.gz: 88394eb43d292d92b8e0325aa1c04aaff22b15f4cea07cd99347997143abfcba
3
+ metadata.gz: 601bff416950731a5af885161eedc34e97d79a8f746e96459229a483683bd5a1
4
+ data.tar.gz: e66cfc8da889738869f830d3c46aa9176d08159405daa4865a083d544587da99
5
5
  SHA512:
6
- metadata.gz: 0452600c73933b53d845d322baa38ae112fbbe7b94c39f37575a8603e15101dcc69c6891e3bcd0f282e0b03276f462b2401f3681759dfb82c2382b3b2a2ddd80
7
- data.tar.gz: bc6bb4935cb05e37e20d596de4d9ce158146659026435a46e15e7b4f7bf5c9ea91d1036ee41ae8f5576f77c96e2b1a29d7fefb8e480aec1cb535c3a641fbb426
6
+ metadata.gz: aba95ecb3b61500e430a0112b5ba126104ce37ac31a1308ac29103f28d2b2b9a33c6b1e71acc137cf2a8c2f651749534a9e16cf1e1295afcccc264f2d66bf997
7
+ data.tar.gz: e45adcf2fb3410c067db15503fb15b3cc053ab69111f4afec47bcdae76c5f95bd5c78c61e5c612ea20d836e9b4b5b51ba4e43eb65836ff331923e3b24e4e45dd
data/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ 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
10
+
11
+ # [3.5.2] - 2022-04-27
12
+
13
+ * Added properties of `claimNote` to `claimInformation` so it will serialize properly into JSON
14
+
15
+ # [3.5.1] - 2022-04-12
16
+
17
+ * Added properties of `lineAdjudicationInformation` and `otherSubscriberInformation` so they can serialize correctly into JSON
7
18
 
8
19
  # [3.5.0] - 2022-04-08
9
20
 
@@ -341,6 +352,10 @@ Added the ability to hit professional claim submission API. For more details, se
341
352
  * Authentication
342
353
  * Configuration
343
354
 
355
+ [3.5.3]: https://github.com/WeInfuse/change_health/compare/v3.5.2...v3.5.3
356
+ [3.5.2]: https://github.com/WeInfuse/change_health/compare/v3.5.1...v3.5.2
357
+ [3.5.1]: https://github.com/WeInfuse/change_health/compare/v3.5.0...v3.5.1
358
+ [3.5.0]: https://github.com/WeInfuse/change_health/compare/v3.4.0...v3.5.0
344
359
  [3.4.0]: https://github.com/WeInfuse/change_health/compare/v3.3.0...v3.4.0
345
360
  [3.3.0]: https://github.com/WeInfuse/change_health/compare/v3.2.0...v3.3.0
346
361
  [3.2.0]: https://github.com/WeInfuse/change_health/compare/v3.1.0...v3.2.0
@@ -15,6 +15,8 @@ module ChangeHealth
15
15
  property :serviceFacilityLocation, from: :service_facility_location, required: false
16
16
  property :serviceLines, from: :service_lines, required: false
17
17
  property :signatureIndicator, from: :signature_indicator, required: false
18
+ property :otherSubscriberInformation, from: :other_subscriber_information, required: false
19
+ property :claimNote, from: :claim_note, required: false
18
20
 
19
21
  def add_service_line(service_line)
20
22
  self[:serviceLines] ||= []
@@ -6,6 +6,7 @@ module ChangeHealth
6
6
  property :serviceDate, from: :service_date, required: false
7
7
  property :professionalService, from: :professional_service, required: false
8
8
  property :renderingProvider, from: :rendering_provider, required: false
9
+ property :lineAdjudicationInformation, from: :line_adjudication_information, required: false
9
10
  end
10
11
  end
11
12
  end
@@ -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.0'.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.0
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-08 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