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 +4 -4
- data/lib/athena_health/endpoints/patients.rb +10 -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: 994a2081a0537657ca099a173a4ba3a03c590218
|
4
|
+
data.tar.gz: 216f57136fbe36ea996ad05751ef3cb9338aaf96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|