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 +4 -4
- data/athena_health.gemspec +1 -0
- data/lib/athena_health/patient.rb +10 -0
- data/lib/athena_health/version.rb +1 -1
- metadata +17 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba7279fb87a696fce44eb8b6c7cbdff1d2b82987
|
4
|
+
data.tar.gz: e47979c35e801a00523ab102c4f5eefd5a5218b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c8ae68f485781b35803b0a6f9d7dc96ccf95a74144790cf211e66580b01d21b20948b7c289cb9fe5557924e86823957b6a781c4dae0b37c26d8650e2af9a48d
|
7
|
+
data.tar.gz: 7f5fe820262b1f7677a9ba58d5e3bcaafc87ade3e5b68fb3e5de4e19914234885b6a1d6400ecc8179cce6cfccd800dab24f53728b36a37ccd2c2fa4fbd06d07b
|
data/athena_health.gemspec
CHANGED
@@ -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
|
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
|
+
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-
|
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.
|
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:
|