athena_health 1.0.38 → 1.0.39
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4303e543b9b076f03fbdf0abd5d993431793fd9d
|
4
|
+
data.tar.gz: 5624f9997a5cf915d385d1622a0e65ab0151a259
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 492fe1275acfec86202e3f04206a5aa80e45c55499a76822ef6764155ea6c2cd93182452b1bacb3fe54481639a5f47c319b4f718610539e207e1b33b51b1675f
|
7
|
+
data.tar.gz: 8d82f8db91b52a0cb4567e13244a276c3edbf931b94b1459ffda127f8a414aad4f65dfd7678e5f4a56616b84b3f1ca93a8fc7eda7a8d1febdde17b767e0f9908
|
@@ -174,6 +174,26 @@ module AthenaHealth
|
|
174
174
|
|
175
175
|
InsuranceCollection.new(response)
|
176
176
|
end
|
177
|
+
|
178
|
+
def create_appointment_subscription(practice_id:, params: {})
|
179
|
+
@api.call(
|
180
|
+
endpoint: "#{practice_id}/appointments/changed/subscription",
|
181
|
+
method: :post,
|
182
|
+
params: params
|
183
|
+
)
|
184
|
+
end
|
185
|
+
|
186
|
+
def changed_appointments(practice_id:, department_id:, params: {})
|
187
|
+
response = @api.call(
|
188
|
+
endpoint: "#{practice_id}/appointments/changed",
|
189
|
+
method: :get,
|
190
|
+
params: params.merge!(
|
191
|
+
departmentid: department_id
|
192
|
+
)
|
193
|
+
)
|
194
|
+
|
195
|
+
AppointmentCollection.new(response)
|
196
|
+
end
|
177
197
|
end
|
178
198
|
end
|
179
199
|
end
|
@@ -83,6 +83,15 @@ module AthenaHealth
|
|
83
83
|
LabResultCollection.new(response)
|
84
84
|
end
|
85
85
|
|
86
|
+
def patient_lab_result_document(practice_id:, patient_id:, lab_result_id:)
|
87
|
+
response = @api.call(
|
88
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/documents/labresult/#{lab_result_id}",
|
89
|
+
method: :get
|
90
|
+
).first
|
91
|
+
|
92
|
+
Document.new(response)
|
93
|
+
end
|
94
|
+
|
86
95
|
def patient_medical_history(practice_id:, department_id:, patient_id:)
|
87
96
|
response = @api.call(
|
88
97
|
endpoint: "#{practice_id}/chart/#{patient_id}/medicalhistory",
|
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.
|
4
|
+
version: 1.0.39
|
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-
|
11
|
+
date: 2016-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|