From f1686c76c29f233f714ce2eeab0ef31682d56d57 Mon Sep 17 00:00:00 2001 From: vigneshhari Date: Tue, 21 Jan 2025 16:28:17 +0530 Subject: [PATCH] Fix issue with year of birth not being displayed --- care/emr/resources/patient/spec.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/care/emr/resources/patient/spec.py b/care/emr/resources/patient/spec.py index 5a1aed04c3..3f4deafacf 100644 --- a/care/emr/resources/patient/spec.py +++ b/care/emr/resources/patient/spec.py @@ -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