fix some more loading errors

This commit is contained in:
Ross
2024-10-07 09:20:09 +01:00
parent ea42f7f0c7
commit 6f96f79303
2 changed files with 15 additions and 3 deletions
+4
View File
@@ -1084,6 +1084,10 @@ function onNewImage(e) {
}
function checkAnonStatus(dataSet) {
// dataSet will be undefined if the image is not a dicom
if (dataSet == undefined) {
return;
}
let accession_number = dataSet.string('x00080050').toLowerCase();
let patient_id = dataSet.string('x00100020').toLowerCase();