Skip to content

Commit

Permalink
Merge branch 'release/0.3.57' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Sep 22, 2023
2 parents f225f9f + f2ee573 commit c7f7a1a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.3.20
16 changes: 13 additions & 3 deletions edc_constants/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@
)

ART_STATUS_CONFIRM = (
("OPD", _("1. Show OPD/IDCC card")),
("Pills", _("2. Show pills")),
("Pic", _("3. Identify pictorial")),
("OPD", _("%(num)s Show OPD/IDCC card" % {"num": "1."})),
("Pills", _("%(num)s Show pills" % {"num": "2."})),
("Pic", _("%(num)s Identify pictorial" % {"num": "3."})),
)

ARV_DRUG_LIST = (
Expand Down Expand Up @@ -260,6 +260,16 @@
("AnyDay", _("Any day")),
)

DAYS_OF_WEEK_ONLY = (
("Monday", _("Monday")),
("Tuesday", _("Tuesday")),
("Wednesday", _("Wednesday")),
("Thursday", _("Thursday")),
("Friday", _("Friday")),
("Saturday", _("Saturday")),
("Sunday", _("Sunday")),
)

DATE_ESTIMATED_NA = (
(NOT_APPLICABLE, _("Not applicable")),
(NOT_ESTIMATED, _("No")),
Expand Down
9 changes: 9 additions & 0 deletions edc_constants/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,12 @@
GTE = ">="
LT = "<"
LTE = "<="

# days of the week
MONDAY = "monday"
TUESDAY = "tuesday"
WEDNESDAY = "wednesday"
THURSDAY = "thursday"
FRIDAY = "friday"
SATURDAY = "saturday"
SUNDAY = "sunday"

0 comments on commit c7f7a1a

Please sign in to comment.