Fakultas Ilmu Komputer UI

Commit 82bc1086 authored by Dave Nathanael's avatar Dave Nathanael
Browse files

[GREEN] Add filter fields for nested related objects on Monitoring

parent 9952643a
Pipeline #42100 passed with stages
in 7 minutes and 43 seconds
......@@ -102,6 +102,18 @@ INVESTIGATION_CASE_ORDERING_FIELDS = (
)
MONITORING_CASE_FILTERSET_FIELDS = (
"investigation_case__case_subject__name",
"investigation_case__case_subject__age",
"investigation_case__case_subject__is_male",
"investigation_case__case_subject__address",
"investigation_case__case_subject__district",
"investigation_case__case_subject__sub_district",
"investigation_case__reference_case__case_relation",
"investigation_case__reference_case__medical_symptoms",
"investigation_case__reference_case__risk_factors",
"investigation_case__reference_case__is_referral_needed",
"investigation_case__reference_case__medical_facility_reference",
"investigation_case__reference_case__outcome",
"is_referred",
"is_checked",
"is_medicated",
......@@ -114,6 +126,18 @@ MONITORING_CASE_FILTERSET_FIELDS = (
)
MONITORING_CASE_SEARCH_FIELDS = (
"investigation_case__case_subject__name",
"investigation_case__case_subject__age",
"investigation_case__case_subject__address",
"investigation_case__case_subject__district",
"investigation_case__case_subject__sub_district",
"investigation_case__case_subject__created_at",
"investigation_case__reference_case__case_relation",
"investigation_case__reference_case__medical_symptoms",
"investigation_case__reference_case__risk_factors",
"investigation_case__reference_case__medical_facility_reference",
"investigation_case__reference_case__outcome",
"investigation_case__reference_case__created_at",
"is_referred",
"is_checked",
"is_medicated",
......@@ -125,6 +149,20 @@ MONITORING_CASE_SEARCH_FIELDS = (
)
MONITORING_CASE_ORDERING_FIELDS = (
"investigation_case__case_subject__name",
"investigation_case__case_subject__age",
"investigation_case__case_subject__is_male",
"investigation_case__case_subject__address",
"investigation_case__case_subject__district",
"investigation_case__case_subject__sub_district",
"investigation_case__case_subject__created_at",
"investigation_case__reference_case__case_relation",
"investigation_case__reference_case__medical_symptoms",
"investigation_case__reference_case__risk_factors",
"investigation_case__reference_case__is_referral_needed",
"investigation_case__reference_case__medical_facility_reference",
"investigation_case__reference_case__outcome",
"investigation_case__reference_case__created_at",
"is_referred",
"is_checked",
"is_medicated",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment