athena_health 0.4.0 → 0.5.0

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: 67ee5c98230878580032feeaf3f456b00f8c29a2
4
- data.tar.gz: 8937ea14d55cfe71ef4110cd9e2b106a878eca1c
3
+ metadata.gz: ba7279fb87a696fce44eb8b6c7cbdff1d2b82987
4
+ data.tar.gz: e47979c35e801a00523ab102c4f5eefd5a5218b1
5
5
  SHA512:
6
- metadata.gz: b53096c8bcda84fcdf8a5fb7ed0c1ea5e4fc45c622dff091fb83d6a8074df381f1a41582b03ecfdd3ea194cc3a75e2f82e4e846c53640c2bb61453fe01618be9
7
- data.tar.gz: 200d15c7f08f5c87b4bbcf0b3f162a8833610ef8fae3b94e8709ba713dc92d6ccb8f881a9f6bfcd0da550d86fc0b340f37771e6d4584d858afbc6a39337a73ac
6
+ metadata.gz: 7c8ae68f485781b35803b0a6f9d7dc96ccf95a74144790cf211e66580b01d21b20948b7c289cb9fe5557924e86823957b6a781c4dae0b37c26d8650e2af9a48d
7
+ data.tar.gz: 7f5fe820262b1f7677a9ba58d5e3bcaafc87ade3e5b68fb3e5de4e19914234885b6a1d6400ecc8179cce6cfccd800dab24f53728b36a37ccd2c2fa4fbd06d07b
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency 'typhoeus'
22
22
  spec.add_dependency 'virtus'
23
+ spec.add_dependency 'activemodel'
23
24
 
24
25
  spec.add_development_dependency 'bundler', '~> 1.11'
25
26
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,10 +1,15 @@
1
+ require 'active_model'
2
+
1
3
  module AthenaHealth
2
4
  class Patient < BaseModel
5
+ include ActiveModel::Model
6
+
3
7
  attribute :email, String
4
8
  attribute :occupationcode, String
5
9
  attribute :departmentid, Integer
6
10
  attribute :homephone, String
7
11
  attribute :guarantorstate, String
12
+ attribute :portalaccessgiven, Boolean
8
13
  attribute :driverslicense, Boolean
9
14
  attribute :workphone, String
10
15
  attribute :ethnicitycode, String
@@ -36,15 +41,20 @@ module AthenaHealth
36
41
  attribute :caresummarydeliverypreference, Boolean
37
42
  attribute :guarantorlastname, Boolean
38
43
  attribute :firstname, String
44
+ attribute :middlename, String
45
+ attribute :sex, String
46
+ attribute :hasmobile, Boolean
39
47
  attribute :guarantorcountrycode, String
40
48
  attribute :state, String
41
49
  attribute :patientid, Integer
42
50
  attribute :dob, String
43
51
  attribute :guarantorrelationshiptopatient, Integer
44
52
  attribute :address1, String
53
+ attribute :address2, String
45
54
  attribute :guarantorphone, String
46
55
  attribute :countrycode, String
47
56
  attribute :guarantoraddress1, String
57
+ attribute :guarantoraddress2, String
48
58
  attribute :consenttotext, Boolean
49
59
  attribute :countrycode3166, String
50
60
  attribute :guarantorcountrycode3166, String
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.5.0'.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: 0.4.0
4
+ version: 0.5.0
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-02-17 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activemodel
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -147,9 +161,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
161
  version: '0'
148
162
  requirements: []
149
163
  rubyforge_project:
150
- rubygems_version: 2.4.8
164
+ rubygems_version: 2.5.1
151
165
  signing_key:
152
166
  specification_version: 4
153
167
  summary: Ruby wrapper for Athenahealth API.
154
168
  test_files: []
155
- has_rdoc: