From 61b1b0eae719adc499a0dbe09b21c26279da1512 Mon Sep 17 00:00:00 2001 From: Omar Khan Date: Mon, 8 Sep 2025 09:57:17 +0100 Subject: [PATCH] Addition of SequenceOntology CS to ignore list --- src/common.js.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.js.ts b/src/common.js.ts index 45a369a..d248b87 100644 --- a/src/common.js.ts +++ b/src/common.js.ts @@ -311,8 +311,8 @@ function raiseError(issue: OperationOutcomeIssue) : boolean { //Hide errors relating to finding codes from system:http://human-phenotype-ontology.org as these are not within the Terminology server if (issue.diagnostics.includes('Validation failed for \'http://human-phenotype-ontology.org')) return false; - // Issue with GitHub validator requiring code to be in CodeSystem asset when there is none. No issues with the validator itself. The ValueSet in question is https://terminology.hl7.org/5.5.0/CodeSystem-v3-hgvs.html - if (issue.diagnostics.includes('http://varnomen.hgvs.org')) return false; + // Issue with GitHub validator requiring code to be in CodeSystem asset when there is none. No issues with the validator itself. The ValueSets in question are https://terminology.hl7.org/5.5.0/CodeSystem-v3-hgvs.html and https://terminology.hl7.org/6.4.0/CodeSystem-SO.html + if (issue.diagnostics.includes('http://varnomen.hgvs.org') || issue.diagnostics.includes('http://www.sequenceontology.org')) return false; } if (issue.location !== undefined && issue.location.length>0) { if (issue.location[0].includes('StructureMap.group')) return false;