This commit is contained in:
Ross
2021-11-29 19:06:41 +00:00
parent d7a4aafd44
commit 0344b149a6
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -214,6 +214,9 @@ class SeriesFindings(models.Model):
findings = models.ManyToManyField(Finding, blank=True)
annotation_json = models.TextField(null=True, blank=True)
def __str__(self) -> str:
return f"{self.series.id}/{self.description}"
@reversion.register
class Series(models.Model):
modality = models.ForeignKey(
+1 -1
View File
@@ -43,7 +43,7 @@ This series is not associated with any cases.
<summary>Findings</summary>
{% for finding in series.findings.all %}
{{finding.finding}}, {{finding.description}}<br />
{{finding.findings}}, {{finding.description}}<br />
{{finding.annotation_json}}<br />
{% comment %} {{image.get_dicom_info|safe}}<br /> {% endcomment %}