Project

General

Profile

Actions

Feature #380

open
NP NP

IPD: Dietary Orders Ordered By field as HR staff dropdown

Feature #380: IPD: Dietary Orders Ordered By field as HR staff dropdown

Added by Navya P. about 1 month ago. Updated 30 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/13/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

Dietary Orders Ordered By was a free-text input, unlike the rest of IPD which already resolves staff from HR via useAllStaff + a real dropdown (e.g. HaiDevicesSection Inserted by). Swapped the free-text input for the same dropdown pattern: all active hospital staff from the existing /api/ipd/cross-schema/staff endpoint, degrading to free text with a warning banner only if HR is unreachable. Frontend-only, no backend changes needed -- the data plumbing already existed. New test file DietaryOrderSection.staffPicker.test.tsx (3 tests); type-check clean; full portal suite 841/843 (2 pre-existing unrelated failures in AppSidebar.test.tsx).

Actions

Also available in: PDF Atom