Skip to content

Commit

Permalink
Increased the respiratory rate in log update (#1878)
Browse files Browse the repository at this point in the history
inc resp rate
  • Loading branch information
konavivekramakrishna authored Feb 10, 2024
1 parent 553b2a5 commit c6c8f65
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions care/facility/migrations/0408_alter_dailyround_resp.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Django 4.2.8 on 2024-02-08 11:22

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("facility", "0407_alter_dailyround_additional_symptoms_and_more"),
]

operations = [
migrations.AlterField(
model_name="dailyround",
name="resp",
field=models.IntegerField(
default=None,
null=True,
validators=[
django.core.validators.MinValueValidator(0),
django.core.validators.MaxValueValidator(150),
],
),
),
]
2 changes: 1 addition & 1 deletion care/facility/models/daily_round.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class InsulinIntakeFrequencyType(enum.Enum):
resp = models.IntegerField(
default=None,
null=True,
validators=[MinValueValidator(0), MaxValueValidator(70)],
validators=[MinValueValidator(0), MaxValueValidator(150)],
)
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 c6c8f65

Please sign in to comment.