Skip to content

Commit

Permalink
Merge pull request #171 from TebogoYungMercykay/additional-routes
Browse files Browse the repository at this point in the history
Returning the Patient Address and Gender
  • Loading branch information
TebogoYungMercykay authored Jan 28, 2024
2 parents 4fa8ec6 + 82b66b6 commit fa2e0b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ class PatientOut(BaseModel):
surname: str
dob: datetime
patient_id: int
address: str
gender: str
mobile_no: int
class Config:
from_attributes = True

Expand Down

0 comments on commit fa2e0b2

Please sign in to comment.