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

Hide Camera Feed Tab for bed with no camera attached #6475

Closed
nihal467 opened this issue Oct 19, 2023 · 6 comments · Fixed by #6536
Closed

Hide Camera Feed Tab for bed with no camera attached #6475

nihal467 opened this issue Oct 19, 2023 · 6 comments · Fixed by #6536
Assignees
Labels

Comments

@nihal467
Copy link
Member

nihal467 commented Oct 19, 2023

Describe the bug

When we assign a patient to a bed which is not having any camera been configured to it, it is still showing feed button in the patient consultation page

To Reproduce
Steps to reproduce the behavior:

  1. go to patient tab
  2. assign a patient to a bed which has no camera been assign to the bed
  3. go to the patient consultation page and you will be seeing feed button for the patient
  4. See error

Expected behavior

When a patient is assigned to a bed which has no preset to it, we should be hiding the feed button in the patient consultation page

Screenshots

image
@github-project-automation github-project-automation bot moved this to Triage in Care Oct 19, 2023
@nihal467 nihal467 added urgent P1 breaking issue or vital feature labels Oct 19, 2023
@github-actions
Copy link

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.
@Ashesh3 kindly acknowledge this message by commenting 'Acknowledged' below.

@nihal467 nihal467 added P2 and removed urgent P1 breaking issue or vital feature labels Oct 19, 2023
@Ashesh3 Ashesh3 removed their assignment Oct 25, 2023
@shyamprakash123
Copy link
Contributor

I want to work on this issue, can you please assign me?

@shyamprakash123
Copy link
Contributor

shyamprakash123 commented Oct 30, 2023

@Ashesh3 @nihal467, Is this issue solved? Because it is not showing the feed tab but it is showing the camera feed button in the header title buttons. Link : https://care.coronasafe.in/facility/a3910fb7-db3d-4ddf-aa39-1f20e61d1453/patient/0e1a1fc1-148b-453d-9f86-04f9e56cf0ff/consultation/47d78e41-fe9f-4b3d-b0b7-9fc4117805b8

User : devdistrictadmin

@Ashesh3
Copy link
Member

Ashesh3 commented Oct 30, 2023

@Ashesh3, Is this issue solved? Because it is not showing the feed tab but it is showing the camera feed button in the header title buttons. Link : care.coronasafe.in/facility/a3910fb7-db3d-4ddf-aa39-1f20e61d1453/patient/0e1a1fc1-148b-453d-9f86-04f9e56cf0ff/consultation/47d78e41-fe9f-4b3d-b0b7-9fc4117805b8

User : devdistrictadmin

There is no bed attached to this patient, hence the feed tab will not show. The issue is about hiding the feed tab for patients who have a linked bed to them but that linked bad has no camera asset attached to it.

Example: https://care.coronasafe.in/facility/a3910fb7-db3d-4ddf-aa39-1f20e61d1453/patient/400cbedd-98d7-4f8f-b835-155ba71cc28d/consultation/6ae67a3d-305b-4404-bfd6-b21b0d0f8426

This patient has an attached bed without a camera, in this case the feed tab should be hidden:
image

The bed's location is NICU
Here's the corresponding asset: (same location)
https://care.coronasafe.in/facility/a3910fb7-db3d-4ddf-aa39-1f20e61d1453/assets/ed2edbd7-4581-434e-8c6a-4620b4d0a4a0

It's an HL7 monitor and not a camera, there are no cameras in the same location as that bed, so the feed tab should be hidden.

@nihal467 can you double check this message for any corrections?

@nihal467
Copy link
Member Author

@shyamprakash123 the comment made by @Ashesh3 is correct and as well as i updated the issue too

@shyamprakash123
Copy link
Contributor

@Ashesh3, Is this issue solved? Because it is not showing the feed tab but it is showing the camera feed button in the header title buttons. Link : care.coronasafe.in/facility/a3910fb7-db3d-4ddf-aa39-1f20e61d1453/patient/0e1a1fc1-148b-453d-9f86-04f9e56cf0ff/consultation/47d78e41-fe9f-4b3d-b0b7-9fc4117805b8
User : devdistrictadmin

There is no bed attached to this patient, hence the feed tab will not show. The issue is about hiding the feed tab for patients who have a linked bed to them but that linked bad has no camera asset attached to it.

Example: https://care.coronasafe.in/facility/a3910fb7-db3d-4ddf-aa39-1f20e61d1453/patient/400cbedd-98d7-4f8f-b835-155ba71cc28d/consultation/6ae67a3d-305b-4404-bfd6-b21b0d0f8426

This patient has an attached bed without a camera, in this case the feed tab should be hidden: image

The bed's location is NICU Here's the corresponding asset: (same location) https://care.coronasafe.in/facility/a3910fb7-db3d-4ddf-aa39-1f20e61d1453/assets/ed2edbd7-4581-434e-8c6a-4620b4d0a4a0

It's an HL7 monitor and not a camera, there are no cameras in the same location as that bed, so the feed tab should be hidden.

@nihal467 can you double check this message for any corrections?

@Ashesh3 I understood the problem and one more thing should I also hide the Camera Feed button in the Top Section of the Patient Dashboard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants