Skip to content

Commit

Permalink
Set min value 0 for respiratory rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Jul 26, 2023
1 parent 025505f commit 4ed4395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/facility/models/daily_round.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class InsulinIntakeFrequencyType(enum.Enum):
resp = models.IntegerField(
default=None,
null=True,
validators=[MinValueValidator(10), MaxValueValidator(70)],
validators=[MinValueValidator(0), MaxValueValidator(70)],
)
rhythm = models.IntegerField(choices=RythmnChoice, default=RythmnType.UNKNOWN.value)
rhythm_detail = models.TextField(default=None, null=True, blank=True)
Expand Down

0 comments on commit 4ed4395

Please sign in to comment.