eligible 3.0.0.beta14 → 3.0.0.beta19

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: 59d30207290e55309457e01bec0308e3ab0d684729d9ed5c4a7421dde7ae07ee
4
- data.tar.gz: 2f099ebebeddf8dbd5f521b039698d42954687a7ebeb210830d97b831778856d
3
+ metadata.gz: 137406adb75553021c583abcabdad5d75eb8108aee90003f3fb8e7cd5f58f683
4
+ data.tar.gz: 4593dfca466f2045e4b9d1c79f04f77db7852243a4ee4480b51d44e637332a4a
5
5
  SHA512:
6
- metadata.gz: 689e2a898e818c1d772ffe0a1ca056b66b48716ad4d1d08ad64ef3eb360efa4ee8e02e7a0d27d26f52030b2a8c6784784f9d526e8eb5bb503b67dc0a21c566dc
7
- data.tar.gz: 324c94a195aa6a1d661b827b1e35698d1ed8c0aa975938f805ffd1575b6d463f817e4e5948c14bfdcaa35be4e3a2f75641baae3e217422f017a407176bf96fa9
6
+ metadata.gz: 4dffc18fe9e6c62d516e3d3785c7f0a2c4ec2f686e7de2f7928ab25d1ebd35f6776ab5473d9694a8106f8261d93dc61b1fd6f79bbae9d88eb13ff79126543c5a
7
+ data.tar.gz: ac9dbbec2efedcd42fca46e41677aa8d81b5b5034d2e6417e9484723bbc17beb41ca95f5663ca5853f73cd819e8084d2f85604f9b525d07cfa14b03fe183e2b9
data/.gitignore CHANGED
@@ -17,3 +17,4 @@ test/tmp
17
17
  test/version_tmp
18
18
  tmp
19
19
  .idea
20
+ .DS_Store
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0.beta19 - 2020-07-28
4
+ - Added refunds and balance_captures REST API endpoints
5
+
6
+ ## 3.0.0.beta18 - 2020-07-24
7
+ - Added claim_submit endpoint API url for PatientStatement endpoint
8
+
9
+ ## 3.0.0.beta17 - 2020-07-13
10
+ - Added support for report API endpoints
11
+
12
+ ## 3.0.0.beta16 - 2020-07-10
13
+ - Migrated "Patient" endpoint to "PatientRecord"
14
+
15
+ ## 3.0.0.beta15 - 2020-06-12
16
+ - Added support for patient questionnaire, patient questions API endpoints
17
+
3
18
  ## 3.0.0.beta14 - 2020-06-08
4
19
  - Added Fee and FeeRefund new REST API endpoints
5
20
 
@@ -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,12 +62,15 @@ 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/patient'
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
+ require 'eligible/v1_0/patient_question'
70
+ require 'eligible/v1_0/patient_questionnaire'
68
71
  require 'eligible/v1_0/product'
69
72
  require 'eligible/v1_0/provider'
73
+ require 'eligible/v1_0/refund'
70
74
  require 'eligible/v1_0/remark'
71
75
  require 'eligible/v1_0/rule'
72
76
  require 'eligible/v1_0/session'
@@ -75,6 +79,9 @@ require 'eligible/v1_0/treatment'
75
79
  require 'eligible/v1_0/value_list'
76
80
  require 'eligible/v1_0/value_list_item'
77
81
  require 'eligible/v1_0/verification'
82
+ require 'eligible/v1_0/reports/accuracy_stats'
83
+ require 'eligible/v1_0/reports/estimate_friction'
84
+ require 'eligible/v1_0/reports/in_scope_distribution'
78
85
 
79
86
  # Errors
80
87
  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
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ module V1_0
5
+ class PatientQuestion < RestAPIBase
6
+ ENDPOINT_NAME = 'rules/patient_questions'.freeze
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ module V1_0
5
+ class PatientQuestionnaire < RestAPIBase
6
+ ENDPOINT_NAME = 'rules/patient_questionnaires'.freeze
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ module V1_0
5
+ class PatientRecord < RestAPIBase
6
+ ENDPOINT_NAME = 'patient_records'.freeze
7
+ end
8
+ end
9
+ 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 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 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
@@ -1,3 +1,3 @@
1
1
  module Eligible
2
- VERSION = '3.0.0.beta14'.freeze
2
+ VERSION = '3.0.0.beta19'.freeze
3
3
  end
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.beta14
4
+ version: 3.0.0.beta19
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-06-08 00:00:00.000000000 Z
13
+ date: 2020-07-27 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,13 +174,19 @@ 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
+ - lib/eligible/v1_0/patient_question.rb
178
+ - lib/eligible/v1_0/patient_questionnaire.rb
179
+ - lib/eligible/v1_0/patient_record.rb
177
180
  - lib/eligible/v1_0/patient_statement.rb
178
181
  - lib/eligible/v1_0/patient_statement_service_line.rb
179
182
  - lib/eligible/v1_0/payment_report.rb
180
183
  - lib/eligible/v1_0/product.rb
181
184
  - lib/eligible/v1_0/provider.rb
185
+ - lib/eligible/v1_0/refund.rb
182
186
  - lib/eligible/v1_0/remark.rb
187
+ - lib/eligible/v1_0/reports/accuracy_stats.rb
188
+ - lib/eligible/v1_0/reports/estimate_friction.rb
189
+ - lib/eligible/v1_0/reports/in_scope_distribution.rb
183
190
  - lib/eligible/v1_0/rest_api_base.rb
184
191
  - lib/eligible/v1_0/rule.rb
185
192
  - lib/eligible/v1_0/session.rb
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Eligible
4
- module V1_0
5
- class Patient < RestAPIBase
6
- ENDPOINT_NAME = 'patients'.freeze
7
- end
8
- end
9
- end