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: 0d8051afba1193c910b31434586127a5bd5b1c43
4
- data.tar.gz: dc627d3c86e882820acc2e81b37c2ea9b23a4486
3
+ metadata.gz: 1b93d68005795f1f462c0317a3a0529d2d78186d
4
+ data.tar.gz: eda28c7f4c617b539f40a0df48ae467b794cb090
5
5
  SHA512:
6
- metadata.gz: 99d5023b9a78d380b904c7c0b1013f38bc0afd20a26ecdb88835d83342c5376994d3c300c7d8f76e6fe0f64ee7f1e0e113c9feb239d38bf96f78b755d475cb54
7
- data.tar.gz: 45b0101a7c20d6c517ce583e98e30859c7e98750ef33278ef0944df544125732e5d0b800100b86397966f328b2bce1abb952f1a79a0e34b2abd232f652a27c13
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'
@@ -0,0 +1,5 @@
1
+ module AthenaHealth
2
+ class EncounterSummary < BaseModel
3
+ attribute :summaryhtml, String
4
+ end
5
+ end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '1.0.42'.freeze
2
+ VERSION = '1.0.43'.freeze
3
3
  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.42
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: 2016-12-15 00:00:00.000000000 Z
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.6.4
204
+ rubygems_version: 2.5.1
204
205
  signing_key:
205
206
  specification_version: 4
206
207
  summary: Ruby wrapper for Athenahealth API.