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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce127ff6152b6fcdd418fcd4754ad81cbad5ec57
4
- data.tar.gz: afcf6e4c277a34ffafe2d14f35cc6c2876470e98
3
+ metadata.gz: f67fcf17e63e7e85cd4666703d6282b93149969a
4
+ data.tar.gz: 56cadaa9cfa420e0e0ac2c800451e423db8e8666
5
5
  SHA512:
6
- metadata.gz: 4e6b07b00b3862252eaa41c9ce724996d652f08c6af311f2953e5a527594c729ca8d739da54dbb1b82e06f751ef9cd1bd05b729b9aa8be073c1dfb5792753f67
7
- data.tar.gz: 18394088d05fee20cb598f4fb0b0f72484d622ea38eaa9a598f8e3839c9de483deef4dc045141e20d6e5d095f463f4036c7c79dc1ff05b32a976d972634efcc5
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
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '1.0.19'.freeze
2
+ VERSION = '1.0.20'.freeze
3
3
  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.19
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-07 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus