athena_health 1.0.42 → 1.0.43
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: 1b93d68005795f1f462c0317a3a0529d2d78186d
|
4
|
+
data.tar.gz: eda28c7f4c617b539f40a0df48ae467b794cb090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c73ae4d372e66985b23c836e649320c67d477dad21e606792ef3d220041ce2a23e508733f3d4e0a2d76aa9b52c4d574736ae9bd79bb40f5e677d12759097167d
|
7
|
+
data.tar.gz: 13c7f3c6f59b90264e2d1545934f6947cde3c985853b3b59994dc78f761294e1c52e88c45b4d639aaf4394f384db572aac2e00ba900cae7f7b93e2e970e673e2
|
data/lib/athena_health.rb
CHANGED
@@ -37,6 +37,7 @@ require 'athena_health/patient_appointment_reason'
|
|
37
37
|
require 'athena_health/patient_appointment_reason_collection'
|
38
38
|
require 'athena_health/encounter'
|
39
39
|
require 'athena_health/encounter_collection'
|
40
|
+
require 'athena_health/encounter_summary'
|
40
41
|
require 'athena_health/order'
|
41
42
|
require 'athena_health/order_collection'
|
42
43
|
require 'athena_health/analyte'
|
@@ -29,6 +29,14 @@ module AthenaHealth
|
|
29
29
|
|
30
30
|
Order.new(response)
|
31
31
|
end
|
32
|
+
|
33
|
+
def encounter_summary(practice_id:, encounter_id:)
|
34
|
+
response = @api.call(
|
35
|
+
endpoint: "#{practice_id}/chart/encounters/#{encounter_id}/summary",
|
36
|
+
method: :get
|
37
|
+
)
|
38
|
+
EncounterSummary.new(response)
|
39
|
+
end
|
32
40
|
end
|
33
41
|
end
|
34
42
|
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: 1.0.
|
4
|
+
version: 1.0.43
|
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:
|
11
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -131,6 +131,7 @@ files:
|
|
131
131
|
- lib/athena_health/document_collection.rb
|
132
132
|
- lib/athena_health/encounter.rb
|
133
133
|
- lib/athena_health/encounter_collection.rb
|
134
|
+
- lib/athena_health/encounter_summary.rb
|
134
135
|
- lib/athena_health/endpoints/appointments.rb
|
135
136
|
- lib/athena_health/endpoints/configurations.rb
|
136
137
|
- lib/athena_health/endpoints/departments.rb
|
@@ -200,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
201
|
version: '0'
|
201
202
|
requirements: []
|
202
203
|
rubyforge_project:
|
203
|
-
rubygems_version: 2.
|
204
|
+
rubygems_version: 2.5.1
|
204
205
|
signing_key:
|
205
206
|
specification_version: 4
|
206
207
|
summary: Ruby wrapper for Athenahealth API.
|