Skip to content

Commit

Permalink
Fix issue with year of birth not being displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Jan 21, 2025
1 parent f5a8155 commit f1686c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion care/emr/resources/patient/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def perform_extra_deserialization(self, is_update, obj):

class PatientListSpec(PatientBaseSpec):
date_of_birth: datetime.date | None = None
age: int | None = None
year_of_birth: datetime.date | None = None

created_date: datetime.datetime
modified_date: datetime.datetime

Expand Down

0 comments on commit f1686c7

Please sign in to comment.