athena_health 1.0.26 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/athena_health/endpoints/patients.rb +17 -1
- data/lib/athena_health/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e525481e02aa901ce295489fe955b9d49c334585
|
4
|
+
data.tar.gz: d78f258427d1b5fdb04340ffa17b632a32c23857
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20dfc4930c899c184825dcfabcd2fa09916bec1d75e20a7ff12fe6f3dc25cf5c2d311c29f059fd0ee33f0e8d7626107a6014fc944a797899d260c969f87f6720
|
7
|
+
data.tar.gz: b736a03384bec0ed3cc6ed1d8d3585976844ff351ed0c018bbebb6b693ba2b0ace610b42177eb9d5aff738ccebcba2319de2da4840f245f2174ea2652c39acd1
|
@@ -264,13 +264,29 @@ module AthenaHealth
|
|
264
264
|
end
|
265
265
|
|
266
266
|
def create_patient_insurance(practice_id:, patient_id:, insurance_package_id:, sequence_number:, params: {})
|
267
|
-
|
267
|
+
@api.call(
|
268
268
|
endpoint: "#{practice_id}/patients/#{patient_id}/insurances",
|
269
269
|
method: :post,
|
270
270
|
body: params.merge!(insurancepackageid: insurance_package_id, sequencenumber: sequence_number)
|
271
271
|
)
|
272
272
|
end
|
273
273
|
|
274
|
+
def update_patient_insurance(practice_id:, patient_id:, sequence_number:, params: {})
|
275
|
+
@api.call(
|
276
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/insurances",
|
277
|
+
method: :put,
|
278
|
+
params: params.merge!(sequencenumber: sequence_number)
|
279
|
+
)
|
280
|
+
end
|
281
|
+
|
282
|
+
def delete_patient_insurance(practice_id:, patient_id:, sequence_number:, params: {})
|
283
|
+
@api.call(
|
284
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/insurances",
|
285
|
+
method: :delete,
|
286
|
+
params: params.merge!(sequencenumber: sequence_number)
|
287
|
+
)
|
288
|
+
end
|
289
|
+
|
274
290
|
def record_payment(practice_id:, department_id:, patient_id:, payment_method:, amount:, params: {})
|
275
291
|
@api.call(
|
276
292
|
endpoint: "#{practice_id}/patients/#{patient_id}/recordpayment",
|
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.27
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|