athena_health 1.0.44 → 1.0.45
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 +4 -4
- 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: b456989570c4dc653982c1d3e3d9552eda412d41
|
4
|
+
data.tar.gz: 868cbbe1a3cb6bc725d38db1560700d5dad29598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4fd02834ef5e153e86284a6c1c7820168fb86baff93586a94a6f8f01e2121094ac162988d8f2c49fc132e3b4252e94e105fe43c346b3b5ff61f46e57d6d38a2
|
7
|
+
data.tar.gz: 431efe745097d77c7c3d362fdb839dbb64b9c9e78576f7d62ecb4f6fb20a3aae840e17c2e3db221bb6f742f15533bc04fa0d595625f249af2b3e5c69f6765b10
|
@@ -313,11 +313,12 @@ module AthenaHealth
|
|
313
313
|
end
|
314
314
|
|
315
315
|
def create_patient_insurance(practice_id:, patient_id:, insurance_package_id:, sequence_number:, params: {})
|
316
|
-
@api.call(
|
316
|
+
response = @api.call(
|
317
317
|
endpoint: "#{practice_id}/patients/#{patient_id}/insurances",
|
318
318
|
method: :post,
|
319
319
|
body: params.merge!(insurancepackageid: insurance_package_id, sequencenumber: sequence_number)
|
320
320
|
)
|
321
|
+
Insurance.new(response[0])
|
321
322
|
end
|
322
323
|
|
323
324
|
def update_patient_insurance(practice_id:, patient_id:, sequence_number:, params: {})
|
@@ -337,12 +338,11 @@ module AthenaHealth
|
|
337
338
|
end
|
338
339
|
|
339
340
|
def update_patient_insurance_card_image(practice_id:, patient_id:, insurance_id:, image:, params: {})
|
340
|
-
|
341
|
-
endpoint: "#{practice_id}/patients/#{patient_id}/insurances/#{insurance_id}/image",
|
341
|
+
@api.call(
|
342
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/insurances/#{insurance_id}/image",
|
342
343
|
method: :put,
|
343
344
|
params: params.merge!(image: image)
|
344
345
|
)
|
345
|
-
Insurance.new(response)
|
346
346
|
end
|
347
347
|
|
348
348
|
def record_payment(practice_id:, department_id:, patient_id:, payment_method:, amount:, params: {})
|
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.45
|
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: 2017-02-
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|