Skip to main content

Software Sushi JournalHealthcare workflow pattern

A Risk Estimate Is Not the Decision

Keep the model-generated estimate and the professional's recorded judgment as different records in the same workflow.

Still life of two blank paper records kept apart on a vellum desk, with an oxblood ledger and brass tools. No patient information is shown.

Logical workflow based on project documentation

How the responsibilities connect

Step through the documented path. These are logical responsibilities, not a diagram of a particular cloud deployment or technology stack. The illustration is conceptual and contains no patient records.

Workflow step

A response can reveal a dependent question

The assessment interface collects structured responses. Conditional questions and completion checks apply before the user proceeds. Hidden branches stay out of the path.

A risk estimate is not the end of a healthcare assessment. It must reach the professional who reviews the case, stay connected to the assessment data, and remain distinct from the decision that person records. When an application collapses those two records into one field, later review cannot separate what the model estimated from what the professional decided.

Software Sushi delivered this pattern in a healthcare project that reached production, spanning risk-prediction models, a prediction service, a structured assessment interface, and backend review workflows. This article explains the pattern using only the public healthcare risk prediction case. The write-up is anonymous and includes no patient records, customer identifiers, or production screenshots. The capabilities reflect project documentation rather than an audited inventory of every deployed version.

A model estimate is not the recorded decision

A common failure mode in prediction software is treating the model's response as the finished case and storing a single mutable status field.

In this workflow, the prediction response is only an input to review. The backend exposes explicit operations for recording clinical decisions and interventions. Each recorded decision is written as its own record, leaving the original estimate untouched.

How the workflow is built

The assessment interface comes first. It collects structured responses, including conditional questions where an answer reveals a follow-up while other answers leave that branch hidden. Completion checks apply to visible follow-ups before the user proceeds, so hidden branches stay out of the data passed to prediction and review.

Prediction sits behind a dedicated prediction service. The service accepts questionnaire data and returns a risk-related estimate for the assessment workflow. It stops at the estimate and does not record the decision.

Review brings the estimate into view alongside the structured responses, assessment history, and case context. After reviewing both, the professional records a clinical decision or intervention through a separate backend operation. These steps describe logical responsibilities rather than a specific cloud deployment: models produce estimates, the interface captures valid inputs, and backend workflows manage history, decisions, and follow-up settings.

A worked example of two records

The interactive demo below uses synthetic data and a transparent toy scoring function computed in the browser. It is not a clinical tool and does not use client data. Generate an example estimate with a model version and an inputs hash, then record a separate decision. If you try to edit the estimate, the demo appends an amendment and keeps the original record intact.

Interactive demo

Write an estimate, then a separate decision

Demo with synthetic data, not a clinical tool. Every assessment, weight, score, and decision is an invented example value.

Choose an example assessment

Toy scoring function, not a clinical model

Toy model version

score = clamp(0, 1, 0.1 + 0.35×follow-ups + 0.2×prior-review count + 0.25×extra-path flag)

For this assessment the toy function yields an example score of 0.45 (example-moderate) on a 0–1 scale invented for this demo.

Visible follow-ups completed
1
Prior-review count (0–2)
0
Extra-path flag
0

When a reviewer disagrees with an estimate, treat that disagreement as a valid outcome rather than an error to hide by editing the prediction. The demo audit log is append-only, and its disagreement summary counts only the decisions you record in this session.

Design the distinction into the product

The public case describes the logical workflow. The path and checklist below are general product-design practices that preserve the same separation in the data layer, rather than a description of one specific deployment.

Product design

Keep the records distinct

  1. 01AssessmentStructured responses and history
  2. 02EstimateA model output for review
  3. 03ReviewThe professional sees both
  4. 04DecisionA separate recorded operation
  • Store assessment, estimate, and decision as separate records that share an assessment identifier.
  • Leave the estimate unchanged once written. Amendments append; they do not overwrite.
  • Record the model version and an inputs hash on every estimate.
  • Treat disagreement as a first-class outcome, with a rationale, on the decision record.
  • Log who reviewed, when, which estimate they saw, and what they decided.
  • Compare estimates with later decisions by model version. A rising disagreement rate is a signal to investigate, not a clinical result.
  • Do not return a decision from the prediction API, or show an estimate without the assessment.

Pay special attention to re-evaluation. If a user updates a conditional answer and triggers another prediction run, write a new versioned estimate tied to the updated inputs hash instead of overwriting the earlier row. That way, any later review can verify the exact estimate the professional saw when recording a decision.

The boundary breaks when records collapse: treating an estimate as the decision, mutating estimates in place, returning decisions from the prediction service, showing a score without the underlying assessment, omitting the model version, or dropping reviewer rationale. Teams building healthcare workflows around sensitive data also need clear data boundaries before launch. See our guides on evaluating application readiness for PHI and boundary checks for healthcare LLMs.

Further reading

These official public sources discuss professional review and decision support. They do not endorse Software Sushi, this article, or the anonymous case, and they do not determine the regulatory or certification status of the work described here.

Frequently asked questions

Is a model-generated risk estimate a clinical decision?

No. In this workflow, the estimate and the recorded decision are separate records. A qualified professional reviews the estimate alongside the assessment and records a decision through an explicit operation.

What does the prediction service return?

The service accepts questionnaire data and returns a risk-related estimate for use in the assessment workflow. It does not record the clinical decision.

Is the demo taken from the client project?

No. The demo uses synthetic assessments and a toy scoring function. Every value is invented. The public case does not publish scores, identifiers, or review notes, and the demo is not a clinical tool.

Bring a prediction capability into a usable workflow

The useful unit of delivery in this work was not an isolated model endpoint. It was the application around the prediction: structured collection, a defined service boundary, review with context, and a recorded professional decision.

If you are building a healthcare assessment or decision-support product, we can help connect prediction engineering with the interfaces, application services, and review steps around it. Explore our healthcare AI and LLM development services, review a fixed-scope healthcare AI pilot, or book a call.