Urgent.News

What's breaking now, across hundreds of outlets.

Health & Medicine

I resurrected the fax machine with Kiro, and every Kiro feature left a paper trail

Faxed referrals are still the way a lot of healthcare moves information. Someone gets a picture of a page and retypes it into a record. One wrong digit in a provider number or a phone number, and the patient waits. For Kiroween 2026 I built Facsimortis (Resurrection category): a static web demo that reads synthetic faxed referrals and shows every extracted value next to the exact words on the…

Faxed referrals continue to be a common method for sharing healthcare information. The process involves someone capturing a picture of a page and typing it into a record. A single incorrect digit in a provider or phone number can result in a delay for the patient. For Kiroween 2026, the author developed Facsimortis, a static web demonstration that reads synthetic faxed referrals and displays each extracted value alongside the original text on the page it originated from.

These extracted values are referred to as "source ghosts." Any check failures are flagged instead of being guessed, and a person either accepts the changes or edits them. The record can subsequently be verified and exported as an audit JSON.

The demo video, live demo, and source code are available online. The project adheres to strict specifications, which were instrumental in maintaining the accuracy of the build. The author kept track of the project's progress by writing a status for each of the 30 requirements, ranging from built to deferred or cut. This approach revealed instances where the specification outlined a broader product scope than the demo itself.

To ensure the integrity of the build, the author implemented three steering files containing rules such as the use of synthetic data only, never inventing values, and refraining from making compliance claims. These rules are loaded into every session, eliminating the need for the author to remember them. Additionally, hooks were implemented to catch potential issues, including a real one planted during testing. One of the hooks was designed to fail on purpose, allowing the author to verify its effectiveness.

A read-only MCP server was created to provide access to the saved answers through five tools. The author trusted this server more than adding additional tools, as a reliable guard was essential. To further enhance security, the author planted breaks in the system, which proved to be a valuable test. An MCP server was also developed to prove its safety by exposing the saved answers through five tools.

The system was tested using a canary test that compared the outputs of the canary to a decoy answer-key file and a decoy .env file, running every tool with hostile inputs to ensure there were no discrepancies.

The fax-qa agent was developed to compare the outputs of two readers, the model reader and the rules reader. This agent meticulously documented any discrepancies, highlighting gaps that were subsequently addressed as known limitations. The agent performed five variants to determine the root cause of an issue where the model reader returned a provider name at a confidence level of 0.39 without any flags, while the rules reader flagged three fields. This discovery was recorded as a known limitation in the documentation.

Facsimortis was developed using synthetic faxes, with model answers recorded in advance. The system does not support uploading, deskewing, or exporting to FHIR. The author listed all the limitations of the system, as it was deemed more valuable to be aware of these constraints upfront than to discover them later. Ultimately, Facsimortis provided the author with a structured method for documenting decisions and failures, enabling anyone to review the documentation and verify the claims made in the project.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Health & Medicine

Student with stage four cancer defies the odds and earns degree

MUHAMMAD Akmal Hakimi Razali received some of the loudest applause recently when he went on stage to collect his scroll as a graduate earning a Bachelor of Arts in Public Engineering from Universiti…

  • 26-year-old student defies medical odds to earn degree
  • Diagnosed with stage four testicular cancer spreads to lungs and liver
  • USM Chancellor commends Akmal's achievement and determination

More from Sunday, 29 November 2026 →