cqm-parsers 0.2.3 → 3.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +8 -4
- data/README.md +57 -5
- data/Rakefile +1 -0
- data/lib/{hqmf-parser.rb → cqm-parsers.rb} +13 -45
- data/lib/ext/data_element.rb +1 -1
- data/lib/hqmf-parser/2.0/document.rb +1 -1
- data/lib/hqmf-parser/2.0/population_criteria.rb +1 -1
- data/lib/hqmf-parser/cql/document_helpers/doc_population_helper.rb +11 -6
- data/lib/measure-loader/cql_loader.rb +165 -0
- data/lib/measure-loader/elm_dependency_finder.rb +72 -0
- data/lib/measure-loader/elm_parser.rb +67 -0
- data/lib/measure-loader/exceptions.rb +10 -0
- data/lib/measure-loader/helpers.rb +11 -0
- data/lib/measure-loader/hqmf_measure_loader.rb +170 -0
- data/lib/measure-loader/mat_measure_files.rb +138 -0
- data/lib/measure-loader/source_data_criteria_loader.rb +75 -0
- data/lib/measure-loader/value_set_helpers.rb +68 -0
- data/lib/measure-loader/vsac_value_set_loader.rb +97 -0
- data/lib/tasks/hqmf.rake +1 -1
- data/lib/util/util.rb +23 -0
- data/lib/util/vsac_api.rb +166 -103
- metadata +60 -127
- data/lib/ext/code.rb +0 -10
- data/lib/qrda-export/catI-r5/_code.mustache +0 -1
- data/lib/qrda-export/catI-r5/_codes.mustache +0 -10
- data/lib/qrda-export/catI-r5/_header.mustache +0 -28
- data/lib/qrda-export/catI-r5/_measure_section.mustache +0 -59
- data/lib/qrda-export/catI-r5/_reporting_period.mustache +0 -23
- data/lib/qrda-export/catI-r5/_values.mustache +0 -10
- data/lib/qrda-export/catI-r5/qrda1_r5.mustache +0 -137
- data/lib/qrda-export/catI-r5/qrda1_r5.rb +0 -125
- data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +0 -24
- data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +0 -43
- data/lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache +0 -82
- data/lib/qrda-export/catI-r5/qrda_header/_information_recipient.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_header/_participant.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_header/_record_target.mustache +0 -28
- data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +0 -28
- data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +0 -28
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_patient_to_provider.mustache +0 -29
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_patient.mustache +0 -24
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache +0 -31
- data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +0 -32
- data/lib/qrda-export/catI-r5/qrda_templates/device_ordered.mustache +0 -31
- data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +0 -38
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_ordered.mustache +0 -19
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +0 -32
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_ordered.mustache +0 -24
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +0 -40
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_administered.mustache +0 -29
- data/lib/qrda-export/catI-r5/qrda_templates/insurance_provider.mustache +0 -11
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_ordered.mustache +0 -18
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_ordered.mustache +0 -18
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_performed.mustache +0 -22
- data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +0 -35
- data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +0 -31
- data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +0 -55
- data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +0 -39
- data/lib/qrda-export/catI-r5/qrda_templates/medication_ordered.mustache +0 -38
- data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache +0 -16
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_ordered.mustache +0 -19
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +0 -44
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_admission_source.mustache +0 -6
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache +0 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache +0 -11
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +0 -19
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_facility_location.mustache +0 -16
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_mediation_frequency.mustache +0 -3
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache +0 -11
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_ordinality.mustache +0 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache +0 -8
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_reason.mustache +0 -12
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache +0 -6
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache +0 -19
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache +0 -8
- data/lib/qrda-export/helper/cat_1_view_helper.rb +0 -146
- data/lib/qrda-export/helper/code_system_helper.rb +0 -77
- data/lib/qrda-export/helper/date_helper.rb +0 -89
- data/lib/qrda-import/base-importers/demographics_importer.rb +0 -49
- data/lib/qrda-import/base-importers/medication_importer.rb +0 -23
- data/lib/qrda-import/base-importers/section_importer.rb +0 -196
- data/lib/qrda-import/cda_identifier.rb +0 -19
- data/lib/qrda-import/data-element-importers/adverse_event_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/allergy_intolerance_importer.rb +0 -22
- data/lib/qrda-import/data-element-importers/assessment_performed_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/communication_from_patient_to_provider_importer.rb +0 -20
- data/lib/qrda-import/data-element-importers/communication_from_provider_to_patient_importer.rb +0 -20
- data/lib/qrda-import/data-element-importers/communication_from_provider_to_provider_importer.rb +0 -22
- data/lib/qrda-import/data-element-importers/device_applied_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/device_order_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/diagnosis_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb +0 -21
- data/lib/qrda-import/data-element-importers/diagnostic_study_performed_importer.rb +0 -31
- data/lib/qrda-import/data-element-importers/encounter_order_importer.rb +0 -21
- data/lib/qrda-import/data-element-importers/encounter_performed_importer.rb +0 -42
- data/lib/qrda-import/data-element-importers/immunization_administered_importer.rb +0 -18
- data/lib/qrda-import/data-element-importers/intervention_order_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/intervention_performed_importer.rb +0 -23
- data/lib/qrda-import/data-element-importers/laboratory_test_order_importer.rb +0 -21
- data/lib/qrda-import/data-element-importers/laboratory_test_performed_importer.rb +0 -29
- data/lib/qrda-import/data-element-importers/medication_active_importer.rb +0 -17
- data/lib/qrda-import/data-element-importers/medication_administered_importer.rb +0 -17
- data/lib/qrda-import/data-element-importers/medication_discharge_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/medication_dispensed_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/medication_order_importer.rb +0 -16
- data/lib/qrda-import/data-element-importers/patient_characteristic_expired.rb +0 -22
- data/lib/qrda-import/data-element-importers/physical_exam_performed_importer.rb +0 -27
- data/lib/qrda-import/data-element-importers/procedure_order_importer.rb +0 -27
- data/lib/qrda-import/data-element-importers/procedure_performed_importer.rb +0 -35
- data/lib/qrda-import/data-element-importers/substance_administered_importer.rb +0 -17
- data/lib/qrda-import/entry_finder.rb +0 -20
- data/lib/qrda-import/entry_package.rb +0 -16
- data/lib/qrda-import/narrative_reference_handler.rb +0 -33
- data/lib/qrda-import/patient_importer.rb +0 -111
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cqm-parsers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 3.1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The MITRE Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: cqm-models
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: mustache
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: erubis
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,56 +58,56 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '6.4'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '6.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mongoid-tree
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: '2.1'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: '2.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: activesupport
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '5.0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '5.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: protected_attributes_continued
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.0
|
103
|
+
version: 1.4.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.0
|
110
|
+
version: 1.4.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: uuid
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,16 +140,22 @@ dependencies:
|
|
140
140
|
name: nokogiri
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.8.5
|
146
|
+
- - "<"
|
144
147
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
148
|
+
version: 1.11.0
|
146
149
|
type: :runtime
|
147
150
|
prerelease: false
|
148
151
|
version_requirements: !ruby/object:Gem::Requirement
|
149
152
|
requirements:
|
150
|
-
- - "
|
153
|
+
- - ">="
|
151
154
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
155
|
+
version: 1.8.5
|
156
|
+
- - "<"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 1.11.0
|
153
159
|
- !ruby/object:Gem::Dependency
|
154
160
|
name: highline
|
155
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +176,28 @@ dependencies:
|
|
170
176
|
requirements:
|
171
177
|
- - "~>"
|
172
178
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
179
|
+
version: '1.3'
|
174
180
|
type: :runtime
|
175
181
|
prerelease: false
|
176
182
|
version_requirements: !ruby/object:Gem::Requirement
|
177
183
|
requirements:
|
178
184
|
- - "~>"
|
179
185
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
186
|
+
version: '1.3'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: typhoeus
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
type: :runtime
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
181
201
|
- !ruby/object:Gem::Dependency
|
182
202
|
name: zip-zip
|
183
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -229,7 +249,7 @@ files:
|
|
229
249
|
- Gemfile
|
230
250
|
- README.md
|
231
251
|
- Rakefile
|
232
|
-
- lib/
|
252
|
+
- lib/cqm-parsers.rb
|
233
253
|
- lib/ext/data_element.rb
|
234
254
|
- lib/hqmf-model/attribute.rb
|
235
255
|
- lib/hqmf-model/data_criteria.json
|
@@ -239,7 +259,6 @@ files:
|
|
239
259
|
- lib/hqmf-model/precondition.rb
|
240
260
|
- lib/hqmf-model/types.rb
|
241
261
|
- lib/hqmf-model/utilities.rb
|
242
|
-
- lib/hqmf-parser.rb
|
243
262
|
- lib/hqmf-parser/1.0/attribute.rb
|
244
263
|
- lib/hqmf-parser/1.0/comparison.rb
|
245
264
|
- lib/hqmf-parser/1.0/data_criteria.rb
|
@@ -286,103 +305,16 @@ files:
|
|
286
305
|
- lib/hqmf-parser/cql/document_helpers/doc_population_helper.rb
|
287
306
|
- lib/hqmf-parser/cql/value_set_helper.rb
|
288
307
|
- lib/hqmf-parser/parser.rb
|
289
|
-
- lib/
|
290
|
-
- lib/
|
291
|
-
- lib/
|
292
|
-
- lib/
|
293
|
-
- lib/
|
294
|
-
- lib/
|
295
|
-
- lib/
|
296
|
-
- lib/
|
297
|
-
- lib/
|
298
|
-
- lib/
|
299
|
-
- lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache
|
300
|
-
- lib/qrda-export/catI-r5/qrda_header/_information_recipient.mustache
|
301
|
-
- lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache
|
302
|
-
- lib/qrda-export/catI-r5/qrda_header/_participant.mustache
|
303
|
-
- lib/qrda-export/catI-r5/qrda_header/_record_target.mustache
|
304
|
-
- lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache
|
305
|
-
- lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache
|
306
|
-
- lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache
|
307
|
-
- lib/qrda-export/catI-r5/qrda_templates/communication_from_patient_to_provider.mustache
|
308
|
-
- lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_patient.mustache
|
309
|
-
- lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache
|
310
|
-
- lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache
|
311
|
-
- lib/qrda-export/catI-r5/qrda_templates/device_ordered.mustache
|
312
|
-
- lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache
|
313
|
-
- lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_ordered.mustache
|
314
|
-
- lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache
|
315
|
-
- lib/qrda-export/catI-r5/qrda_templates/encounter_ordered.mustache
|
316
|
-
- lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache
|
317
|
-
- lib/qrda-export/catI-r5/qrda_templates/immunization_administered.mustache
|
318
|
-
- lib/qrda-export/catI-r5/qrda_templates/insurance_provider.mustache
|
319
|
-
- lib/qrda-export/catI-r5/qrda_templates/intervention_ordered.mustache
|
320
|
-
- lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache
|
321
|
-
- lib/qrda-export/catI-r5/qrda_templates/lab_test_ordered.mustache
|
322
|
-
- lib/qrda-export/catI-r5/qrda_templates/lab_test_performed.mustache
|
323
|
-
- lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache
|
324
|
-
- lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache
|
325
|
-
- lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache
|
326
|
-
- lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache
|
327
|
-
- lib/qrda-export/catI-r5/qrda_templates/medication_ordered.mustache
|
328
|
-
- lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache
|
329
|
-
- lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache
|
330
|
-
- lib/qrda-export/catI-r5/qrda_templates/procedure_ordered.mustache
|
331
|
-
- lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache
|
332
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_admission_source.mustache
|
333
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache
|
334
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache
|
335
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache
|
336
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache
|
337
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache
|
338
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_facility_location.mustache
|
339
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_mediation_frequency.mustache
|
340
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache
|
341
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_ordinality.mustache
|
342
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache
|
343
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_reason.mustache
|
344
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache
|
345
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache
|
346
|
-
- lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache
|
347
|
-
- lib/qrda-export/helper/cat_1_view_helper.rb
|
348
|
-
- lib/qrda-export/helper/code_system_helper.rb
|
349
|
-
- lib/qrda-export/helper/date_helper.rb
|
350
|
-
- lib/qrda-import/base-importers/demographics_importer.rb
|
351
|
-
- lib/qrda-import/base-importers/medication_importer.rb
|
352
|
-
- lib/qrda-import/base-importers/section_importer.rb
|
353
|
-
- lib/qrda-import/cda_identifier.rb
|
354
|
-
- lib/qrda-import/data-element-importers/adverse_event_importer.rb
|
355
|
-
- lib/qrda-import/data-element-importers/allergy_intolerance_importer.rb
|
356
|
-
- lib/qrda-import/data-element-importers/assessment_performed_importer.rb
|
357
|
-
- lib/qrda-import/data-element-importers/communication_from_patient_to_provider_importer.rb
|
358
|
-
- lib/qrda-import/data-element-importers/communication_from_provider_to_patient_importer.rb
|
359
|
-
- lib/qrda-import/data-element-importers/communication_from_provider_to_provider_importer.rb
|
360
|
-
- lib/qrda-import/data-element-importers/device_applied_importer.rb
|
361
|
-
- lib/qrda-import/data-element-importers/device_order_importer.rb
|
362
|
-
- lib/qrda-import/data-element-importers/diagnosis_importer.rb
|
363
|
-
- lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb
|
364
|
-
- lib/qrda-import/data-element-importers/diagnostic_study_performed_importer.rb
|
365
|
-
- lib/qrda-import/data-element-importers/encounter_order_importer.rb
|
366
|
-
- lib/qrda-import/data-element-importers/encounter_performed_importer.rb
|
367
|
-
- lib/qrda-import/data-element-importers/immunization_administered_importer.rb
|
368
|
-
- lib/qrda-import/data-element-importers/intervention_order_importer.rb
|
369
|
-
- lib/qrda-import/data-element-importers/intervention_performed_importer.rb
|
370
|
-
- lib/qrda-import/data-element-importers/laboratory_test_order_importer.rb
|
371
|
-
- lib/qrda-import/data-element-importers/laboratory_test_performed_importer.rb
|
372
|
-
- lib/qrda-import/data-element-importers/medication_active_importer.rb
|
373
|
-
- lib/qrda-import/data-element-importers/medication_administered_importer.rb
|
374
|
-
- lib/qrda-import/data-element-importers/medication_discharge_importer.rb
|
375
|
-
- lib/qrda-import/data-element-importers/medication_dispensed_importer.rb
|
376
|
-
- lib/qrda-import/data-element-importers/medication_order_importer.rb
|
377
|
-
- lib/qrda-import/data-element-importers/patient_characteristic_expired.rb
|
378
|
-
- lib/qrda-import/data-element-importers/physical_exam_performed_importer.rb
|
379
|
-
- lib/qrda-import/data-element-importers/procedure_order_importer.rb
|
380
|
-
- lib/qrda-import/data-element-importers/procedure_performed_importer.rb
|
381
|
-
- lib/qrda-import/data-element-importers/substance_administered_importer.rb
|
382
|
-
- lib/qrda-import/entry_finder.rb
|
383
|
-
- lib/qrda-import/entry_package.rb
|
384
|
-
- lib/qrda-import/narrative_reference_handler.rb
|
385
|
-
- lib/qrda-import/patient_importer.rb
|
308
|
+
- lib/measure-loader/cql_loader.rb
|
309
|
+
- lib/measure-loader/elm_dependency_finder.rb
|
310
|
+
- lib/measure-loader/elm_parser.rb
|
311
|
+
- lib/measure-loader/exceptions.rb
|
312
|
+
- lib/measure-loader/helpers.rb
|
313
|
+
- lib/measure-loader/hqmf_measure_loader.rb
|
314
|
+
- lib/measure-loader/mat_measure_files.rb
|
315
|
+
- lib/measure-loader/source_data_criteria_loader.rb
|
316
|
+
- lib/measure-loader/value_set_helpers.rb
|
317
|
+
- lib/measure-loader/vsac_value_set_loader.rb
|
386
318
|
- lib/tasks/hqmf.rake
|
387
319
|
- lib/util/code_system_helper.rb
|
388
320
|
- lib/util/counter.rb
|
@@ -390,6 +322,7 @@ files:
|
|
390
322
|
- lib/util/hqmf_template_oid_map.json
|
391
323
|
- lib/util/hqmfr2_template_oid_map.json
|
392
324
|
- lib/util/hqmfr2cql_template_oid_map.json
|
325
|
+
- lib/util/util.rb
|
393
326
|
- lib/util/vsac_api.rb
|
394
327
|
homepage: https://github.com/projecttacoma/cqm-parsers
|
395
328
|
licenses:
|
@@ -411,7 +344,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
411
344
|
version: '0'
|
412
345
|
requirements: []
|
413
346
|
rubyforge_project:
|
414
|
-
rubygems_version: 2.
|
347
|
+
rubygems_version: 2.6.14
|
415
348
|
signing_key:
|
416
349
|
specification_version: 4
|
417
350
|
summary: A library for parsing HQMF documents.
|
data/lib/ext/code.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{{{code_and_codesystem}}}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<!-- QRDA Header -->
|
2
|
-
<realmCode code="US"/>
|
3
|
-
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
|
4
|
-
<!-- US Realm Header Template Id -->
|
5
|
-
<templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2015-08-01"/>
|
6
|
-
<!-- QRDA templateId -->
|
7
|
-
<templateId root="2.16.840.1.113883.10.20.24.1.1" extension="2017-08-01"/>
|
8
|
-
<!-- QDM-based QRDA templateId -->
|
9
|
-
<templateId root="2.16.840.1.113883.10.20.24.1.2" extension="2017-08-01"/>
|
10
|
-
<!-- CMS QRDA templateId -->
|
11
|
-
<templateId root="2.16.840.1.113883.10.20.24.1.3" extension="2018-02-01"/>
|
12
|
-
<!-- This is the globally unique identifier for this QRDA document -->
|
13
|
-
<id root="{{random_id}}"/>
|
14
|
-
<!-- QRDA document type code -->
|
15
|
-
<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
|
16
|
-
<title>QRDA Incidence Report</title>
|
17
|
-
<!-- This is the document creation time -->
|
18
|
-
<effectiveTime value="{{{current_time}}}"/>
|
19
|
-
<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
|
20
|
-
<languageCode code="en"/>
|
21
|
-
<!-- reported patient -->
|
22
|
-
{{> qrda_header/_record_target}}
|
23
|
-
{{> qrda_header/_author}}
|
24
|
-
{{> qrda_header/_custodian}}
|
25
|
-
{{> qrda_header/_information_recipient}}
|
26
|
-
{{> qrda_header/_legal_authenticator}}
|
27
|
-
{{> qrda_header/_participant}}
|
28
|
-
{{> qrda_header/_documentation_of_service_event}}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
<component>
|
2
|
-
<section>
|
3
|
-
<!--
|
4
|
-
*****************************************************************
|
5
|
-
Measure Section
|
6
|
-
*****************************************************************
|
7
|
-
-->
|
8
|
-
<!-- This is the templateId for Measure Section -->
|
9
|
-
<templateId root="2.16.840.1.113883.10.20.24.2.2"/>
|
10
|
-
<!-- This is the templateId for Measure Section QDM -->
|
11
|
-
<templateId root="2.16.840.1.113883.10.20.24.2.3"/>
|
12
|
-
<!-- This is the LOINC code for "Measure document". This stays the same for all measure section required by QRDA standard -->
|
13
|
-
<code code="55186-1" codeSystem="2.16.840.1.113883.6.1"/>
|
14
|
-
<title>Measure Section</title>
|
15
|
-
<text>
|
16
|
-
<table border="1" width="100%">
|
17
|
-
<thead>
|
18
|
-
<tr>
|
19
|
-
<th>eMeasure Title</th>
|
20
|
-
<th>Version specific identifier</th>
|
21
|
-
</tr>
|
22
|
-
</thead>
|
23
|
-
<tbody>
|
24
|
-
{{#measures}}
|
25
|
-
<tr>
|
26
|
-
<td>{{description}}</td>
|
27
|
-
<td>{{hqmf_id}}</td>
|
28
|
-
<td/>
|
29
|
-
</tr>
|
30
|
-
{{/measures}}
|
31
|
-
</tbody>
|
32
|
-
</table>
|
33
|
-
</text>
|
34
|
-
<!-- 1..* Organizers, each containing a reference to an eMeasure -->
|
35
|
-
{{#measures}}
|
36
|
-
<entry>
|
37
|
-
<organizer classCode="CLUSTER" moodCode="EVN">
|
38
|
-
<!-- This is the templateId for Measure Reference -->
|
39
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.98"/>
|
40
|
-
<!-- This is the templateId for eMeasure Reference QDM -->
|
41
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.97"/>
|
42
|
-
<id extension="{{random_id}}" root="1.3.6.1.4.1.115"/>
|
43
|
-
<statusCode code="completed"/>
|
44
|
-
<!-- Containing isBranch external references -->
|
45
|
-
<reference typeCode="REFR">
|
46
|
-
<externalDocument classCode="DOC" moodCode="EVN">
|
47
|
-
<!-- SHALL: This is the version specific identifier for eMeasure: QualityMeasureDocument/id it is a GUID-->
|
48
|
-
<id extension="{{hqmf_id}}" root="2.16.840.1.113883.4.738"/>
|
49
|
-
<!-- SHOULD This is the title of the eMeasure -->
|
50
|
-
<text>{{description}}</text>
|
51
|
-
<!-- SHOULD: setId is the eMeasure version neutral id -->
|
52
|
-
<setId root="{{hqmf_set_id}}"/>
|
53
|
-
</externalDocument>
|
54
|
-
</reference>
|
55
|
-
</organizer>
|
56
|
-
</entry>
|
57
|
-
{{/measures}}
|
58
|
-
</section>
|
59
|
-
</component>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<component>
|
2
|
-
<section>
|
3
|
-
<!-- This is the templateId for Reporting Parameters section -->
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.17.2.1"/>
|
5
|
-
<templateId extension="2016-03-01" root="2.16.840.1.113883.10.20.17.2.1.1"/>
|
6
|
-
<code code="55187-9" codeSystem="2.16.840.1.113883.6.1"/>
|
7
|
-
<title>Reporting Parameters</title>
|
8
|
-
<text></text>
|
9
|
-
<entry typeCode="DRIV">
|
10
|
-
<act classCode="ACT" moodCode="EVN">
|
11
|
-
<!-- This is the templateId for Reporting Parameteres Act -->
|
12
|
-
<templateId root="2.16.840.1.113883.10.20.17.3.8"/>
|
13
|
-
<templateId extension="2016-03-01" root="2.16.840.1.113883.10.20.17.3.8.1"/>
|
14
|
-
<id extension="{{random_id}}" root="1.3.6.1.4.1.115"/>
|
15
|
-
<code code="252116004" codeSystem="2.16.840.1.113883.6.96" displayName="Observation Parameters"/>
|
16
|
-
<effectiveTime>
|
17
|
-
<low value="{{{performance_period_start}}}"/>
|
18
|
-
<high value="{{{performance_period_end}}}"/>
|
19
|
-
</effectiveTime>
|
20
|
-
</act>
|
21
|
-
</entry>
|
22
|
-
</section>
|
23
|
-
</component>
|