.
This commit is contained in:
@@ -66,6 +66,8 @@ cornerstoneTools.init();
|
||||
const element = document.getElementById('dicom-image');
|
||||
const imageId = element.dataset.url;
|
||||
|
||||
console.log("Dicom - load imageId: ", imageId);
|
||||
|
||||
cornerstone.enable(element);
|
||||
cornerstone.loadAndCacheImage(imageId).then(function (image) {
|
||||
cornerstone.displayImage(element, image);
|
||||
|
||||
@@ -119,6 +119,8 @@ def exam_question_detail(request, pk, sk):
|
||||
|
||||
pos = exam.get_question_index(question) + 1
|
||||
|
||||
print(question.exams.through.sort_value)
|
||||
|
||||
previous = -1
|
||||
if sk > 0:
|
||||
previous = sk - 1
|
||||
|
||||
Reference in New Issue
Block a user