CineDev commited on
Commit
41cc6c9
·
verified ·
1 Parent(s): d03e564

Update backend/api/models.py

Browse files
Files changed (1) hide show
  1. backend/api/models.py +1 -0
backend/api/models.py CHANGED
@@ -56,6 +56,7 @@ class Appointment(models.Model):
56
 
57
  patient = models.ForeignKey(UserProfile, on_delete=models.CASCADE, related_name='appointments_as_patient')
58
  doctor = models.ForeignKey(UserProfile, on_delete=models.CASCADE, related_name='appointments_as_doctor')
 
59
  date_time = models.DateTimeField()
60
  reason = models.TextField(blank=True)
61
  status = models.CharField(max_length=20, choices=STATUS_CHOICES, default='pending')
 
56
 
57
  patient = models.ForeignKey(UserProfile, on_delete=models.CASCADE, related_name='appointments_as_patient')
58
  doctor = models.ForeignKey(UserProfile, on_delete=models.CASCADE, related_name='appointments_as_doctor')
59
+ doctor_note = models.TextField(blank=True, null=True)
60
  date_time = models.DateTimeField()
61
  reason = models.TextField(blank=True)
62
  status = models.CharField(max_length=20, choices=STATUS_CHOICES, default='pending')