.
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user