change_health 4.8.0 → 4.9.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4c832c6b386d23d0dcd5ed9458a532e18e544e91f4aa14705e54731343a1da3
|
|
4
|
+
data.tar.gz: 3db73ca5d441099f1e692a8380f2f133ca50ef9b6324618a3360f052924cbef3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f790ed0a6496d1b535c51a28fa9598928d6e71b99626c545f411ce180e0c4f8e92504950ba7e37c184fa25a96a4c35a3fd5b3d5bed89418008429dd09f2652f
|
|
7
|
+
data.tar.gz: 841f4642ec6bcbacef9e0c10ad174b26968ffd58ea7d93077e800b4ef20fb02abd73c91cc5bd4bf4dab0872384c24d32c1be7105ffa2afe3ce0fffb97de95b57
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ 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.9.0] - 2022-11-11
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
* Report835Data - extract `claim_payment_amount` for Report835Claim
|
|
13
|
+
|
|
8
14
|
# [4.8.0] - 2022-11-09
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -442,6 +448,7 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
|
442
448
|
* Authentication
|
|
443
449
|
* Configuration
|
|
444
450
|
|
|
451
|
+
[4.8.0]: https://github.com/WeInfuse/change_health/compare/v4.8.0...v4.9.0
|
|
445
452
|
[4.8.0]: https://github.com/WeInfuse/change_health/compare/v4.7.0...v4.8.0
|
|
446
453
|
[4.7.0]: https://github.com/WeInfuse/change_health/compare/v4.6.0...v4.7.0
|
|
447
454
|
[4.6.0]: https://github.com/WeInfuse/change_health/compare/v4.5.0...v4.6.0
|
|
@@ -3,6 +3,7 @@ module ChangeHealth
|
|
|
3
3
|
module Claim
|
|
4
4
|
class Report835Claim < ReportClaim
|
|
5
5
|
property :claim_adjustments, required: false
|
|
6
|
+
property :claim_payment_amount, required: false
|
|
6
7
|
property :claim_payment_remark_codes, required: false
|
|
7
8
|
property :claim_status_code, required: false
|
|
8
9
|
property :patient_control_number, required: false
|
|
@@ -56,6 +56,7 @@ module ChangeHealth
|
|
|
56
56
|
transaction.dig('financialInformation', 'totalActualProviderPaymentAmount')
|
|
57
57
|
claims = transaction['detailInfo']&.flat_map do |detail_info|
|
|
58
58
|
detail_info['paymentInfo']&.map do |payment_info|
|
|
59
|
+
claim_payment_amount = payment_info.dig('claimPaymentInfo', 'claimPaymentAmount')
|
|
59
60
|
claim_status_code = payment_info.dig('claimPaymentInfo', 'claimStatusCode')
|
|
60
61
|
patient_control_number = payment_info.dig('claimPaymentInfo', 'patientControlNumber')
|
|
61
62
|
patient_first_name = payment_info.dig('patientName', 'firstName')
|
|
@@ -127,6 +128,7 @@ module ChangeHealth
|
|
|
127
128
|
|
|
128
129
|
Report835Claim.new(
|
|
129
130
|
claim_adjustments: claim_adjustments,
|
|
131
|
+
claim_payment_amount: claim_payment_amount,
|
|
130
132
|
claim_payment_remark_codes: claim_payment_remark_codes,
|
|
131
133
|
claim_status_code: claim_status_code,
|
|
132
134
|
patient_control_number: patient_control_number,
|
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.9.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-
|
|
11
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|