quality-measure-engine 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/lib/qme/ext/record.rb +5 -5
- metadata +27 -27
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ gem 'bson_ext', '1.5.1', :platforms => :mri
|
|
7
7
|
gem 'rake'
|
8
8
|
#gem 'pry', :require => true
|
9
9
|
#gem 'health-data-standards', :git => 'https://github.com/projectcypress/health-data-standards.git', :branch => 'master'
|
10
|
-
gem 'health-data-standards', '0.8.
|
10
|
+
gem 'health-data-standards', '0.8.1'
|
11
11
|
|
12
12
|
group :test do
|
13
13
|
gem 'cover_me', '>= 1.0.0.rc5', :platforms => :ruby_19
|
data/lib/qme/ext/record.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
class Record
|
4
4
|
|
5
5
|
def procedures_performed
|
6
|
-
@procedures_performed = procedures.to_a + immunizations.to_a
|
6
|
+
@procedures_performed = procedures.to_a + immunizations.to_a + medications.to_a
|
7
7
|
end
|
8
8
|
|
9
9
|
def procedure_results
|
@@ -24,13 +24,13 @@ class Record
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def inactive_diagnosis
|
27
|
-
@inactive_diagnosis ||= conditions.any_of({:status => 'inactive'}
|
28
|
-
social_history.any_of({:status => 'inactive'}
|
27
|
+
@inactive_diagnosis ||= conditions.any_of({:status => 'inactive'}).to_a +
|
28
|
+
social_history.any_of({:status => 'inactive'}).to_a
|
29
29
|
end
|
30
30
|
|
31
31
|
def resolved_diagnosis
|
32
|
-
@resolved_diagnosis ||= conditions.any_of({:status => 'resolved'}
|
33
|
-
social_history.any_of({:status => 'resolved'}
|
32
|
+
@resolved_diagnosis ||= conditions.any_of({:status => 'resolved'}).to_a +
|
33
|
+
social_history.any_of({:status => 'resolved'}).to_a
|
34
34
|
end
|
35
35
|
|
36
36
|
def all_problems
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quality-measure-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-
|
14
|
+
date: 2012-06-04 00:00:00.000000000Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: mongo
|
18
|
-
requirement: &
|
18
|
+
requirement: &2161671420 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: '1.3'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *2161671420
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubyzip
|
29
|
-
requirement: &
|
29
|
+
requirement: &2161670600 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
@@ -34,21 +34,21 @@ dependencies:
|
|
34
34
|
version: 0.9.4
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *2161670600
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: nokogiri
|
40
|
-
requirement: &
|
40
|
+
requirement: &2161668840 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: 1.4.4
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *2161668840
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: resque
|
51
|
-
requirement: &
|
51
|
+
requirement: &2161668220 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ~>
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: 1.15.0
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *2161668220
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: resque-status
|
62
|
-
requirement: &
|
62
|
+
requirement: &2161667400 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ~>
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: 0.2.3
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *2161667400
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: jsonschema
|
73
|
-
requirement: &
|
73
|
+
requirement: &2161666420 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ~>
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: 2.0.0
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *2161666420
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: rspec
|
84
|
-
requirement: &
|
84
|
+
requirement: &2161665500 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ~>
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: 2.5.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *2161665500
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: awesome_print
|
95
|
-
requirement: &
|
95
|
+
requirement: &2161664640 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ~>
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: '0.3'
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *2161664640
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: roo
|
106
|
-
requirement: &
|
106
|
+
requirement: &2161664100 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ~>
|
@@ -111,10 +111,10 @@ dependencies:
|
|
111
111
|
version: 1.9.3
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *2161664100
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: builder
|
117
|
-
requirement: &
|
117
|
+
requirement: &2161656940 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
120
|
- - ~>
|
@@ -122,10 +122,10 @@ dependencies:
|
|
122
122
|
version: 3.0.0
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
|
-
version_requirements: *
|
125
|
+
version_requirements: *2161656940
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: spreadsheet
|
128
|
-
requirement: &
|
128
|
+
requirement: &2161655920 !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
131
|
- - ~>
|
@@ -133,10 +133,10 @@ dependencies:
|
|
133
133
|
version: 0.6.5.2
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
|
-
version_requirements: *
|
136
|
+
version_requirements: *2161655920
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: google-spreadsheet-ruby
|
139
|
-
requirement: &
|
139
|
+
requirement: &2161654900 !ruby/object:Gem::Requirement
|
140
140
|
none: false
|
141
141
|
requirements:
|
142
142
|
- - ~>
|
@@ -144,7 +144,7 @@ dependencies:
|
|
144
144
|
version: 0.1.2
|
145
145
|
type: :development
|
146
146
|
prerelease: false
|
147
|
-
version_requirements: *
|
147
|
+
version_requirements: *2161654900
|
148
148
|
description: A library for extracting quality measure information from HITSP C32's
|
149
149
|
and ASTM CCR's
|
150
150
|
email: talk@projectpophealth.org
|