cqm-validators 3.1.3 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
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: 3.1.3
4
+ version: 4.0.2
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: 2022-02-28 00:00:00.000000000 Z
12
+ date: 2022-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -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