Skip to content

Commit

Permalink
remove unused hba1c field from patient consultation
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Jul 3, 2023
1 parent 6bf5a2c commit 09a0f7e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
16 changes: 16 additions & 0 deletions care/facility/migrations/0367_remove_patientconsultation_hba1c.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated by Django 4.2.2 on 2023-07-03 09:59

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
("facility", "0366_auto_20230627_1806"),
]

operations = [
migrations.RemoveField(
model_name="patientconsultation",
name="HBA1C",
),
]
6 changes: 0 additions & 6 deletions care/facility/models/patient_consultation.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,6 @@ class PatientConsultation(PatientBaseModel, PatientRelatedPermissionMixin):
verbose_name="Patient's Weight in KG",
validators=[MinValueValidator(0)],
)
HBA1C = models.FloatField(
default=None,
null=True,
verbose_name="HBA1C parameter for reference to current blood sugar levels",
validators=[MinValueValidator(0)],
)

# ICU Information

Expand Down
1 change: 0 additions & 1 deletion data/dummy/facility.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@
"current_bed": null,
"height": 0.0,
"weight": 0.0,
"HBA1C": null,
"operation": null,
"special_instruction": "",
"intubation_history": []
Expand Down

0 comments on commit 09a0f7e

Please sign in to comment.