This commit is contained in:
Ross
2021-02-05 11:28:05 +00:00
parent d8167aa95f
commit 542848f4d0
7 changed files with 68 additions and 6 deletions
+2 -2
View File
@@ -127,8 +127,8 @@ class LongSeries(models.Model):
modality = models.ForeignKey(Modality, related_name="series_modality", on_delete=models.SET_NULL, null=True)
examination = models.ForeignKey(
Examination, help_text="Name of the examination", related_name="series_examination", on_delete=models.SET_NULL, null=True)
long = models.ForeignKey("Long", related_name="series", on_delete=models.SET_NULL, null=True)
description = models.TextField(blank=True, help_text="Description of stack, for admin organisation")
long = models.ForeignKey("Long", help_text="The question this series should be associated with", related_name="series", on_delete=models.SET_NULL, null=True)
description = models.TextField(blank=True, help_text="Description of stack, for admin organisation, will not be visible when taking")
def get_examinations(self):
"""Returns a comma seperated text list of regions"""