{"v":"<h2 id=\"user-content-scope-the-office-s-correction-after-the-visit\" dir=\"auto\">Scope: the office&#39;s correction, after the visit<\/h2>\n<p dir=\"auto\">Correcting a mistake on a form happens at two stages:<\/p>\n<ol dir=\"auto\">\n<li><strong>On site, while signatures are being collected.<\/strong> The supervisor or the client spots a mistake before the visit is signed off. <strong>Built in #165 (cce1ffb).<\/strong>\n<ul dir=\"auto\">\n<li>Once forms are generated, the answers lock behind <strong>Change an answer<\/strong>, with a confirmation. The signing screen also has &#34;An answer is wrong? Change it&#34;.<\/li>\n<li>The fix withdraws only the forms it changes. Those are generated and signed again.<\/li>\n<li>Forms the fix doesn&#39;t touch keep their signatures, and nobody draws their signature again.<\/li>\n<\/ul>\n<\/li>\n<li><strong>In the office, after the visit.<\/strong> The visit is signed and filed, and office staff reviewing the forms find a mistake. <strong>This issue.<\/strong><\/li>\n<\/ol>\n<p dir=\"auto\">So the &#34;Before signing&#34; line under <em>Where we are<\/em> is now: any answer can be changed, and only the forms the change reaches are generated and signed again. &#34;After signing&#34; is unchanged: the signed visit takes no answers, and there is no correction path yet.<\/p>\n<p dir=\"auto\"><strong>Pieces from #165 that this design can reuse:<\/strong><\/p>\n<ul dir=\"auto\">\n<li><strong>A per-form fingerprint<\/strong> (<code>form_v2_candidate_form_digest()<\/code>). It tells exactly which forms a correction changes. So a correction can be per form: only those forms need a new revision and new signatures, and the rest of the signed visit stands.<\/li>\n<li><strong>Signature copies that point at the original<\/strong> (<code>fk_carried_from<\/code>). Unchanged forms in a corrected revision can show their original signatures, and the record still says when and on what each was signed.<\/li>\n<li><strong>The <code>Amend<\/code> right in the permission list<\/strong> (<code>PERM_PROVISIONAL_NAMES<\/code>). It is still the natural gate for who may correct.<\/li>\n<\/ul>\n<p dir=\"auto\">The open decisions listed above are still open: who may correct, whether the client must sign again, how the original and the correction are shown, and whether a correction is per form or reopens the visit. The office review screen (<code>\/visits-v2-review<\/code>) is read-only today and only shows visits still in progress, so this will also decide where a signed visit is reviewed.<\/p>\n"}