cqm-validators 2.0.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +16 -12
- data/.simplecov +0 -2
- data/.travis.yml +2 -0
- data/README.md +7 -5
- data/cqm_validators.gemspec +2 -4
- data/lib/cqm_validators/version.rb +1 -1
- data/lib/measure_validator.rb +1 -1
- data/lib/schematron/qrda/cat_1_r5_1/HL7 QRDA Category I STU 5.1.sch +306 -313
- data/lib/schematron/qrda/cat_1_r5_1/voc.xml +102 -135
- data/lib/schematron/qrda/cat_1_r5_2/HL7 QRDA Category I STU 5.2.sch +3961 -0
- data/lib/schematron/qrda/cat_1_r5_2/voc.xml +1191 -0
- data/lib/validators.rb +9 -0
- metadata +16 -13
data/lib/validators.rb
CHANGED
@@ -13,6 +13,7 @@ module CqmValidators
|
|
13
13
|
CDA_SDTC_SCHEMA = 'lib/schema/infrastructure/cda/CDA_SDTC.xsd'
|
14
14
|
QRDA_CAT1_R5_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5/HL7 QRDA Category I STU 5.sch'
|
15
15
|
QRDA_CAT1_R51_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5_1/HL7 QRDA Category I STU 5.1.sch'
|
16
|
+
QRDA_CAT1_R52_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5_2/HL7 QRDA Category I STU 5.2.sch'
|
16
17
|
QRDA_CAT3_21SCHEMATRON = 'lib/schematron/qrda/cat_3_r2_1/HL7 QRDA Category III STU 2.1.sch'
|
17
18
|
BASE_DIR = File.expand_path('..', __dir__)
|
18
19
|
|
@@ -56,6 +57,14 @@ module CqmValidators
|
|
56
57
|
end
|
57
58
|
end
|
58
59
|
|
60
|
+
class Cat1R52 < Schematron::Validator
|
61
|
+
include Singleton
|
62
|
+
|
63
|
+
def initialize
|
64
|
+
super('QRDA Cat 1 Validator', File.join(BASE_DIR, QRDA_CAT1_R52_SCHEMATRON))
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
59
68
|
class Cat3R21 < Schematron::Validator
|
60
69
|
include Singleton
|
61
70
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cqm-validators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laura
|
8
8
|
- Michael O'Keefe
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -113,30 +113,30 @@ dependencies:
|
|
113
113
|
name: rake
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - "
|
116
|
+
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
118
|
+
version: '10.0'
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - "
|
123
|
+
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
125
|
+
version: '10.0'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rubocop
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
130
|
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: '0.
|
132
|
+
version: '0.60'
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: '0.
|
139
|
+
version: '0.60'
|
140
140
|
description: new cqm validator library
|
141
141
|
email:
|
142
142
|
- laclark@mitre.org
|
@@ -206,6 +206,8 @@ files:
|
|
206
206
|
- lib/schematron/qrda/cat_1_r5/voc.xml
|
207
207
|
- lib/schematron/qrda/cat_1_r5_1/HL7 QRDA Category I STU 5.1.sch
|
208
208
|
- lib/schematron/qrda/cat_1_r5_1/voc.xml
|
209
|
+
- lib/schematron/qrda/cat_1_r5_2/HL7 QRDA Category I STU 5.2.sch
|
210
|
+
- lib/schematron/qrda/cat_1_r5_2/voc.xml
|
209
211
|
- lib/schematron/qrda/cat_3_r2_1/HL7 QRDA Category III STU 2.1.sch
|
210
212
|
- lib/schematron/qrda/cat_3_r2_1/voc.xml
|
211
213
|
- lib/schematron_validator.rb
|
@@ -216,7 +218,7 @@ homepage: https://github.com/projecttacoma/cqm-validators
|
|
216
218
|
licenses:
|
217
219
|
- Apache-2.0
|
218
220
|
metadata: {}
|
219
|
-
post_install_message:
|
221
|
+
post_install_message:
|
220
222
|
rdoc_options: []
|
221
223
|
require_paths:
|
222
224
|
- lib
|
@@ -224,15 +226,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
224
226
|
requirements:
|
225
227
|
- - ">="
|
226
228
|
- !ruby/object:Gem::Version
|
227
|
-
version:
|
229
|
+
version: '0'
|
228
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
231
|
requirements:
|
230
232
|
- - ">="
|
231
233
|
- !ruby/object:Gem::Version
|
232
234
|
version: '0'
|
233
235
|
requirements: []
|
234
|
-
|
235
|
-
|
236
|
+
rubyforge_project:
|
237
|
+
rubygems_version: 2.6.14
|
238
|
+
signing_key:
|
236
239
|
specification_version: 4
|
237
240
|
summary: new cqm validator library
|
238
241
|
test_files: []
|