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 +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +3 -0
- data/lib/change_health/response/claim/report/report_835_claim.rb +1 -0
- data/lib/change_health/response/claim/report/report_835_data.rb +4 -0
- data/lib/change_health/response/claim/report/report_835_payment.rb +1 -0
- data/lib/change_health/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 865f463de53559f70c098bfcd5068729f5d0858a6939196133ce3e1c41dc53c5
|
4
|
+
data.tar.gz: 8b7cad94d0cf8e68e77769dec2056fe56fc3954cd8844242c4c60f7bcbdeed20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
@@ -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
|
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.
|
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-
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|