.
This commit is contained in:
@@ -214,6 +214,9 @@ class SeriesFindings(models.Model):
|
|||||||
findings = models.ManyToManyField(Finding, blank=True)
|
findings = models.ManyToManyField(Finding, blank=True)
|
||||||
annotation_json = models.TextField(null=True, blank=True)
|
annotation_json = models.TextField(null=True, blank=True)
|
||||||
|
|
||||||
|
def __str__(self) -> str:
|
||||||
|
return f"{self.series.id}/{self.description}"
|
||||||
|
|
||||||
@reversion.register
|
@reversion.register
|
||||||
class Series(models.Model):
|
class Series(models.Model):
|
||||||
modality = models.ForeignKey(
|
modality = models.ForeignKey(
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ This series is not associated with any cases.
|
|||||||
<summary>Findings</summary>
|
<summary>Findings</summary>
|
||||||
|
|
||||||
{% for finding in series.findings.all %}
|
{% for finding in series.findings.all %}
|
||||||
{{finding.finding}}, {{finding.description}}<br />
|
{{finding.findings}}, {{finding.description}}<br />
|
||||||
{{finding.annotation_json}}<br />
|
{{finding.annotation_json}}<br />
|
||||||
{% comment %} {{image.get_dicom_info|safe}}<br /> {% endcomment %}
|
{% comment %} {{image.get_dicom_info|safe}}<br /> {% endcomment %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user