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

Feature: Lock asset & Patient privacy & Boundary based validation #1757

Closed

Conversation

Pranshu1902
Copy link
Contributor

@Pranshu1902 Pranshu1902 commented Dec 8, 2023

Proposed Changes

Add Lock asset feature & Patient privacy feature & Boundary based validation

Merged PRs
#1518 #1467 #1453

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete
  • Any other necessary step

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

Signed-off-by: JahnabDutta <[email protected]>
Signed-off-by: JahnabDutta <[email protected]>
Signed-off-by: JahnabDutta <[email protected]>
Signed-off-by: JahnabDutta <[email protected]>
Signed-off-by: JahnabDutta <[email protected]>
Signed-off-by: JahnabDutta <[email protected]>
care/facility/models/bed.py Outdated Show resolved Hide resolved
care/facility/models/bed.py Outdated Show resolved Hide resolved
care/facility/models/bed.py Outdated Show resolved Hide resolved
care/utils/assetintegration/base.py Outdated Show resolved Hide resolved
care/utils/assetintegration/base.py Outdated Show resolved Hide resolved
care/utils/assetintegration/base.py Outdated Show resolved Hide resolved
care/utils/assetintegration/base.py Outdated Show resolved Hide resolved
care/utils/assetintegration/onvif.py Outdated Show resolved Hide resolved
@Pranshu1902 Pranshu1902 requested a review from sainak February 23, 2024 14:06
care/facility/api/viewsets/asset.py Outdated Show resolved Hide resolved
care/facility/api/viewsets/asset.py Outdated Show resolved Hide resolved
care/facility/models/bed.py Outdated Show resolved Hide resolved
care/facility/models/bed.py Outdated Show resolved Hide resolved
care/utils/assetintegration/base.py Outdated Show resolved Hide resolved
care/utils/assetintegration/onvif.py Outdated Show resolved Hide resolved
care/utils/assetintegration/onvif.py Outdated Show resolved Hide resolved
care/utils/assetintegration/onvif.py Outdated Show resolved Hide resolved
care/utils/assetintegration/onvif.py Outdated Show resolved Hide resolved
care/utils/notification_handler.py Outdated Show resolved Hide resolved
care/facility/api/viewsets/asset.py Outdated Show resolved Hide resolved
care/facility/api/viewsets/asset.py Outdated Show resolved Hide resolved
care/facility/models/bed.py Outdated Show resolved Hide resolved
care/utils/assetintegration/base.py Show resolved Hide resolved
care/utils/assetintegration/onvif.py Show resolved Hide resolved
Comment on lines +234 to +236
elif isinstance(self.caused_object, Asset):
if self.event == Notification.Event.ASSET_UNLOCKED.value:
message = f"{self.caused_object.name} is ready to use"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this being used?

@sainak sainak added the to-be-closed PRs with no updates in the last 3 weeks will be closed label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-be-closed PRs with no updates in the last 3 weeks will be closed waiting-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants