athena_health 1.0.31 → 1.0.33

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: 1de7c800565dbfacfca31a1a89b034842c50ba87
4
- data.tar.gz: 03b6c9d85f2c2feb4f9dae89b0b2ed8f129c26d4
3
+ metadata.gz: 626d43e602298c855a0931c4ed2528de86bce20c
4
+ data.tar.gz: cf2a23404549aaddba3a0f486409fea0696911bd
5
5
  SHA512:
6
- metadata.gz: aeb32596d8292fcf18b04adc3983703f0e040f2f88dd0cbd3048e6a45364543ce1e1c31cbf270616de4950ecd6b74fdfdcf91faebe27d95d6144ba1a8970ee65
7
- data.tar.gz: 43e8fd549673f7feeb00804755da0cd6a040b0a5f4d037b5f8579454972a89469ece6c882c9f80f1337c315b2d81ac3cb8ec18d6497b94532a7ecb20f8a1ea6f
6
+ metadata.gz: 5784689328fd786bdf16dcfaafd7320c1e494d2eb71a075c9a12381367a808c5a4f665d0d45c3190b37b89b7c04eb830a1a5c42976cd9c90fb2a84723af1ec1c
7
+ data.tar.gz: 615cd7505a3688ef81f6bf19692db5c6b8f83f651b43c7ad6fa611ab32fdaef215dad6be74122170d0c24c116bc6792309a0c1736fe231400332195c9b2ecf44
@@ -246,6 +246,8 @@ module AthenaHealth
246
246
  params: params.merge!(departmentid: department_id)
247
247
  )
248
248
 
249
+ response['medications'] = response['medications'].flatten
250
+
249
251
  UserMedicationCollection.new(response)
250
252
  end
251
253
 
@@ -1,6 +1,6 @@
1
1
  module AthenaHealth
2
2
  class UserMedicationCollection < BaseModel
3
3
  attribute :lastupdated, String
4
- attribute :medications, Array[Array[UserMedication]]
4
+ attribute :medications, Array[UserMedication]
5
5
  end
6
6
  end
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '1.0.31'.freeze
2
+ VERSION = '1.0.33'.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: 1.0.31
4
+ version: 1.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Urbański