Project

General

Profile

Actions

Task #49

open

Admin – Pre-Consultation Fields Management

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

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

0%

Estimated time:

Description

Task Description:
Implement the Pre-Consultation Fields management feature in the Admin module.
This allows the admin to configure what medical fields reception staff must fill before doctor consultation, using the PreConsultField entity.
The admin should be able to create, view, update, activate/deactivate, and order pre-consultation fields for a hospital.

Navigation:
Admin Login → Masters → Pre-Consultation Fields

Required Fields:
id (PK, auto-generated)
hospitalId (linked hospital)
fieldKey (unique system key)
label (display name)
inputType (ENUM)
-NUMBER
-TEXT
-DROPDOWN
-BOOLEAN
unit (optional)
isActive (default: true)
sortOrder
createdAt (auto-generated)

Features to Implement:
Create a new pre-consultation field
Assign field to a hospital
Select input type (NUMBER / TEXT / DROPDOWN / BOOLEAN)
Add optional unit for NUMBER input type
View list of all pre-consultation fields
Display field label, key, input type, unit, status, and sort order
Edit existing pre-consultation field
Prevent editing of field key after creation
Activate or deactivate a field
Hide inactive fields from reception screen
Set and update sort order for display sequence
Ensure reception screen follows sort order
Show minimal success / error messages
Disable save button during API call

Actions

Also available in: Atom PDF