change_health 4.5.0 → 4.7.0

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: 68e15b858191bfabed3f45ac2fe80d4f2137c4bb58789bea3b80167a9ec385ce
4
- data.tar.gz: d25c361f6f0f162adbfcf09463ed3434bbb01cb91079fe89a26fab74f53d4994
3
+ metadata.gz: 865f463de53559f70c098bfcd5068729f5d0858a6939196133ce3e1c41dc53c5
4
+ data.tar.gz: 8b7cad94d0cf8e68e77769dec2056fe56fc3954cd8844242c4c60f7bcbdeed20
5
5
  SHA512:
6
- metadata.gz: 80d929b4121aa32e2139e7c5838dffcf035fe4b314bd11a818d50a195b46621c8859945765cd23ec134c7839ae282dbfb41ff9d918f1b9b4f2680dec33b8d3c6
7
- data.tar.gz: 2ac7d860aab488a88217bf7511de6c39ddd0a1b046f9c8316fd55de81e14e22a316a0aecb5812d89e0f9989e609cfc091683d330c6284a8257b0e6ce0cf0d870
6
+ metadata.gz: 3125d3c743247f9e69c2217f89d123e05e85f0495117361968daff2d7be12d760daaf82048c36b3abbcd5e185b31f3ffe52b8a23ff2aac5d5521acd2d92ad2cf
7
+ data.tar.gz: bbd7d4eb8fd3b069ae8f94d8a1451c7a7cbc5c35e24719b128fe73a49f095a843da9e21f575b42743479642fca1c9c95fb480167c25380b040c51328945b8605
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
+ # [4.7.0] - 2022-09-15
9
+
10
+ ### Added
11
+
12
+ * Added new attribute to Report835Payment of `payer_address`
13
+
14
+ # [4.6.0] - 2022-09-01
15
+
16
+ ### Added
17
+
18
+ * Report835Data - extract claimStatusCode for Report835Claim
19
+
8
20
  # [4.5.0] - 2022-08-29
9
21
 
10
22
  ### Added
@@ -424,6 +436,8 @@ Added the ability to hit professional claim submission API. For more details, se
424
436
  * Authentication
425
437
  * Configuration
426
438
 
439
+ [4.7.0]: https://github.com/WeInfuse/change_health/compare/v4.6.0...v4.7.0
440
+ [4.6.0]: https://github.com/WeInfuse/change_health/compare/v4.5.0...v4.6.0
427
441
  [4.5.0]: https://github.com/WeInfuse/change_health/compare/v4.4.0...v4.5.0
428
442
  [4.4.0]: https://github.com/WeInfuse/change_health/compare/v4.3.0...v4.4.0
429
443
  [4.3.0]: https://github.com/WeInfuse/change_health/compare/v4.2.5...v4.3.0
data/README.md CHANGED
@@ -319,6 +319,9 @@ claim835.procedure_codes
319
319
 
320
320
  claim835.service_lines.map(&:line_item_charge_amount)
321
321
  # ["3600", "1890", "1836", "1680"]
322
+
323
+ claim835.claim_status_code
324
+ # "19"
322
325
  ```
323
326
 
324
327
  ## Configuration
@@ -3,6 +3,7 @@ module ChangeHealth
3
3
  module Claim
4
4
  class Report835Claim < ReportClaim
5
5
  property :claim_payment_remark_codes, required: false
6
+ property :claim_status_code, required: false
6
7
  property :patient_control_number, required: false
7
8
  property :payer_claim_control_number, required: false
8
9
  property :service_lines, required: false
@@ -35,6 +35,7 @@ module ChangeHealth
35
35
  )
36
36
  payer_identifier = transaction.dig('financialInformation', 'payerIdentifier')
37
37
  payment_method_code = transaction.dig('financialInformation', 'paymentMethodCode')
38
+ payer_address = transaction.dig('payer', 'address')
38
39
  provider_adjustments = transaction['providerAdjustments']&.map do |provider_adjustment|
39
40
  adjustments = provider_adjustment['adjustments']&.map do |adjustment|
40
41
  {
@@ -55,6 +56,7 @@ module ChangeHealth
55
56
  transaction.dig('financialInformation', 'totalActualProviderPaymentAmount')
56
57
  claims = transaction['detailInfo']&.flat_map do |detail_info|
57
58
  detail_info['paymentInfo']&.map do |payment_info|
59
+ claim_status_code = payment_info.dig('claimPaymentInfo', 'claimStatusCode')
58
60
  patient_control_number = payment_info.dig('claimPaymentInfo', 'patientControlNumber')
59
61
  patient_first_name = payment_info.dig('patientName', 'firstName')
60
62
  patient_last_name = payment_info.dig('patientName', 'lastName')
@@ -139,6 +141,7 @@ module ChangeHealth
139
141
 
140
142
  Report835Claim.new(
141
143
  claim_payment_remark_codes: claim_payment_remark_codes,
144
+ claim_status_code: claim_status_code,
142
145
  patient_control_number: patient_control_number,
143
146
  patient_first_name: patient_first_name,
144
147
  patient_last_name: patient_last_name,
@@ -162,6 +165,7 @@ module ChangeHealth
162
165
  claims: claims,
163
166
  payer_identifier: payer_identifier,
164
167
  payer_name: payer_name,
168
+ payer_address: payer_address,
165
169
  payment_method_code: payment_method_code,
166
170
  provider_adjustments: provider_adjustments,
167
171
  report_creation_date: report_creation_date,
@@ -8,6 +8,7 @@ module ChangeHealth
8
8
  property :payer_identifier, required: false
9
9
  property :payer_name, required: false
10
10
  property :payment_method_code, required: false
11
+ property :payer_address, required: false
11
12
  property :provider_adjustments, required: false
12
13
  property :report_creation_date, required: false
13
14
  property :report_name, required: false
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '4.5.0'.freeze
2
+ VERSION = '4.7.0'.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.5.0
4
+ version: 4.7.0
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-08-29 00:00:00.000000000 Z
11
+ date: 2022-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty