From 170661736839010989bf1fed0b44b1759a06d3d9 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Mon, 9 Feb 2026 06:29:43 +1100 Subject: [PATCH 1/4] fix typo (#56) --- tx/workers/read.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tx/workers/read.js b/tx/workers/read.js index d17b845..342df1d 100644 --- a/tx/workers/read.js +++ b/tx/workers/read.js @@ -104,7 +104,7 @@ class ReadWorker extends TerminologyWorker { json.version = cs.version(); } if (cs.iteratable()) { - json.content = "conplete", + json.content = "complete", json.concept = []; let csp = cs.build(this.opContext, []); let iter = await csp.iteratorAll(); From a0af576e5d1fbcdde03115067a1f02b4210d11d9 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Mon, 9 Feb 2026 06:51:25 +1100 Subject: [PATCH 2/4] fix handling of SCT expressions in lookup and validate-code (#59) --- tx/cs/cs-snomed.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tx/cs/cs-snomed.js b/tx/cs/cs-snomed.js index 79774e0..71ddd64 100644 --- a/tx/cs/cs-snomed.js +++ b/tx/cs/cs-snomed.js @@ -9,6 +9,7 @@ const { SnomedExpressionServices, SnomedExpression, SnomedConcept, SnomedExpressionParser, NO_REFERENCE, SnomedServicesRenderOption } = require('../sct/expressions'); +const {DesignationUse} = require("../library/designations"); // Context kinds matching Pascal enum const SnomedProviderContextKind = { @@ -507,7 +508,7 @@ class SnomedProvider extends CodeSystemProvider { if (disp) return disp; if (ctxt.isComplex()) { - return this.sct.expressionServices.displayExpression(ctxt.expression); + return this.sct.expressionServices.renderExpression(ctxt.expression, SnomedServicesRenderOption.FillMissing); } else { return this.sct.getDisplayName(ctxt.getReference(), this.sct.defaultLanguage); } @@ -558,7 +559,7 @@ class SnomedProvider extends CodeSystemProvider { // For complex expressions, just add the display const display = await this.display(context); if (display) { - displays.addDesignation(true, 'active', new Designation('en-US', null, display)); + displays.addDesignation(true, 'active', 'en-US', DesignationUse.PREFERRED, display); } } else { // Get all designations for the concept From 4440de5fd491e8eb433b589c5cbe4f352851cf14 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Mon, 9 Feb 2026 06:52:47 +1100 Subject: [PATCH 3/4] fix node version in dockerfile (#50) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b5e93f2..1741904 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:24-alpine # Create app directory WORKDIR /app From aa029caa23272fc706cd1b97ebd8f3419508ef89 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Mon, 9 Feb 2026 07:03:18 +1100 Subject: [PATCH 4/4] lint changes --- tx/cs/cs-snomed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tx/cs/cs-snomed.js b/tx/cs/cs-snomed.js index 71ddd64..c953dc8 100644 --- a/tx/cs/cs-snomed.js +++ b/tx/cs/cs-snomed.js @@ -1,4 +1,4 @@ -const { CodeSystemProvider, CodeSystemContentMode, Designation, CodeSystemFactoryProvider} = require('./cs-api'); +const { CodeSystemProvider, CodeSystemContentMode, CodeSystemFactoryProvider} = require('./cs-api'); const { SnomedStrings, SnomedWords, SnomedStems, SnomedReferences, SnomedDescriptions, SnomedDescriptionIndex, SnomedConceptList,