This commit is contained in:
Ross
2021-11-23 19:34:50 +00:00
parent 92c52896d0
commit 70958dc4d7
4 changed files with 74 additions and 4 deletions
+4 -4
View File
@@ -186,19 +186,19 @@ class SeriesImage(models.Model):
@reversion.register
class Series(models.Model):
modality = models.ForeignKey(
Modality, related_name="series_modality", on_delete=models.SET_NULL, null=True
Modality, related_name="atlas_series_modality", on_delete=models.SET_NULL, null=True
)
examination = models.ForeignKey(
Examination,
help_text="Name of the examination",
related_name="series_examination",
related_name="atlas_series_examination",
on_delete=models.SET_NULL,
null=True,
)
plane = models.ForeignKey(
Plane,
help_text="Plane of the examination",
related_name="series_plane",
related_name="atlas_series_plane",
on_delete=models.SET_NULL,
null=True,
blank=True,
@@ -206,7 +206,7 @@ class Series(models.Model):
contrast = models.ForeignKey(
Contrast,
help_text="MRI / CT contrast",
related_name="series_contrast",
related_name="atlas_series_contrast",
on_delete=models.SET_NULL,
null=True,
blank=True,