change_health 5.3.0 → 5.4.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: bb458a6ffe5a778f34a9d6fb34c197d6d9334587040359c0273b4fed872c3d54
4
- data.tar.gz: e6002ab3aeaabbd78f261fd337e6244488d913e52bff59d01b88df8ec846f8fe
3
+ metadata.gz: 398de32d2b4fe0978758a49b290afacc32b47045a193418fe1374f140460b551
4
+ data.tar.gz: cb465e4241ba019379743b4ee47f6934f06a8fc7bf0e775d828bd402758fd142
5
5
  SHA512:
6
- metadata.gz: 5cb8fa5bbcb329092bb5ba1a73e43aeb5fab67e3a67cbe25aa77feca21e3cc481e3dae63dd90a41fae369bcdfde1c706a3d8f7d0107167aba438b988de78ab0a
7
- data.tar.gz: fc59ba45358307b37f36b2db8c5f49c4da471af7d6e61330be867b657a2ef20c9ebed1b1748dadd754c3203857a76b467f27cf97ebcf03f7fadab70d5a7767dc
6
+ metadata.gz: 2dedd5e1485a79bd248254ebbade06360091206e8f3c234956564def8e8901ecab9297ad9e9d4b9c76e38aa27a9625e472f67ff93b539fa8f180218d59bd8979
7
+ data.tar.gz: 4568865fe255802676ae68a11b2082941354fef4d1ae4af9493096c3caed3b224c1bc0be5374bd7d9b84eb99d830e54e13881e9159e01f7f54a338ca389d7263
data/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ 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.4.0] - 2023-10-27
9
+
10
+ ### Added
11
+
12
+ * Added clearingHouse and serviceName query param to trading_partner query method
13
+
14
+ # [5.3.1] - 2023-10-25
15
+
16
+ ### Added
17
+
18
+ * Added clearingHouse query param to trading_partner
19
+
8
20
  # [5.3.0] - 2023-09-18
9
21
 
10
22
  ### Added
@@ -574,6 +586,9 @@ Added the ability to hit professional claim submission API. For more details, se
574
586
  * Authentication
575
587
  * Configuration
576
588
 
589
+ [5.4.0]: https://github.com/WeInfuse/change_health/compare/v5.3.1...v5.4.0
590
+ [5.3.1]: https://github.com/WeInfuse/change_health/compare/v5.3.0...v5.3.1
591
+ [5.3.0]: https://github.com/WeInfuse/change_health/compare/v5.2.0...v5.3.0
577
592
  [5.2.0]: https://github.com/WeInfuse/change_health/compare/v5.1.0...v5.2.0
578
593
  [5.1.0]: https://github.com/WeInfuse/change_health/compare/v5.0.0...v5.1.0
579
594
  [5.0.0]: https://github.com/WeInfuse/change_health/compare/v4.14.0...v5.0.0
data/README.md CHANGED
@@ -88,7 +88,8 @@ edata.raw == edata.response.parsed_response
88
88
  ```ruby
89
89
  # Query trading partners using a wildcard search
90
90
  # Returns Array of ChangeHealth::Models::TradingPartner Objects
91
- trading_partners = ChangeHealth::Request::TradingPartner.query("Aetna")
91
+ # Query params: term, service_name(default: 'Eligibility'), clearing_house(default: 'npd')
92
+ trading_partners = ChangeHealth::Request::TradingPartner.query("Aetna", service_name: 'Eligibility', clearing_house: 'dbq')
92
93
 
93
94
  trading_partners.first.name
94
95
  # "Aetna"
@@ -3,10 +3,11 @@ module ChangeHealth
3
3
  class TradingPartner < Hashie::Trash
4
4
  ENDPOINT = '/medicalnetwork/payerfinder/v1/payers'.freeze
5
5
 
6
- def self.query(term)
6
+ def self.query(term, service_name: 'Eligibility', clearing_house: 'npd')
7
7
  params = {
8
8
  businessName: term,
9
- serviceName: 'Eligibility'
9
+ serviceName: service_name,
10
+ clearingHouse: clearing_house
10
11
  }
11
12
 
12
13
  response = ChangeHealth::Connection.new.request(endpoint: ENDPOINT, verb: :get, query: params)
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '5.3.0'.freeze
2
+ VERSION = '5.4.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.3.0
4
+ version: 5.4.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-09-19 00:00:00.000000000 Z
11
+ date: 2023-10-30 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: []
@@ -206,7 +206,7 @@ licenses:
206
206
  - MIT
207
207
  metadata:
208
208
  allowed_push_host: https://rubygems.org
209
- post_install_message:
209
+ post_install_message:
210
210
  rdoc_options: []
211
211
  require_paths:
212
212
  - lib
@@ -221,8 +221,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  requirements: []
224
- rubygems_version: 3.1.6
225
- signing_key:
224
+ rubygems_version: 3.4.10
225
+ signing_key:
226
226
  specification_version: 4
227
227
  summary: Ruby wrapper for the ChangeHealth API
228
228
  test_files: []