Skip to content

Commit

Permalink
Adds filter administered_date in Medicine Admin.
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Aug 29, 2023
1 parent 27be312 commit cb0abb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/facility/api/viewsets/prescription.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def inverse_choices(choices):

class MedicineAdminstrationFilter(filters.FilterSet):
prescription = filters.UUIDFilter(field_name="prescription__external_id")
administered_date = filters.DateFromToRangeFilter(field_name="administered_date")


class MedicineAdministrationViewSet(
Expand Down

0 comments on commit cb0abb4

Please sign in to comment.