Project

General

Profile

Actions

Task #98

open

Sample Type Master

Added by Varsha N 21 days ago. Updated 20 days ago.

Status:
Resolved
Priority:
High
Assignee:
Start date:
02/12/2026
Due date:
02/13/2026 (20 days late)
% Done:

0%

Estimated time:

Description

Navigation:
Login → Sidebar Dashboard → Sample Type

Task: Add & Manage Sample Types:
This module will manage laboratory sample types such as Blood, Urine, Serum, etc.

1️⃣ Sample Type Listing Page
Display Columns:
ID
Sample Type Name
Actions
-Edit
-Delete

Top Right:
Add New button

2️⃣ Add New Sample Type

Clicking Add New opens a modal.

Fields:
Sample Type Name
Save

Example Sample Types:
Blood
Urine
Serum
Plasma
Swab

3️⃣ Validations
Sample type name is mandatory
Duplicate sample type names are not allowed within the same enterprise
Case-insensitive check
Blood = blood → not allowed
Trim leading and trailing spaces
Proper error messages(minimal)

4️⃣ Edit & Delete
Edit should open same modal with pre-filled value
Delete should show confirmation popup
Duplicate validation applies during edit

5️⃣ Database Structure:
sample_type_master:
id-PK(Auto increment)
enterprise_id-FK
sample_type_name- VARCHAR
added_date=DATETIME (Auto generated)

6️⃣ Enterprise Rules
enterprise_id must be auto-captured from logged-in session
Duplicate check must be inside same enterprise only

7️⃣ UI Notes
Same dashboard layout
Modal-based entry

Actions #1

Updated by Ayana K 21 days ago

  • Status changed from New to In Progress
Actions #2

Updated by Ayana K 20 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF