The scenario: some photos were read and others failed
A user uploads a set of photos from a visit or purchase, then analysis stops partway through. The application needs to explain which documents were processed, what the system found and what remains unfinished. Requiring the user to start again can create duplicates; pretending the whole set succeeded can hide missing source information.
The reviewed Movo-X medicine-intake supplement defines an episode-based workflow with partial-analysis states, source-linked results and an explicit acceptance step before routine changes. This chapter explains that software contract. It does not interpret a real prescription, recommend a medicine or report a new clinical validation or live patient workflow.
Keep the upload, analysis and routine as different states
The contract treats uploaded photos as episode attachments, analysis as a separate process and medicine-routine proposals as another stage. Those boundaries let the client show progress without making upload success imply that a routine item was created. A document can exist while analysis is pending, and an extracted item can require clarification before it is accepted.
For a product team, model the state transitions before drawing the final screen. Identify who can start analysis, what input the analysis uses and what response means that the result is available. Preserve the distinction between a technical processing state and a user’s decision to add something to their routine. They are separate outcomes with different acceptance evidence.
Represent partial completion explicitly
The reviewed contract includes running, ready, partial and failed analysis states. It describes retrying missing analysis rather than treating every retry as an instruction to reread the complete set. The client can then explain that one source failed while another produced a usable result. That is more informative than either a global success banner or a generic error that discards completed work.
A synthetic rehearsal should include one readable image, one unsupported or unreadable source and an interruption while the app is backgrounded. On return, the app should obtain current server state rather than reconstruct completion from an optimistic local counter. This chapter proposes that acceptance scenario; it does not claim it was executed on a physical device during the source review.
Preserve where each proposed fact came from
The supplement describes photo classification, per-photo routing information and results that retain supporting sources. A purchased product and a prescription line can supply different kinds of information. Combining them without preserving that distinction can make the application imply that packaging or an invoice established a prescribed schedule.
A useful interface lets the reviewer inspect the provenance of an item and understand which details still need confirmation. The acceptance record should test conflicting sources and incomplete details, not only a clean sample where every field agrees. The engineering objective is traceable input handling. It is not proof that automated extraction can determine the right treatment.
Do not invent missing schedule information
The documented flow distinguishes products needing details from accepted routine items. It describes proposals without a dose or frequency when those details are absent and a later edit-and-confirm path. This is an important boundary for AI-assisted intake: a structured response is not a reason to fill a missing clinical value with a plausible default.
The software can show the unresolved field and the appropriate next step without presenting an interpretation as an established prescription. Any medical decision belongs with the appropriate professional and product review process. This article concerns how the application preserves missingness and requires confirmation; it does not prescribe how a patient should set or change a medicine schedule.
Confirmation and reminders need their own acceptance rule
The supplement describes user acceptance before items are added and reminders that use confirmed items with times. An analysis result, an available proposal and an active reminder are therefore distinct states. A client should not make the confirmation step disappear merely because an “add all” interaction is convenient for a complete, reviewed set.
Test the boundaries with synthetic items that require details, items already accepted and a retry after an uncertain response. The desired result is a consistent routine state that the user can inspect, not repeated entries or reminders created from unfinished proposals. These are acceptance requirements derived from the contract, not a new verification of the server or notification delivery.
Recheck access during long-running work
The contract describes access and trust checks for background analysis, including changes in caregiver permission while the process is working. That matters because authority at the moment of upload may not be the same as authority when the next document is processed. A long-running task must fit the permission lifecycle rather than acting as an indefinite continuation of the original screen session.
An appropriate isolated test can change a synthetic relationship between processing steps and inspect the resulting state and operator feedback. It should also check what the client shows when the user returns to an episode that is no longer accessible. The details of production enforcement require their own review; this chapter does not disclose operational limits or exercise a live relationship change.
A focused cross-platform delivery milestone
Commission one resumable photo-intake journey with a shared contract, controlled documents and explicit states on both clients. The handover should include source provenance, partial-failure behaviour, duplicate-prevention expectations, confirmation rules and the cases that remain outside scope. Record separately whether tests were run on the server, in a simulator or on a physical device.
That gives the CTO and product owner a practical way to assess the feature without relying on an impressive demonstration of one successful image. The valuable engineering work is the full journey: incomplete inputs remain incomplete, partial work stays understandable and a user can review the proposed change before the routine or reminder behaviour changes.
What the isolated processing tests establish
The pinned medicine-photo intake suite was rerun with synthetic documents, generated images, in-memory storage and mocked provider/database responses. All 22 tests passed, with default external fetch disabled. The cases include classification, duplicate source handling, proposal eligibility, request validation and retry behaviour. These are software-fixture results, not clinical accuracy validation or physical-device acceptance.
The tests also distinguish original readings from derived product views. A source test permits a derived-storage failure to leave the readings intact while processing completes. That is an operating boundary worth reviewing separately: the application should make incomplete derived information understandable and retain a way to investigate. The result should not be described as proof that every product view is complete whenever a processing state is terminal.
About this engineering series
Written by Omer Muneer Qazi from a review of Movo-X implementation and dated engineering records. This article explains source behaviour and historical observations; current production, clinical outcomes and store availability require their own verification. Examples are synthetic and proposed test cases are identified as such.
Explore the Movo-X engineering series → · Related implementation experience →
Discuss a similar engineering problem
Send the workflow, current platform and the decision your team needs to make. I can help define an implementation or review scope with concrete acceptance evidence.
Discuss your project on WhatsApp ↗