change_health 5.0.0 → 5.2.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: 3cbaca8f7e482861192f0e0a7daa78bc124394839a92af7e8dc2a96b3f9f671e
4
- data.tar.gz: 67661d3425dd13d95dfa718a274296b991b545f4014670116874718312d9a06a
3
+ metadata.gz: e4c263cd6687997c48e2be324b327f6f8bff9959effb3178ab79cbcfe1e086da
4
+ data.tar.gz: edd0adb611f299cac28ff68f2c333b86176f4810a9da28c8750c918bb8e5e2a1
5
5
  SHA512:
6
- metadata.gz: 1efdce11cbf9bf405c50e28d951b9a2490037604c55c177b5e8a50095cf67ccacf49a76791c661941b75f1ac153b71faffd8a3eab7cd7bca66847af7d025ca80
7
- data.tar.gz: b81ad2344d269195e7fc92c33206126b03dfab3e871f081efc090ebf05143b257d5bb59be85f4efedc9ad8cf06c9a12d4b52c4c56083c66be08615069c032a89
6
+ metadata.gz: 36ce617999d0c64a7bac08173feb719f9e669f2dcca0e730354205bc53c4f234a31f7ea455c50c5c0f74d393a4a83a2f02a73b02d802e0908c79639d6536da02
7
+ data.tar.gz: d1cbc13d5e216e4df495959e4f73f9e7f405cab2f18cf3e160e49129d37dd48a17e4130e1652bbebfafc9a7fe7336c162954123ad937bb04fb5c300635dc16fd
data/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ 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
+ # [5.2.0] - 2023-09-05
9
+
10
+ ### Added
11
+
12
+ * claimOfficeNumber to ChangeHealth::Models::Claim::Provider
13
+
14
+ # [5.1.0] - 2023-08-31
15
+
16
+ ### Added
17
+
18
+ * added alias to trading_partner_data
19
+ * added line_of_business to trading_partner_data
20
+ * added plan_type to trading_partner_data
21
+
8
22
  # [5.0.0] - 2022-08-24
9
23
 
10
24
  ### Changed
@@ -551,6 +565,8 @@ Added the ability to hit professional claim submission API. For more details, se
551
565
  * Authentication
552
566
  * Configuration
553
567
 
568
+ [5.2.0]: https://github.com/WeInfuse/change_health/compare/v5.1.0...v5.2.0
569
+ [5.1.0]: https://github.com/WeInfuse/change_health/compare/v5.0.0...v5.1.0
554
570
  [5.0.0]: https://github.com/WeInfuse/change_health/compare/v4.14.0...v5.0.0
555
571
  [4.14.0]: https://github.com/WeInfuse/change_health/compare/v4.13.1...v4.14.0
556
572
  [4.13.1]: https://github.com/WeInfuse/change_health/compare/v4.13.0...v4.13.1
@@ -3,6 +3,7 @@ module ChangeHealth
3
3
  module Claim
4
4
  class Provider < Model
5
5
  property :address
6
+ property :claimOfficeNumber, from: :claim_office_number
6
7
  property :contactInformation, from: :contact_information
7
8
  property :employerId, from: :employer_id # or ssn
8
9
  property :firstName, from: :first_name
@@ -4,8 +4,11 @@ module ChangeHealth
4
4
  include Hashie::Extensions::IndifferentAccess
5
5
  include Hashie::Extensions::IgnoreUndeclared
6
6
 
7
- property :service_id, required: true
7
+ property :alias, required: false
8
+ property :line_of_business, required: false
8
9
  property :name, required: true
10
+ property :plan_type, required: false
11
+ property :service_id, required: true
9
12
  end
10
13
  end
11
14
  end
@@ -11,7 +11,7 @@ module ChangeHealth
11
11
 
12
12
  response = ChangeHealth::Connection.new.request(endpoint: ENDPOINT, verb: :get, query: params)
13
13
  trading_partners_data = ChangeHealth::Response::TradingPartnersData.new(response['payers'])
14
- trading_partners_data.map { |partner| ChangeHealth::Models::TradingPartner.new(name: partner.name, service_id: partner.service_id) }
14
+ trading_partners_data.map { |partner| ChangeHealth::Models::TradingPartner.new(name: partner.name, alias: partner.alias, line_of_business: partner.line_of_business, plan_type: partner.plan_type, service_id: partner.service_id )}
15
15
  end
16
16
  end
17
17
  end
@@ -16,6 +16,18 @@ module ChangeHealth
16
16
  def service_name
17
17
  @raw['serviceName']
18
18
  end
19
+
20
+ def alias
21
+ @raw['alias']
22
+ end
23
+
24
+ def line_of_business
25
+ @raw['lineOfBusiness']
26
+ end
27
+
28
+ def plan_type
29
+ @raw['planType']
30
+ end
19
31
  end
20
32
  end
21
33
  end
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '5.0.0'.freeze
2
+ VERSION = '5.2.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: 5.0.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Crockett
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-30 00:00:00.000000000 Z
11
+ date: 2023-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -128,7 +128,7 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0.9'
131
- description:
131
+ description:
132
132
  email:
133
133
  - mike.crockett@weinfuse.com
134
134
  executables: []
@@ -205,7 +205,7 @@ licenses:
205
205
  - MIT
206
206
  metadata:
207
207
  allowed_push_host: https://rubygems.org
208
- post_install_message:
208
+ post_install_message:
209
209
  rdoc_options: []
210
210
  require_paths:
211
211
  - lib
@@ -220,8 +220,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
- rubygems_version: 3.4.10
224
- signing_key:
223
+ rubygems_version: 3.1.6
224
+ signing_key:
225
225
  specification_version: 4
226
226
  summary: Ruby wrapper for the ChangeHealth API
227
227
  test_files: []