@cornerstonejs/adapters 4.0.0-beta.5 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,6 @@ declare class ArrowAnnotate {
25
25
  };
26
26
  };
27
27
  invalidated: boolean;
28
- text: any;
29
28
  visible: boolean;
30
29
  sopInstanceUid: any;
31
30
  frameIndex: any;
@@ -14,7 +14,6 @@ class ArrowAnnotate {
14
14
  SCOORDGroup,
15
15
  findingGroup
16
16
  } = MeasurementReport.getSetupMeasurementData(MeasurementGroup);
17
- const text = findingGroup.ConceptCodeSequence.CodeMeaning;
18
17
  const {
19
18
  GraphicData
20
19
  } = SCOORDGroup;
@@ -46,7 +45,6 @@ class ArrowAnnotate {
46
45
  }
47
46
  },
48
47
  invalidated: true,
49
- text,
50
48
  visible: true
51
49
  };
52
50
  return state;
@@ -65,12 +63,12 @@ class ArrowAnnotate {
65
63
  findingSites: findingSites || []
66
64
  };
67
65
 
68
- // If freetext finding isn't present, add it from the tool text.
66
+ // If freetext finding isn't present, add it from the tool label.
69
67
  if (!finding || finding.CodeValue !== CORNERSTONEFREETEXT) {
70
68
  finding = {
71
69
  CodeValue: CORNERSTONEFREETEXT,
72
70
  CodingSchemeDesignator: "CST4",
73
- CodeMeaning: tool.text
71
+ CodeMeaning: tool.label
74
72
  };
75
73
  }
76
74
  TID300RepresentationArguments.finding = finding;
@@ -1 +1 @@
1
- export declare const version = "4.0.0-beta.5";
1
+ export declare const version = "4.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/adapters",
3
- "version": "4.0.0-beta.5",
3
+ "version": "4.0.0",
4
4
  "description": "Adapters for Cornerstone3D to/from formats including DICOM SR and others",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -89,8 +89,8 @@
89
89
  "ndarray": "^1.0.19"
90
90
  },
91
91
  "peerDependencies": {
92
- "@cornerstonejs/core": "^4.0.0-beta.5",
93
- "@cornerstonejs/tools": "^4.0.0-beta.5"
92
+ "@cornerstonejs/core": "^4.0.0",
93
+ "@cornerstonejs/tools": "^4.0.0"
94
94
  },
95
- "gitHead": "c983ea46160362885b27f3c72cc84731cfe86b99"
95
+ "gitHead": "0f87be152df0106b75908c1a9e929e5c68a149bd"
96
96
  }