From a618faf57ec47f4b6cb9396e7483069e499f802b Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 16 Jan 2026 07:24:11 +1100 Subject: [PATCH 1/2] remove logging --- tx/cs/cs-snomed.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tx/cs/cs-snomed.js b/tx/cs/cs-snomed.js index 46260d2..f2a20d7 100644 --- a/tx/cs/cs-snomed.js +++ b/tx/cs/cs-snomed.js @@ -445,10 +445,6 @@ class SnomedProvider extends CodeSystemProvider { * @returns {boolean} True if actualVersion is more detailed than checkVersion (for SCT) */ versionIsMoreDetailed(checkVersion, actualVersion) { - console.log('checkVersion:', checkVersion); - console.log('actualVersion:', actualVersion); - console.log('lengths:', checkVersion.length, actualVersion ? actualVersion.length : "??"); - console.log('outcome:', actualVersion && actualVersion.startsWith(checkVersion)); return actualVersion && actualVersion.startsWith(checkVersion); } From bb0d4683b3ceef434ccdf4eb6b852614987f79e7 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 16 Jan 2026 07:29:41 +1100 Subject: [PATCH 2/2] fix breaking test case --- tests/cs/cs-hgvs.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cs/cs-hgvs.test.js b/tests/cs/cs-hgvs.test.js index a220d9f..05a5c0b 100644 --- a/tests/cs/cs-hgvs.test.js +++ b/tests/cs/cs-hgvs.test.js @@ -52,7 +52,7 @@ describe('HGVS Provider', () => { }); test('should have correct description', () => { - expect(provider.description()).toBe('HGVS codes'); + expect(provider.description()).toBe('HGVS validator'); }); test('should return correct version', async () => {