athena_health 1.0.24 → 1.0.25

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: 21eddfaed6f0bc7ce3fc6baed471c64f291b427f
4
- data.tar.gz: d5d412a02ab68403c49a5cfba696f99fd645af0e
3
+ metadata.gz: 3bb8a885e5edd484b3d007fbd73c32fbbef11a68
4
+ data.tar.gz: 8ecc31564de570f4a45140befdff6d0d24c13b53
5
5
  SHA512:
6
- metadata.gz: 9776ea2ce646abb3107562cf0ae593956087bb34152ef521f89e72d6148765242d36c1da90c3b8d1c86d8d10f76d6b3b798eff71bac682dd7de1c03d31cb7b65
7
- data.tar.gz: fa2d0a11045f8fa60cb68972e57d7162cf099e2164cf86fb2c1be39abdc2d73080c2691c4b6e6d907b0e5c84b1c01672b08bd844df71b6a7faf28e08f0daaf39
6
+ metadata.gz: 4b56f2287b26f38c651203ede3e8f1a7358e9506919ccb808c5d34276b57b50b4f4fcabeff32b2434f13c329286f8e7517a50dcab5d2222996bfd8aeffa93a7b
7
+ data.tar.gz: d60f8e4ffad02721667c8512e0f5de41a1168c2f09129df426efefc6dc276d179a002ffb4d6063ebc64eb7ba38fedcef8d6087b0f1197441ba2b8ef4c792b26d
@@ -63,11 +63,11 @@ module AthenaHealth
63
63
  PatientProblemCollection.new(response)
64
64
  end
65
65
 
66
- def patient_encounters(practice_id:, department_id:, patient_id:)
66
+ def patient_encounters(practice_id:, department_id:, patient_id:, params: {})
67
67
  response = @api.call(
68
68
  endpoint: "#{practice_id}/chart/#{patient_id}/encounters",
69
69
  method: :get,
70
- params: { departmentid: department_id }
70
+ params: params.merge!(departmentid: department_id)
71
71
  )
72
72
 
73
73
  EncounterCollection.new(response)
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '1.0.24'.freeze
2
+ VERSION = '1.0.25'.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.24
4
+ version: 1.0.25
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-17 00:00:00.000000000 Z
11
+ date: 2016-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus