Project

General

Profile

Actions

Task #58

open

Admin – Prescription (Medicine) Master (CRUD)

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

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

0%

Estimated time:

Description

Task Description:
Implement CRUD (Create, Read, Update, Activate/Deactivate) functionality for the Prescription (Medicine) Master in the Admin module.
This allows the admin to manage the list of medicines that doctors can select and prescribe during consultation.

Navigation:
Admin Login → Masters → Prescription Master

Required Fields (Prescription Master)
id (PK, auto-generated)
hospitalId (FK)
medicineName (unique)
strength (optional – e.g., 500mg, 250mg)
isActive (default: true)
createdAt (system-generated)
Chemical Name
Timing (e.g., 1-0-1)
Duration (days)
Course (Before Food / After Food / Any)
Follow(To continue[default],Review After X Days, Stop After Completion, If Symptoms Persist) [Drop down + editable]

Features to Implement (Points)
Add a new medicine
Assign medicine to the logged-in admin’s hospital
View list of all medicines
Display:
-Medicine name
-Chemical name
-Strength
-Default timing, duration, course, follow
-Status (Active / Inactive)
Edit medicine details
Activate / deactivate medicine
Prevent hard delete (use isActive)
Load hospital-specific medicines only
Auto-fill default values when doctor selects medicine
Hide inactive medicines from doctor prescription screen
Disable save during API call
Show minimal success and error messages

Basic Validations:
Medicine name is required
Trim leading/trailing spaces in medicine name
Default timing format must be valid (e.g., 1-0-1)
Duration must be a positive number
Course must be one of BEFORE_FOOD / AFTER_FOOD / ANY
Follow defined follow drop down options and can be completely editable
Prevent duplicate submission


Files

Actions #1

Updated by Varsha N about 1 month ago

  • Priority changed from Normal to High
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 New to Resolved
Actions

Also available in: Atom PDF