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

Display the Linked Camera feed on the patient consultation page even when no preset is created for the selected bed #8901

Closed
1 task
nihal467 opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels

Comments

@nihal467
Copy link
Member

Describe the bug

Currently, even though a camera is linked to a bed via the asset configuration page, the patient consultation page incorrectly displays that no asset is linked to the bed.

Note: he current validation on the consultation page checks whether the camera linked to the bed has a preset. If no preset exists, the camera feed is not shown. This logic needs to be updated because, with recent changes in the camera-to-bed relation, a camera can now be linked to a bed first, with presets being created later.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the asset page, open a camera asset, and link it to a bed without creating a preset.
  2. Navigate to the patient tab, open any patient card, and link the patient to the bed.
  3. Click on the feed button in the navigation bar of the consultation page.
  4. Observe the error.

Expected behavior

  • The linked camera should be displayed on the patient consultation page, even if a preset has not yet been created for the bed.

Screenshots

Image

@github-project-automation github-project-automation bot moved this to Triage in Care Oct 23, 2024
@rithviknishad rithviknishad moved this from Triage to Up Next in Care Oct 23, 2024
@rithviknishad rithviknishad added the good first issue Good for newcomers label Oct 23, 2024
@Mahendar0701
Copy link
Contributor

@nihal467 i want to work on this

@nihal467
Copy link
Member Author

there is no relevance of showing a camera feed in consultation page, if there is no preset

@nihal467 nihal467 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
@github-project-automation github-project-automation bot moved this from Up Next to Done in Care Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants