Skip to content

Commit ae2198d

Browse files
author
Grahame Grieve
committed
fix error in cz version of sct
1 parent a7dcf49 commit ae2198d

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

library/ftx/ftx_sct_services.pas

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5183,15 +5183,18 @@ procedure TSnomedProvider.extendLookup(opContext : TTxOperationContext; factory
51835183

51845184
if hasProp(props, 'normalForm', true) then
51855185
begin
5186-
exp := FSct.createNormalForm(TSnomedExpressionContext(ctxt).reference);
51875186
try
5188-
p := resp.addProp('normalForm');
5189-
p.value := factory.makeString(FSct.renderExpression(exp, sroFillMissing));
5190-
p := resp.addProp('normalFormTerse');
5191-
p.value := factory.makeString(FSct.renderExpression(exp, sroMinimal));
5187+
exp := FSct.createNormalForm(TSnomedExpressionContext(ctxt).reference);
5188+
try
5189+
p := resp.addProp('normalForm');
5190+
p.value := factory.makeString(FSct.renderExpression(exp, sroFillMissing));
5191+
p := resp.addProp('normalFormTerse');
5192+
p.value := factory.makeString(FSct.renderExpression(exp, sroMinimal));
51925193

5193-
finally
5194-
exp.free;
5194+
finally
5195+
exp.free;
5196+
end;
5197+
except
51955198
end;
51965199
end;
51975200

0 commit comments

Comments
 (0)