import React from 'react'; import { Loader2 } from 'lucide-react'; /** * The on-demand door into the record, for before a note has been saved. * * Drawn in `mockups/practitioner/encounter.html` as "Update the record - Without the scribe add-on": * * From your note * Read what you have written so far and suggest what to add [Check the note] * * THE DECK'S OWN CAPTION IS THE WHOLE REASON: *"the same extraction, run on demand - a typed note is * text too, so the practice without the add-on gets the same help from a button rather than * continuously. The add-on still earns its keep by writing the note in the first place."* * * IT DOES NOT REPLACE FIRING ON SAVE, and that distinction is settled. Spencer: *"on-demand-only means * the practitioners who most need it are the ones who never press the button."* Save still offers * unprompted; this is the door for the middle of a visit, and for a practice with no scribe at all. * * IT IS ABSENT UNTIL THERE IS SOMETHING TO READ. Offering to check an empty note is offering to do * nothing, and a control that reliably returns nothing is one people stop pressing. */ interface Props { /** Read what is written so far and offer what it describes. */ onCheck: () => void; /** True while the note is being read. */ checking: boolean; } export const CheckTheNote: React.FC = ({ onCheck, checking }) => (

From your note

Read what you have written so far and suggest what to add

Suggestions do not save the note or add record items.

); export default CheckTheNote;