From a20205ea122ec4d756f674b15ace8ec5e07f6b01 Mon Sep 17 00:00:00 2001 From: NImeson Date: Thu, 11 Dec 2025 15:37:16 +0000 Subject: [PATCH] new variables for testscope and moltestingtype appearing in recent data --- lib/import/helpers/colorectal/providers/rj7/constants.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/import/helpers/colorectal/providers/rj7/constants.rb b/lib/import/helpers/colorectal/providers/rj7/constants.rb index dd665a4e..a2cc4014 100644 --- a/lib/import/helpers/colorectal/providers/rj7/constants.rb +++ b/lib/import/helpers/colorectal/providers/rj7/constants.rb @@ -11,17 +11,23 @@ module Constants TEST_TYPE_MAP = { 'carrier testing for known familial mutation(s)' => :carrier, + 'carrier testing for known familial variant(s)' => :carrier, 'diagnostic testing for known mutation(s)' => :diagnostic, + 'diagnostic testing for known variant(s)' => :diagnostic, 'predictive testing for known familial mutation(s)' => :predictive, + 'predictive testing for known familial variant(s)' => :predictive, 'apc associated polyposis' => :diagnostic }.freeze TEST_SCOPE_MAP = { 'carrier testing for known familial mutation(s)' => :targeted_mutation, + 'carrier testing for known familial variant(s)' => :targeted_mutation, 'diagnostic testing for known mutation(s)' => :targeted_mutation, + 'diagnostic testing for known variant(s)' => :targeted_mutation, 'family follow-up testing to aid variant interpretation' => :targeted_mutation, 'predictive testing for known familial mutation(s)' => :targeted_mutation, + 'predictive testing for known familial variant(s)' => :targeted_mutation, 'inherited mmr deficiency (lynch syndrome)' => :full_screen, 'inherited colorectal cancer (with or without polyposis)' => :full_screen, 'inherited polyposis - germline test' => :full_screen,