Rakathon 2026 · projects
All projects
Challenge winner

An AI-powered guide to oncology for Ostrava University Hospital

Holub · Oncology AI guide · Ostrava

AI guide for cancer patients at Ostrava University Hospital: it provides sensitive responses based solely on approved FNO materials, whilst the rules ensure that warning signs are monitored.

Presentation: https://irishealth-team76-9760229d.swedencentral.azurecontainer.io/prezentace

Cancer patients have the most questions between appointments, often in the evening and at night, when there is no one to ask. Ostrava University Hospital has dozens of informed consent forms, leaflets and web pages, but these are scattered and often only available as scanned PDFs. The guide makes them accessible through a chat.

For patients

  • A mobile chat service that responds in a human, empathetic manner and using only approved FNO materials. Each answer is accompanied by a source and a webpage.
  • It asks for clarification before replying: options A–D, rating scales, and full questionnaires question by question (EQ-5D, GAD-7 and others, seven in total).
  • Warning signs are monitored by fixed rules, not a model. For example, a fever on the 9th day after chemotherapy means ‘do not wait until morning’; call 155 and find out where to go.
  • When a human is needed, it provides contact details for a nurse or doctor. It also shows what other people in the same situation are asking.
  • Leaflets are converted into cards directly within the chat; the patient does not need to leave the app.

For doctors

  • Patients: summaries of conversations, emotional scores (1–5), completed questionnaires.
  • Statistics: what patients are asking, how confidently the AI responded, and where materials are missing.
  • Resources: the clinic itself activates, uploads and edits materials and contact details.

Technology

  • InterSystems IRIS for Health: FHIR R4 (patients, questionnaires, reports), SQL (conversation transcripts, assessments) and vector search directly within IRIS (382 documents, 3,493 vectors).
  • Azure OpenAI in the EU Data Zone, agent in LangGraph: detectors and rules → model → a second model verifies each statement against the source.
  • 192 documented AI behaviour rules, 10 response types, protection against prompt injection, no diagnosis or prognosis.
  • React 19, TypeScript, Node.js 24, Python, Docker.

Give it a go

  • Frontend-only demo, works even without servers. The principle remains the same: the entire workflow is simulated according to the same rules as the live guide.
    • Patient, 7 runs from a new patient to a fever and 155: https://rakathon-pruvodce.vercel.app/demo
    • Doctor, patients, statistics and resources: https://rakathon-pruvodce.vercel.app/demo-doctor

Status

Working prototype. The full version is running on Azure: InterSystems IRIS for Health, with the backend in Node.js and Caddy on Azure Container Instances.

Had before
Žádný kód ani prototyp. Tým se dal dohromady až na hackathonu a společně jsme začali pracovat 16. 10. okolo 16:00 po vizi. Ľubomír měl z dopoledne na svém serveru připravené prostředí: InterSystems IRIS for Health z veřejného FHIR AI Hackathon Kitu. Dál jsme použili materiály FNO od zadavatele a syntetická data pacientů. Všechno ostatní (aplikace pro pacienta i lékaře, backend, agent, pravidla, indexace materiálů) vzniklo až potom.
Use of AI
Jazykový model (GPT v Azure, EU Data Zone) odpovídá pacientům jen nad schválenými materiály FNO. Ty jsme rozdělili na úseky a uložili jako vektory (multilingual E5) do InterSystems IRIS. Model dostane jen nalezené pasáže a kontext pacienta z FHIR a cituje zdroj i stránku. Každou zprávu řídí graf v LangGraph: nejdřív detektory a pevná pravidla (varovné příznaky řeší pravidlo, ne model), pak model, nakonec druhý model ověří každé tvrzení proti citovanému zdroji. Model volí i podobu odpovědi: doptání A–D, škálu, dotazník, kontakt na sestru nebo varování. Nedává diagnózu ani prognózu a hlídá pokusy o prompt injection. Chování AI určuje 192 sepsaných pravidel, která se dají upravit.
Impact
Pacient dostane odpověď ve chvíli, kdy ji potřebuje, i v noci, ze zdrojů své nemocnice a se zdrojem. Varovné příznaky po chemoterapii se nepřehlédnou: průvodce řekne, ať nečeká do rána, a pošle na 155 nebo urgentní příjem. Sestrám ubude opakovaných dotazů po telefonu. Lékař vidí, s čím se pacienti trápí a komu je emočně špatně. Klinika vidí, kde materiály chybí. Vyplněné dotazníky (EQ-5D, GAD-7) se ukládají ve FHIR a jsou použitelné pro péči i výzkum. Další krok je pilot na onkologii FNO, potom další oddělení, nemocnice a data pojišťoven.
Who benefits
Patients and their families, Doctors and nurses, Hospitals and care providers, Health insurers
InterSystems technologies
Yes — InterSystems IRIS for Health je datové jádro. FHIR R4 server drží pacienty, vyplněné dotazníky (QuestionnaireResponse) a zprávy. Agent z něj čte kontext pacienta a dotazníky do něj zapisuje, takže výstupy jsou připravené pro napojení na nemocniční systém. SQL tabulky v IRIS drží přepisy rozhovorů, hodnocení odpovědí a zpětnou vazbu. Vektorové hledání přímo v IRIS (sloupec VECTOR, embeddingy multilingual E5) nad 382 dokumenty a 3 493 vektory z materiálů FNO.

Machine translation from Czech

Team
Holub — Jan Kondula, Ľubomír Hlavko
Challenge
Oncology AI guide · Ostrava