canql 5.5.0 → 5.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f1406cd4a6e0b0e9f66ef6386f0356b8b60e7c9ed6300ac8366a3e6b65aad4c
4
- data.tar.gz: 6933617a2d3b293fa5c844d4885ee2e0b005cb5ba4596de4699fcaf3254faff5
3
+ metadata.gz: 69ac77dc14c9bcc2dd95a64e29769c0745f22618dcde8d61da511037b9a57ac1
4
+ data.tar.gz: 3a75f686973aff03cae2f87d573c6037db3d28e1de8f3c2a41ded5f42b04b8c0
5
5
  SHA512:
6
- metadata.gz: 458ad85cf4588bde403a34ec3721a5e6f22b2a7242029f9d21b4f9f4fa1264355c408e8ba84f8cb280023b5fff5ab480ba5a29d163e62030e7b2b3354d1b301d
7
- data.tar.gz: dd916f281f0d531b84ac6e6ff696d28761d92915e70eca5266bfdd4c5ea3f93daaa1dbb246e9482e47b6e6a6b9907f6d1fdca8ac2e8e47f69ea1da1a1ff5b359
6
+ metadata.gz: 9daec279858e2f8aeeb96ea9bf06c87d50e0061f6a5b47a7c06f8f7de071d2c85033f2025b7e1a4ad50af4f8e41d222e45f1a0a60f4bf1da45010c2ae5bf6b14
7
+ data.tar.gz: 9c691d7d0e6b356ed2af4cdfc0787d8499d81ab930db1c295932384e35a5c3283698fb7fb361332ef2db67263ea337fefc1110b8872bacded290b61f2c669bad
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  ## [Unreleased]
2
2
  * no relevant changes
3
3
 
4
+ ## 5.6.0 / 2021-03-16
5
+ ### Added
6
+ * Add new CA Death option to the unprocessed record filter (#75)
7
+
4
8
  ## 5.5.0 / 2021-03-16
5
9
  ### Added
6
10
  * Add HES event filter (#72)
data/code_safety.yml CHANGED
@@ -27,7 +27,7 @@ file safety:
27
27
  CHANGELOG.md:
28
28
  comments:
29
29
  reviewed_by: josh.pencheon
30
- safe_revision: 154d287a89e13c77b34642ffb33eb4c07953aa1b
30
+ safe_revision: 29d2a4accc6fbe9305b01e79cb285e5bf8531cbc
31
31
  CODE_OF_CONDUCT.md:
32
32
  comments:
33
33
  reviewed_by: drewthorp
@@ -85,7 +85,7 @@ file safety:
85
85
  lib/canql/grammars/batch_types.treetop:
86
86
  comments:
87
87
  reviewed_by: josh.pencheon
88
- safe_revision: 1892161f3c300f3b199aa318b3fe23a54dd80829
88
+ safe_revision: df64f58ac3cc8dbd70d1792d24071ef013f9ae42
89
89
  lib/canql/grammars/dates.treetop:
90
90
  comments: It is a known issue that this is potentially susceptible to certain
91
91
  kinds of DoS attack
@@ -150,7 +150,7 @@ file safety:
150
150
  lib/canql/nodes/batch_types.rb:
151
151
  comments:
152
152
  reviewed_by: josh.pencheon
153
- safe_revision: 1892161f3c300f3b199aa318b3fe23a54dd80829
153
+ safe_revision: df64f58ac3cc8dbd70d1792d24071ef013f9ae42
154
154
  lib/canql/nodes/dates.rb:
155
155
  comments:
156
156
  reviewed_by: timgentry
@@ -202,7 +202,7 @@ file safety:
202
202
  lib/canql/version.rb:
203
203
  comments:
204
204
  reviewed_by: josh.pencheon
205
- safe_revision: 154d287a89e13c77b34642ffb33eb4c07953aa1b
205
+ safe_revision: 29d2a4accc6fbe9305b01e79cb285e5bf8531cbc
206
206
  test/anomaly_test_helper.rb:
207
207
  comments:
208
208
  reviewed_by: ollietulloch
@@ -238,7 +238,7 @@ file safety:
238
238
  test/nodes/e_base_records_test.rb:
239
239
  comments:
240
240
  reviewed_by: josh.pencheon
241
- safe_revision: 293248a17d087d7557a6aacdcb5bf3fbec946b87
241
+ safe_revision: df64f58ac3cc8dbd70d1792d24071ef013f9ae42
242
242
  test/nodes/genetic_tests_test.rb:
243
243
  comments:
244
244
  reviewed_by: josh.pencheon
@@ -1,7 +1,7 @@
1
1
  module Canql
2
2
  grammar BatchTypes
3
3
  rule batch_type
4
- (paediatric / enote2 / badger / ucyto / nipt / rddeath / umum) <Nodes::BatchTypeNode>
4
+ (paediatric / enote2 / badger / ucyto / nipt / rddeath / umum / ca_death) <Nodes::BatchTypeNode>
5
5
  end
6
6
 
7
7
  rule paediatric
@@ -25,11 +25,15 @@ module Canql
25
25
  end
26
26
 
27
27
  rule rddeath
28
- ('rddeath' / 'rare disease death') <Nodes::RddeathNode>
28
+ ('rddeath' / 'rd death' / 'rare disease death') <Nodes::RddeathNode>
29
29
  end
30
30
 
31
31
  rule umum
32
32
  ('umum' / 'mum') <Nodes::UmumNode>
33
33
  end
34
+
35
+ rule ca_death
36
+ ('cadeath' / 'ca death' / 'congenital anomaly death') <Nodes::CADeathNode>
37
+ end
34
38
  end
35
39
  end
@@ -50,5 +50,11 @@ module Canql #:nodoc: all
50
50
  'umum'
51
51
  end
52
52
  end
53
+
54
+ module CADeathNode
55
+ def normalise
56
+ 'ca_death'
57
+ end
58
+ end
53
59
  end
54
60
  end
data/lib/canql/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  # This stores the current version of the Canql gem
4
4
  module Canql
5
- VERSION = '5.5.0'
5
+ VERSION = '5.6.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canql
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.0
4
+ version: 5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHE NDR Development Team