-
Notifications
You must be signed in to change notification settings - Fork 501
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
Patient privacy feature #6021
Patient privacy feature #6021
Conversation
Update README.md (ohcnetwork#5532)
fix consultation redirect (ohcnetwork#5535)
updation from main repo
…ield of Shifting Filter
…write cypress tests
… develop local merge
… develop merge upstream
Signed-off-by: JahnabDutta <[email protected]>
Signed-off-by: JahnabDutta <[email protected]>
…care_fe into add-boundary-preset
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]>
👋 Hi, @JahnabDutta, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
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]>
👋 Hi, @JahnabDutta, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
a single pr is already raised for this issue : #6223 |
WHAT
🤖 Generated by Copilot at 0657245
This pull request adds features and improvements to the camera and bed management in the facility dashboard. It replaces the
CameraConfigure
component with theLiveFeed
component to show the camera feed and the presets. It also adds a new component,CameraBoundaryConfigure
, to handle the boundary preset for a bed. It adds new fields and types to the bed and camera models and interfaces. It also adds a feature to toggle the privacy status of a patient in the bed using a new action and a new API route.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 0657245
ONVIFCamera
component to fetch, create, update, and delete the presets and the boundary preset for a bed using theLiveFeed
component (link, link, link, link, link, link, link)CameraConfigure
component from theONVIFCamera
component and simplify its layout and logic to only show the input field and buttons to add or cancel a preset (link, link)CameraBoundaryConfigure
component to render the buttons and labels to add, update, or delete the boundary preset for a bed (link)privacy
field to theCurrentBed
interface and thetogglePatientPrivacy
action to implement the privacy toggle feature for the patient in the bed (link, link)PatientInfoCard
component to fetch, display, and update the privacy status of the patient using theSwitchTabs
component (link, link, link, link, link, link, link)className
prop and theclassNames
function to theSwitchTabs
component to allow custom class names for the component (link, link)meta
field to theBedModel
interface to store the metadata of the bed, such as the boundary preset (link)toAddPreset
prop to theLiveFeed
component to indicate whether to show theCameraConfigure
component or not (link)div
element that contains the patient name in thePatientInfoCard
component (link)div
element to thePatientInfoCard
component to create a gap between the patient name and the switch tabs for the privacy toggle feature (link)ONVIFCamera
component for readability (link)