Skip to content

Commit

Permalink
add ngo/cbo facility types
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Dec 22, 2024
1 parent 1e47691 commit 04a7fd3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 5.1.3 on 2024-12-22 07:16

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('facility', '0472_historicalpatientregistration_mobility_status_and_more'),
]

operations = [
migrations.AlterField(
model_name='facility',
name='facility_type',
field=models.IntegerField(choices=[(1, 'Educational Inst'), (2, 'Private Hospital'), (3, 'Other'), (4, 'Hostel'), (5, 'Hotel'), (6, 'Lodge'), (7, 'TeleMedicine'), (9, 'Govt Labs'), (10, 'Private Labs'), (800, 'Primary Health Centres'), (802, 'Family Health Centres'), (803, 'Community Health Centres'), (830, 'Taluk Hospitals'), (840, 'Women and Child Health Centres'), (860, 'District Hospitals'), (870, 'Govt Medical College Hospitals'), (900, 'Co-operative hospitals'), (910, 'Autonomous healthcare facility'), (1010, 'COVID-19 Domiciliary Care Center'), (1100, 'First Line Treatment Centre'), (1200, 'Second Line Treatment Center'), (1300, 'Shifting Centre'), (1400, 'Covid Management Center'), (1500, 'Request Approving Center'), (1510, 'Request Fulfilment Center'), (1600, 'District War Room'), (3000, 'Non Governmental Organization'), (4000, 'Community Based Organization')]),
),
migrations.AlterField(
model_name='shiftingrequest',
name='assigned_facility_type',
field=models.IntegerField(blank=True, choices=[(1, 'Educational Inst'), (2, 'Private Hospital'), (3, 'Other'), (4, 'Hostel'), (5, 'Hotel'), (6, 'Lodge'), (7, 'TeleMedicine'), (9, 'Govt Labs'), (10, 'Private Labs'), (800, 'Primary Health Centres'), (802, 'Family Health Centres'), (803, 'Community Health Centres'), (830, 'Taluk Hospitals'), (840, 'Women and Child Health Centres'), (860, 'District Hospitals'), (870, 'Govt Medical College Hospitals'), (900, 'Co-operative hospitals'), (910, 'Autonomous healthcare facility'), (1010, 'COVID-19 Domiciliary Care Center'), (1100, 'First Line Treatment Centre'), (1200, 'Second Line Treatment Center'), (1300, 'Shifting Centre'), (1400, 'Covid Management Center'), (1500, 'Request Approving Center'), (1510, 'Request Fulfilment Center'), (1600, 'District War Room'), (3000, 'Non Governmental Organization'), (4000, 'Community Based Organization')], default=None, null=True),
),
]
2 changes: 2 additions & 0 deletions care/facility/models/facility.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ class FacilityFeature(models.IntegerChoices):
(1510, "Request Fulfilment Center"),
# Use 16xx for War Rooms.
(1600, "District War Room"),
(3000, "Non Governmental Organization"),
(4000, "Community Based Organization"),
]

REVERSE_FACILITY_TYPES = reverse_choices(FACILITY_TYPES)
Expand Down

0 comments on commit 04a7fd3

Please sign in to comment.