This commit is contained in:
Ross
2021-01-21 18:06:54 +00:00
parent f3688c30c7
commit 7b8dcdf3dc
4 changed files with 53 additions and 3 deletions
+2 -2
View File
@@ -142,8 +142,8 @@ class Rapid(models.Model):
Region,
blank=True,
help_text="Region of the abnormality (laterality independent)")
examination = models.ManyToManyField(
Examination, help_text="Name of the (primary) examination")
examination = models.ForeignKey(
Examination, help_text="Name of the (primary) examination", on_delete=models.SET_NULL, null=True)
laterality = models.CharField(
max_length=20,
choices=LATERALITY_CHOICES,