Skip to content

Commit

Permalink
add comments for suggestion choices
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Mar 5, 2024
1 parent 89f9749 commit d37985a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion care/facility/tests/test_patient_consultation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def get_default_data(self):
"examination_details": "examination_details",
"history_of_present_illness": "history_of_present_illness",
"treatment_plan": "treatment_plan",
"suggestion": PatientConsultation.SUGGESTION_CHOICES[0][0],
"suggestion": PatientConsultation.SUGGESTION_CHOICES[0][
0
], # HOME ISOLATION
"treating_physician": self.doctor.id,
"create_diagnoses": [
{
Expand Down
4 changes: 2 additions & 2 deletions care/facility/tests/test_patient_daily_rounds_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def setUpTestData(cls) -> None:
cls.admission_consultation_no_bed = cls.create_consultation(
facility=cls.facility,
patient=cls.patient,
suggestion=PatientConsultation.SUGGESTION_CHOICES[1][0],
suggestion=PatientConsultation.SUGGESTION_CHOICES[1][0], # ADMISSION
)
cls.domiciliary_consultation_no_bed = cls.create_consultation(
facility=cls.facility,
patient=cls.patient,
suggestion=PatientConsultation.SUGGESTION_CHOICES[4][0],
suggestion=PatientConsultation.SUGGESTION_CHOICES[4][0], # DOMICILIARY CARE
)
cls.consultation_with_bed = cls.create_consultation(
facility=cls.facility, patient=cls.patient
Expand Down
4 changes: 3 additions & 1 deletion care/utils/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ def get_consultation_data(cls):
"examination_details": "examination_details",
"history_of_present_illness": "history_of_present_illness",
"treatment_plan": "treatment_plan",
"suggestion": PatientConsultation.SUGGESTION_CHOICES[0][0],
"suggestion": PatientConsultation.SUGGESTION_CHOICES[0][
0
], # HOME ISOLATION
"referred_to": None,
"encounter_date": make_aware(datetime(2020, 4, 7, 15, 30)),
"discharge_date": None,
Expand Down

0 comments on commit d37985a

Please sign in to comment.