This commit is contained in:
Ross
2021-02-25 18:08:58 +00:00
parent 2663488e1e
commit 2737ba847b
4 changed files with 59 additions and 1 deletions
+8 -1
View File
@@ -25,7 +25,7 @@ from helpers.images import image_as_base64
from anatomy.models import Modality
from generic.models import Examination, Condition, Sign, ExamBase
from generic.models import Examination, Condition, Sign, ExamBase, Plane
# from generic.models import Examination, Site, Condition, Sign
@@ -187,6 +187,13 @@ class LongSeries(models.Model):
on_delete=models.SET_NULL,
null=True,
)
plane = models.ForeignKey(
Plane,
help_text="Plane of the examination",
related_name="series_plane",
on_delete=models.SET_NULL,
null=True,
)
long = models.ManyToManyField(
"Long",
help_text="The question(s) this series should be associated with",