athena_health 0.9.2 → 0.9.3

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: 3de2b6b74fe81cca89fe56465147a5366213925e
4
- data.tar.gz: c26ae59ba1a9050f160cc7ffd0a3d3805ca2c99e
3
+ metadata.gz: 994a2081a0537657ca099a173a4ba3a03c590218
4
+ data.tar.gz: 216f57136fbe36ea996ad05751ef3cb9338aaf96
5
5
  SHA512:
6
- metadata.gz: 58f9b493eb466e88b3ff65b93b5b357c6ccfd6a211ec7d7c9333c9c24c8ee63e7e41406030765a88ab0128ab0ac29f69669011091a6fff4ac69f09862fdd2a37
7
- data.tar.gz: 372f1a8e8aec8f273ee5d628caf01bd94378671ac41d0452b92ab40030b81607988f5d30dc55a6b50e21a0ac10b6c1f965ecd37f8c3d1e3a09e260881e0e4335
6
+ metadata.gz: 54f2d2e24e52dd3cbda77a444eec21782f605543af31438e3a803649216f8fe35ac209fcb93e40cc90ac16a42ef1fa1aba1648eda7287da7bc92d22908f1dcbd
7
+ data.tar.gz: aabf11230f9404f823c68b609499cc4a62f6add85911b106f7b2538337c297105949c9de73290d85a0033e9c1f109e4813d09020088df57912e941493c39a2ee
@@ -112,6 +112,16 @@ module AthenaHealth
112
112
 
113
113
  AnalyteCollection.new(response)
114
114
  end
115
+
116
+ def patient_appointments(practice_id:, patient_id:, params: {})
117
+ response = @api.call(
118
+ endpoint: "#{practice_id}/patients/#{patient_id}/appointments",
119
+ method: :get,
120
+ params: params
121
+ )
122
+
123
+ AppointmentCollection.new(response)
124
+ end
115
125
  end
116
126
  end
117
127
  end
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '0.9.2'.freeze
2
+ VERSION = '0.9.3'.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: 0.9.2
4
+ version: 0.9.3
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-04-06 00:00:00.000000000 Z
11
+ date: 2016-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus