feat: pre-fill doctor name with default NPI provider in Lab RX popup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -175,7 +175,7 @@ export function LabRxModal({ open, onClose, patient }: Props) {
|
||||
const openRx = (t: LabRxTemplate) => {
|
||||
if (renamingId !== null) return;
|
||||
setRxTemplate(t);
|
||||
setRx(EMPTY_RX);
|
||||
setRx({ ...EMPTY_RX, doctorName: providers[0]?.providerName ?? "" });
|
||||
};
|
||||
|
||||
const startRename = (e: React.MouseEvent, t: LabRxTemplate) => {
|
||||
|
||||
Reference in New Issue
Block a user