Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bed types #1930

Open
sainak opened this issue Feb 29, 2024 · 8 comments · May be fixed by #1994
Open

Update bed types #1930

sainak opened this issue Feb 29, 2024 · 8 comments · May be fixed by #1994
Assignees

Comments

@sainak
Copy link
Member

sainak commented Feb 29, 2024

coronasafe/care@master/care/facility/models/facility.py#L20-L39

make custom migrations to migrate deprecated types to new types

required for ohcnetwork/care_fe#7300

@arnit-coder
Copy link

Is anyone working of this issue?
If not can you please assign this issue to me?

@Ayush398 Ayush398 mentioned this issue Feb 29, 2024
4 tasks
@sainak
Copy link
Member Author

sainak commented Mar 1, 2024

@arnit-coder will you be able to work on this?

@arnit-coder
Copy link

Yaa sure, I may give it a try.
But There may be the delay because my mid semester exams are coming.

@Ayush398
Copy link

Ayush398 commented Mar 6, 2024

if @arnit-coder is not able to resolve this can I make a pull request to resolve this issue.

@arnit-coder
Copy link

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.

@DraKen0009
Copy link
Contributor

@arnit-coder I can help with this issue if you are busy

@DraKen0009
Copy link
Contributor

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?

@DraKen0009 DraKen0009 linked a pull request Mar 20, 2024 that will close this issue
4 tasks
@rithviknishad
Copy link
Member

@gigincg waiting for your comment on #1994 (comment)

@gigincg gigincg removed their assignment Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review required
Development

Successfully merging a pull request may close this issue.

6 participants