eligible 3.0.0.beta16 → 3.0.0.beta22
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 +18 -1
- data/lib/eligible.rb +10 -0
- data/lib/eligible/coverage.rb +4 -0
- data/lib/eligible/v1_0/balance_capture.rb +21 -0
- data/lib/eligible/v1_0/patient_statement.rb +5 -0
- data/lib/eligible/v1_0/refund.rb +21 -0
- data/lib/eligible/v1_0/reports/accuracy_stats.rb +23 -0
- data/lib/eligible/v1_0/reports/collections.rb +23 -0
- data/lib/eligible/v1_0/reports/denial_counts.rb +23 -0
- data/lib/eligible/v1_0/reports/denial_reports.rb +23 -0
- data/lib/eligible/v1_0/reports/distribution_ratios.rb +23 -0
- data/lib/eligible/v1_0/reports/estimate_friction.rb +23 -0
- data/lib/eligible/v1_0/reports/financial_measures.rb +23 -0
- data/lib/eligible/v1_0/reports/in_scope_distribution.rb +23 -0
- data/lib/eligible/version.rb +1 -1
- metadata +14 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3841d177af1db7fcc0aefbe2958e8ed40e87803cc456bbc6688ad249201b69c6
|
4
|
+
data.tar.gz: 13472b60e88b2e7c62a99faaa446a46312d86be3c1cb9257482f9d2ff17d4a9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96152f327de15484635abea11d4435972df55a8d2cb52620395cf30b9437bb4a6dd3a6a06c7d9a28f7a672e90f59ab976289cda0864cb3f79524cee781f8f01d
|
7
|
+
data.tar.gz: 767da8f6c1b424eda30c49f90db3a5d74b1f78c9f8f3f99e5feaa020bfe6564fc51202ea2c28d5b5e7544de753b4658404ce05a9a3949772bc833db317ecf574
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,24 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 3.0.0.beta20 - 2020-08-17
|
4
|
+
|
5
|
+
- Added support for report API endpoint Eligible::V1_0::Reports::Collections
|
6
|
+
- Added support for report API endpoint Eligible::V1_0::Reports::DenialCounts
|
7
|
+
- Added support for report API endpoint Eligible::V1_0::Reports::DenialReports
|
8
|
+
- Added support for report API endpoint Eligible::V1_0::Reports::DistributionRatios
|
9
|
+
- Added support for report API endpoint Eligible::V1_0::Reports::FinancialMeasures
|
10
|
+
|
11
|
+
## 3.0.0.beta19 - 2020-07-28
|
12
|
+
- Added refunds and balance_captures REST API endpoints
|
13
|
+
|
14
|
+
## 3.0.0.beta18 - 2020-07-24
|
15
|
+
- Added claim_submit endpoint API url for PatientStatement endpoint
|
16
|
+
|
17
|
+
## 3.0.0.beta17 - 2020-07-13
|
18
|
+
- Added support for report API endpoints
|
19
|
+
|
3
20
|
## 3.0.0.beta16 - 2020-07-10
|
4
|
-
- Migrated "Patient" endpoint to "PatientRecord"
|
21
|
+
- Migrated "Patient" endpoint to "PatientRecord"
|
5
22
|
|
6
23
|
## 3.0.0.beta15 - 2020-06-12
|
7
24
|
- Added support for patient questionnaire, patient questions API endpoints
|
data/lib/eligible.rb
CHANGED
@@ -45,6 +45,7 @@ require 'eligible/icd'
|
|
45
45
|
require 'eligible/v1_0/rest_api_base'
|
46
46
|
require 'eligible/v1_0/action'
|
47
47
|
require 'eligible/v1_0/attribute'
|
48
|
+
require 'eligible/v1_0/balance_capture'
|
48
49
|
require 'eligible/v1_0/charge'
|
49
50
|
require 'eligible/v1_0/claim'
|
50
51
|
require 'eligible/v1_0/claim_service_line'
|
@@ -69,6 +70,7 @@ require 'eligible/v1_0/patient_question'
|
|
69
70
|
require 'eligible/v1_0/patient_questionnaire'
|
70
71
|
require 'eligible/v1_0/product'
|
71
72
|
require 'eligible/v1_0/provider'
|
73
|
+
require 'eligible/v1_0/refund'
|
72
74
|
require 'eligible/v1_0/remark'
|
73
75
|
require 'eligible/v1_0/rule'
|
74
76
|
require 'eligible/v1_0/session'
|
@@ -77,6 +79,14 @@ require 'eligible/v1_0/treatment'
|
|
77
79
|
require 'eligible/v1_0/value_list'
|
78
80
|
require 'eligible/v1_0/value_list_item'
|
79
81
|
require 'eligible/v1_0/verification'
|
82
|
+
require 'eligible/v1_0/reports/accuracy_stats'
|
83
|
+
require 'eligible/v1_0/reports/collections'
|
84
|
+
require 'eligible/v1_0/reports/denial_counts'
|
85
|
+
require 'eligible/v1_0/reports/denial_reports'
|
86
|
+
require 'eligible/v1_0/reports/distribution_ratios'
|
87
|
+
require 'eligible/v1_0/reports/estimate_friction'
|
88
|
+
require 'eligible/v1_0/reports/financial_measures'
|
89
|
+
require 'eligible/v1_0/reports/in_scope_distribution'
|
80
90
|
|
81
91
|
# Errors
|
82
92
|
require 'eligible/errors/eligible_error'
|
data/lib/eligible/coverage.rb
CHANGED
@@ -12,6 +12,10 @@ module Eligible
|
|
12
12
|
send_request :get, '/coverage/cost_estimates.json', params, opts
|
13
13
|
end
|
14
14
|
|
15
|
+
def self.cost_estimate_post(params, opts = {})
|
16
|
+
send_request :post, '/coverage/cost_estimates.json', params, opts
|
17
|
+
end
|
18
|
+
|
15
19
|
def self.batch_medicare_post(params, opts = {})
|
16
20
|
send_request :post, '/medicare/coverage/batch.json', params, opts
|
17
21
|
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
class BalanceCapture < RestAPIBase
|
6
|
+
ENDPOINT_NAME = 'balance_captures'.freeze
|
7
|
+
|
8
|
+
def self.create(_params, _opts = {})
|
9
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.update(_params, _opts = {})
|
13
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.delete(_params, _opts = {})
|
17
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -49,6 +49,11 @@ module Eligible
|
|
49
49
|
def self.reestimate(params, opts = {})
|
50
50
|
send_request :post, "/#{endpoint_name}/#{object_id(params)}/reestimate", rest_api_params(params), opts.merge(required_params: [:id])
|
51
51
|
end
|
52
|
+
|
53
|
+
# Submit a claim for a patient statement
|
54
|
+
def self.submit_claim(params, opts = {})
|
55
|
+
send_request :post, "/#{endpoint_name}/#{object_id(params)}/submit_claim", rest_api_params(params), opts.merge(required_params: [:id])
|
56
|
+
end
|
52
57
|
end
|
53
58
|
end
|
54
59
|
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
class Refund < RestAPIBase
|
6
|
+
ENDPOINT_NAME = 'refunds'.freeze
|
7
|
+
|
8
|
+
def self.create(_params, _opts = {})
|
9
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.update(_params, _opts = {})
|
13
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.delete(_params, _opts = {})
|
17
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class AccuracyStats < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/accuracy_stats'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class Collections < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/collections'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class DenialCounts < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/denial_counts'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class DenialReports < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/denial_reports'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class DistributionRatios < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/distribution_ratios'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class EstimateFriction < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/estimate_frictions'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class FinancialMeasures < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/financial_measures'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Eligible
|
4
|
+
module V1_0
|
5
|
+
module Reports
|
6
|
+
class InScopeDistribution < RestAPIBase
|
7
|
+
ENDPOINT_NAME = 'reports/in_scope_distributions'.freeze
|
8
|
+
|
9
|
+
def self.create(_params, _opts = {})
|
10
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.update(_params, _opts = {})
|
14
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.delete(_params, _opts = {})
|
18
|
+
fail NotImplementedError, "Not an allowed operation for this endpoint"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/eligible/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eligible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.beta22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katelyn Gleaon
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- lib/eligible/util.rb
|
158
158
|
- lib/eligible/v1_0/action.rb
|
159
159
|
- lib/eligible/v1_0/attribute.rb
|
160
|
+
- lib/eligible/v1_0/balance_capture.rb
|
160
161
|
- lib/eligible/v1_0/charge.rb
|
161
162
|
- lib/eligible/v1_0/claim.rb
|
162
163
|
- lib/eligible/v1_0/claim_service_line.rb
|
@@ -181,7 +182,16 @@ files:
|
|
181
182
|
- lib/eligible/v1_0/payment_report.rb
|
182
183
|
- lib/eligible/v1_0/product.rb
|
183
184
|
- lib/eligible/v1_0/provider.rb
|
185
|
+
- lib/eligible/v1_0/refund.rb
|
184
186
|
- lib/eligible/v1_0/remark.rb
|
187
|
+
- lib/eligible/v1_0/reports/accuracy_stats.rb
|
188
|
+
- lib/eligible/v1_0/reports/collections.rb
|
189
|
+
- lib/eligible/v1_0/reports/denial_counts.rb
|
190
|
+
- lib/eligible/v1_0/reports/denial_reports.rb
|
191
|
+
- lib/eligible/v1_0/reports/distribution_ratios.rb
|
192
|
+
- lib/eligible/v1_0/reports/estimate_friction.rb
|
193
|
+
- lib/eligible/v1_0/reports/financial_measures.rb
|
194
|
+
- lib/eligible/v1_0/reports/in_scope_distribution.rb
|
185
195
|
- lib/eligible/v1_0/rest_api_base.rb
|
186
196
|
- lib/eligible/v1_0/rule.rb
|
187
197
|
- lib/eligible/v1_0/session.rb
|
@@ -212,7 +222,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
222
|
- !ruby/object:Gem::Version
|
213
223
|
version: 1.3.1
|
214
224
|
requirements: []
|
215
|
-
|
225
|
+
rubyforge_project:
|
226
|
+
rubygems_version: 2.7.10
|
216
227
|
signing_key:
|
217
228
|
specification_version: 4
|
218
229
|
summary: Ruby wrapper for the Eligible API
|