athena_health 1.0.48 → 1.0.49

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
  SHA256:
3
- metadata.gz: 0a3db01db3800d67cecaf5fa22f8bf950464f40a5462cd7159dee81baf3ca070
4
- data.tar.gz: 86e9a28cefe5c061cd6ae3ec502f802722d5fcbbc79b1dcff0382b9218753ce7
3
+ metadata.gz: 16f3bbf0c6bb7e2bf629894b4e43693a83be20747d524d8f4574567fc3946fc7
4
+ data.tar.gz: 86f799717f6069cc1903d8ff33200a98bf9b9a2bf0d1a9356b4948f99314c168
5
5
  SHA512:
6
- metadata.gz: 1e65a0d9adc3602a19335331a2d5442158b619a4182f80870dece99e8c062e348b9ad1317bcbfb636d9bdd0750475708dd72660537409dfbc323f7fd7afabbfa
7
- data.tar.gz: 634976ef4750d4ebba167e92f965593844e6e15a70c4c91275e95838563d01559cee8deb8a7c7535ed0006b3e6d48561ff24d02580d93589dcbf99e03daf89b6
6
+ metadata.gz: 1c6d3ca9810e36409645921112723944f9190a665ec8a307554390979a83fcd04d6ea39229e91e6ee557be4f360527e67fd25ab9970ea665abce69d7515a70be
7
+ data.tar.gz: a99ba2785e8be7d86717d2781fa44e4a39653f421e804757b69d6ade1c9b840e5e4f3408062780680eab0ce8375cad6bf9313f7861b92ed174a6b1548d34fae6
@@ -45,6 +45,22 @@ module AthenaHealth
45
45
  body: body
46
46
  )
47
47
  end
48
+
49
+ def create_order_group(practice_id:, patient_id:, body: {})
50
+ @api.call(
51
+ endpoint: "#{practice_id}/chart/#{patient_id}/ordergroups",
52
+ method: :post,
53
+ body: body
54
+ )
55
+ end
56
+
57
+ def create_encounter_diagnoses(practice_id:, encounter_id:, body: {})
58
+ @api.call(
59
+ endpoint: "#{practice_id}/chart/encounter/#{encounter_id}/diagnoses",
60
+ method: :post,
61
+ body: body
62
+ )
63
+ end
48
64
  end
49
65
  end
50
66
  end
@@ -374,6 +374,14 @@ module AthenaHealth
374
374
  body: params.merge!(image: image)
375
375
  )
376
376
  end
377
+
378
+ def create_patient_case(practice_id:, patient_id:, params: {})
379
+ @api.call(
380
+ endpoint: "#{practice_id}/patients/#{patient_id}/documents/patientcase",
381
+ method: :post,
382
+ body: params
383
+ )
384
+ end
377
385
  end
378
386
  end
379
387
  end
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '1.0.48'.freeze
2
+ VERSION = '1.0.49'.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.48
4
+ version: 1.0.49
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: 2019-03-12 00:00:00.000000000 Z
11
+ date: 2019-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubygems_version: 3.0.2
205
+ rubygems_version: 3.0.3
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Ruby wrapper for Athenahealth API.