From 386286ba65fd41b1344eba8bf2f34bb870491dee Mon Sep 17 00:00:00 2001 From: Evren Ozkan Date: Fri, 22 Feb 2019 10:57:49 -0500 Subject: [PATCH] fix(bidirectional): Support for lesion naming number in bidirectional --- src/tools/annotation/bidirectionalTool/renderToolData.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tools/annotation/bidirectionalTool/renderToolData.js b/src/tools/annotation/bidirectionalTool/renderToolData.js index 82ebf472f..888bc11a4 100644 --- a/src/tools/annotation/bidirectionalTool/renderToolData.js +++ b/src/tools/annotation/bidirectionalTool/renderToolData.js @@ -173,5 +173,9 @@ const getTextBoxText = (data, rowPixelSpacing, colPixelSpacing) => { const lengthText = ` L ${data.longestDiameter}${suffix}`; const widthText = ` W ${data.shortestDiameter}${suffix}`; + if (data.lesionNamingNumber) { + return [`Target ${data.lesionNamingNumber}`, lengthText, widthText]; + } + return [lengthText, widthText]; };