eligible 3.0.0.beta15 → 3.0.0.beta20
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 +21 -1
- data/lib/eligible.rb +11 -1
- data/lib/eligible/v1_0/balance_capture.rb +21 -0
- data/lib/eligible/v1_0/patient_record.rb +9 -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 +13 -3
- data/lib/eligible/v1_0/patient.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd6809d35bb19d0e9e4ed2540a37afbeb2a52dd01edcd3f28f27ada9577d30c6
|
4
|
+
data.tar.gz: 8dee37527a5152fd97853ea16edcbf64676d785bbf66ad9c63548cc21e98fffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d20d05b944f2dd2ba6a72e8bbc697cd192511deb09753c15ab2546275a8647ffe78549b360d46094f9c43e45d85b6e7db3175e5e0a141bfb5ea9b1f45ce391b8
|
7
|
+
data.tar.gz: 9fe91b93db9a15d087ca526288e081e917f3ef87461c7f0f6aa3b650e0bdcb8dced577fcc7c5974e336bc1f0d6e91735441dd56e20ef5e84b51c10747995d309
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 3.0.0.
|
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
|
+
|
20
|
+
## 3.0.0.beta16 - 2020-07-10
|
21
|
+
- Migrated "Patient" endpoint to "PatientRecord"
|
22
|
+
|
23
|
+
## 3.0.0.beta15 - 2020-06-12
|
4
24
|
- Added support for patient questionnaire, patient questions API endpoints
|
5
25
|
|
6
26
|
## 3.0.0.beta14 - 2020-06-08
|
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'
|
@@ -61,7 +62,7 @@ require 'eligible/v1_0/file_link'
|
|
61
62
|
require 'eligible/v1_0/insurance_company'
|
62
63
|
require 'eligible/v1_0/insurance_company_alias'
|
63
64
|
require 'eligible/v1_0/insurance_policy'
|
64
|
-
require 'eligible/v1_0/
|
65
|
+
require 'eligible/v1_0/patient_record'
|
65
66
|
require 'eligible/v1_0/patient_statement'
|
66
67
|
require 'eligible/v1_0/patient_statement_service_line'
|
67
68
|
require 'eligible/v1_0/payment_report'
|
@@ -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'
|
@@ -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.beta20
|
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-08-17 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
|
@@ -173,15 +174,24 @@ files:
|
|
173
174
|
- lib/eligible/v1_0/insurance_company.rb
|
174
175
|
- lib/eligible/v1_0/insurance_company_alias.rb
|
175
176
|
- lib/eligible/v1_0/insurance_policy.rb
|
176
|
-
- lib/eligible/v1_0/patient.rb
|
177
177
|
- lib/eligible/v1_0/patient_question.rb
|
178
178
|
- lib/eligible/v1_0/patient_questionnaire.rb
|
179
|
+
- lib/eligible/v1_0/patient_record.rb
|
179
180
|
- lib/eligible/v1_0/patient_statement.rb
|
180
181
|
- lib/eligible/v1_0/patient_statement_service_line.rb
|
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
|