.
This commit is contained in:
+3
-1
@@ -28,7 +28,7 @@ from helpers.images import image_as_base64, pretty_print_dicom
|
||||
|
||||
from anatomy.models import Modality
|
||||
|
||||
from generic.models import Examination, Condition, Sign, ExamBase, Plane, Contrast, QuestionNote
|
||||
from generic.models import CidUser, Examination, Condition, Sign, ExamBase, Plane, Contrast, QuestionNote
|
||||
|
||||
# from generic.models import Examination, Site, Condition, Sign
|
||||
|
||||
@@ -597,6 +597,8 @@ class Exam(ExamBase):
|
||||
|
||||
double_mark = models.BooleanField(default=True, help_text="Defines if an exam is expected to be double marked")
|
||||
|
||||
valid_users = models.ManyToManyField(CidUser, blank=True, related_name="longs_exams")
|
||||
|
||||
def get_exam_question_json(self, question_id):
|
||||
q = get_object_or_404(Long, pk=question_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user