cqm-validators 2.0.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cqm-validators
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 3.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: 2019-10-25 00:00:00.000000000 Z
12
+ date: 2020-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.10.3
20
+ version: '1.10'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.10.3
27
+ version: '1.10'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -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