athena_health 1.0.19 → 1.0.20
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 +12 -0
- 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: f67fcf17e63e7e85cd4666703d6282b93149969a
|
4
|
+
data.tar.gz: 56cadaa9cfa420e0e0ac2c800451e423db8e8666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e868e1fcfa038c0676636eca335055c8e69f86be5abed89c1a9184c1bc23adea6d684279ce5eb923ae1f93321b750ac5de075784d7091e254df210cab6b12a
|
7
|
+
data.tar.gz: 82a1730bea305f3adc5fe74ad7ff217f770148d64b46f1f1ec456e7077d7f7c68016b9502f7850938ad5d46b2870d3c7b23f7c7f35aaed53f3f80959d1159963
|
@@ -270,6 +270,18 @@ module AthenaHealth
|
|
270
270
|
body: params.merge!(insurancepackageid: insurance_package_id, sequencenumber: sequence_number)
|
271
271
|
)
|
272
272
|
end
|
273
|
+
|
274
|
+
def record_payment(practice_id:, department_id:, patient_id:, payment_method:, amount:, params: {})
|
275
|
+
@api.call(
|
276
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/recordpayment",
|
277
|
+
method: :post,
|
278
|
+
body: params.merge!(
|
279
|
+
departmentid: department_id.to_s,
|
280
|
+
paymentmethod: payment_method,
|
281
|
+
copayamount: amount
|
282
|
+
)
|
283
|
+
)
|
284
|
+
end
|
273
285
|
end
|
274
286
|
end
|
275
287
|
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.20
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|