change_health 4.5.0 → 4.6.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: 4b91a782efe0d9f6f4d07ec367ace19adc417ada3199360f166e56ba7fba9e74
4
+ data.tar.gz: 0b87d4d9de882efdb9879486fc9bfcaf005ec1ff08d08260f1845a98d452eb17
5
5
  SHA512:
6
- metadata.gz: 80d929b4121aa32e2139e7c5838dffcf035fe4b314bd11a818d50a195b46621c8859945765cd23ec134c7839ae282dbfb41ff9d918f1b9b4f2680dec33b8d3c6
7
- data.tar.gz: 2ac7d860aab488a88217bf7511de6c39ddd0a1b046f9c8316fd55de81e14e22a316a0aecb5812d89e0f9989e609cfc091683d330c6284a8257b0e6ce0cf0d870
6
+ metadata.gz: 4db85de34f7588d6dd2cff48dbd4e69d5917f305ef0a173c101476b84492a0034f8c087267dee10bf1204841a54aaf8b370e559532be769d77ad388e0edc5b47
7
+ data.tar.gz: 69f64924085a8b3e672923c65f62975b027042524ef36ac7d59561e99a8a3f8db421e86cfb12962ee16718e969a5b25932f748e077dfa4e169794a689eb6fdc8
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.6.0] - 2022-09-01
9
+
10
+ ### Added
11
+
12
+ * Report835Data - extract claimStatusCode for Report835Claim
13
+
8
14
  # [4.5.0] - 2022-08-29
9
15
 
10
16
  ### Added
@@ -424,6 +430,7 @@ Added the ability to hit professional claim submission API. For more details, se
424
430
  * Authentication
425
431
  * Configuration
426
432
 
433
+ [4.6.0]: https://github.com/WeInfuse/change_health/compare/v4.5.0...v4.6.0
427
434
  [4.5.0]: https://github.com/WeInfuse/change_health/compare/v4.4.0...v4.5.0
428
435
  [4.4.0]: https://github.com/WeInfuse/change_health/compare/v4.3.0...v4.4.0
429
436
  [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
@@ -55,6 +55,7 @@ module ChangeHealth
55
55
  transaction.dig('financialInformation', 'totalActualProviderPaymentAmount')
56
56
  claims = transaction['detailInfo']&.flat_map do |detail_info|
57
57
  detail_info['paymentInfo']&.map do |payment_info|
58
+ claim_status_code = payment_info.dig('claimPaymentInfo', 'claimStatusCode')
58
59
  patient_control_number = payment_info.dig('claimPaymentInfo', 'patientControlNumber')
59
60
  patient_first_name = payment_info.dig('patientName', 'firstName')
60
61
  patient_last_name = payment_info.dig('patientName', 'lastName')
@@ -139,6 +140,7 @@ module ChangeHealth
139
140
 
140
141
  Report835Claim.new(
141
142
  claim_payment_remark_codes: claim_payment_remark_codes,
143
+ claim_status_code: claim_status_code,
142
144
  patient_control_number: patient_control_number,
143
145
  patient_first_name: patient_first_name,
144
146
  patient_last_name: patient_last_name,
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '4.5.0'.freeze
2
+ VERSION = '4.6.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.6.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-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty