change_health 6.2.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: 2d63bd61580653bb0b97d7dd39222813f3a278b42a3eaf51e63684f024988f66
4
- data.tar.gz: 5745339680f9c90c7000cc6fc0459b6c84eee5bf58ad953ec86449a8ee6699be
3
+ metadata.gz: 726f763456554dbbf0e261d861ad5b71ae63a6de3b5d2ea01e3338749709e3cf
4
+ data.tar.gz: d78a62a9cf8129e930ee633c3030952e39d6fe3eae45a126251fa81a826a08b3
5
5
  SHA512:
6
- metadata.gz: 01a2c53bf4907772f4b63801baa8d5285a143a31553befeb08217a3bc225a1db07fbbb5ef0d224c1e7b98205430d68655ea5fd7ef69fd6e82a0ccc3834559b8c
7
- data.tar.gz: 5af5944118860c43f62a4a2ea97961fec64727a4a4d994d115cba4c5fca5719f092662d3a9758588cc7d700ee176badb8619ec715855850f4b7349cad719c301
6
+ metadata.gz: 7e8a00b0dc35ad7ae41f186239ae1ff3093b5ccd02213fdc52b192e0b61698652e62500f236cd7a4629c24e08845655f47ede6721417bfb809c69a4e5373add4
7
+ data.tar.gz: c7925a50d0176d5290e6110f3a4823a8a3a06c28a8e7f744fe6a9f1c3c0543077363a1518af61872a152b14f885158f6f84c22f430d1e8e0e659fd4d6809ca0a
data/CHANGELOG.md CHANGED
@@ -5,6 +5,22 @@ 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
+
18
+ # [6.3.0] - 2025-08-18
19
+
20
+ ### Added
21
+
22
+ * CI support for Ruby 3.1, 3.2
23
+
8
24
  # [6.2.0] - 2025-08-13
9
25
 
10
26
  ### Added
@@ -794,6 +810,8 @@ Added the ability to hit professional claim submission API. For more details, se
794
810
  * Authentication
795
811
  * Configuration
796
812
 
813
+ [6.4.0]: https://github.com/WeInfuse/change_health/compare/v6.3.0...v6.4.0
814
+ [6.3.0]: https://github.com/WeInfuse/change_health/compare/v6.2.0...v6.3.0
797
815
  [6.2.0]: https://github.com/WeInfuse/change_health/compare/v6.1.2...v6.2.0
798
816
  [6.1.2]: https://github.com/WeInfuse/change_health/compare/v6.1.1...v6.1.2
799
817
  [6.1.1]: https://github.com/WeInfuse/change_health/compare/v6.1.0...v6.1.1
@@ -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.2.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.2.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-13 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
@@ -133,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
134
  - !ruby/object:Gem::Version
134
135
  version: '0'
135
136
  requirements: []
136
- rubygems_version: 3.2.33
137
+ rubygems_version: 3.3.27
137
138
  signing_key:
138
139
  specification_version: 4
139
140
  summary: Ruby wrapper for the ChangeHealth API