Patient completes the consultation form. Auto-denial logic runs in real time.
flowchart TD A["Display consultation form
for category"] A --> B["Patient answers questions"] B --> C{"Does any answer
trigger auto-denial?"} C -->|YES| D["✖ AUTO-DENIED"]:::redNode D --> D1["Show denial message:
'This treatment may not be
suitable — see your GP'"] D1 --> D2["Log denial reason +
email patient"] D2 --> D3["Notify clinical team
(for awareness)"] D3 --> D4["END — Auto-Denied"]:::redEnd C -->|NO| E["Continue to
next question"] E --> F{"All questions
complete?"} F -->|NO| B F -->|YES| G["Patient confirms consent:
T&Cs + remote consultation"] G --> G2["Submit consultation"]:::greenNode G2 --> H["→ PHASE 3"]:::nextPhase classDef redNode fill:#fef2f2,stroke:#f87171,color:#991b1b,stroke-width:2px classDef redEnd fill:#7f1d1d,stroke:#f87171,color:#fff,stroke-width:2px classDef greenNode fill:#f0fdf4,stroke:#34d399,color:#065f46,stroke-width:2px classDef nextPhase fill:#1e3a5f,stroke:#60a5fa,color:#fff
Annotation
- Forms are configurable in the backend — questions, order, and logic rules per category
- Questions cover: medical history, current medications, allergies, symptoms, previous treatments
- Auto-check logic runs on each answer in real time
- Example disqualifier: patient selects a contraindicated medical condition
- Auto-denial happens before payment is taken — no refund needed
- Patient may resubmit — see Phase 10 (repeat submission detection)
Consent
- Before submission, patient must tick consent: T&Cs acceptance + agreement to remote consultation
- Consent is also required at instalment renewal — patient confirms nothing has changed
- After the 12-month hard limit, a full new consultation form is required
Abandonment recovery
- If a logged-in patient starts but does not complete the consultation, the system logs the incomplete session
- After a configurable timeframe (e.g. 1 hour / 24 hours), system sends a reminder email
- Only works for logged-in users (we need their email)
- Non-logged-in abandonments cannot be recovered