cqm-validators 3.1.3 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -3
- data/cqm_validators.gemspec +1 -1
- data/lib/cqm_validators/version.rb +1 -1
- data/lib/schematron/qrda/cat_1_r5_3/HL7 QRDA Category I STU 5.3.sch +3836 -0
- data/lib/schematron/qrda/cat_1_r5_3/voc.xml +1191 -0
- data/lib/schematron/qrda/cat_3_r1/HL7 QRDA Category III Release 1.sch +879 -0
- data/lib/schematron/qrda/cat_3_r1/voc.xml +704 -0
- data/lib/validators.rb +19 -0
- metadata +9 -5
data/lib/validators.rb
CHANGED
@@ -15,7 +15,10 @@ module CqmValidators
|
|
15
15
|
QRDA_CAT1_R5_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5/HL7 QRDA Category I STU 5.sch'
|
16
16
|
QRDA_CAT1_R51_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5_1/HL7 QRDA Category I STU 5.1.sch'
|
17
17
|
QRDA_CAT1_R52_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5_2/HL7 QRDA Category I STU 5.2.sch'
|
18
|
+
# TODO, this will need to be replaced with the real schematron
|
19
|
+
QRDA_CAT1_R53_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5_3/HL7 QRDA Category I STU 5.3.sch'
|
18
20
|
QRDA_CAT3_21SCHEMATRON = 'lib/schematron/qrda/cat_3_r2_1/HL7 QRDA Category III STU 2.1.sch'
|
21
|
+
QRDA_CAT3_R1_SCHEMATRON = 'lib/schematron/qrda/cat_3_r1/HL7 QRDA Category III Release 1.sch'
|
19
22
|
BASE_DIR = File.expand_path('..', __dir__)
|
20
23
|
|
21
24
|
class Cat1Measure < MeasureValidator
|
@@ -66,6 +69,14 @@ module CqmValidators
|
|
66
69
|
end
|
67
70
|
end
|
68
71
|
|
72
|
+
class Cat1R53 < Schematron::Validator
|
73
|
+
include Singleton
|
74
|
+
|
75
|
+
def initialize
|
76
|
+
super('QRDA Cat 1 Validator', File.join(BASE_DIR, QRDA_CAT1_R53_SCHEMATRON))
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
69
80
|
class Cat3R21 < Schematron::Validator
|
70
81
|
include Singleton
|
71
82
|
|
@@ -74,6 +85,14 @@ module CqmValidators
|
|
74
85
|
end
|
75
86
|
end
|
76
87
|
|
88
|
+
class Cat3R1 < Schematron::Validator
|
89
|
+
include Singleton
|
90
|
+
|
91
|
+
def initialize
|
92
|
+
super('QRDA Cat 3 Validator', File.join(BASE_DIR, QRDA_CAT3_R1_SCHEMATRON))
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
77
96
|
class Cat3PerformanceRate < PerformanceRateValidator
|
78
97
|
include Singleton
|
79
98
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cqm-validators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laura
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: 1.8.5
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
23
|
+
version: 1.13.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: 1.8.5
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.13.0
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: bundler
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,6 +214,10 @@ files:
|
|
214
214
|
- lib/schematron/qrda/cat_1_r5_1/voc.xml
|
215
215
|
- lib/schematron/qrda/cat_1_r5_2/HL7 QRDA Category I STU 5.2.sch
|
216
216
|
- lib/schematron/qrda/cat_1_r5_2/voc.xml
|
217
|
+
- lib/schematron/qrda/cat_1_r5_3/HL7 QRDA Category I STU 5.3.sch
|
218
|
+
- lib/schematron/qrda/cat_1_r5_3/voc.xml
|
219
|
+
- lib/schematron/qrda/cat_3_r1/HL7 QRDA Category III Release 1.sch
|
220
|
+
- lib/schematron/qrda/cat_3_r1/voc.xml
|
217
221
|
- lib/schematron/qrda/cat_3_r2_1/HL7 QRDA Category III STU 2.1.sch
|
218
222
|
- lib/schematron/qrda/cat_3_r2_1/voc.xml
|
219
223
|
- lib/schematron_validator.rb
|
@@ -239,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
243
|
- !ruby/object:Gem::Version
|
240
244
|
version: '0'
|
241
245
|
requirements: []
|
242
|
-
rubygems_version: 3.2
|
246
|
+
rubygems_version: 3.0.2
|
243
247
|
signing_key:
|
244
248
|
specification_version: 4
|
245
249
|
summary: new cqm validator library
|