diff --git a/care/facility/tests/test_patient_api.py b/care/facility/tests/test_patient_api.py index 4b14b0e6cb..4385c6dfa2 100644 --- a/care/facility/tests/test_patient_api.py +++ b/care/facility/tests/test_patient_api.py @@ -39,6 +39,7 @@ def get_list_representation(self, patient=None): "date_of_birth": mock_equal, "gender": patient.gender, "is_medical_worker": patient.is_medical_worker, + "is_antenatal": patient.is_antenatal, "phone_number": patient.phone_number, "address": patient.address, "pincode": patient.pincode, @@ -126,6 +127,7 @@ def get_detail_representation(self, patient: Any): "passport_no": patient.passport_no, # "aadhar_no": patient.aadhar_no, "is_medical_worker": patient.is_medical_worker, + "is_antenatal": patient.is_antenatal, "blood_group": patient.blood_group, "allergies": patient.allergies, "allow_transfer": patient.allow_transfer, diff --git a/care/facility/tests/test_patient_consultation_api.py b/care/facility/tests/test_patient_consultation_api.py index 523f6f35ff..94e0f25218 100644 --- a/care/facility/tests/test_patient_consultation_api.py +++ b/care/facility/tests/test_patient_consultation_api.py @@ -51,6 +51,7 @@ def get_list_representation(self, obj) -> dict: "admitted_to": obj.admitted_to, "admission_date": obj.admission_date, "discharge_date": obj.discharge_date, + "consultation_notes": obj.consultation_notes, "created_date": obj.created_date, "modified_date": obj.modified_date, "bed_number": obj.bed_number, diff --git a/care/utils/tests/test_base.py b/care/utils/tests/test_base.py index 7fa265dab4..c7eef2f3a9 100644 --- a/care/utils/tests/test_base.py +++ b/care/utils/tests/test_base.py @@ -170,6 +170,7 @@ def get_patient_data(cls, district=None, state=None): "date_of_birth": datetime.date(1992, 4, 1), "gender": 2, "is_medical_worker": True, + "is_antenatal": False, "allergies": "", "allow_transfer": True, "blood_group": "O+", @@ -368,6 +369,7 @@ def get_consultation_data(cls): "admitted_to": None, "admission_date": None, "discharge_date": None, + "consultation_notes": "", "created_date": mock_equal, "modified_date": mock_equal, }