Open sainak opened 8 months ago
Is anyone working of this issue? If not can you please assign this issue to me?
@arnit-coder will you be able to work on this?
Yaa sure, I may give it a try. But There may be the delay because my mid semester exams are coming.
if @arnit-coder is not able to resolve this can I make a pull request to resolve this issue.
if @arnit-coder is not able to resolve this can I make a pull request to resolve this issue.
Actually my mid sems are going on so I won't get a plenty of time to work on this issue. I will try to close this issue by end of this week. If I would not be able to do I will for sure contact you.
@arnit-coder I can help with this issue if you are busy
BASE_ROOM_TYPES = [
(1, "General Bed"),
(10, "ICU"),
# (20, "Ventilator"), => ICU
# (30, "Covid Beds"), => Isolation beds
# (100, "Covid Ventilators"), => Isolation beds
# (110, "Covid ICU"), => Isolation beds
# (120, "Covid Oxygen beds"), => Isolation beds
(150, "Oxygen beds"),
(4, "Isolation beds"),
(5, "Others")
]
ROOM_TYPES = [
(0, "Total"),
# (2, "Hostel"), => Other
# (3, "Single Room with Attached Bathroom"), => other
(40, "KASP Beds"),
(50, "KASP ICU beds"),
(60, "KASP Oxygen beds"),
# (70, "KASP Ventilator beds"), => KASP ICU beds
]
@sainak is it the correct order of shifting the data?
@gigincg waiting for your comment on https://github.com/ohcnetwork/care/pull/1994#issuecomment-2044750616
coronasafe/care@master/care/facility/models/facility.py#L20-L39
make custom migrations to migrate deprecated types to new types
required for https://github.com/coronasafe/care_fe/pull/7300