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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aabfaf5af19400a12ee22d1042dfecaed5a88392
4
- data.tar.gz: 99a1e100532e0e59cd99f2ac84e74d6bbc523c1f
3
+ metadata.gz: 6913da1c9c2ce23c5fef5d04bebd5120af9d9ef8
4
+ data.tar.gz: d9f636b96e42b4e559afe325b465676aeabe65ab
5
5
  SHA512:
6
- metadata.gz: 1ef488923e2b4488d0a425f96f0f789ca9f86ba46ab9c26c604848c601298096d54cd15e230cf18b1362c980727d7212b3698da4eb91583db560ec111fdc36d9
7
- data.tar.gz: b2ec2daa759f4ed6ac9a2aefb960a2fcb3c5a98101d2e8653a140d1c14bf86ec39bd892b0a52ceffbed5b452728e35262f7a4c5bd80dcc127a9673a91079fafd
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: { departmentid: department_id }
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: { departmentid: department_id }
110
+ params: params.merge!(departmentid: department_id)
111
111
  )
112
112
 
113
113
  AnalyteCollection.new(response)
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '0.9.8'.freeze
2
+ VERSION = '0.9.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: athena_health
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Urbański