Machine Management
The Machine module allows administrators to manage individual machines, assign them to machine groups, configure room preferences, and define available services and nurses.
Accessing Machines
- Log in to the Yalla Admin Web
- From the left sidebar, click on Machines.
- The system opens the Machines list page.
Machine List Page
The machine page displays all the machines in a tabular format with the following columns:
- Name
- Machine Group
- Description
- Status
- Can Be Moved?
- Preferred Rooms
- Secondary Rooms
- Possible Rooms
- Action
Searching, Filtering, and Sorting
Search Machines
Use the “Search machine” field to search machines by name.
The list updates dynamically based on the search input.
Filter Machines
Click the Filter button to apply available filters and narrow down the list.
Sorting
Each column supports sorting.
Click on a column header to sort machines in ascending or descending order.
Pagination
- When more than 10 machines are available, pagination controls appear.
- Use pagination to navigate through multiple pages.
Empty State (No Machines Available)
If no machines are available:
- A message is displayed indicating that no machines exist.
- An “Add New Machine” button is displayed to guide the user through creating a new machine.
Adding a New Machine
Open Add Machine Modal
- Click “Add New Machine”.
- A modal opens for adding a new machine.
Fields in the Add New Machine Modal
The Add New Machine modal includes the following fields:
- Machine Name (mandatory)
- Model
- Machine Group (dropdown, mandatory)
- Max Daily Capacity
- Can Be Moved (Yes / No, default: No)
- Preferred Room (mandatory)
- Possible Room (If the machine can be moved, selected as NO)
- Description
- Available Services (dropdown)
- Nurses (dropdown)
Machine Group Selection
- The Machine Group dropdown displays all existing machine groups.
- An “Add New Group” button is available within the dropdown.
- Selecting Add New Group opens a separate modal to create a new machine group without leaving the Add Machine flow.
Can Be Moved Configuration
- By default, Can Be Moved is set to No.
- When Can Be Moved = Yes:
- The Possible Room field allows selecting multiple rooms.
Available Services and Nurses
- All available services are displayed in the Available Services dropdown.
- All nurses associated with the hospital are listed in the Nurses dropdown.
Form Validation
-
Mandatory fields include:
- Machine Name
- Machine Group
- Can Be Moved
- Preferred Room
-
If any mandatory field is missing, validation error messages are displayed.
-
The Add Machine button remains disabled when no input is provided.
Saving a Machine
- Enter all required and valid information.
- Click the Add Machine button.
- A success message confirms that the machine has been added.
- The machine appears in the Machine list.
Closing the Add Machine Modal
- Clicking the Close (X) button without entering any data closes the modal immediately.
- If data has been entered, clicking Close (X) triggers a warning pop-up to confirm discarding changes.
Machine Details Page
Each machine has its own details page, where it displays options for:
- Event calendar
- Day view/week view
- View schedule
- Set unavailability
- Add new Appointment
- Filter by date range
For more details, click the link
Machine Actions
Each Machine in the list includes a three-dot (⋮) action menu with the following options:
Edit Machine
- Opens the Edit Machine modal.
- Allows you to update Machine details.
- Allows you to set the status of the machine to active/inactive/maintenance
- All features available in the Add Machine modal are also available in Edit mode.
Machine Availability
- Opens a new Machine weekly unavailability page
- Allows the user to set the unavailability of the current week or future dates
- Allows the user to manage scheduled unavailable days of a machine
For more details, click here
Delete Machine
- Allows you to remove a Machine from the system (confirmation required).