athena_health 1.0.5 → 1.0.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/connection.rb +1 -1
- data/lib/athena_health/endpoints/patients.rb +8 -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: 2de93bc8f82bb2d42d97dbb3aa757950ee343bab
|
4
|
+
data.tar.gz: fa9ff2631ac43fc1cd057ff27d66316475c030dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc5614d7c69011e7cd8ff87e69ad0df8966e35efe9a78d3215b8464b082e076dfc899bf5c78b35c011e3bc54622b8ed426b794efba63290691e5a8f72e3b693
|
7
|
+
data.tar.gz: 887cfd3ab18840adc03b84f3d5d47e9ab5681d816dc1e1ab08ab3a7e9bee018d75a169847c1e83c7d1cab3d2c14586fcef16acc346c7e98d9e12308b687266f5
|
@@ -133,6 +133,14 @@ module AthenaHealth
|
|
133
133
|
DocumentCollection.new(response)
|
134
134
|
end
|
135
135
|
|
136
|
+
def create_patient_document(practice_id:, department_id:, patient_id:, params: {})
|
137
|
+
@api.call(
|
138
|
+
endpoint: "#{practice_id}/patients/#{patient_id}/documents",
|
139
|
+
method: :post,
|
140
|
+
body: params.merge!(departmentid: department_id.to_s)
|
141
|
+
)
|
142
|
+
end
|
143
|
+
|
136
144
|
def patient_default_pharmacy(practice_id:, department_id:, patient_id:)
|
137
145
|
response = @api.call(
|
138
146
|
endpoint: "#{practice_id}/chart/#{patient_id}/pharmacies/default",
|
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.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-05-
|
11
|
+
date: 2016-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|