fix(Reduce cognitive complexity by splitting out calls): Attempt to reduce cognitive complexity rule
fix(Reduce cognitive complexity by splitting out calls): Attempt to reduce cognitive complexity rule

Reduce cognitive complexity by splitting code

cornerstonejs/cornerstoneTools,cornerstonejs/cornerstoneTools,chafey/cornerstoneTools,cornerstonejs/cornerstoneTools