{"v":[{"id":2911,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/207#issuecomment-2911","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/207","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in 6fe90c3.\n\n**The messages now say which office.** When a visit's forms would print the branch office's address, phone or fax blank, the message names the office (\"Not on file for the Laredo branch office\u2026\") and tells the field supervisor to ask the office to have a Superuser add it. It also says when:\n- the client has no branch in VESTA;\n- the client's branch has no office on file at all;\n- two offices share the name, so the forms can't tell which to print;\n- the detail has been added since the visit was started, so a new visit prints it.\n\n**Cassandra's screenshot was almost certainly the demo visit.** The demo client's branch (\"Demo\") had no office, so every demo visit showed those three messages. The demo client now has a made-up office, so new demo visits don't show them. A demo visit already in progress still does; start a new one.\n\n**Report:** Superuser Tools \u2192 Internal Reports \u2192 **Branch office details missing**. It checks every open client's branch and lists each branch whose office address, phone or fax is missing, with how many clients that affects. It also lists branches with no office on file, and the clients with no branch in VESTA.\n\n**Adding an office:** the Branch Offices section on Systems has a new **Add office** button. Type the branch name as VESTA has it, fill in the details, and Save.","assets":[],"created_at":"2026-11-05T09:03:41-06:00","updated_at":"2026-11-05T09:03:41-06:00"},{"id":2916,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/208#issuecomment-2916","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/208","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Fixed in f46b569. This was a bug, not demo mode.\n\nWhen \"Is the client transferring from another agency?\" is answered **No**, the transfer statement's \"Client \/ Guardian Name\" and \"Transferring to (Agency)\" are still filled in automatically from the client record and agency, just hidden. The form correctly left them off the paper, but a separate check then counted them as answers with nowhere to print and refused to make the PDF. Any visit for a client who isn't transferring would have hit this.\n\nOnce it's deployed, press **Try generating again** on that visit. The form should print with \"Not a transfer case\" across the transfer statement.","assets":[],"created_at":"2026-11-06T09:54:29-06:00","updated_at":"2026-11-06T09:54:29-06:00"},{"id":2920,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/209#issuecomment-2920","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/209","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Built in 5d9b526.\n\n**What happens now when a visit form can't be printed**\n- The problem is recorded once, however many times \"Try generating again\" is pressed; repeats add to a count. The record names the form, the fields involved and the generator's full message, including the PDF tool's error output. It never includes the client's answers.\n- The person at the visit sees only \"This form couldn't be printed.\" I left out \"You can carry on with the rest of the visit\": one failed form stops the client from reviewing and signing, so that sentence wouldn't have been true.\n- Superusers have a new **Form Failures** page in Superuser Tools. It shows each problem with where and how often it happened, plus links to recent visits in the current agency. \"Mark fixed\" takes an optional note. If the problem happens again, it reopens and is flagged \"Came back after a fix\".\n- People subscribed to **Notify: a visit form couldn't be printed** get an email the first time a problem appears and when one comes back after a fix, not on repeats. The email names the form, the kind of problem and the agency, with a link to the page.\n\nThe questions from the issue are settled. Only failures at real visits are recorded; proofs on the publishing screens don't go through this path. The email goes to whoever holds the new subscription.\n\n**To deploy**\n1. `php scripts\/migrate.php --apply`\n2. `php scripts\/sync-perms.php --apply`\n3. Give the \"Notify: a visit form couldn't be printed\" subscription to whoever should get the emails.","assets":[],"created_at":"2026-11-06T10:42:22-06:00","updated_at":"2026-11-06T10:42:22-06:00"},{"id":2957,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/213#issuecomment-2957","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/213","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Charles confirmed the form: 03:30 to 04:08 in the recording is the **Patient Information & Emergency \/ Disaster Preparation Plan** (`emergency-disaster-form`). At 04:13 she says \"This was perfectly fine\". That is this form too. No change to the steps.","assets":[],"created_at":"2026-11-06T17:42:39-06:00","updated_at":"2026-11-06T17:42:39-06:00"},{"id":2959,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/216#issuecomment-2959","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/216","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Charles confirmed (06:43 in the recording): Cassandra will send an updated Task Guide with real boxes. The X marks go in the new boxes. They are not removed. This issue waits for the form.","assets":[],"created_at":"2026-11-06T17:42:39-06:00","updated_at":"2026-11-06T17:42:39-06:00"},{"id":2964,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212#issuecomment-2964","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**All three agency copies are here** (`docs\/Updated Forms\/CHHC|LHCS|LHHA Client Information Sheet - Veteran Status Added.pdf`). Their text is the same. Only the logo is different. One blank is sufficient.\n\n**The new form has more changes than the veteran line.** Compared with our current blank (`docs\/form-blanks\/client-information-sheet.pdf`), the new form adds or changes these items:\n\n| Item | Current blank | New form |\n|---|---|---|\n| Date of Visit | not there | new line at the top right |\n| Client Address | not there | new line below Social Security # |\n| Veteran Status | not there | Yes \/ No boxes below Date of Birth |\n| Classification | \"Circle one below\", long text (\"Bed Confined\/services may not be postponed\"...) | a box at each class, short text (\"Class 1: Bed Confined\") |\n| Types of Services | not there | new boxes: PHC, PCS, CA, NON HCBS, FC, HCBS |\n| Physician | not there | Physician Name, Physician Phone #, Physician Address |\n| Signatures | not there | Individual\/Caregiver Signature and Date, Agency Representative Signature and Date |\n\nDo these extra steps:\n1. Add each new field to the form definition and the placement. Fill from data that we have where possible:\n   - Date of Visit: the visit date.\n   - Address: the client address from VESTA.\n   - Types of Services: the authorization program (`auth.program_type`).\n   - Physician name, phone and address: use the same Shared Answer as the ISP physician fields. Do not ask again.\n2. Classification: print an X in the box. Do not draw a circle.\n3. Signatures: add the two signature lines to the signing step of each visit that prints this form.\n4. Ask Cassandra if the CA, NON HCBS, FC and HCBS boxes map to program types that VESTA sends.","assets":[],"created_at":"2026-11-06T18:02:56-06:00","updated_at":"2026-11-06T18:02:56-06:00"},{"id":2965,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211#issuecomment-2965","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**All three agency copies are here** (`docs\/Updated Forms\/CHHC PAS-PHC Consent Form.pdf`, `LHCS PAS_PHC Consent Form.pdf`, `LHHA PAS_PHC Consent Form.pdf`).\n\n**Compared with our current blank (RVSD 09.2023):** the Legacy Home Health Agency copy has the same wording. Only these items changed:\n- The revision is RVSD 11.2025.\n- The agency data is typed on the form: the agency name (3 places), the 24-hour number (2 places), and \"Agency Administrator \u2013 Ambrose Hernandez\". We print these from the agency now. Remove them from the blank, or stop printing them. Do not print them two times.\n- The red circles are drawings. They are not text.\n\n**The three agencies' copies are not all the same:**\n| | CHHC (Coastal) | LHCS (Legacy Home Care Services) | LHHA (Legacy Home Health Agency) |\n|---|---|---|---|\n| 24-hour number | 1-877-795-2566 | 1-877-750-7444 | 1-800-874-5112 |\n| Joint Commission paragraph (\"I may report any concerns about patient care and safety to The Joint Commission's Office of Quality & Patient Safety ... 1-800-994-6610 ...\") | **yes** | no | no |\n| Release section: \"Texas Health and Human Services (...)\" | **(DADS)** | (HHS) | (HHS) |\n\nDo these extra steps:\n1. Decide how to show the Joint Commission paragraph only for Coastal. One blank serves all agencies (`code\/form_blanks.inc.php`). Possible ways: a per-agency blank for this form, or print the paragraph from agency data. Ask Charles.\n2. Ask Cassandra if \"(DADS)\" on the Coastal copy is an error. The other two copies say \"(HHS)\", and our current blank says \"(HHS)\".","assets":[],"created_at":"2026-11-06T18:02:56-06:00","updated_at":"2026-11-06T18:02:56-06:00"},{"id":2971,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212#issuecomment-2971","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Types of Services: which boxes VESTA can fill.** The new boxes (PHC, PCS, CA, NON HCBS, FC, HCBS) are the same six boxes as \"Types of Services\" on ISP page 1. Use the same answer (`auth.service_types`, from `form_map_service_types()` in `code\/form_prefill.inc.php`). Do not ask again.\n\nLive `hh_auth.programtype` for the three agencies (counted in Sept 2026, `docs\/Changelog.md`), and the box each one gets today:\n\n| VESTA program | Clients | Box today |\n|---|---|---|\n| STAR+PLUS | 3,029 | **none** |\n| CAS | 2,423 | CA only if the contract name has \"CA\" (see the new issue for the CAS fix) |\n| STAR Kids | 110 | **none** |\n| FC | 82 | FC |\n| STAR+PLUS HCBS | 42 | HCBS |\n| PHC | 38 | PHC |\n| PRIVATE | 18 | none |\n| MMP | 6 | none |\n| PCS | 5 | PCS |\n| CLASS | 3 | none |\n\nNo VESTA program says \"NON HCBS\".\n\n**Ask Cassandra:** \"Which box do you tick for a STAR+PLUS client who is not on the HCBS waiver? And for STAR Kids, MMP, CLASS and private pay?\" Our guess is that plain STAR+PLUS is NON HCBS. Do not use the guess until she answers. Until then, the supervisor ticks the boxes in the interview.","assets":[],"created_at":"2026-11-06T18:15:25-06:00","updated_at":"2026-11-06T18:15:25-06:00"},{"id":2977,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219#issuecomment-2977","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Cassandra answered the address question (7 Nov 2026):**\n> Yes, the applicable licensed branch address based off the branch they are assigned on vesta.\n\n**What this changes in step 2:**\n- **Keep** the page 2 placement of `provider_agency_address` (instance 2). Its value is already the client's branch office: `prefill: { source: \"branch\", path: \"full_address\" }` in `docs\/forms\/pas-eval-service-plan.json`, matched from the VESTA branch by `hh_branch_row_for()`. No change to the data.\n- Measure its box again on the new blank. The old position was below the logo, in the area she removed. Put it in the same place if it is still empty.\n- **Remove** `provider_agency_phone`, `provider_agency_fax` and `provider_agency_toll_free` from page 2, as planned. Page 1 keeps all four.","assets":[],"created_at":"2026-11-07T11:54:52-06:00","updated_at":"2026-11-07T11:54:52-06:00"},{"id":2978,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211#issuecomment-2978","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Cassandra answered (7 Nov 2026), and sent the consent forms again** (`docs\/Updated Forms\/`, the three files dated 7 Nov):\n\n> Actually Coastal and Legacy Home Care should both have that additional paragraph. I already updated the DADS section (on the Coastal form) as well as updated all forms with the correct link for reporting through Texas HHSC Complaint and Intake (TULIP) - the previous link was no longer valid.\n\nOn the PCS consent form:\n> Let me review and I will get back to you on this one. It should be needing updates.\n\n**I checked the new files.** They have the same text apart from the items below:\n| | CHHC (Coastal) | LHCS (Legacy Home Care Services) | LHHA (Legacy Home Health Agency) |\n|---|---|---|---|\n| Joint Commission paragraph | yes | **yes (new)** | no |\n| Release section | **(HHS)**, was (DADS) | (HHS) | (HHS) |\n| Complaint and Intake link | `https:\/\/tulip.hhs.texas.gov\/LTCcomplaint\/s\/` | same | same |\n\nOur current blank (RVSD 09.2023) has the old link, `https:\/\/txhhs.my.site.com\/complaint\/s\/`. The new blank fixes this for all three agencies.\n\n**This changes the extra steps in the comment above:**\n1. **Joint Commission paragraph:** two agencies have it, and one does not. The decision is still open: a per-agency blank, or print the paragraph from agency data (for example, a setting on the agency). Ask Charles. The paragraph must stay off the LHHA form.\n2. **(DADS):** answered. All three copies say (HHS). There is nothing to do.\n3. **PCS consent form (`consent-pcs`):** Cassandra will review it and send the changes. Do not change `consent-pcs` before she does. When she sends it, check the TULIP link and the Joint Commission paragraph on it too. The old link is probably on that form as well.","assets":[],"created_at":"2026-11-07T11:54:52-06:00","updated_at":"2026-11-07T11:54:52-06:00"},{"id":2979,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211#issuecomment-2979","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Something to tell Cassandra for her PCS review.** Our current `consent-pcs` blank still names DADS in four places: \"DADS' Consumer Rights and Services Division ... 1-800-458-9858\" (the complaint line), and three times in the release section (\"Texas Department of Aging and Disability Services (DADS)\"). It has no TULIP link and no Joint Commission paragraph. It has no RVSD date that pdftotext can read. It is probably older than the PAS\/PHC form she just updated.","assets":[],"created_at":"2026-11-07T11:55:01-06:00","updated_at":"2026-11-07T11:55:01-06:00"},{"id":2980,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211#issuecomment-2980","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Decision (Charles, 7 Nov 2026): all three agencies use the same updated consent blank. That blank includes the Joint Commission paragraph.** The LHHA copy without the paragraph was probably an old file that was sent by mistake.\n\n**This replaces extra step 1 in the comments above:**\n- Use one blank, as now. Do not make a per-agency blank, and do not add an agency setting for the paragraph.\n- Make the new blank from the CHHC or LHCS copy (RVSD 11.2025). They have the same text: the Joint Commission paragraph, \"(HHS)\" and the TULIP link. Remove the agency name, the 24-hour number and \"Agency Administrator \u2013 Ambrose Hernandez\", as described above.\n- Do not use the LHHA copy as the source.\n\n**Note:** the LHHA copy is not completely old. It has the new TULIP link. Only the Joint Commission paragraph is missing. If Cassandra sends a corrected LHHA copy, check that its text is the same as the other two copies.","assets":[],"created_at":"2026-11-07T12:02:06-06:00","updated_at":"2026-11-07T12:02:06-06:00"},{"id":2981,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/210#issuecomment-2981","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/210","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in 80387a8, not yet published.\n\n\"Do these services appear to duplicate PHC services?\" is now No on every visit type, and Comments is \"None\". Both are fixed Shared Answers (`shared.isp.duplicate_phc` and `shared.isp.duplicate_phc_comments` in `code\/form_v2_shared.inc.php`). The questions are removed from SOC_AO, AR and ISP_COA.\n\nWhy it printed blank before: the No was `fixed_if`, but it was hidden when the client had no other services. A hidden answer prints nothing.\n\n**To ship:** `php scripts\/form-v2-pipeline.php --packet=SOC_AO --import --replace` (then AR, ISP_COA), then publish and activate.","assets":[],"created_at":"2026-11-08T17:27:55-06:00","updated_at":"2026-11-08T17:27:55-06:00"},{"id":2982,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/213#issuecomment-2982","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/213","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in 80387a8, not yet published.\n\n1. **DME \/ emergency contact.** If these are left blank, DME, DME Phone Number and the emergency contact's Name, Relationship and Phone Number print **\"None\"**. This uses `\"blank\": \"None\"` on the placements. The emergency contact is a Shared Answer with the Client Information Sheet. Only this form prints \"None\"; the CIS still prints blank.\n2. **Policies.** The three X marks are `unplaced`, with a reason given. On the \"Check\" question: the interview **still asks** \"Did you go over these agency policies with the client?\" (starts as Yes, #195). Cassandra said field staff still go over the policies, so the question records that they did, even though nothing prints.\n\nChecked with a rendered proof. **To ship:** the same pipeline run as #210 (SOC_AO, AR).","assets":[],"created_at":"2026-11-08T17:27:56-06:00","updated_at":"2026-11-08T17:27:56-06:00"},{"id":2985,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/214#issuecomment-2985","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/214","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in 80387a8, not yet published, with a **correction to this issue**.\n\nThe issue named `agency_responsibilities_reviewed`. But that field, and `patient_responsibilities_reviewed` and `special_needs_reviewed` too, are `not_asked` in SOC_AO and never print. The only X the interview puts on the 211 is **`responsibilities_acknowledged`** (\"I have been informed of my responsibilities and the agency's responsibilities\u2026\", page 2, just above the signatures). At 04:19 Cassandra says \"just the X here \u2026 the signature is fine\", singular, so that is the X she meant.\n\nThat X is now `unplaced`, with a reason given. The question is still asked and still starts as Yes (#195). Only the paper changed.\n\n**To ship:** the same pipeline run as #210 (SOC_AO).","assets":[],"created_at":"2026-11-08T17:27:56-06:00","updated_at":"2026-11-08T17:27:56-06:00"},{"id":2988,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217#issuecomment-2988","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Step 1 (N\/A) is done** in 80387a8, not yet published. The five N\/A boxes now print in each section's **Agency Providing Care** box (the `sn_agency`, `therapy_agency`, `dialysis_agency`, `adc_agency` and `other_agency` positions), not across the row. Skilled Nursing and Home Health Aide share one set of lines, so N\/A prints there only when neither is ticked, as before. Checked with a rendered proof.\n\n**Step 2 (bottom signature) is still open.** `coc_rep_signature` is marked required in `docs\/forms\/coordination-of-care.json`. More importantly, it is a **signing slot on the published placement map** in the database. Slots are proposed from the definition's signature fields and then kept as an author's decision (`form_pdf_attest_merge()`). Nothing in the pipeline removes a slot. Declaring the field `unplaced` would not work either: the slot has no host to fold into, so the map would fail `slot_unplaced` at publish.\n\nTwo ways to fix it:\n- A slot role or flag for a line **another party signs by hand**. The sign plan would skip it, and the paper would leave the line blank.\n- Remove the signature and date fields from the definition and let the pipeline drop slots whose fields are gone.\n\nThe first keeps the definition a faithful copy of the paper. Needs a decision before building.","assets":[],"created_at":"2026-11-08T17:27:56-06:00","updated_at":"2026-11-08T17:27:56-06:00"},{"id":2989,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/220#issuecomment-2989","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/220","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in 80387a8.\n\n`form_map_service_types()` now matches the whole word `CAS` as well as `CA` (`\/\\bCAS?\\b\/`), so \"CASE\" and \"CASA\" don't match. This agrees with the SOC\/AO packet, which already treats CAS as the PAS\/PHC consent.\n\nTests added to `scripts\/test-form-prefill.php` (65 pass): `CAS`, the contract name `1234-CA-TMHP`, a word with CA inside it, and `STAR+PLUS HCBS` \u2192 HCBS.\n\n**Counts (dev database, current authorizations):** 2,387 CAS clients. 2,331 already got the CA box from a `-CA-` contract name segment. The fix adds the remaining **56**.\n\nThis is a code change, so it takes effect on deploy. No publish is needed. STAR+PLUS, STAR Kids, MMP, CLASS and private pay are not changed; they wait on Cassandra's answer (#212).","assets":[],"created_at":"2026-11-08T17:27:56-06:00","updated_at":"2026-11-08T17:27:56-06:00"},{"id":2991,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215#issuecomment-2991","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Steps 1\u20136 are done. The commit is on main (see the commit that mentions #215); not yet published.\n\n1. **Task grid.** Each authorized task's box gets an X. These are new `task_*_freq` mark placements at the boxes in front of the task names. The frequency is asked only for a task in `auth.service_tasks`, so only authorized tasks get one. The \"other\" row gets one once a name is given.\n2. **Attendants B and C.** Items 4, 5, 8 and 9 are now `visible_if` the attendant's visit type is not blank. An empty slot clears its visit type (#198), so these questions are hidden and **print nothing**. Before, items 4 and 5 printed N\/A there. The task grid's B and C columns were already blank.\n3. **Items 4 and 5.** Each named attendant gets an X in their own \"Attendant A\/B\/C\" box. These are new `attendant_{x}_visit_type` mark placements (instances 1\u20134, one per item), so the box is ticked exactly when the attendant is named. Yes\/No\/N\/A is unchanged for a named attendant: N\/A at an AO, as the paper says; asked at SV\/SA.\n4. **Item 8.** Yes, not asked, for every named attendant, plus the X in their box.\n5. **Item 9.** At an AO it is N\/A, not asked, plus the X. At SV\/SA it is asked. It has **no starting answer**, by the rule that client answers start blank. If Cassandra wants it to start as Yes, that is a one-line change.\n6. **Item 10-4.** The name moved from x 254.7 to x 318, so it starts after \"precautions.\" The phone moved from x 425 to x 478.\n\nThe same rules are in SOC_AO, AO, SV and AR. Checked with a rendered proof of an AO visit (one attendant, four tasks) on both pages. `test-form-v2-workflow.php` passes (400): it pinned the old N\/A-for-an-empty-slot rule, which is now replaced, and it now checks items 8 and 9.\n\n**One thing to confirm:** at an AO, items 4 and 5 print the attendant's X **and** N\/A, the same as Cassandra described for item 9. If Charles's answer meant the X replaces N\/A, change `fixed_as` for those items.\n\n**Still open:**\n- **Step 7:** do the red circles on page 2 print on our copy? A question for Cassandra.\n- Cassandra will check whether other visit forms ask item 9.\n\n**To ship:** `php scripts\/form-v2-pipeline.php --packet=SOC_AO --import --replace`, then AO, SV and AR. Then publish and activate.","assets":[],"created_at":"2026-11-08T17:44:19-06:00","updated_at":"2026-11-08T17:44:19-06:00"},{"id":2993,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/216#issuecomment-2993","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/216","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in b0cb237.\n\n- Cassandra's updated Task Guide is now the blank. Its hidden layer was removed (the same problem as #104), and so was the logo.\n- Each authorized task's X now prints in its new box.\n- The three X marks at the bottom (safety instructions, notify supervisor, PHC scope) no longer print. Their questions are still asked during the visit.\n- The citation now reads \"26 TAC 277.41\" on the form and in the on-screen text for SOC\/AO and AO.\n\nThe new file replaces the old blank under the same name. Before activating, finish any open V2 visit that hasn't printed yet.","assets":[],"created_at":"2026-11-08T20:04:17-06:00","updated_at":"2026-11-08T20:04:17-06:00"},{"id":2995,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212#issuecomment-2995","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in eb85896. This is the full redesign.\n\n- The new blank is in, with the logo removed.\n- New boxes: Date of Visit, Address\/City\/State\/Zip, Veteran Status, Types of Services, Physician Name\/Phone\/Address, and a client and agency signature row with dates.\n- Most boxes reuse answers the visit already collects:\n  - Date of Visit copies the 3040's date.\n  - Types of Services comes from the authorization.\n- New questions:\n  - \"Is the client a veteran?\"\n  - The client's State. No form printed it before.\n  - Physician address. This is now one Shared Answer for the ISP and this sheet.\n- Rehearsed with SOC\/AO and AR, and a proof was checked.\n\nStill open: Veteran Status is recorded on the visit only. It isn't kept on the client record or shown in a report. Open a follow-up if that's wanted.","assets":[],"created_at":"2026-11-08T20:04:17-06:00","updated_at":"2026-11-08T20:04:17-06:00"},{"id":2996,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211#issuecomment-2996","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Interview half done in 7d6af03. The new blank is **blocked**.\n\nDone:\n- With no Medical Power of Attorney, the MPOA name and phone print \"None\" on the PAS\/PHC consent, the PCS consent and the Private Pay agreement.\n- \"I authorize ___\" is no longer asked. The line stays blank.\n- The release expiry is no longer asked. It is now one year after the visit date.\n\nBlocked: the three agency copies differ, so one blank can't serve all three.\n- The paragraph about reporting concerns to The Joint Commission is in the Coastal and Legacy Home Care Services copies but not in Legacy Home Health Agency's. It moves everything below it.\n- Agency name, phone and administrator are typed into each copy.\n- Coastal's copy names \"Legacy Home Care Services\" as the release recipient. This looks like a copy slip.\n\nWe are asking Cassandra whether the Joint Commission paragraph is only for accredited agencies, and whether LHHA's form should have it. Depending on her answer, we use one blank or one blank per agency.","assets":[],"created_at":"2026-11-08T20:04:17-06:00","updated_at":"2026-11-08T20:04:17-06:00"},{"id":2997,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219#issuecomment-2997","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in c8b76e2.\n\n- Page 1 of the ISP is unchanged. Page 2 is Cassandra's new page, with the logo removed.\n- All page-2 boxes moved to the new layout, mostly 6.6pt up. The attendant signature row didn't move.\n- Type of ISP: \"Pre-Initial Case\" was added and \"Change in Schedule\" removed.\n- The office address and phone lines no longer print on page 2. Page 1 still prints them.\n- Rehearsed with SOC\/AO, AO, AR and ISP\/COA, and a proof was checked.\n\nStill open: the Pre-Initial visit has no V2 interview yet, so no visit starts on \"Pre-Initial Case\". The new blank replaces the old one under the same name. Before activating, finish any open V2 visit that hasn't printed yet.","assets":[],"created_at":"2026-11-08T20:04:17-06:00","updated_at":"2026-11-08T20:04:17-06:00"},{"id":2998,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211#issuecomment-2998","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/211","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"The new blank is done in 6a76bbc.\n\n**Decided (Charles, 9 Nov 2026):** the Joint Commission paragraph goes on the consent for all three agencies. The release section must name the correct agency.\n\nDone:\n- One consent blank for all three agencies. It is made from the Legacy Home Care Services copy of 7 Nov, which has the same text as the Coastal copy. It has the Joint Commission paragraph and the new HHSC Complaint and Intake link (`https:\/\/tulip.hhs.texas.gov\/LTCcomplaint\/s\/`).\n- The release section (\"release the information to\") prints each agency's own name from its settings. Coastal's copy had \"Legacy Home Care Services\" typed there. That name is removed from the blank.\n- The agency name, the 24-hour number and the administrator also print from the agency's settings, as before. They are removed from the blank, so nothing prints two times.\n- The customer's red circles are part of the page. The agency name and the phone numbers print in the circles.\n- All placements are measured again for the new layout. The new page has no footer, so the agency name no longer prints in a footer.\n- The SOC\/AO and AR visit types pass the completeness check in a rehearsal. Nothing is published yet.\n\nNote: the new page has no revision stamp, so the list of blank forms shows \"no revision printed on the form\".\n\nOpen:\n- PCS consent form (`consent-pcs`): Cassandra is reviewing it. When she sends it, check the TULIP link and the Joint Commission paragraph on it too.\n- Publish the new release for SOC\/AO and AR on `\/admin\/form-v2-publish`.","assets":[],"created_at":"2026-11-09T09:21:19-06:00","updated_at":"2026-11-09T09:21:19-06:00"},{"id":3014,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212#issuecomment-3014","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212","user":{"id":3,"login":"connect-bot","login_name":"","source_id":0,"full_name":"","email":"connect-bot@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/68a2723f7ad70dee2e1415be7488d84b","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/connect-bot","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-10-01T08:49:35-05:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"connect-bot"},"original_author":"","original_author_id":0,"body":"**Charles W.** _(via Connect)_\n<!-- connect:user=1 -->\n\nLet's record the veteran status in the client record.","assets":[],"created_at":"2026-11-09T09:30:32-06:00","updated_at":"2026-11-09T09:30:32-06:00"},{"id":3015,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215#issuecomment-3015","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215","user":{"id":3,"login":"connect-bot","login_name":"","source_id":0,"full_name":"","email":"connect-bot@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/68a2723f7ad70dee2e1415be7488d84b","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/connect-bot","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-10-01T08:49:35-05:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"connect-bot"},"original_author":"","original_author_id":0,"body":"**Charles W.** _(via Connect)_\n<!-- connect:user=1 -->\n\nFor AO, the attendant gets an X and the N\/A gets an X. If there's an attendant A, B, or C in the visit then there needs to be an X for the attendant on 3040.","assets":[],"created_at":"2026-11-09T09:33:25-06:00","updated_at":"2026-11-09T09:33:25-06:00"},{"id":3016,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217#issuecomment-3016","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217","user":{"id":3,"login":"connect-bot","login_name":"","source_id":0,"full_name":"","email":"connect-bot@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/68a2723f7ad70dee2e1415be7488d84b","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/connect-bot","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-10-01T08:49:35-05:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"connect-bot"},"original_author":"","original_author_id":0,"body":"**Charles W.** _(via Connect)_\n<!-- connect:user=1 -->\n\nFix it by having the other party sign by hand. Remove it from our signature requirements. It's not a signature our rep, client, or attendant would sign.","assets":[],"created_at":"2026-11-09T09:36:40-06:00","updated_at":"2026-11-09T09:36:40-06:00"},{"id":3017,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217#issuecomment-3017","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Step 2 is done** in 8994f98, not yet published. The other agency signs the bottom line by hand. It is no longer one of our signings.\n\n- The placement file has a new declaration, `by_hand`. It lists a signature line that someone outside the visit signs on paper, with a reason. `coc_rep_signature` and its date are listed there.\n- The pipeline removes the signing that was on the published map for that line, and does not propose it again. Nobody in the visit is asked to sign it, and it prints blank.\n- The `required` rules on those two fields are removed. Our agency's line (\"is providing the following services\", `services_rep_signature`) is unchanged.\n- The rehearsal of SOC_AO passes every completeness check. The Coordination of Care map shows \"1 signing line removed\".\n\n**To ship:** `php scripts\/form-v2-pipeline.php --packet=SOC_AO --import --replace`, then AR and PHV, which also print this form. Then publish and activate.","assets":[],"created_at":"2026-11-09T09:43:11-06:00","updated_at":"2026-11-09T09:43:11-06:00"},{"id":3018,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215#issuecomment-3018","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Confirmed, no change needed. This is what was built: at an AO, items 4, 5 and 9 print the X in the box of each named attendant (A, and B and C if present) **and** the X at N\/A. An attendant who is not on the visit gets no X and no N\/A.\n\nStill open:\n- **Step 7:** does Cassandra want the red circles on page 2 printed on our copy?\n- Cassandra will check whether other visit forms ask item 9.","assets":[],"created_at":"2026-11-09T09:43:11-06:00","updated_at":"2026-11-09T09:43:11-06:00"},{"id":3019,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212#issuecomment-3019","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Veteran Status goes with the other things we hold from forms, such as the pharmacy. It is reported, and then the office is offered a chance to save it to the client. This is tracked in #196, which is blocked on the office step that accepts a visit (#119, #168). Until then, the answer is kept on each visit, so it can be carried over when that step is built. No report or screen shows it yet.\n\nNothing else is open here. This issue can close.","assets":[],"created_at":"2026-11-09T09:49:45-06:00","updated_at":"2026-11-09T09:49:45-06:00"},{"id":3023,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217#issuecomment-3023","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/217","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Two corrections to my last comment:\n\n- **The date question.** In 8994f98, the bottom line's date fell into the interview's \"Not placed yet\" step. Staff would have been asked a date that the other agency writes. This is fixed in 0475d22: a line signed by hand, and its date, are never asked. The SOC_AO and AR rehearsals now import with no \"Not placed yet\" step, and both pass.\n- **PHV.** It prints this form, but it has no V2 interview yet. To ship, run SOC_AO and AR only: `php scripts\/form-v2-pipeline.php --packet=SOC_AO --import --replace`, the same for AR, then publish and activate.","assets":[],"created_at":"2026-11-09T09:57:06-06:00","updated_at":"2026-11-09T09:57:06-06:00"},{"id":3024,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/196#issuecomment-3024","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/196","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Add Veteran Status** (from #212). Charles, 9 Nov: it is one of the things we hold from forms, like the pharmacy. Report it, then offer to save it to the client.\n\n- It is asked on the Client Information Sheet in SOC\/AO and AR (\"Is the client a veteran?\", Yes \/ No). The answer is kept, encrypted, on the visit. Like the pharmacy picks, it collects on the visits until the office step exists.\n- The same rule applies: copy it to the client only after the office accepts the visit.\n- **The question is already tied to the client fact** (0475d22): `hh_member.veteran_status`, enum `yes`\/`no`, in `form_fact_catalog()`. When this is built, store the value on the client and have `form_prefill_sources()` return it. A later visit then starts with it, and staff can still change it. No interview change is needed.\n- **Carry over both versions of old answers.** Visits prepared before 0475d22 keep the answer under the old form-only name, `form.client-information-sheet.veteran_status`. Newer visits use `hh_member.veteran_status`.\n- Where staff see it (the client detail window, or a list of what was learned from forms) is decided later. For now we only hold it.","assets":[],"created_at":"2026-11-09T09:59:56-06:00","updated_at":"2026-11-09T09:59:56-06:00"},{"id":3026,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219#issuecomment-3026","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219","user":{"id":3,"login":"connect-bot","login_name":"","source_id":0,"full_name":"","email":"connect-bot@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/68a2723f7ad70dee2e1415be7488d84b","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/connect-bot","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-10-01T08:49:35-05:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"connect-bot"},"original_author":"","original_author_id":0,"body":"**Charles W.** _(via Connect)_\n<!-- connect:user=1 -->\n\nShould the agency address still print on ISP page 2? Cassandra: \"Yes, the applicable licensed branch address based off the branch they are assigned on vesta.\"\r\n\r\nWe haven't been given a Pre-Initial Case visit yet so there's no interview yet.","assets":[],"created_at":"2026-11-09T10:05:00-06:00","updated_at":"2026-11-09T10:05:00-06:00"},{"id":3027,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219#issuecomment-3027","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/219","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in d2f0d19. It corrects c8b76e2, which had removed the address from page 2.\n\n- Page 2 of the ISP prints the client's branch address again, centred under the logo where the old agency lines were. The address comes from the branch the client is assigned to in VESTA, as Cassandra said.\n- The phone, fax and toll-free numbers still print on page 1 only.\n- A proof of page 2 was checked. Trial runs pass for SOC\/AO, AR, AO and ISP\/COA.\n\nStill open: Pre-Initial Case. We haven't been given a Pre-Initial visit yet, so there is no interview to set it.","assets":[],"created_at":"2026-11-09T10:08:24-06:00","updated_at":"2026-11-09T10:08:24-06:00"},{"id":3040,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212#issuecomment-3040","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Types of Services: Cassandra's answer (9 Nov)**\n\nQuestion: \"Do the CA, NON HCBS, FC and HCBS boxes match program types that we get from VESTA data?\"\nCassandra: \"Yes please see snip its below.\" She sent two VESTA Authorizations screenshots:\n- Program **CAS**, Service Description \"PAS CAS NON-PRIORITY\". This gives **CA**, which is already built (#220).\n- STAR+PLUS, Service Description \"UNITED **HCBS** CFC (U3 U7)\" and \"UNITED **NON-HCBS** CFC (U5 U7)\". This gives **HCBS** \/ **NON HCBS**.\n\n**Bug found:** the mapper read `hh_auth.service`. That field holds the service **code** (for example \"310\"), not the description. So no STAR+PLUS client ticked HCBS or NON HCBS.\n\n**Fix (built 9 Nov, a code change, in the deploy):**\n- `form_prefill_sources()` gets the Service Description from `hh_service` (agency + code, the same lookup as the member detail). The description sets the two HCBS boxes only. The program boxes do not change.\n- Some rows have no HCBS wording (for example \"MOLINA RESPITE (U3)\", \"ERROR\", or a code that `hh_service` does not have). For these, the first modifier sets the box: U3 = HCBS, U5 = NON HCBS. Every live row's modifier agrees with its description.\n- `test-form-prefill.php`: 7 new tests.\n\n**Effect on live data:**\n- STAR+PLUS: 904 clients now tick HCBS and 1,862 tick NON HCBS. Before, they ticked no box. 22 still tick no box.\n- MMP: 3 clients now tick a box.\n- 2 \"STAR+PLUS HCBS\" clients whose service is \"MOLINA NON HCBS (U5)\" change to NON HCBS, because the description decides.\n\n**Still open (waiting on Cassandra):** which box for **STAR Kids**, **CLASS** and **private pay**?\n\n**Possible question for compliance:** about 17 PHC, FC and CLASS clients have a VESTA contract for a different program (for example program PHC, contract \"\u2026-CA-TMHP\"). These clients tick two boxes. Is the program or the contract correct?","assets":[],"created_at":"2026-11-09T14:58:34-06:00","updated_at":"2026-11-09T14:58:34-06:00"},{"id":3046,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215#issuecomment-3046","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/215","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Step 7 and item 9: settled (Charles, 9 Nov).**\n\n**Red circles: yes, print them on our copy.** Done in 974ee26 (not published yet).\n- We do not have a 3040 copy with the circles. Every 3040 in `docs\/` is clean. So we drew them on page 2 of `docs\/form-blanks\/forms-3040.pdf`, at the places in the 06:16 screenshot:\n  - Item 10-4: the agency name and phone.\n  - \"Fall or Injury \/ Rash or Skin Breakdown\".\n  - Item 10-5: \"Other: Call 911\u2026\".\n- The circles are red ovals (1.3 pt) in the page content. They are not annotations and not a layer.\n- The text and layout do not change (`pdftotext` output is the same). The measured boxes stay correct. Only `template_sha256` in `docs\/form-placements\/forms-3040.json` changes.\n- `test-form-blanks.php` (252), `test-form-pdf.php` (234) and `test-form-v2-workflow.php` (402) pass.\n\n**Item 9: no change needed.** Charles: it is an automatic N\/A at SOC\/AO or AO. It is asked at SV, ISP and post-hospital visits. This is how it is built. The rule uses each attendant's visit type on the 3040:\n- AO: N\/A with the X, not asked. This applies to SOC\/AO and AO visits.\n- SV\/SA: asked. This applies to SV and AR visits.\n- The ISP\/COA visit does not print a 3040.\n- PHV has no V2 interview yet. It will get the same rule when its questions are written.\n\nThe open question \"do other forms ask item 9\" came from Cassandra's own words in the recording (\"I would have to double check, but that should be a question\"). It is now closed.\n\n**To ship:** the paperwork release (`form-v2-pipeline.php` for SOC_AO, AO, SV and AR, then publish and activate). Close this issue when the release is in use.","assets":[],"created_at":"2026-11-09T15:11:56-06:00","updated_at":"2026-11-09T15:11:56-06:00"},{"id":3047,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212#issuecomment-3047","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/212","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Committed and pushed: e76cff3 (the HCBS \/ NON HCBS fix, code and tests) and 78b4096 (Action Plan and changelogs). It is a code change, so it goes out with the next deploy. The open question has not changed: which box for STAR Kids, CLASS and private pay?","assets":[],"created_at":"2026-11-09T15:11:56-06:00","updated_at":"2026-11-09T15:11:56-06:00"},{"id":3105,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/232#issuecomment-3105","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/232","user":{"id":3,"login":"connect-bot","login_name":"","source_id":0,"full_name":"","email":"connect-bot@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/68a2723f7ad70dee2e1415be7488d84b","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/connect-bot","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-10-01T08:49:35-05:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"connect-bot"},"original_author":"","original_author_id":0,"body":"**Charles W.** _(via Connect)_\n<!-- connect:user=1 -->\n\nReply from Charles: \r\n\r\n\"Thank you for the service area list. I compared it with the vendor numbers and counties Cassandra sent on October 20, which is what the forms use today to choose the vendor number for each client. Most of it matches. There are two differences, and a few smaller questions.\r\n\r\n1. Legacy Home Health Agency in the Houston area (Region 6)\r\nOn October 20, we were given a Region 6 vendor number for Legacy Home Health Agency (1034689), covering Brazoria, Fort Bend, Galveston, Harris and Montgomery. Marina's list says Houston is only Coastal.\r\n- Does Legacy Home Health Agency still hold that Region 6 number?\r\n- If it does, should it be on the service area list? If it doesn't, we'll remove it.\r\n\r\nLegacy Home Health Agency has no active clients in those counties today, so nothing prints differently either way.\r\n\r\n2. Legacy Home Care Services in Region 8 (the San Antonio area counties)\r\nMarina's list includes Legacy Home Care Services in all 18 Region 8 counties. On October 22, Cassandra told us Legacy Home Care Services has no TMHP license for Region 8. She said it is approved by the MCOs in Victoria County, and Victoria clients are billed under its Region 11 number.\r\n- Does the list show the areas the MCOs have approved, rather than the TMHP licenses?\r\n- Does Legacy Home Care Services now have a Region 8 vendor number? If so, please send it.\r\n- If it doesn't, should its Victoria County clients still print the Region 11 number? Legacy Home Care Services has 4 active clients in Victoria County: 2 managed by the Brownsville branch and 2 by the McAllen branch.\r\n\r\n3. Which number prints\r\nThank you for explaining that the branch can differ from the contracted region, such as clients in Gonzales County managed from Beeville. The forms already choose the vendor number by the client's county, not by the branch that manages them, so a Gonzales County client prints the Region 8 number. Can you confirm that managed-care clients (STAR+PLUS, STAR Kids) follow the same rule, using the same county list?\"","assets":[],"created_at":"2026-11-12T13:12:31-06:00","updated_at":"2026-11-12T13:12:31-06:00"},{"id":3106,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/232#issuecomment-3106","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/232","user":{"id":3,"login":"connect-bot","login_name":"","source_id":0,"full_name":"","email":"connect-bot@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/68a2723f7ad70dee2e1415be7488d84b","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/connect-bot","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-10-01T08:49:35-05:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"connect-bot"},"original_author":"","original_author_id":0,"body":"**Charles W.** _(via Connect)_\n<!-- connect:user=1 -->\n\nReply from Cassandra (11\/12\/2026):\r\n\r\n1. LHHA is currently on a vendor hold for the Houston area, and we are appealing the hold. At this time, I am not sure what the outcome will be.\r\n2. LHCS does not have a Region 8 contract with TMHP. We are approved to provide services in those areas, and if we have clients in those counties, we would use the Region 11 vendor number.\r\n3. Yes, our agency enters the vendor number based on the client's county with one minor exception: \r\n      * If a TMHP client moves to a different region after services have started, we must wait for the TMHP caseworker to send a new authorization for the new region before we can complete paperwork using the new vendor number. For example, a CHHC SA client begins services in the San Antonio area with vendor number 1031679 on the paperwork. If the client moves to CHHC HOU on November 1 and we need to complete a attendant orientation or any other type of visit; but we have not yet received an authorization for the new region, we can continue providing services but must continue using vendor number 1031679. Once TMHP sends the new 2101 Form (Authorization) for Region 6 with vendor number 1033946, we can use the new vendor number for visits occurring on or after the authorization's effective date.","assets":[],"created_at":"2026-11-12T13:13:14-06:00","updated_at":"2026-11-12T13:13:14-06:00"},{"id":3110,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3110","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Part A done** (7ef30cf): `scripts\/fax-accuracy.php`, `fax\/testset.py`, `fax\/bench.py`. Usage is in docs\/Fax.md \u00a75.\n\n**Production baseline, 2026-11-13: 1 field checked** (a 2101 client name, right). Production has no faxes accepted yet and almost no corrections, so A.1 has nothing to count. It becomes a baseline only once staff accept or correct faxes on the review screen. Until then the scores come from the test set.\n\n**Test set baseline** (synthetic 2101 + 2067, invented values, 5 variants): **84 \/ 120 fields exact.**\n\n| Variant | 2101 | 2067 |\n|---|---|---|\n| clean | 13\/16 | 6\/8 |\n| shifted+rotated | 14\/16 | 5\/8 |\n| stretched | 14\/16 | 7\/8 |\n| fax (200 DPI, 1 bit, speckle) | 13\/16 | 6\/8 |\n| fax+rotated | 5\/16 | 1\/8 |\n\nFindings for parts C and E:\n- The 2101's comments box (25) also reads the printed labels of the Authorizing Agents section below it.\n- The 2067's boxes pick up leading and trailing junk from leaders and rules (\"5125550142 .\", \"- _ _ _ QUIXOTE\").\n- A rotated page at fax quality loses most fields.\n\n**Timing** (`fax\/bench.py`, ExampleFax 2101, cache off): 78 calls, 12.3 s. Of that, 42 calls and 5.6 s go to finding labels (D.1). Classification takes 3.0 s, of which only 0.9 s is OCR; the rest is registration against each template tried (D.4).\n\n**Found along the way:** the synthetic 2101 had never printed 10 of its 19 invented values, because `insert_textbox()` silently writes nothing when the text doesn't fit. `fax\/test_redact.py`'s \"no identifier survived\" check passed on those 10 with nothing to remove. This is fixed in `fax\/synthetic.py`, but `test_redact.py` has not been re-run since the fix.","assets":[],"created_at":"2026-11-13T09:38:11-06:00","updated_at":"2026-11-13T09:38:11-06:00"},{"id":3112,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3112","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**D.1 done** (130d22d) and **D.2 done** (f392c1c): Tesseract now runs in the worker's own process through `tesserocr`.\n\n**Same answers.** `fax\/test_tess.py --full` recorded all 503 Tesseract calls the reader makes on the test set and ExampleFax and ran each through both engines, the in-process one in shuffled order. Every answer was identical, byte for byte. `testset.py --compare`: 84\/120, same readings and boxes.\n\n**Timing** (`fax\/bench.py`, ExampleFax 2101, cache off):\n\n| | Start (A) | After D.1 | After D.2 |\n|---|---|---|---|\n| Tesseract calls | 78 | 54 | 54 |\n| Labels: anchors | 5.6 s | 1.94 s | 1.10 s |\n| Labels: region | 0.6 s | 0.63 s | 0.49 s |\n| Reading the fields | 1.2 s | 1.21 s | 0.15 s |\n| Classification (OCR) | 0.7 s | 0.69 s | 0.35 s |\n| Not Tesseract | 2.9 s | 2.86 s | 2.84 s |\n| **Page** | **12.3 s** | **7.34 s** | **4.93 s** |\n\n- **No OCR crop is written to `\/tmp`:** pixels are passed straight in, and `test_tess.py` asserts it.\n- **One thread per worker:** `OMP_THREAD_LIMIT=1` is now set in `tess.py` before the library loads. In-process, it would otherwise be read before `review_queue.py` sets it.\n- **Fallback:** without tesserocr, or with `FAX_TESS=cli`, the reader runs the command as before and warns once.\n\n**Secure box, before deploying:**\n1. `apt install libtesseract-dev libleptonica-dev pkg-config`\n2. `venv\/bin\/pip install -r fax\/requirements.txt` (builds tesserocr against the system Tesseract, never the wheel, which bundles its own version)\n3. `venv\/bin\/python fax\/test_tess.py`\n\n`tess.py` is part of the reader signature, so every fax is analysed again, with the same results.\n\n**Left for the 3 s target:** 2.8 s of the 4.9 s is not Tesseract, mostly registering the page against each template tried (D.4).","assets":[],"created_at":"2026-11-13T10:16:11-06:00","updated_at":"2026-11-13T10:16:11-06:00"},{"id":3117,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3117","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Part C done** (a8a92a7). This closes #224.\n\n**Field kinds.** 169 template fields now declare a `kind`: `person_name`, `medicaid_no`, `date`, `phone`, `number`, or `code` with a `pattern` (ICD-10 on the 3052's diagnosis codes). The new pure `fax\/field_rules.py` cleans each reading by its kind and names a wrong shape:\n- \"is not 9 digits\"\n- \"is not a date\"\n- \"has fewer than 10 digits\"\n- \"is not a number\"\n- \"has a digit in it\"\n\nA wrong shape caps the confidence at 0.35, so the field shows red on the review screen. The value is kept as read, never invented.\n\n**Names (C.2).** In a name, `!`, `|` and `1` touching a letter are read as I (l among lower case). A date of birth beside a client's name, such as \"(01\/02\/1950)\" or \"DOB 1-2-1950\", is taken off the name and kept in a new `<key>_dob` field: 13 such fields, on the 2101, 2067, 3052 and H2067-MC templates. Each declares `\"from\"` and uses the name's box. It is PHI and redacted like the name. A date of birth that isn't a real date is kept as read, with its problem. A glued suffix is left for B.7.\n\n**Production (C.3, C.4).**\n- **Values:** `raw_value_enc` holds the reading as read; `normalized_value_enc` holds it as cleaned.\n- **Problems:** they go in the new `fax_fields.problem` column (migration `20261113_fax-field-problem.sql`). It is unencrypted, so production keeps only the reader's fixed phrases (`FAX_FIELD_PROBLEM_RE`) and drops anything else.\n- **Review screen:** `\/fax-review\/N` shows the problem under its field until staff correct it. A blank `_dob` field isn't shown.\n\n**Correction to this issue's plan:** `normalized_value_enc` was not unused. The review save wrote the correction into it. Corrections have been in `fax_field_correction` since 11 Nov, so the save no longer writes there, and the column always holds the reader's cleaned value. The update comparison (`fax_intake_stored_values()`) and the stale check in `fax-accuracy.php` were adjusted to match.\n\n**Numbers.**\n- Medicaid numbers on dev: 30,087 of 30,214 are 9 digits, so the shape check flags about 0.4% of clients. It is a \"check this\" note, not a refusal.\n- Test set: **85\/120** (was 84). No box moved.\n- Tests: `fax\/test_field_rules.py` 59 (new); `fax\/test_extract_fields.py` +12, plus a check of every template field; `scripts\/test-fax-push-rules.php` +14; `scripts\/test-fax-intake-state.php` +9.\n\n**Deploy:**\n1. **Production first:** run `php scripts\/migrate.php --apply` before deploying the code. Without the column, intake fails on the first push.\n2. **Secure box:** the templates, `extract.py` and the reader signature changed, so every fax is analysed again. Some readings change this time: cleaned names and new problem notes.\n\n**Next in the plan:** part B, which uses the client record on production and closes #225.","assets":[],"created_at":"2026-11-13T13:04:27-06:00","updated_at":"2026-11-13T13:04:27-06:00"},{"id":3120,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3120","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Part B done** (0e04387). This closes #225. It runs on production only: the reader is unchanged, and nothing new goes to the secure box.\n\n**When the number as read finds nobody** (`fax_member_possible()`; pure rules in `code\/fax_match_rules.inc.php`). Every lookup is by hash in the fax's agency. The client list is never decrypted to search it.\n1. **Near number (B.1, B.2).** Every number one step away is hashed and looked up: one digit changed, missing or extra, or two neighbours swapped. That is about 200 numbers for 9 digits. One letter a reader writes for a digit (such as O for 0) counts as that digit. Only the names of clients found this way are decrypted, and the name must agree with the form's (`fax_match_name_distance()`):\n   - word order, punctuation, initials and a suffix are ignored;\n   - a word of up to 3 letters must match exactly, up to 6 may be 1 letter off, and longer ones 2;\n   - one letter more per word is allowed when the form's date of birth, with the record's name, gives that client's `name_dob_hash`.\n2. **Name and date of birth (B.3).** The key is built exactly as the VESTA load builds `name_dob_hash`, for every way the name splits into last and first. The suffix is tried in the last name first (\"DOE SR\"), then without, then as read. Checked on dev: 20,000 records all store `Y-m-d`, and 19,949 rebuild their hash.\n3. **Name only (B.6).** This runs only when 1 and 2 find nobody, and only when exactly one client has the name. It is an exact match on `name_hash`: a fuzzy name search would mean a plaintext scan of the client list.\n\n**Exactly one, or nothing (B.4, B.5).** One client is offered. Two or more is shown as \"More than one client matches\", decided before caseload scope, so a client outside the reader's caseload never makes another the only one. Per the 13 Nov decision, **nothing attaches by itself**:\n- The review screen shows **Possibly**, the name on record next to the name as read, and why, with a **This is the client** button.\n- Taking it is a manual attachment. The `fax_form_match` row records how it was suggested (e.g. \"suggested: number 1 step off\"), never a value, and only when `fax_suggestion_detail()` re-derives the same suggestion. The request's word is not trusted.\n- The queue shows an icon.\n\n**Suffix (B.7, #225).** \"LASTNAMESR\" is shown as \"LASTNAME SR\" when the client on record (attached, found or offered) has that word. A last name that really ends in those letters, or a name with no client, stays as read. The stored reading is never rewritten.\n\n**Within one fax (B.8).** Forms whose numbers are one step apart and whose names agree are treated as one client. The summary lists both numbers and says which to believe: the one on record, else the one read more clearly.\n\n**Numbers.** Tests: `test-fax-match-rules.php` 70, `test-fax-match-state.php` 33 (scratch agencies), `test-fax-queue-rules.php` +19. The other fax suites still pass. Dev's 21 faxes: 7 found by number, 1 offered by name only, 10 ms. None of them uses the near-number or date-of-birth path, so those are covered by the tests only.\n\n**Deploy:** code only, with no migration and no change on the secure box.\n\n**Done when**, checked against the tests:\n- A number one digit wrong with the right name shows \"Possibly \u2026\"; with a different name it shows nobody.\n- A name and date of birth with no number shows the client.\n- \"LASTNAMESR\" shows as \"LASTNAME SR\", and a last name that really ends in SR stays whole.\n- Two near clients are never resolved.\n\n**Next in the plan:** E.1 and E.2 (grey page, `tessdata_best`), scored with part A.","assets":[],"created_at":"2026-11-13T13:29:20-06:00","updated_at":"2026-11-13T13:29:20-06:00"},{"id":3126,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3126","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**E.1 and E.2 done** (5f69194). Both are kept: together they score best.\n\n**Test set: 85 \u2192 98\/120** (character error rate 34.5% \u2192 30.5%). A rotated page at fax quality goes from 6 to 13 of 24.\n\n| What Tesseract reads | Tesseract's own model | tessdata_best |\n|---|---|---|\n| Thresholded page (before) | 85 | 90 |\n| Grey page, blurred | 97 | **99** |\n| Grey page, not blurred | 72 | \u2014 |\n| Grey page, everything far from ink whitened | 85 | \u2014 |\n\n**E.1: the grey page.** Tesseract now reads each field's value from the page before it is thresholded (`preprocess.grey_page()`). The page keeps the same crop, deskew and median blur, so every box crops the same place.\n- Rules and leaders are whitened using the thresholded crop.\n- Whether a box is empty is still judged on the thresholded crop.\n- Placing boxes, labels, checkboxes, classification and registration are unchanged.\n- The blur has to stay. Without it, a fax's speckle was read as punctuation around every value: the fax-quality 2101 dropped from 13 to 4.\n- ExampleFax's 2101 comes out about even. One stray quote is gone and one full stop is found, but \"Annual\" now reads \"Annuai\" and \"individual\" reads \"individua!\".\n\n**E.2: tessdata_best for values only.** Using it for every call scored 99, but ExampleFax's page took 7.8 s instead of 5.0 s, almost all of it in finding labels and classifying. Those decide where boxes are, not what they say.\n- `tess.py` now has two models. `fields` (tessdata_best English 4.1.0) reads values, 26 calls a page: 0.16 \u2192 0.45 s. `labels` (Tesseract's own) does everything else. **Page: 4.9 \u2192 5.2 s.**\n- The model file is `fax\/tessdata\/eng.traineddata`, which is not committed. The new `fax\/get_model.py` fetches it and refuses a file whose SHA-256 differs; `--check` only checks.\n- Without the file, values are read with Tesseract's own model, and a warning says so once.\n\n**Fixed along the way:**\n- **The OCR cache key had no model in it**, so after a change of model the reader would have kept giving the old model's cached answers. Each key now carries its model file's digest, and the analysis signature carries both models.\n- With `--tessdata-dir`, the command-line engine wrote nothing: the `tsv` config file is looked up in the model's folder. It now asks for TSV with `-c tessedit_create_tsv=1`.\n- `test_tess.py --full` replays all 503 calls with their model through both engines: every answer identical.\n\n**Secure box:** run `venv\/bin\/python fax\/get_model.py`, or copy the file over and run `--check`. The reader signature changes, so every fax is analysed again, and this time readings change.\n\n**Still open for E.1:** `pdfimages -list` on one real fax, to see whether faxes arrive at 200 DPI, 1 bit. ExampleFax is a 300 DPI colour scan, so it does not answer this.\n\n**Next in the plan:** E.3 \/ E.4 is only needed if identity fields are still short. On the test set, almost every remaining miss is a stray leading or trailing mark (\". \", \"* \", \"\u2018\"), which is a clean-up job rather than a reading problem.","assets":[],"created_at":"2026-11-13T15:02:29-06:00","updated_at":"2026-11-13T15:02:29-06:00"},{"id":3127,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3127","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**E.1's open check: what the real faxes hold.** I ran `pdfimages -list` on three faxes (10 pages). The output shows only image properties, no content.\n\nEvery page is one **1-bit CCITT image, 1728 px wide, at 204 \u00d7 196 DPI** (standard fax fine mode). Two pages are 730 bytes, which means they are blank. So the test set's fax-quality variant (200 DPI, 1 bit) is a fair stand-in.\n\n**One difference.** A 1-bit CCITT page built the same way and rasterised at 300 DPI, as the reader does it, does **not** come out pure black and white. Poppler smooths it while scaling it up: 256 grey levels, with about 2.4% of pixels in between. The test set instead upscales its fax pages with nearest-neighbour, so they stay pure black and white.\n\nThis means real faxes give the grey page more to work with than the test set does. If anything, E.1 should help real faxes at least as much as it helped the test set.\n\nTo make the test set truer, `testset.fax_quality()` could round-trip the page through a CCITT PDF and poppler. That would change the baseline numbers, so it is left as a separate step.","assets":[],"created_at":"2026-11-13T15:03:56-06:00","updated_at":"2026-11-13T15:03:56-06:00"},{"id":3130,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3130","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**Real faxes measured, and the test set rebuilt to match** (ef6b629, ed4c85e).\n\n`fax\/fax_profile.py` (new) measures fax pages and prints numbers only: no values, file names or images. It writes nothing. I ran it on 40 real faxes (152 pages):\n\n| | Real faxes | Test set's fax pages until now |\n|---|---|---|\n| Image | one 1-bit CCITT image a page, 1728 px wide, 204 \u00d7 196 DPI; **10% at 204 \u00d7 98** (\"standard\" mode) | 200 \u00d7 200, never 98 |\n| Grey pixels after rasterising at 300 DPI | median 3.6%, p90 7.1% | 0 |\n| Isolated specks per megapixel | median 0.1, p90 17, max 197 | about 670 |\n| Skew | under 0.3\u00b0 almost always, max 1.1\u00b0 | 0.6\u20130.8\u00b0 |\n| Stroke width | 4 px | 3.5 px |\n\nForm mix: 108 pages were forms the reader doesn't know, 23 were cover sheets, 16 were 2101s, 2 were 2067s, and one each was a 3052p2, an H2067-MC and an incident report. Most pages are ones the reader skips, so classification speed (D.3) matters.\n\n**The new `testset.fax_quality()`** makes a page the way a real fax arrives:\n1. Scale it to 204 \u00d7 196 (or 204 \u00d7 98).\n2. Make it 1-bit and flip 4e-5 of its pixels, which gives about real p90 speckle.\n3. Put it in a PDF at that resolution.\n4. Rasterise it with poppler, as `reading.rasterize()` does.\n\nIts pages measure 5% grey, 14\u201320 specks per MP, and 4\u20135 px strokes. There are now seven variants, adding \"fax standard\" (204 \u00d7 98) and \"fax noisy\" (5e-4, about the most speckle seen): 168 fields in all.\n\n**E.1 re-scored on the realistic pages** (field values read with tessdata_best):\n\n| What field values are read from | Right of 168 | Character error rate |\n|---|---|---|\n| **Grey page with blur (shipped)** | **141** | 27.6% |\n| Grey page without blur | 137 | 26.3% |\n| Thresholded page (before E.1) | 118 | 32.8% |\n\nThe blur stays. Before this, it might have been winning only because of the old test set's heavy speckle, but it holds on realistic pages too. The grey page also gains more on realistic faxes than the old test set showed: +23 of 168, against +13 of 120. The reader itself is unchanged. The new baseline is 141\/168.","assets":[],"created_at":"2026-11-13T15:49:09-06:00","updated_at":"2026-11-13T15:49:09-06:00"},{"id":3132,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229#issuecomment-3132","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/229","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"**D.3 measured, and not done as planned. Registration's rule matching made 2\u20134\u00d7 faster instead** (47dec6b). Same readings.\n\n**What a skipped page costs.** I timed every classification step on fax-quality test pages: a blank 2076, a typed letter, a cover sheet, a 2101 and a 2067.\n\n| Step | Seconds |\n|---|---|\n| Six id-box reads, together | about 0.05 |\n| Header band and cover-sheet reads | 0.3\u20131.2 |\n| Registering against the six templates | 0.6\u20133.2 |\n| Deskew (`preprocess.skew_angle()`, `HoughLinesP`) | 1.1\u20132.4 |\n\nReading the top of the page once would save only 0.1\u20130.3 s, and it changes the words classification sees. It was not done. The plan's estimate of 1 s assumed the id boxes were expensive, and they are not.\n\n**What was slow.** `register.fit_band()`, for every candidate fit, found the nearest unused page rule with a `min()` over all of them. The new `register.nearest_unused()` finds the same index with `bisect`, with ties to the lowest index as before.\n\n| Registration | Before | After |\n|---|---|---|\n| Blank 2076 (many rules) | 3.20 s | 0.72 s |\n| 2101 | 2.08 s | 0.92 s |\n| ExampleFax's 2101, whole page | 5.2 s | 5.0 s |\n\n**Same answers:**\n- `fax\/test_register.py` checks the new search against the old `min()` on 20,000 random cases, with repeated values and ties: 175\/175.\n- `testset.py --compare`: 141\/168, same readings, no box moved.\n- `test_classify` 29\/29, `test_extract_fields` 645\/645, `test_classify_rules` 148\/148, `test_review_queue` pass.\n\n**Secure box:** `register.py` is part of the reader signature, so every fax is analysed again after the deploy, with the same results. Restart `review_data.py work`: its child processes keep the old code loaded until they are restarted.\n\n**Still open for the targets** (skipped page under 0.7 s, cold 2101 under 3 s):\n1. **The deskew's `HoughLinesP`**, 1.1\u20132.4 s on every page, at 0.1\u00b0 steps over 180\u00b0. A narrower angle range, or `register.rule_skew()`'s shear search, would change the angle found. It is an experiment to score against the test set, not a speed-up with identical results.\n2. **The header and cover reads**, about 1 s on a page full of text.","assets":[],"created_at":"2026-11-13T16:30:01-06:00","updated_at":"2026-11-13T16:30:01-06:00"},{"id":3135,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/222#issuecomment-3135","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/222","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in ed9bd10: a client who isn't transferring gets a blank transfer statement, not \"Not a transfer case\". The new transfer form from 11 Nov (ac98a0c) still works this way.","assets":[],"created_at":"2026-11-16T14:04:53-06:00","updated_at":"2026-11-16T14:04:53-06:00"},{"id":3136,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/232#issuecomment-3136","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/232","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in b200b3a, following Cassandra's 12 Nov answers:\n- A TMHP client's authorization decides the vendor number before the county does. A client who moves region keeps the old number until the new region's 2101 starts.\n- Legacy Home Care Services clients in the 18 Region 8 counties print its Region 11 number.\n- Managed care and PCS still go by the client's county.\n\nStill to watch: Legacy Home Health Agency's Region 6 number (1034689) is on a vendor hold that's being appealed. If the appeal fails, remove that number from the vendor list. No active clients are affected today.","assets":[],"created_at":"2026-11-16T14:04:53-06:00","updated_at":"2026-11-16T14:04:53-06:00"},{"id":3137,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/228#issuecomment-3137","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/228","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Done in bb50d5f: the signing screen asks whether each attendant is here to sign. \"Not here to sign\" means their lines are no longer required and print blank.\n\nThe questions still open with the customer (Attendant Orientation without the attendant's signature; blank or \"Not present\") are now #234.","assets":[],"created_at":"2026-11-16T14:04:53-06:00","updated_at":"2026-11-16T14:04:53-06:00"},{"id":3143,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/235#issuecomment-3143","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/235","user":{"id":3,"login":"connect-bot","login_name":"","source_id":0,"full_name":"","email":"connect-bot@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/68a2723f7ad70dee2e1415be7488d84b","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/connect-bot","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-10-01T08:49:35-05:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"connect-bot"},"original_author":"","original_author_id":0,"body":"**Charles W.** _(via Connect)_\n<!-- connect:user=1 -->\n\nSee transcript of screen recording at: docs\/Recording 2026-11-13 093935.vtt","assets":[],"created_at":"2026-11-16T15:48:12-06:00","updated_at":"2026-11-16T15:48:12-06:00"},{"id":3146,"html_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/235#issuecomment-3146","pull_request_url":"","issue_url":"https:\/\/www-s01.apinet.com\/codeforge\/apiintl\/hhmanager\/issues\/235","user":{"id":1,"login":"charles","login_name":"","source_id":0,"full_name":"Charles Willgren","email":"charles@noreply.www-s01.apinet.com","avatar_url":"https:\/\/www-s01.apinet.com\/codeforge\/avatars\/d3c894f7297c5a18eb3f6ac837c335b11a00aa9cc0961323771632b1e2d61bb2","html_url":"https:\/\/www-s01.apinet.com\/codeforge\/charles","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2025-12-08T10:03:41-06:00","restricted":false,"active":false,"prohibit_login":false,"location":"","pronouns":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"charles"},"original_author":"","original_author_id":0,"body":"Cassandra's request to combine visit types is now Action Item #236. That item covers combining at the start of a visit and adding a visit type during a visit.","assets":[],"created_at":"2026-11-16T16:20:33-06:00","updated_at":"2026-11-16T16:20:33-06:00"}]}