change_health 5.3.1 → 5.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +2 -1
- data/lib/change_health/request/trading_partner.rb +3 -3
- data/lib/change_health/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 398de32d2b4fe0978758a49b290afacc32b47045a193418fe1374f140460b551
|
|
4
|
+
data.tar.gz: cb465e4241ba019379743b4ee47f6934f06a8fc7bf0e775d828bd402758fd142
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2dedd5e1485a79bd248254ebbade06360091206e8f3c234956564def8e8901ecab9297ad9e9d4b9c76e38aa27a9625e472f67ff93b539fa8f180218d59bd8979
|
|
7
|
+
data.tar.gz: 4568865fe255802676ae68a11b2082941354fef4d1ae4af9493096c3caed3b224c1bc0be5374bd7d9b84eb99d830e54e13881e9159e01f7f54a338ca389d7263
|
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
|
+
# [5.4.0] - 2023-10-27
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
* Added clearingHouse and serviceName query param to trading_partner query method
|
|
13
|
+
|
|
8
14
|
# [5.3.1] - 2023-10-25
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -580,6 +586,7 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
|
580
586
|
* Authentication
|
|
581
587
|
* Configuration
|
|
582
588
|
|
|
589
|
+
[5.4.0]: https://github.com/WeInfuse/change_health/compare/v5.3.1...v5.4.0
|
|
583
590
|
[5.3.1]: https://github.com/WeInfuse/change_health/compare/v5.3.0...v5.3.1
|
|
584
591
|
[5.3.0]: https://github.com/WeInfuse/change_health/compare/v5.2.0...v5.3.0
|
|
585
592
|
[5.2.0]: https://github.com/WeInfuse/change_health/compare/v5.1.0...v5.2.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
|
-
|
|
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,11 +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:
|
|
10
|
-
clearingHouse:
|
|
9
|
+
serviceName: service_name,
|
|
10
|
+
clearingHouse: clearing_house
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
response = ChangeHealth::Connection.new.request(endpoint: ENDPOINT, verb: :get, query: params)
|
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.
|
|
4
|
+
version: 5.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: 2023-10-
|
|
11
|
+
date: 2023-10-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|