Replace stackId with studyId in named stacks and update App component to include studyId in stack entries

This commit is contained in:
Ross
2025-09-15 14:28:08 +01:00
parent 654abaaaf4
commit e6a6128aca
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -61,7 +61,7 @@
data-named-stacks='[ data-named-stacks='[
{ {
"caseId": "CASE-001", "caseId": "CASE-001",
"stackId": "STACK-001", "studyId": "STUDY-001",
"stacks": [ "stacks": [
{ {
"name": "Abdomen - Portal Venous", "name": "Abdomen - Portal Venous",
@@ -80,7 +80,7 @@
}, },
{ {
"caseId": "CASE-002", "caseId": "CASE-002",
"stackId": "STACK-002", "studyId": "STUDY-002",
"stacks": [ "stacks": [
{ {
"name": "Chest - CTA", "name": "Chest - CTA",
+1
View File
@@ -291,6 +291,7 @@ function App({ container_id, imageStacks, autoCacheStack, annotationJson, viewer
return { return {
imageIds, imageIds,
studyInstanceUID, studyInstanceUID,
studyId: (d as any).studyId,
name: (d as any).name, name: (d as any).name,
caseId: (d as any).caseId, caseId: (d as any).caseId,
}; };