bonnie_bundler 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/.travis.yml +12 -0
  4. data/Gemfile +29 -0
  5. data/Gemfile.lock +267 -0
  6. data/README.md +4 -0
  7. data/Rakefile +29 -0
  8. data/bonnie-bundler.gemspec +29 -0
  9. data/config/initializers/mongo.rb +1 -0
  10. data/config/measures/measures_2_4_0.yml +719 -0
  11. data/config/mongoid.yml +6 -0
  12. data/lib/bonnie_bundler.rb +39 -0
  13. data/lib/ext/hash.rb +28 -0
  14. data/lib/ext/railtie.rb +11 -0
  15. data/lib/ext/valueset.rb +11 -0
  16. data/lib/measures/cql_to_elm_helper.rb +90 -0
  17. data/lib/measures/elm_parser.rb +74 -0
  18. data/lib/measures/loading/base_loader_definition.rb +61 -0
  19. data/lib/measures/loading/cql_loader.rb +420 -0
  20. data/lib/measures/loading/exceptions.rb +10 -0
  21. data/lib/measures/loading/loader.rb +178 -0
  22. data/lib/measures/loading/value_set_loader.rb +137 -0
  23. data/lib/measures/logic_extractor.rb +552 -0
  24. data/lib/measures/mongo_hash_key_wrapper.rb +44 -0
  25. data/lib/models/cql_measure.rb +160 -0
  26. data/lib/models/measure.rb +330 -0
  27. data/test/fixtures/BCS_v5_0_Artifacts.zip +0 -0
  28. data/test/fixtures/CMS158_v5_4_Artifacts.zip +0 -0
  29. data/test/fixtures/CMS158_v5_4_Artifacts_Update.zip +0 -0
  30. data/test/fixtures/DRAFT_CMS2_CQL.zip +0 -0
  31. data/test/fixtures/bonnienesting01_fixed.zip +0 -0
  32. data/test/fixtures/vcr_cassettes/mat_5-4_cql_export_vsac_response.yml +4723 -0
  33. data/test/fixtures/vcr_cassettes/multi_library_webcalls.yml +1892 -0
  34. data/test/fixtures/vcr_cassettes/valid_translation_response.yml +1120 -0
  35. data/test/fixtures/vcr_cassettes/valid_vsac_response.yml +1678 -0
  36. data/test/fixtures/vcr_cassettes/valid_vsac_response_158.yml +1670 -0
  37. data/test/fixtures/vcr_cassettes/valid_vsac_response_158_update.yml +1670 -0
  38. data/test/fixtures/vcr_cassettes/valid_vsac_response_includes_draft.yml +3480 -0
  39. data/test/fixtures/vcr_cassettes/vs_loading_draft_no_profile_version.yml +1198 -0
  40. data/test/fixtures/vcr_cassettes/vs_loading_draft_profile.yml +1198 -0
  41. data/test/fixtures/vcr_cassettes/vs_loading_draft_verion.yml +1198 -0
  42. data/test/fixtures/vcr_cassettes/vs_loading_no_profile_version.yml +1198 -0
  43. data/test/fixtures/vcr_cassettes/vs_loading_profile.yml +1196 -0
  44. data/test/fixtures/vcr_cassettes/vs_loading_version.yml +20331 -0
  45. data/test/fixtures/vs_loading/DocofMeds_v5_1_Artifacts.zip +0 -0
  46. data/test/fixtures/vs_loading/DocofMeds_v5_1_Artifacts_Version.zip +0 -0
  47. data/test/fixtures/vs_loading/DocofMeds_v5_1_Artifacts_With_Profiles.zip +0 -0
  48. data/test/simplecov_init.rb +18 -0
  49. data/test/test_helper.rb +44 -0
  50. data/test/unit/load_mat_export_test.rb +181 -0
  51. data/test/unit/measure_complexity_test.rb +32 -0
  52. data/test/unit/measure_diff_test.rb +68 -0
  53. data/test/unit/mongo_hash_key_wrapper_test.rb +247 -0
  54. data/test/unit/storing_mat_export_package_test.rb +45 -0
  55. data/test/unit/value_set_loading_test.rb +109 -0
  56. data/test/vcr_setup.rb +20 -0
  57. metadata +258 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a8e32e9abd0ae8bddf964402942f9e173b8f9e67
