-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds fields for social profile: socioeconomic status and domestic hea…
…lthcare support (#2464) * Adds fields for social profile: socioeconomic status and domestic healthcare support * Add tests
- Loading branch information
1 parent
57d966b
commit a06913e
Showing
4 changed files
with
123 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
care/facility/migrations/0457_patientmetainfo_domestic_healthcare_support_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Generated by Django 4.2.10 on 2024-09-19 07:07 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("facility", "0456_dailyround_appetite_dailyround_bladder_drainage_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="patientmetainfo", | ||
name="domestic_healthcare_support", | ||
field=models.SmallIntegerField( | ||
blank=True, | ||
choices=[ | ||
(0, "NO_SUPPORT"), | ||
(10, "FAMILY_MEMBER"), | ||
(20, "PAID_CAREGIVER"), | ||
], | ||
null=True, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="patientmetainfo", | ||
name="socioeconomic_status", | ||
field=models.SmallIntegerField( | ||
blank=True, | ||
choices=[ | ||
(10, "VERY_POOR"), | ||
(20, "POOR"), | ||
(30, "MIDDLE_CLASS"), | ||
(40, "WELL_OFF"), | ||
], | ||
null=True, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters