change_health 6.3.0 → 6.4.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: 842eb26f8f84dbe2228e051eac09b67c93dd90b5fdb166dbcc1ed34dd5de5a4c
4
- data.tar.gz: b3c7372e1aeb8d333fefeb22015f8f6f287a0045889aef49077f1b3ae658a2ee
3
+ metadata.gz: 726f763456554dbbf0e261d861ad5b71ae63a6de3b5d2ea01e3338749709e3cf
4
+ data.tar.gz: d78a62a9cf8129e930ee633c3030952e39d6fe3eae45a126251fa81a826a08b3
5
5
  SHA512:
6
- metadata.gz: dbd9d5ab48326a25f71db315d244821262c3701496e2e34c653cc81189c854202fec404aa2a33d5b592d4eeb7d62cfb61f3a7cfa4156a9bd12e974f1c9e17b94
7
- data.tar.gz: 1161128d839909708b6d0fb9c48c3b635febaa1083f9c4a2b571418d6c8f444da40e440c02c269e24b95c15b400113435fe9a78f333ca016ce9910977889a5fa
6
+ metadata.gz: 7e8a00b0dc35ad7ae41f186239ae1ff3093b5ccd02213fdc52b192e0b61698652e62500f236cd7a4629c24e08845655f47ede6721417bfb809c69a4e5373add4
7
+ data.tar.gz: c7925a50d0176d5290e6110f3a4823a8a3a06c28a8e7f744fe6a9f1c3c0543077363a1518af61872a152b14f885158f6f84c22f430d1e8e0e659fd4d6809ca0a
data/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ 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
+ # [6.4.0] - 2025-11-03
9
+
10
+ ### Added
11
+
12
+ * Added support for Other Payer Claim Control Number & Other Payer Secondary Identifier fields for claim submissions.
13
+
14
+ ### Changed
15
+
16
+ * SubmissionData now returns the request JSON in addition to the API reponse.
17
+
8
18
  # [6.3.0] - 2025-08-18
9
19
 
10
20
  ### Added
@@ -800,6 +810,7 @@ Added the ability to hit professional claim submission API. For more details, se
800
810
  * Authentication
801
811
  * Configuration
802
812
 
813
+ [6.4.0]: https://github.com/WeInfuse/change_health/compare/v6.3.0...v6.4.0
803
814
  [6.3.0]: https://github.com/WeInfuse/change_health/compare/v6.2.0...v6.3.0
804
815
  [6.2.0]: https://github.com/WeInfuse/change_health/compare/v6.1.2...v6.2.0
805
816
  [6.1.2]: https://github.com/WeInfuse/change_health/compare/v6.1.1...v6.1.2
@@ -4,9 +4,16 @@ module ChangeHealth
4
4
  module Models
5
5
  module Claim
6
6
  class OtherPayerName < Model
7
+ property :otherPayerClaimControlNumber, from: :other_payer_claim_control_number
7
8
  property :otherPayerIdentifier, from: :other_payer_identifier
8
9
  property :otherPayerIdentifierTypeCode, from: :other_payer_identifier_type_code
9
10
  property :otherPayerOrganizationName, from: :other_payer_organization_name
11
+ property :otherPayerSecondaryIdentifier, from: :other_payer_secondary_identifier
12
+
13
+ def add_other_payer_secondary_identifier(secondary_identifier)
14
+ self[:otherPayerSecondaryIdentifier] ||= []
15
+ self[:otherPayerSecondaryIdentifier] << secondary_identifier
16
+ end
10
17
  end
11
18
  end
12
19
  end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ChangeHealth
4
+ module Models
5
+ module Claim
6
+ class OtherPayerSecondaryIdentifier < Model
7
+ property :qualifier
8
+ property :identifier
9
+ property :otherIdentifier, from: :other_identifier
10
+ end
11
+ end
12
+ end
13
+ end
@@ -46,6 +46,10 @@ module ChangeHealth
46
46
 
47
47
  error_codes.all?(&:retryable?)
48
48
  end
49
+
50
+ def request_body
51
+ @response.request.options[:body] unless @response&.request&.options.nil?
52
+ end
49
53
  end
50
54
  end
51
55
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ChangeHealth
4
- VERSION = '6.3.0'
4
+ VERSION = '6.4.0'
5
5
  end
data/lib/change_health.rb CHANGED
@@ -21,6 +21,7 @@ require 'change_health/models/claim/submission/drug_identification'
21
21
  require 'change_health/models/claim/submission/institutional_service'
22
22
  require 'change_health/models/claim/submission/line_adjudication_information'
23
23
  require 'change_health/models/claim/submission/other_payer_name'
24
+ require 'change_health/models/claim/submission/other_payer_secondary_identifier'
24
25
  require 'change_health/models/claim/submission/other_subscriber_information'
25
26
  require 'change_health/models/claim/submission/other_subscriber_name'
26
27
  require 'change_health/models/claim/submission/professional_service'
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: 6.3.0
4
+ version: 6.4.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: 2025-08-19 00:00:00.000000000 Z
11
+ date: 2025-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
@@ -70,6 +70,7 @@ files:
70
70
  - lib/change_health/models/claim/submission/institutional_service.rb
71
71
  - lib/change_health/models/claim/submission/line_adjudication_information.rb
72
72
  - lib/change_health/models/claim/submission/other_payer_name.rb
73
+ - lib/change_health/models/claim/submission/other_payer_secondary_identifier.rb
73
74
  - lib/change_health/models/claim/submission/other_subscriber_information.rb
74
75
  - lib/change_health/models/claim/submission/other_subscriber_name.rb
75
76
  - lib/change_health/models/claim/submission/professional_service.rb