athena_health 0.9.5 → 0.9.6
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.rb +2 -2
- data/lib/athena_health/endpoints/patients.rb +10 -0
- data/lib/athena_health/lab_result.rb +1 -1
- 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: c6b9312ad84245da31088e1581aacf7193e5c029
|
4
|
+
data.tar.gz: 39576dde0e78b63e645f87ff88b5bcb02dfc5a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceb1e0ebd88847672ca2b1f2e732a6168f2d66db5488cc9a0a705a21af0ae1ad9d99892a9a83ce5aa2936d363e11a40d389a841c6610cf3fc531360b90d18090
|
7
|
+
data.tar.gz: 6d71a2f14838c844747ca07e71ddf1d1cd83537af76c54afba0566f063d2ccaa14859d1b2d882b30615c9f4478be1f94b8328a866fccd0662e2ccdf7d26e504b
|
data/lib/athena_health.rb
CHANGED
@@ -38,14 +38,14 @@ require 'athena_health/encounter'
|
|
38
38
|
require 'athena_health/encounter_collection'
|
39
39
|
require 'athena_health/order'
|
40
40
|
require 'athena_health/order_collection'
|
41
|
+
require 'athena_health/analyte'
|
42
|
+
require 'athena_health/analyte_collection'
|
41
43
|
require 'athena_health/lab_result'
|
42
44
|
require 'athena_health/lab_result_collection'
|
43
45
|
require 'athena_health/question'
|
44
46
|
require 'athena_health/question_collection'
|
45
47
|
require 'athena_health/prescription'
|
46
48
|
require 'athena_health/prescription_collection'
|
47
|
-
require 'athena_health/analyte'
|
48
|
-
require 'athena_health/analyte_collection'
|
49
49
|
|
50
50
|
module AthenaHealth
|
51
51
|
end
|
@@ -122,6 +122,16 @@ module AthenaHealth
|
|
122
122
|
|
123
123
|
AppointmentCollection.new(response)
|
124
124
|
end
|
125
|
+
|
126
|
+
def patient_appointment(practice_id:, patient_id:, appointment_id:, params: {})
|
127
|
+
response = @api.call(
|
128
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/appointments/#{appointment_id}",
|
129
|
+
method: :get,
|
130
|
+
params: params
|
131
|
+
)
|
132
|
+
|
133
|
+
AppointmentCollection.new(response)
|
134
|
+
end
|
125
135
|
end
|
126
136
|
end
|
127
137
|
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.6
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|