Nursing Shift Change Wizard Interaction¶
The Nursing Shift Change Wizard is a modal wizard that guides the user through four stages, ward selection, deallocation, roll call and allocation.
-
class
liveobs_ui.page_object_models.desktop.nursing_shift_change_wizard.
NursingShiftChangeWizard
(driver)[source]¶ Interacting with the Nursing Shift Change Wizard and it’s different stages
-
allocate
(allocation_map)[source]¶ Allocate users to beds
Parameters: allocation_map – dictionary containing mapping of users to beds
-
collect_current_allocation
()[source]¶ Get the current user(s) -> bed allocation from the de-allocation screen
Returns: list of dictionaries representing beds and the different nurse and HCA users allocated to that bed
Get the button to take the user to next stage of the wizard
Returns: webelement for button
-
roll_call
(user_list)[source]¶ Add all users that were originally on ward back into ward
Parameters: user_list – list of names to enter into input so these users can then be allocated to the beds in the ward
-
select_ward
(ward_name)[source]¶ Get currently logged in user’s ward and select it in dropdown
Parameters: ward_name – Name of ward to select for Nursing Shift change
-