Project

General

Profile

Task #86

Updated by Varsha N 22 days ago

Module: Test Management 
 Navigation: 
 Login → Sidebar Dashboard → Test 

 Task: Add & Manage Laboratory Tests 
 1. Test Listing Page 

 List all tests with: 
 ID 
 Test Name 
 Actions: 
 -Edit 
 -Delete 
 -Parameters 

 Add New button on the top right 

 2. Add New Test 
 Clicking Add New opens a modal 

 Fields: 
 Test Name 
 Save 

 Validations: 
 Test name is mandatory 
 Duplicate test names are not allowed (case-insensitive) 

 On success: 
 Close modal 
 Listing should updated 

 3. Edit & Delete Test 
 Edit and Delete should work normally 
 Standard delete confirmation 

 4. Test Parameters Management 
 Navigation: 
 Clicking Parameters opens a new page 
 Sidebar remains the same 
 Page Layout: 
 Selected Test Name must be displayed clearly at the top 
 Below the test name, parameter management section is shown 

 Parameter Listing: 
 List parameters related to the selected test 
 Limit: 25 records 

 Columns: 
 ID 
 Test ID 
 Parameter Name 
 Actions: Edit, Delete 
 Add Parameters (Dropdown Based) 
 Add Parameter option provided using a dropdown 
 Dropdown values should be loaded dynamically 
 User selects a parameter from dropdown and saves 

 Validations: 
 Parameter selection is mandatory 
 Same parameter cannot be added multiple times for the same test 
 Parameter list should update dynamically after adding 

 5. Database Tables 
 test_master: 
 id (PK) 
 testname (VARCHAR, unique) 
 added_date (DATETIME) 
 enterprice_id (FK) 

 test_parameter: 
 id (PK) 
 test_id (FK → test_master.id) 
 parameter_name (VARCHAR) 
 added_date(DATETIME) (VARCHAR 
 enterprice_id (FK)

Back