athena_health 0.9.8 → 0.9.9
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 +4 -4
- data/lib/athena_health/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6913da1c9c2ce23c5fef5d04bebd5120af9d9ef8
|
4
|
+
data.tar.gz: d9f636b96e42b4e559afe325b465676aeabe65ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d191b1b1895a3659f322b5c5f3e62610f55ac844338700d045b29e16b204ce05005fcc849287e06db089e6141fe82409a6e039ea3b8eb45350f6a7663ba32929
|
7
|
+
data.tar.gz: 4c05ab7dfa26ca38e7666caf575f0440b9f6291c3f9d295c1f30cb9588cc3ce8dd73c3a8aa2a7382c0a267784d827bfb9561a08e0ba28cceee3ee64f7a7d16e2
|
@@ -93,21 +93,21 @@ module AthenaHealth
|
|
93
93
|
QuestionCollection.new(response)
|
94
94
|
end
|
95
95
|
|
96
|
-
def patient_prescriptions(practice_id:, department_id:, patient_id:)
|
96
|
+
def patient_prescriptions(practice_id:, department_id:, patient_id:, params: {})
|
97
97
|
response = @api.call(
|
98
98
|
endpoint: "#{practice_id}/patients/#{patient_id}/documents/prescription",
|
99
99
|
method: :get,
|
100
|
-
params:
|
100
|
+
params: params.merge!(departmentid: department_id)
|
101
101
|
)
|
102
102
|
|
103
103
|
PrescriptionCollection.new(response)
|
104
104
|
end
|
105
105
|
|
106
|
-
def patient_analytes(practice_id:, department_id:, patient_id:)
|
106
|
+
def patient_analytes(practice_id:, department_id:, patient_id:, params: {})
|
107
107
|
response = @api.call(
|
108
108
|
endpoint: "#{practice_id}/chart/#{patient_id}/analytes",
|
109
109
|
method: :get,
|
110
|
-
params:
|
110
|
+
params: params.merge!(departmentid: department_id)
|
111
111
|
)
|
112
112
|
|
113
113
|
AnalyteCollection.new(response)
|