// Screen: Intake — incoming prescriptions + New Rx entry (eRx / fax / phone / manual)
// ---- Source documents (left pane of split entry forms) ----------------
function FaxDoc({ doc }) {
return (
nav.go('queue')}>
setManualOpen(true)}>+ New Rx
{rows.map(item => (
{item.kind}
{item.time}
{item.fax ? (
) : null}
{item.drug}
{item.patient} · {item.prescriber}
{item.store}
handleRow(item)}>
{item.id === 'in5' ? 'Review' : 'Enter Rx'}
))}
{rows.length === 0 ? (
Intake clear — nothing waiting.
) : null}
eRx, fax, and refill calls flow in on their own — patient matched, prescriber verified, sig codes expanded. Entry is review, not retyping. Use + New Rx for a verbal order phoned straight to the pharmacist.
{openId ? (
setOpenId(null)} onSent={onSent} nav={nav} showToast={showToast}>
) : null}
{phoneOpen ? (
setPhoneOpen(false)} onQueue={onQueueRefill} nav={nav}>
) : null}
{manualOpen ? (
setManualOpen(false)} onSent={onManualSent} nav={nav} showToast={showToast}>
) : null}
);
}
Object.assign(window, { Intake, EntryForm, FaxDoc, CallRecord, PhoneModal });