athena_health 1.0.23 → 1.0.24
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21eddfaed6f0bc7ce3fc6baed471c64f291b427f
|
4
|
+
data.tar.gz: d5d412a02ab68403c49a5cfba696f99fd645af0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9776ea2ce646abb3107562cf0ae593956087bb34152ef521f89e72d6148765242d36c1da90c3b8d1c86d8d10f76d6b3b798eff71bac682dd7de1c03d31cb7b65
|
7
|
+
data.tar.gz: fa2d0a11045f8fa60cb68972e57d7162cf099e2164cf86fb2c1be39abdc2d73080c2691c4b6e6d907b0e5c84b1c01672b08bd844df71b6a7faf28e08f0daaf39
|
@@ -158,6 +158,16 @@ module AthenaHealth
|
|
158
158
|
method: :delete
|
159
159
|
)
|
160
160
|
end
|
161
|
+
|
162
|
+
def appointment_insurances(practice_id:, appointment_id:, params: {})
|
163
|
+
response = @api.call(
|
164
|
+
endpoint: "#{practice_id}/appointments/#{appointment_id}/insurances",
|
165
|
+
method: :get,
|
166
|
+
params: params
|
167
|
+
)
|
168
|
+
|
169
|
+
InsuranceCollection.new(response)
|
170
|
+
end
|
161
171
|
end
|
162
172
|
end
|
163
173
|
end
|
@@ -282,6 +282,16 @@ module AthenaHealth
|
|
282
282
|
)
|
283
283
|
)
|
284
284
|
end
|
285
|
+
|
286
|
+
def patient_insurances(practice_id:, patient_id:, params: {})
|
287
|
+
response = @api.call(
|
288
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/insurances",
|
289
|
+
method: :get,
|
290
|
+
params: params
|
291
|
+
)
|
292
|
+
|
293
|
+
InsuranceCollection.new(response)
|
294
|
+
end
|
285
295
|
end
|
286
296
|
end
|
287
297
|
end
|
@@ -1,8 +1,28 @@
|
|
1
1
|
module AthenaHealth
|
2
2
|
class Insurance < BaseModel
|
3
|
-
attribute :affiliations,
|
4
|
-
attribute :insuranceplanname,
|
5
|
-
attribute :insurancepackageid,
|
6
|
-
attribute :addresslist,
|
3
|
+
attribute :affiliations, Array
|
4
|
+
attribute :insuranceplanname, String
|
5
|
+
attribute :insurancepackageid, Integer
|
6
|
+
attribute :addresslist, Array
|
7
|
+
attribute :insurancepolicyholdercountrycode, String
|
8
|
+
attribute :sequencenumber, Integer
|
9
|
+
attribute :insuranceplanname, String
|
10
|
+
attribute :insurancetype, String
|
11
|
+
attribute :insurancepolicyholderlastname, String
|
12
|
+
attribute :insurancephone, String
|
13
|
+
attribute :insuranceidnumber, String
|
14
|
+
attribute :relationshiptoinsuredid, Integer
|
15
|
+
attribute :insuranceid, Integer
|
16
|
+
attribute :insurancepolicyholder, String
|
17
|
+
attribute :insurancepolicyholderdob, String
|
18
|
+
attribute :eligibilitylastchecked, String
|
19
|
+
attribute :relationshiptoinsured, String
|
20
|
+
attribute :eligibilitystatus, String
|
21
|
+
attribute :insurancepolicyholderfirstname, String
|
22
|
+
attribute :insurancepolicyholdersex, String
|
23
|
+
attribute :eligibilityreason, String
|
24
|
+
attribute :insurancepolicyholdercountryiso3166, String
|
25
|
+
attribute :eligibilitymessage, String
|
26
|
+
attribute :ircname, String
|
7
27
|
end
|
8
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: athena_health
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Urbański
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|