Project

General

Profile

Actions

Task #54

open

Admin – Investigation Master (CRUD)

Added by Varsha N about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Start date:
01/21/2026
Due date:
01/22/2026 (43 days late)
% Done:

0%

Estimated time:

Description

Task Description:
Implement CRUD (Create, Read, Update, Activate/Deactivate) functionality for the Investigation Master in the Admin module.
This allows the admin to manage the list of medical investigations/tests that doctors can select during consultation.

Navigation:
Admin Login → Masters → Investigation Master

Required Fields (Investigation Master):
id (PK, auto-generated)
hospitalId (linked hospital)
name (unique, investigation name)VARCHAR
category (– e.g., Investigation, Review, Plan)VARCHAR
description (detailed test description)
isActive (default: true)BOOL
createdAt (system-generated)DATE-TIME

Features to Implement:
Create a new investigation
Assign investigation to logged-in admin’s hospital
View list of all investigations
Display name, category, description, and status
Edit investigation details
Activate or deactivate an investigation
Hide inactive investigations from doctor selection
Load hospital-specific investigations only
Show success message on create/update(minimal)
Show error message on failure
Disable save button during API call

Basic Validations:
Prevent duplicate submission
Status must be Active or Inactive
Description is optional but length-limited
Trim leading/trailing spaces in name
Inactive investigations must not appear in doctor consultation

Actions #1

Updated by Sai Krishna about 1 month ago

  • Status changed from New to In Progress
Actions #2

Updated by Varsha N about 1 month ago

  • Description updated (diff)
Actions #3

Updated by Sai Krishna about 1 month ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF