diff --git a/tmh_registry/registry/models.py b/tmh_registry/registry/models.py index 38ead4e..36ba99d 100644 --- a/tmh_registry/registry/models.py +++ b/tmh_registry/registry/models.py @@ -57,7 +57,7 @@ class Meta: verbose_name_plural = "Patient-Hospital mapping" def __str__(self): - return f"{self.patient.last_name} - {self.hospital.name}" + return f"{self.patient.full_name} - {self.hospital.name}" class Episode(models.Model):