4
+ data.tar.gz: defe86ae5cbfe20bf191c4b9872a1601e9f9bedd
5
+ SHA512:
6
+ metadata.gz: ebd879310aa8f2d93499729729f76fa612c81fd6aa0bafdb31c79c1effc832cd01b6b2df28245c3d44c7cee0327096aedd9104be67823017f0b256c0afc7dcd3
7
+ data.tar.gz: bc97bb15843fa6792d819b9724e796730477b826b691cf03d1b1e598a46a53008ef0e14068d999332bdd850f525042add1c298401cfb6e5168654a22c37cbce6
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ coverage
2
+ bundle
3
+ *.DS_Store
data/.travis.yml ADDED
@@ -0,0 +1,12 @@
1
+ language: ruby
2
+ rvm:
3
+ - "2.3.5"
4
+ services: mongodb
5
+ script:
6
+ - bundle exec bundle-audit check --update
7
+ - bundle exec rake
8
+ notifications:
9
+ email:
10
+ recipients:
11
+ - healthcare-ci@googlegroups.com
12
+ on_failure: change
data/Gemfile ADDED
@@ -0,0 +1,29 @@
1
+ source "https://rubygems.org"
2
+ gemspec
3
+
4
+ # gem 'health-data-standards', :git => 'https://github.com/projectcypress/health-data-standards.git', :branch => 'cql4bonnie'
5
+ # gem 'quality-measure-engine', :git => 'https://github.com/projectcypress/quality-measure-engine.git', :branch => 'master'
6
+ # gem 'hqmf2js', :git => 'https://github.com/projecttacoma/hqmf2js.git', :branch => 'master'
7
+ # gem 'hquery-patient-api', :git => 'https://github.com/projecttacoma/patientapi.git', :branch => 'master'
8
+ # gem 'simplexml_parser', :git => 'https://github.com/projecttacoma/simplexml_parser.git', :branch => 'master'
9
+
10
+ # gem 'health-data-standards', :path => '../health-data-standards'
11
+ # gem 'quality-measure-engine', :path => '../quality-measure-engine'
12
+ # gem 'hqmf2js', :path => '../hqmf2js'
13
+ # gem 'hquery-patient-api', :path => '../patientapi'
14
+ # gem 'simplexml_parser', :path => '../simplexml_parser'
15
+
16
+ group :development do
17
+ gem 'rake'
18
+ gem 'pry'
19
+ gem 'pry-nav'
20
+ end
21
+
22
+ group :test do
23
+ gem 'simplecov', :require => false
24
+ gem 'minitest', "~> 5.0"
25
+ gem 'awesome_print', :require => 'ap'
26
+ gem 'vcr'
27
+ gem 'webmock'
28
+ gem 'bundler-audit'
29
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,267 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ bonnie_bundler (2.0.0)
5
+ diffy (~> 3.0.0)
6
+ health-data-standards (~> 4.0)
7
+ hqmf2js (~> 1.4)
8
+ hquery-patient-api (~> 1.1)
9
+ mongoid (~> 5.0)
10
+ quality-measure-engine (~> 3.2)
11
+ rails (~> 4.2)
12
+ roo (~> 1.13)
13
+ rubyzip (~> 1.2, >= 1.2.1)
14
+ simplexml_parser (~> 1.0)
15
+ zip-zip (~> 0.3)
16
+
17
+ GEM
18
+ remote: https://rubygems.org/
19
+ specs:
20
+ actionmailer (4.2.10)
21
+ actionpack (= 4.2.10)
22
+ actionview (= 4.2.10)
23
+ activejob (= 4.2.10)
24
+ mail (~> 2.5, >= 2.5.4)
25
+ rails-dom-testing (~> 1.0, >= 1.0.5)
26
+ actionpack (4.2.10)
27
+ actionview (= 4.2.10)
28
+ activesupport (= 4.2.10)
29
+ rack (~> 1.6)
30
+ rack-test (~> 0.6.2)
31
+ rails-dom-testing (~> 1.0, >= 1.0.5)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
33
+ actionview (4.2.10)
34
+ activesupport (= 4.2.10)
35
+ builder (~> 3.1)
36
+ erubis (~> 2.7.0)
37
+ rails-dom-testing (~> 1.0, >= 1.0.5)
38
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
39
+ activejob (4.2.10)
40
+ activesupport (= 4.2.10)
41
+ globalid (>= 0.3.0)
42
+ activemodel (4.2.10)
43
+ activesupport (= 4.2.10)
44
+ builder (~> 3.1)
45
+ activerecord (4.2.10)
46
+ activemodel (= 4.2.10)
47
+ activesupport (= 4.2.10)
48
+ arel (~> 6.0)
49
+ activesupport (4.2.10)
50
+ i18n (~> 0.7)
51
+ minitest (~> 5.1)
52
+ thread_safe (~> 0.3, >= 0.3.4)
53
+ tzinfo (~> 1.1)
54
+ addressable (2.5.2)
55
+ public_suffix (>= 2.0.2, < 4.0)
56
+ arel (6.0.4)
57
+ awesome_print (1.2.0)
58
+ bson (4.2.2)
59
+ builder (3.2.3)
60
+ bundler-audit (0.6.0)
61
+ bundler (~> 1.2)
62
+ thor (~> 0.18)
63
+ coderay (1.1.0)
64
+ coffee-script (2.4.1)
65
+ coffee-script-source
66
+ execjs
67
+ coffee-script-source (1.12.2)
68
+ concurrent-ruby (1.0.5)
69
+ crack (0.4.3)
70
+ safe_yaml (~> 1.0.0)
71
+ crass (1.0.3)
72
+ delayed_job (4.1.3)
73
+ activesupport (>= 3.0, < 5.2)
74
+ delayed_job_mongoid (2.3.0)
75
+ delayed_job (>= 3.0, < 5)
76
+ mongoid (>= 3.0, < 7)
77
+ mongoid-compatibility (>= 0.4.0)
78
+ diffy (3.0.7)
79
+ docile (1.1.3)
80
+ domain_name (0.5.20170404)
81
+ unf (>= 0.0.5, < 1.0.0)
82
+ erubis (2.7.0)
83
+ execjs (2.7.0)
84
+ globalid (0.4.1)
85
+ activesupport (>= 4.2.0)
86
+ hashdiff (0.3.6)
87
+ health-data-standards (4.0.0)
88
+ activesupport (~> 4.2.0)
89
+ builder (~> 3.1)
90
+ erubis (~> 2.7.0)
91
+ highline (~> 1.7.0)
92
+ log4r (~> 1.1.10)
93
+ memoist (~> 0.9.1)
94
+ mongoid (~> 5.0.0)
95
+ mongoid-tree (~> 2.0.0)
96
+ nokogiri (~> 1.8.1)
97
+ protected_attributes (~> 1.0.5)
98
+ rest-client (~> 1.8.0)
99
+ rubyzip (~> 1.2.1)
100
+ uuid (~> 2.3.7)
101
+ zip-zip (~> 0.3)
102
+ highline (1.7.8)
103
+ hike (1.2.3)
104
+ hqmf2js (1.4.0)
105
+ health-data-standards (~> 4.0)
106
+ hquery-patient-api (~> 1.1)
107
+ rails (~> 4.2)
108
+ hquery-patient-api (1.1.1)
109
+ coffee-script (~> 2.4)
110
+ libv8 (~> 3.16.14)
111
+ sprockets (~> 2.2)
112
+ therubyracer (~> 0.12)
113
+ tilt (~> 1.4)
114
+ uglifier (~> 2.7)
115
+ http-cookie (1.0.3)
116
+ domain_name (~> 0.5)
117
+ i18n (0.9.1)
118
+ concurrent-ruby (~> 1.0)
119
+ json (2.1.0)
120
+ libv8 (3.16.14.19)
121
+ log4r (1.1.10)
122
+ loofah (2.1.1)
123
+ crass (~> 1.0.2)
124
+ nokogiri (>= 1.5.9)
125
+ macaddr (1.7.1)
126
+ systemu (~> 2.6.2)
127
+ mail (2.7.0)
128
+ mini_mime (>= 0.1.1)
129
+ memoist (0.9.3)
130
+ method_source (0.8.2)
131
+ mime-types (2.99.3)
132
+ mini_mime (1.0.0)
133
+ mini_portile2 (2.3.0)
134
+ minitest (5.10.2)
135
+ mongo (2.4.3)
136
+ bson (>= 4.2.1, < 5.0.0)
137
+ mongoid (5.0.2)
138
+ activemodel (~> 4.0)
139
+ mongo (~> 2.1)
140
+ origin (~> 2.1)
141
+ tzinfo (>= 0.3.37)
142
+ mongoid-compatibility (0.5.0)
143
+ activesupport
144
+ mongoid (>= 2.0)
145
+ mongoid-tree (2.0.1)
146
+ mongoid (>= 4.0, < 6.0)
147
+ multi_json (1.12.2)
148
+ netrc (0.11.0)
149
+ nokogiri (1.8.1)
150
+ mini_portile2 (~> 2.3.0)
151
+ origin (2.3.1)
152
+ protected_attributes (1.0.9)
153
+ activemodel (>= 4.0.1, < 5.0)
154
+ pry (0.9.12.6)
155
+ coderay (~> 1.0)
156
+ method_source (~> 0.8)
157
+ slop (~> 3.4)
158
+ pry-nav (0.2.3)
159
+ pry (~> 0.9.10)
160
+ public_suffix (3.0.0)
161
+ quality-measure-engine (3.2.0)
162
+ delayed_job_mongoid (~> 2.2)
163
+ mongoid (~> 5.0)
164
+ rubyzip (~> 1.0)
165
+ zip-zip (~> 0.3)
166
+ rack (1.6.8)
167
+ rack-test (0.6.3)
168
+ rack (>= 1.0)
169
+ rails (4.2.10)
170
+ actionmailer (= 4.2.10)
171
+ actionpack (= 4.2.10)
172
+ actionview (= 4.2.10)
173
+ activejob (= 4.2.10)
174
+ activemodel (= 4.2.10)
175
+ activerecord (= 4.2.10)
176
+ activesupport (= 4.2.10)
177
+ bundler (>= 1.3.0, < 2.0)
178
+ railties (= 4.2.10)
179
+ sprockets-rails
180
+ rails-deprecated_sanitizer (1.0.3)
181
+ activesupport (>= 4.2.0.alpha)
182
+ rails-dom-testing (1.0.8)
183
+ activesupport (>= 4.2.0.beta, < 5.0)
184
+ nokogiri (~> 1.6)
185
+ rails-deprecated_sanitizer (>= 1.0.1)
186
+ rails-html-sanitizer (1.0.3)
187
+ loofah (~> 2.0)
188
+ railties (4.2.10)
189
+ actionpack (= 4.2.10)
190
+ activesupport (= 4.2.10)
191
+ rake (>= 0.8.7)
192
+ thor (>= 0.18.1, < 2.0)
193
+ rake (12.0.0)
194
+ ref (2.0.0)
195
+ rest-client (1.8.0)
196
+ http-cookie (>= 1.0.2, < 2.0)
197
+ mime-types (>= 1.16, < 3.0)
198
+ netrc (~> 0.7)
199
+ roo (1.13.2)
200
+ nokogiri
201
+ rubyzip
202
+ spreadsheet (> 0.6.4)
203
+ ruby-ole (1.2.12.1)
204
+ rubyzip (1.2.1)
205
+ safe_yaml (1.0.4)
206
+ simplecov (0.8.2)
207
+ docile (~> 1.1.0)
208
+ multi_json
209
+ simplecov-html (~> 0.8.0)
210
+ simplecov-html (0.8.0)
211
+ simplexml_parser (1.0.1)
212
+ health-data-standards (~> 4.0)
213
+ tilt (~> 1.4)
214
+ slop (3.5.0)
215
+ spreadsheet (1.1.5)
216
+ ruby-ole (>= 1.0)
217
+ sprockets (2.12.4)
218
+ hike (~> 1.2)
219
+ multi_json (~> 1.0)
220
+ rack (~> 1.0)
221
+ tilt (~> 1.1, != 1.3.0)
222
+ sprockets-rails (2.3.3)
223
+ actionpack (>= 3.0)
224
+ activesupport (>= 3.0)
225
+ sprockets (>= 2.8, < 4.0)
226
+ systemu (2.6.5)
227
+ therubyracer (0.12.3)
228
+ libv8 (~> 3.16.14.15)
229
+ ref
230
+ thor (0.20.0)
231
+ thread_safe (0.3.6)
232
+ tilt (1.4.1)
233
+ tzinfo (1.2.4)
234
+ thread_safe (~> 0.1)
235
+ uglifier (2.7.2)
236
+ execjs (>= 0.3.0)
237
+ json (>= 1.8.0)
238
+ unf (0.1.4)
239
+ unf_ext
240
+ unf_ext (0.0.7.4)
241
+ uuid (2.3.8)
242
+ macaddr (~> 1.0)
243
+ vcr (3.0.3)
244
+ webmock (3.0.1)
245
+ addressable (>= 2.3.6)
246
+ crack (>= 0.3.2)
247
+ hashdiff
248
+ zip-zip (0.3)
249
+ rubyzip (>= 1.0.0)
250
+
251
+ PLATFORMS
252
+ ruby
253
+
254
+ DEPENDENCIES
255
+ awesome_print
256
+ bonnie_bundler!
257
+ bundler-audit
258
+ minitest (~> 5.0)
259
+ pry
260
+ pry-nav
261
+ rake
262
+ simplecov
263
+ vcr
264
+ webmock
265
+
266
+ BUNDLED WITH
267
+ 1.15.4
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ bonnie_bundler
2
+ ==============
3
+
4
+ Gem for creating and managing bonnie bundles
data/Rakefile ADDED
@@ -0,0 +1,29 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'fileutils'
4
+ require 'pry'
5
+ require 'health-data-standards'
6
+ require 'rails'
7
+ require 'health-data-standards/railtie'
8
+ require 'zip/zip'
9
+
10
+ require_relative 'lib/bonnie_bundler'
11
+
12
+ # Pull in any rake task defined in lib/tasks
13
+ Dir['lib/tasks/**/*.rake'].sort.each do |ext|
14
+ load ext
15
+ end
16
+
17
+ desc "Run basic tests"
18
+ Rake::TestTask.new(:test_unit) do |t|
19
+ t.libs << "test"
20
+ t.test_files = FileList['test/**/*_test.rb']
21
+ t.verbose = true
22
+ t.warning = false
23
+ end
24
+
25
+ task :test => [:test_unit] do
26
+ system("open coverage/index.html")
27
+ end
28
+
29
+ task :default => [:test]
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "bonnie_bundler"
5
+ s.summary = "A Gem for creating and managing bonnie bundles"
6
+ s.description = "A Gem for creating and managing bonnie bundles"
7
+ s.email = "pophealth-talk@googlegroups.com"
8
+ s.homepage = "http://github.com/projecttacoma/bonnie_bundler"
9
+ s.authors = ["The MITRE Corporation"]
10
+ s.version = '2.0.0'
11
+ s.license = 'Apache-2.0'
12
+
13
+ s.add_dependency 'health-data-standards', '~> 4.0'
14
+ s.add_dependency 'quality-measure-engine', '~> 3.2'
15
+ s.add_dependency 'hquery-patient-api', '~> 1.1'
16
+ s.add_dependency 'simplexml_parser', '~> 1.0'
17
+ s.add_dependency 'hqmf2js', '~> 1.4'
18
+
19
+ s.add_dependency 'rails', '~> 4.2'
20
+ s.add_dependency 'mongoid', '~> 5.0'
21
+ s.add_dependency 'rubyzip', '~> 1.2', '>= 1.2.1'
22
+ s.add_dependency 'zip-zip', '~> 0.3'
23
+ s.add_dependency 'diffy', '~> 3.0.0'
24
+
25
+ # needed for parsing value sets (we need to use roo rather than rubyxl because the value sets are in xls rather than xlsx)
26
+ s.add_dependency 'roo', '~> 1.13'
27
+
28
+ s.files = s.files = `git ls-files`.split("\n")
29
+ end
@@ -0,0 +1 @@
1
+ Mongoid.load!("config/mongoid.yml", :test) unless Mongoid.configured?
@@ -0,0 +1,719 @@
1
+ measures: &measures
2
+ title: Meaningful Use Stage 2 Quality Bundle
3
+ version: 2.4.0
4
+ effective_date: 1356998340
5
+ measure_period_start: 1325376000
6
+ license: <p>Performance measures and related data specifications (the \"Measures\") are copyrighted by\nthe noted quality measure providers as indicated in the applicable Measure. Coding\nvocabularies are owned by their copyright owners. By using the Measures, a user\n(\"User\") agrees to these Terms of Use. Measures are not clinical guidelines and do not\nestablish a standard of medical care and quality measure providers are not responsible\nfor any use of or reliance on the Measures.</p>\n\n<p><strong>THE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT ANY WARRANTY OF\nANY KIND, AND ANY AND ALL IMPLIED WARRANTIES ARE HEREBY DISCLAIMED, INCLUDING ANY\nWARRANTY OF NON-INFRINGEMENT, ACCURACY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. NO QUALITY MEASURE PROVIDER, NOR ANY OF THEIR TRUSTEES, DIRECTORS, MEMBERS,\nAFFILIATES, OFFICERS, EMPLOYEES, SUCCESSORS AND/OR ASSIGNS WILL BE LIABLE TO YOU FOR\nANY DIRECT, INDIRECT, SPECIAL, EXEMPLARY, INCIDENTAL, PUNITIVE, AND/OR CONSEQUENTIAL\nDAMAGE OF ANY KIND, IN CONTRACT, TORT OR OTHERWISE, IN CONNECTION WITH THE USE OF THE\nPOPHEALTH TOOL OR THE MEASURES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.\n</strong></p>\n\n<p>The Measures are licensed to a User for the limited purpose of using, reproducing and\ndistributing the Measures with the popHealth Tool as delivered to User, without any\nmodification, for commercial and noncommercial uses, but such uses are only permitted\nif the copies of the Measures contain this complete Copyright, Disclaimer and Terms\nof Use. Users of the Measures may not alter, enhance, or otherwise modify the Measures.</p>\n\n<p><strong>NOT A CONTRIBUTION</strong> - The Measures, including specifications and coding,\nas used in the popHealth Tool, are not a contribution under the Apache license. Coding\nin the Measures is provided for convenience only and necessary licenses for use should\nbe obtained from the copyright owners. Current Procedural Terminology \n(CPT<span class=\"reg\">&reg;</span>) &copy; 2004-2010 American Medical Association. \nLOINC<span class=\"reg\">&reg;</span> &copy; 2004 Regenstrief Institute,\nInc. SNOMED Clinical Terms<span class=\"reg\">&reg;</span> \n(SNOMED CT<span class=\"reg\">&reg;</span>) &copy; 2004-2010 International Health\nTerminology Standards Development Organization.</p>",
7
+
8
+ ################################################
9
+ ################# EP Measures ##################
10
+ ################################################
11
+
12
+ BEB1C33C-2549-4E7F-9567-05ED38448464:
13
+ nqf_id: '0002'
14
+ type: ep
15
+ category: Core
16
+ episode_of_care: false
17
+ continuous_variable: false
18
+ C3657D72-21B4-4675-820A-86C7FE293BF5:
19
+ nqf_id: '0004'
20
+ type: ep
21
+ category: Behavioral Health Adult
22
+ episode_of_care: false
23
+ continuous_variable: false
24
+ subtitles:
25
+ a: Treatment
26
+ b: Treatment w/ AOD
27
+ c: 'Treatment, RS1: 13-17'
28
+ d: 'Treatment, RS2: >=18'
29
+ e: 'Treatment w/ AOD, RS1: 13-17'
30
+ f: 'Treatment w AOD, RS2: >=18'
31
+ ABDC37CC-BAC6-4156-9B91-D1BE2C8B7268:
32
+ nqf_id: '0018'
33
+ type: ep
34
+ category: Core
35
+ episode_of_care: false
36
+ continuous_variable: false
37
+ A3837FF8-1ABC-4BA9-800E-FD4E7953ADBD:
38
+ nqf_id: '0022'
39
+ type: ep
40
+ category: Core
41
+ episode_of_care: false
42
+ continuous_variable: false
43
+ subtitles:
44
+ a: 1+ High-Risk Medications
45
+ b: 2+ High-Risk Medications
46
+ 0B63F730-25D6-4248-B11F-8C09C66A04EB:
47
+ nqf_id: '0024'
48
+ type: ep
49
+ category: Core
50
+ episode_of_care: false
51
+ continuous_variable: false
52
+ subtitles:
53
+ a: BMI Recorded
54
+ b: Nutrition Counseling
55
+ c: Physical Activity Counseling
56
+ d: 'BMI Recorded, RS1: 3-11'
57
+ e: 'BMI Recorded, RS2: 12-17'
58
+ f: 'Nutrition Counseling, RS1: 3-11'
59
+ g: 'Nutrition Counseling, RS2: 12-17'
60
+ h: 'Physical Activity Counseling, RS1: 3-11'
61
+ i: 'Physical Activity Counseling, RS2: 12-17'
62
+ E35791DF-5B25-41BB-B260-673337BC44A8:
63
+ nqf_id: '0028'
64
+ type: ep
65
+ category: Core
66
+ episode_of_care: false
67
+ continuous_variable: false
68
+ 19783C1B-4FD1-46C1-8A96-A2F192B97EE0:
69
+ nqf_id: '0031'
70
+ type: ep
71
+ category: General Practice Adult
72
+ episode_of_care: false
73
+ continuous_variable: false
74
+ 42E7E489-790F-427A-A1A6-D6E807F65A6D:
75
+ nqf_id: '0032'
76
+ type: ep
77
+ category: General Practice Adult
78
+ episode_of_care: false
79
+ continuous_variable: false
80
+ C9930664-BE3D-4FFE-AE4A-5CF4933ECB89:
81
+ nqf_id: '0033'
82
+ type: ep
83
+ category: Core
84
+ episode_of_care: false
85
+ continuous_variable: false
86
+ subtitles:
87
+ a: 16-24
88
+ b: 'RS1: 16-20'
89
+ c: 'RS2: 21-24'
90
+ AA2A4BBC-864F-45EE-B17A-7EBCC62E6AAC:
91
+ nqf_id: '0034'
92
+ type: ep
93
+ category: General Practice Adult
94
+ episode_of_care: false
95
+ continuous_variable: false
96
+ 59E84144-6332-4369-AEBD-03A7899CA3DA:
97
+ nqf_id: '0036'
98
+ type: ep
99
+ category: Core
100
+ episode_of_care: false
101
+ continuous_variable: false
102
+ subtitles:
103
+ a: 5-64
104
+ b: 'RS1: 5-11'
105
+ c: 'RS2: 12-18'
106
+ d: 'RS3: 19-50'
107
+ e: 'RS4: 51-64'
108
+ B2802B7A-3580-4BE8-9458-921AEA62B78C:
109
+ nqf_id: '0038'
110
+ type: ep
111
+ category: Core
112
+ episode_of_care: false
113
+ continuous_variable: false
114
+ A244AA29-7D11-4616-888A-86E376BFCC6F:
115
+ nqf_id: '0041'
116
+ type: ep
117
+ category: General Practice Pediatric
118
+ episode_of_care: false
119
+ continuous_variable: false
120
+ 59657B9B-01BF-4979-A090-8534DA1D0516:
121
+ nqf_id: '0043'
122
+ type: ep
123
+ category: General Practice Adult
124
+ episode_of_care: false
125
+ continuous_variable: false
126
+ B6016B47-B65D-4BE0-866F-1D397886CA89:
127
+ nqf_id: '0052'
128
+ type: ep
129
+ category: Core
130
+ episode_of_care: false
131
+ continuous_variable: false
132
+ D90BDAB4-B9D2-4329-9993-5C34E2C0DC66:
133
+ nqf_id: '0055'
134
+ type: ep
135
+ category: Eye
136
+ episode_of_care: false
137
+ continuous_variable: false
138
+ C0D72444-7C26-4863-9B51-8080F8928A85:
139
+ nqf_id: '0056'
140
+ type: ep
141
+ category: Diabetes
142
+ episode_of_care: false
143
+ continuous_variable: false
144
+ F2986519-5A4E-4149-A8F2-AF0A1DC7F6BC:
145
+ nqf_id: '0059'
146
+ type: ep
147
+ category: Diabetes
148
+ episode_of_care: false
149
+ continuous_variable: false
150
+ 95FB767E-0CB2-4778-B5FF-6BA9A53FA28E:
151
+ nqf_id: '0060'
152
+ type: ep
153
+ category: Diabetes
154
+ episode_of_care: false
155
+ continuous_variable: false
156
+ 7B2A9277-43DA-4D99-9BEE-6AC271A07747:
157
+ nqf_id: '0062'
158
+ type: ep
159
+ category: Diabetes
160
+ episode_of_care: false
161
+ continuous_variable: false
162
+ 0DAC1DEC-E011-493B-A281-7C28964872DD:
163
+ nqf_id: '0064'
164
+ type: ep
165
+ category: Diabetes
166
+ episode_of_care: false
167
+ continuous_variable: false
168
+ 0713EA8F-0E5B-4099-8C7C-DD677280398F:
169
+ nqf_id: '0068'
170
+ type: ep
171
+ category: Heart
172
+ episode_of_care: false
173
+ continuous_variable: false
174
+ E455FAC0-F2CB-4074-A351-1E68A90FB7CF:
175
+ nqf_id: '0069'
176
+ type: ep
177
+ category: Core
178
+ episode_of_care: true
179
+ episode_ids: [OccurrenceAUpperRespiratoryInfection1]
180
+ continuous_variable: false
181
+ 80744AE2-DE81-4B16-A71D-69522EB865C5:
182
+ nqf_id: '0070'
183
+ type: ep
184
+ category: Heart
185
+ episode_of_care: false
186
+ continuous_variable: false
187
+ subtitles:
188
+ a: LVSD
189
+ b: prior MI
190
+ 500E4792-7F94-4E34-8546-EE71C56FE463:
191
+ nqf_id: '0075'
192
+ type: ep
193
+ category: Heart
194
+ episode_of_care: false
195
+ continuous_variable: false
196
+ subtitles:
197
+ a: Complete Lipid Profile
198
+ b: Most Recent LDL-C <100 mg/dL
199
+ 430FFC53-4122-4421-88CC-2EDD8117BB3C:
200
+ nqf_id: '0081'
201
+ type: ep
202
+ category: Heart
203
+ episode_of_care: false
204
+ continuous_variable: false
205
+ 8439F671-2932-4D4C-88CA-EA5FAEACC89A:
206
+ nqf_id: '0083'
207
+ type: ep
208
+ category: Heart
209
+ episode_of_care: false
210
+ continuous_variable: false
211
+ DB9D9F09-6B6A-4749-A8B2-8C1FDB018823:
212
+ nqf_id: '0086'
213
+ type: ep
214
+ category: Eye
215
+ episode_of_care: false
216
+ continuous_variable: false
217
+ 50164228-9D64-4EFC-AF67-DA0547FF61F1:
218
+ nqf_id: '0088'
219
+ type: ep
220
+ category: Diabetes
221
+ episode_of_care: false
222
+ continuous_variable: false
223
+ 53D6D7C3-43FB-4D24-8099-17E74C022C05:
224
+ nqf_id: '0089'
225
+ type: ep
226
+ category: Diabetes
227
+ episode_of_care: false
228
+ continuous_variable: false
229
+ BC5B4A57-B964-4399-9D40-667C896F31EA:
230
+ nqf_id: '0101'
231
+ type: ep
232
+ category: General Practice Adult
233
+ episode_of_care: false
234
+ continuous_variable: false
235
+ 60176FBF-BFDC-4892-9C9E-604F206553C8:
236
+ nqf_id: '0104'
237
+ type: ep
238
+ category: Behavioral Health Adult
239
+ episode_of_care: true
240
+ continuous_variable: false
241
+ episode_ids: [OccurrenceAPsychVisitDiagnosticEvaluation1, OccurrenceAPsychVisitPsychotherapy2, OccurrenceAEmergencyDepartmentVisit3, OccurrenceAOfficeVisit5, OccurrenceAOutpatientConsultation6, OccurrenceAPsychoanalysis7, OccurrenceAFaceToFaceInteraction8]
242
+ 8924F2B3-EC06-4650-B634-D70A53DEE577:
243
+ nqf_id: '0105'
244
+ type: ep
245
+ category: Behavioral Health Adult
246
+ episode_of_care: false
247
+ continuous_variable: false
248
+ subtitles:
249
+ a: 84 days
250
+ b: 180 days
251
+ 703CC49B-B653-4885-80E8-245A057F5AE9:
252
+ nqf_id: '0108'
253
+ type: ep
254
+ category: Core
255
+ episode_of_care: false
256
+ continuous_variable: false
257
+ subtitles:
258
+ a: Visit within 30 days
259
+ b: Visit with 2+ followups
260
+ B99AAEF6-7889-4ABA-85FC-5A2B739DD098:
261
+ nqf_id: '0110'
262
+ type: ep
263
+ category: Behavioral Health Adult
264
+ episode_of_care: false
265
+ continuous_variable: false
266
+ 9A0330D0-3D9B-11E1-8634-00237D5BF174:
267
+ nqf_id: '0384'
268
+ type: ep
269
+ category: Cancer
270
+ episode_of_care: true
271
+ continuous_variable: false
272
+ episode_ids: [OccurrenceARadiationTreatmentManagement1, OccurrenceAOfficeVisit2, OccurrenceAFaceToFaceInteraction5]
273
+ 8479F6D6-4200-4FD0-9438-30048EBE3E29:
274
+ nqf_id: '0385'
275
+ type: ep
276
+ category: Cancer
277
+ episode_of_care: false
278
+ continuous_variable: false
279
+ AC639794-CB3F-4F4F-8FA6-680300D5ED4E:
280
+ nqf_id: '0387'
281
+ type: ep
282
+ category: Cancer
283
+ episode_of_care: false
284
+ continuous_variable: false
285
+ 1635C14D-E612-4FA6-96CD-285361AA7F7B:
286
+ nqf_id: '0389'
287
+ type: ep
288
+ category: Cancer
289
+ episode_of_care: false
290
+ continuous_variable: false
291
+ F70B2984-AF4A-4072-AE0D-CEC677A7FF8F:
292
+ nqf_id: '0403'
293
+ type: ep
294
+ category: HIV
295
+ episode_of_care: false
296
+ continuous_variable: false
297
+ 1CDD20DE-5DE9-4759-8A93-31F1F8BAAAA2:
298
+ nqf_id: '0405'
299
+ type: ep
300
+ category: HIV
301
+ episode_of_care: false
302
+ continuous_variable: false
303
+ subtitles:
304
+ a: <=3 Mon. of CD4 <200 cells/mm3
305
+ b: At Diagnosis of HIV
306
+ c: <=3 Mon. of CD4 <500 cells/mm3 or CD4 <15%
307
+ 9A031E24-3D9B-11E1-8634-00237D5BF174:
308
+ nqf_id: '0418'
309
+ type: ep
310
+ category: Core
311
+ episode_of_care: false
312
+ continuous_variable: false
313
+ 9A032D9C-3D9B-11E1-8634-00237D5BF174:
314
+ nqf_id: '0419'
315
+ type: ep
316
+ category: Core
317
+ episode_of_care: true
318
+ continuous_variable: false
319
+ episode_ids: [OccurrenceAMedicationsEncounterCodeSet1]
320
+ 9A031BB8-3D9B-11E1-8634-00237D5BF174:
321
+ nqf_id: '0421'
322
+ type: ep
323
+ category: Core
324
+ episode_of_care: false
325
+ continuous_variable: false
326
+ subtitles:
327
+ a: 65+
328
+ b: 18-64
329
+ 9A0339C2-3D9B-11E1-8634-00237D5BF174:
330
+ nqf_id: '0564'
331
+ type: ep
332
+ category: Eye
333
+ episode_of_care: true
334
+ continuous_variable: false
335
+ episode_ids: [OccurrenceACataractSurgery1]
336
+ 39E0424A-1727-4629-89E2-C46C2FBB3F5F:
337
+ nqf_id: '0565'
338
+ type: ep
339
+ category: Eye
340
+ episode_of_care: true
341
+ continuous_variable: false
342
+ episode_ids: [OccurrenceACataractSurgery1]
343
+ 3BBFC929-50C8-44B8-8D34-82BE75C08A70:
344
+ nqf_id: '0608'
345
+ type: ep
346
+ category: Pregnancy
347
+ episode_of_care: false
348
+ continuous_variable: false
349
+ 8455CD3E-DBB9-4E0C-8084-3ECE4068FE94:
350
+ nqf_id: '0710'
351
+ type: ep
352
+ category: Behavioral Health Adult
353
+ episode_of_care: false
354
+ continuous_variable: false
355
+ A4B9763C-847E-4E02-BB7E-ACC596E90E2C:
356
+ nqf_id: '0712'
357
+ type: ep
358
+ category: Behavioral Health Adult
359
+ episode_of_care: false
360
+ continuous_variable: false
361
+ subtitles:
362
+ a: Sep-Dec
363
+ b: May-Aug
364
+ c: Jan-Apr
365
+ 848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3:
366
+ nqf_id: '1365'
367
+ type: ep
368
+ category: Behavioral Health Pediatric
369
+ episode_of_care: true
370
+ continuous_variable: false
371
+ episode_ids: [OccurrenceAOfficeVisit2, OccurrenceAOutpatientConsultation3, OccurrenceAFaceToFaceInteraction1, OccurrenceAPsychVisitDiagnosticEvaluation9, OccurrenceAPsychVisitPsychotherapy10, OccurrenceAPsychVisitFamilyPsychotherapy4, OccurrenceAPsychoanalysis5, OccurrenceAGroupPsychotherapy6]
372
+ 8E6C8479-99FD-4949-B0AD-24FA60FE4201:
373
+ nqf_id: '1401'
374
+ type: ep
375
+ category: Behavioral Health Adult
376
+ episode_of_care: false
377
+ continuous_variable: false
378
+ A5E96A45-8132-4E72-BF4F-E8C81DB9E641:
379
+ nqf_id: ADE_TTR
380
+ type: ep
381
+ category: Heart
382
+ episode_of_care: false
383
+ custom_functions:
384
+ OBSERV: hqmf.CustomCalc.ADE_TTR_OBSERV
385
+ force_sources: [LaboratoryTestResultInr]
386
+ continuous_variable: true
387
+ 9A033A94-3D9B-11E1-8634-00237D5BF174:
388
+ nqf_id: BPScreen
389
+ type: ep
390
+ category: General Practice Adult
391
+ episode_of_care: false
392
+ continuous_variable: false
393
+ 61947125-4376-4A7B-AB7A-AC2BE9BD9138:
394
+ nqf_id: ChildDentalDecay
395
+ type: ep
396
+ category: Core
397
+ episode_of_care: false
398
+ continuous_variable: false
399
+ 0336A17B-7C2A-48FC-A657-E9B04269A4CC:
400
+ nqf_id: CholesterolScreeningRisk
401
+ type: ep
402
+ category: General Practice Adult
403
+ episode_of_care: false
404
+ continuous_variable: false
405
+ subtitles:
406
+ a: LDL-C <100 mg/dL
407
+ b: LDL-C <130 mg/dL
408
+ c: LDL-C <160 mg/dL
409
+ F58FC0D6-EDF5-416A-8D29-79AFBFD24DEA:
410
+ nqf_id: ClosingReferralLoop
411
+ type: ep
412
+ category: Core
413
+ episode_of_care: false
414
+ continuous_variable: false
415
+ 7C443B9B-1AD1-4467-B527-DEFC445701FF:
416
+ nqf_id: DementiaCognitive
417
+ type: ep
418
+ category: Behavioral Health General
419
+ episode_of_care: false
420
+ continuous_variable: false
421
+ 0A7F0278-A05C-40AA-94A4-70EC44F5C568:
422
+ nqf_id: FastingLDLTest
423
+ type: ep
424
+ category: General Practice Adult
425
+ episode_of_care: false
426
+ continuous_variable: false
427
+ subtitles:
428
+ a: High Risk
429
+ b: Moderate Risk
430
+ c: Low Risk
431
+ BB9B8EF7-0354-40E0-BEC7-D6891B7DF519:
432
+ nqf_id: FSACHF
433
+ type: ep
434
+ category: Core
435
+ episode_of_care: false
436
+ continuous_variable: false
437
+ 2F291003-3F2F-48AF-BEF9-E5AACB95AC3E:
438
+ nqf_id: FSAHip
439
+ type: ep
440
+ category: Orthopedics
441
+ episode_of_care: false
442
+ continuous_variable: false
443
+ BE8D9655-1194-46EF-B43E-4B1D0C36AB71:
444
+ nqf_id: FSAKnee
445
+ type: ep
446
+ category: Orthopedics
447
+ episode_of_care: false
448
+ continuous_variable: false
449
+ E0A07809-7B74-473F-BCC4-1891BE506AAA:
450
+ nqf_id: HIVRNAControl
451
+ type: ep
452
+ category: HIV
453
+ episode_of_care: false
454
+ continuous_variable: false
455
+ 1D8363CE-A529-490B-8C98-9B54AA75DA06:
456
+ nqf_id: HypertensionImprovement
457
+ type: ep
458
+ category: General Practice Adult
459
+ episode_of_care: false
460
+ continuous_variable: false
461
+ 0B81B6BA-3B30-41BF-A2F3-95BDC9F558F2:
462
+ nqf_id: PrimaryCariesPrevention
463
+ type: ep
464
+ category: Dental
465
+ episode_of_care: false
466
+ continuous_variable: false
467
+ subtitles:
468
+ a: 0-20
469
+ b: 'RS1: <= 5'
470
+ c: 'RS2: 6-12'
471
+ d: 'RS3: 13-20'
472
+
473
+ ################################################
474
+ ################# EH Measures ##################
475
+ ################################################
476
+
477
+ BB481284-30DD-4383-928C-82385BBF1B17:
478
+ nqf_id: '0142'
479
+ type: eh
480
+ category: Acute Myocardial Infarction
481
+ episode_of_care: true
482
+ episode_ids: [OccurrenceAHospitalMeasuresEncounterInpatient1]
483
+ continuous_variable: false
484
+ 8243EAE0-BBD7-4107-920B-FC3DB04B9584:
485
+ nqf_id: '0147'
486
+ type: eh
487
+ category: Community Acquired Pneumonia
488
+ episode_of_care: true
489
+ episode_ids: [OccurrenceAEncounterInpatient1]
490
+ continuous_variable: false
491
+ subtitles:
492
+ a: ICU patients
493
+ b: non-ICU patients
494
+ 84B9D0B5-0CAF-4E41-B345-3492A23C2E9F:
495
+ nqf_id: '0163'
496
+ type: eh
497
+ category: Acute Myocardial Infarction
498
+ episode_of_care: true
499
+ episode_ids: [OccurrenceAHospitalMeasuresEncounterInpatient1]
500
+ continuous_variable: false
501
+ 909CF4B4-7A85-4ABF-A1C7-CB597ED1C0B6:
502
+ nqf_id: '0164'
503
+ type: eh
504
+ category: Acute Myocardial Infarction
505
+ episode_of_care: true
506
+ episode_ids: [OccurrenceAHospitalMeasuresEncounterInpatient1]
507
+ continuous_variable: false
508
+ E1CB05E0-97D5-40FC-B456-15C5DBF44309:
509
+ nqf_id: '0338'
510
+ type: eh
511
+ category: Asthma
512
+ episode_of_care: true
513
+ episode_ids: [OccurrenceAInpatientEncounter1]
514
+ continuous_variable: false
515
+ 38B0B5EC-0F63-466F-8FE3-2CD20DDD1622:
516
+ nqf_id: '0371'
517
+ type: eh
518
+ category: Venous Thromboembolism
519
+ episode_of_care: true
520
+ episode_ids: [OccurrenceAInpatientEncounter11]
521
+ continuous_variable: false
522
+ FA91BA68-1E66-4A23-8EB2-BAA8E6DF2F2F:
523
+ nqf_id: '0372'
524
+ type: eh
525
+ category: Venous Thromboembolism
526
+ episode_of_care: true
527
+ episode_ids: [OccurrenceAInpatientEncounter11]
528
+ continuous_variable: false
529
+ 6F069BB2-B3C4-4BF4-ADC5-F6DD424A10B7:
530
+ nqf_id: '0373'
531
+ type: eh
532
+ category: Venous Thromboembolism
533
+ episode_of_care: true
534
+ episode_ids: [OccurrenceAInpatientEncounter1]
535
+ continuous_variable: false
536
+ BCCE43DD-08E3-46C3-BFDD-0B1B472690F0:
537
+ nqf_id: '0374'
538
+ type: eh
539
+ category: Venous Thromboembolism
540
+ episode_of_care: true
541
+ episode_ids: [OccurrenceAInpatientEncounter2]
542
+ continuous_variable: false
543
+ 7FE69617-FA28-4305-A2B8-CEB6BCD9693D:
544
+ nqf_id: '0375'
545
+ type: eh
546
+ category: Venous Thromboembolism
547
+ episode_of_care: true
548
+ episode_ids: [OccurrenceAInpatientEncounter1]
549
+ continuous_variable: false
550
+ 32CFC834-843A-4F45-B359-8E158EAC4396:
551
+ nqf_id: '0376'
552
+ type: eh
553
+ category: Venous Thromboembolism
554
+ episode_of_care: true
555
+ episode_ids: [OccurrenceAInpatientEncounter11]
556
+ continuous_variable: false
557
+ 42BF391F-38A3-4C0F-9ECE-DCD47E9609D9:
558
+ nqf_id: '0435'
559
+ type: eh
560
+ category: Stroke
561
+ episode_of_care: true
562
+ episode_ids: [OccurrenceANonElectiveInpatientEncounter4]
563
+ continuous_variable: false
564
+ 03876D69-085B-415C-AE9D-9924171040C2:
565
+ nqf_id: '0436'
566
+ type: eh
567
+ category: Stroke
568
+ episode_of_care: true
569
+ episode_ids: [OccurrenceANonElectiveInpatientEncounter4]
570
+ continuous_variable: false
571
+ 2838875A-07B5-4BF0-BE04-C3EB99F53975:
572
+ nqf_id: '0437'
573
+ type: eh
574
+ category: Stroke
575
+ episode_of_care: true
576
+ episode_ids: [OccurrenceANonElectiveInpatientEncounter4]
577
+ continuous_variable: false
578
+ 93F3479F-75D8-4731-9A3F-B7749D8BCD37:
579
+ nqf_id: '0438'
580
+ type: eh
581
+ category: Stroke
582
+ episode_of_care: true
583
+ episode_ids: [OccurrenceANonElectiveInpatientEncounter3]
584
+ continuous_variable: false
585
+ 1F503318-BB8D-4B91-AF63-223AE0A2328E:
586
+ nqf_id: '0439'
587
+ type: eh
588
+ category: Stroke
589
+ episode_of_care: true
590
+ episode_ids: [OccurrenceANonElectiveInpatientEncounter6]
591
+ continuous_variable: false
592
+ 217FDF0D-3D64-4720-9116-D5E5AFA27F2C:
593
+ nqf_id: '0440'
594
+ type: eh
595
+ category: Stroke
596
+ episode_of_care: true
597
+ episode_ids: [OccurrenceANonElectiveInpatientEncounter2]
598
+ continuous_variable: false
599
+ 7DC26160-E615-4CC2-879C-75985189EC1A:
600
+ nqf_id: '0441'
601
+ type: eh
602
+ category: Stroke
603
+ episode_of_care: true
604
+ episode_ids: [OccurrenceANonElectiveInpatientEncounter2]
605
+ continuous_variable: false
606
+ D78CE034-8288-4012-A31E-7F485A74F2A9:
607
+ nqf_id: '0453'
608
+ type: eh
609
+ category: Surgical Care Improvement Project
610
+ episode_of_care: true
611
+ episode_ids: [OccurrenceAEncounterInpatient2]
612
+ continuous_variable: false
613
+ FD7CA18D-B56D-4BCA-AF35-71CE36B15246:
614
+ nqf_id: '0469'
615
+ type: eh
616
+ category: Pregnancy
617
+ episode_of_care: true
618
+ episode_ids: [OccurrenceAInpatientEncounter1]
619
+ continuous_variable: false
620
+ 7D374C6A-3821-4333-A1BC-4531005D77B8:
621
+ nqf_id: '0480'
622
+ type: eh
623
+ category: Newborn
624
+ episode_of_care: true
625
+ episode_ids: [OccurrenceAInpatientEncounter1]
626
+ continuous_variable: false
627
+ subtitles:
628
+ a: All
629
+ b: Refusals Excluded
630
+ 9A033274-3D9B-11E1-8634-00237D5BF174:
631
+ nqf_id: '0495'
632
+ type: eh
633
+ category: Emergency Department
634
+ episode_of_care: true
635
+ episode_ids: [OccurrenceAEncounterInpatient2]
636
+ continuous_variable: true
637
+ subtitles:
638
+ a: Unstratified
639
+ b: 'RS1: ED and inpatient'
640
+ c: 'RS2: ED and inpatient w/out psych'
641
+ d: 'RS3: ED and inpatient w/ psych'
642
+ 3FD13096-2C8F-40B5-9297-B714E8DE9133:
643
+ nqf_id: '0496'
644
+ type: eh
645
+ category: Emergency Department
646
+ episode_of_care: true
647
+ episode_ids: [OccurrenceAEmergencyDepartmentVisit1]
648
+ continuous_variable: true
649
+ subtitles:
650
+ a: Unstratified
651
+ b: 'RS1: With ED Encounter'
652
+ c: 'RS2: With Mental Disorders'
653
+ d: 'RS3: With Acute care hospital transfer'
654
+ e: 'RS4: Without Mental Disorders and Acute care hospital transfer'
655
+ 979F21BD-3F93-4CDD-8273-B23DFE9C0513:
656
+ nqf_id: '0497'
657
+ type: eh
658
+ category: Emergency Department
659
+ episode_of_care: true
660
+ episode_ids: [OccurrenceAEncounterInpatient2]
661
+ continuous_variable: true
662
+ subtitles:
663
+ a: Unstratified
664
+ b: 'RS1: ED and inpatient'
665
+ c: 'RS2: ED and inpatient w/out psych'
666
+ d: 'RS3: ED and inpatient w/ psych'
667
+ D09ADD1D-30F5-462D-B677-3D17D9CCD664:
668
+ nqf_id: '0527'
669
+ type: eh
670
+ category: Surgical Care Improvement Project
671
+ episode_of_care: true
672
+ episode_ids: [OccurrenceAEncounterInpatient4]
673
+ continuous_variable: false
674
+ subtitles:
675
+ a: CABG procedures
676
+ b: Other cardiac surgery
677
+ c: Hip arthroplasty
678
+ d: Knee arthroplasty
679
+ e: Colon surgery
680
+ f: Abdominal hysterectomy
681
+ g: Vaginal hysterectomy
682
+ h: Vascular surgery
683
+ FEEA3922-F61F-4B05-98F9-B72A11815F12:
684
+ nqf_id: '0528'
685
+ type: eh
686
+ category: Surgical Care Improvement Project
687
+ episode_of_care: true
688
+ episode_ids: [OccurrenceAEncounterInpatient13]
689
+ continuous_variable: false
690
+ subtitles:
691
+ a: CABG procedures
692
+ b: Other cardiac surgery
693
+ c: Hip arthroplasty
694
+ d: Knee arthroplasty
695
+ e: Colon surgery
696
+ f: Abdominal hysterectomy
697
+ g: Vaginal hysterectomy
698
+ h: Vascular surgery
699
+ EBFA203E-ACC1-4228-906C-855C4BF11310:
700
+ nqf_id: '0639'
701
+ type: eh
702
+ category: Acute Myocardial Infarction
703
+ episode_of_care: true
704
+ episode_ids: [OccurrenceAEncounterInpatient1]
705
+ continuous_variable: false
706
+ FF796FD9-F99D-41FD-B8C2-57D0A59A5D8D:
707
+ nqf_id: '0716'
708
+ type: eh
709
+ category: Newborn
710
+ episode_of_care: true
711
+ episode_ids: [OccurrenceAEncounterInpatient1]
712
+ continuous_variable: false
713
+ 0924FBAE-3FDB-4D0A-AAB7-9F354E699FDE:
714
+ nqf_id: '1354'
715
+ type: eh
716
+ category: Newborn
717
+ episode_of_care: true
718
+ episode_ids: [OccurrenceAInpatientEncounter3]
719
+ continuous_variable: false