We recommend that you upgrade to the latest version of your browser.
Using Artificial intelligence (AI) to plan doctors’ work schedules

Clinical innovation in a single weekend

On a Friday afternoon in April, Jon Riise, Head of the Department of Oncology at Oslo University Hospital, asked Andreas Kleppe, Research Director at the Institute for Cancer Genetics and Informatics, whether ICGI’s AI expertise could be used to develop an application that would simplify the complex process of planning doctors’ work schedules.

Published 6/22/2026
Sepp De Raedt presenting "Vaktplan" at Radiumhospitalet

Photo: M. Seiergren

Sepp De Raedt from ICGI presenting the application to an engaged clinical audience.

“It is difficult not to be impressed by how quickly Andreas Kleppe and Sepp De Raedt understood what we were trying to achieve and translated it into a working prototype,” says Eivind Storaas, Assistant Head of Department at the Department of Oncology (AKB).

Together with Jon Riise, Head of AKB, he highlights the close collaboration between clinicians and developers as an important success factor.

“It has been inspiring to see how committed the ICGI team has been to understanding the clinic’s responsibilities in patient care. In a short time, they have turned this insight into a solution with clear value for everyday clinical practice,” says Riise.

ICGI has over 20 years of experience in advanced image analysis, digital pathology, and AI to improve cancer diagnostics and prognostication.

Since April, developers from ICGI have worked closely with oncologists to further develop a new work-scheduling application for the clinic. Close dialogue, rapid feedback and continuous adjustments have resulted in an improved prototype, which is now being tested at the Section for Breast Oncology.

“ICGI’s strength is that we have broad expertise in software development and AI. The distance from idea to prototype is short – days rather than months or years,” says Kleppe.

The project demonstrates how artificial intelligence can address specific, practical challenges in clinicians’ daily work, streamline time-consuming manual tasks, and enhance overall workflow.

At the back, from left: Hanne Frydenberg (AKB), Jon Riise (AKB),), Line Kristine Greve (Teknologi og innovasjonsklinikken, TIK) Front, from left: Eivind Storaas (AKB), Andreas Kleppe (ICGI), Sepp De Raedt (ICGI) and Bård Olsson (TIK).

Photo: M. Seiergren

From top left: Hanne Frydenberg (AKB), Jon Riise (AKB), Line Kristine Greve (TIK).
From left, in front row: Eivind Storaas (AKB), Andreas Kleppe (ICGI), Sepp De Raedt (ICGI), Bård Erik Nilsson (TIK)

A helping hand in clinical planning

Preparing doctors’ work schedules requires expertise, time and patience. Planners must balance many factors, including required functions, working hours, capacity, specialist competence, holidays, sickness absence and individual needs.

Riise and Storaas estimate that around one per cent of senior consultants’ time at AKB is currently spent on work scheduling. Much of the planning is done manually in Excel, making the process cumbersome and time-consuming.

A key benefit of the new solution is that schedules can be planned further ahead. This gives doctors greater predictability and makes it easier to ensure continuity in patient care, especially in outpatient services.

The prototype has been developed using AI-supported code generation. The code has subsequently been adapted, further developed, and quality-assured by developers at ICGI to ensure that the solution meets both AKB’s needs and the hospital’s requirements.

Usability has been a key priority throughout the development of the application. An integrated AI assistant allows users to describe what they want to do in ordinary language.

“The AI assistant understands ordinary language, so users can interact with it in the language of their choice, for example, Spanish, Arabic or Norwegian,” explains Sepp De Raedt, System Developer at ICGI.

Hanne Frydenberg at the Section for Breast Oncology has played a central role in testing the solution in the clinical setting where it will be used.

“The user interface is far more intuitive than managing work schedules manually in Excel, and the chat function is an added benefit, especially when changes need to be made,” she says.

Graphical user interface, "TimeSchedule"-application
The user interface is optimised to provide a clear overview and intuitive use, including drag-and-drop functionality. The AI assistant is available in the chat window on the right-hand side of the user interface.

The core of the solution is a model that generates a proposed work schedule in a few seconds, based on the department’s capacity and resources, as well as the doctors’ competence and availability.

The model follows a set of rules and requirements that the planner can activate or deactivate in a separate interface. Requirements and rules can be edited, new ones can be added, and existing ones can be removed. The requirements are divided into two main categories:

  • Non-negotiable requirements: Some functions require specific conditions that must be met for the task to be carried out. This may include a particular combination of healthcare personnel, a specific modality, or the need for some doctors to divide their time between two hospital locations.
  • Flexible requirements: These include more adaptable functions, such as holiday requests, equipment maintenance that makes a room unavailable for a period, or varied allocation of shifts to support doctors’ job satisfaction.

The application has an intuitive user interface where the planner can easily view a grid showing who has been assigned to the different locations, the type of function and the relevant days of the week. If adjustments are needed, the planner can use a simple drag-and-drop function to assign doctors to specific shifts or swap shifts between doctors.

If non-negotiable requirements are not met, the application displays a warning and suggests how the work schedule can be changed to avoid breaches of these requirements. Adjustments can be made for the whole week or for individual days.

The application is a support tool only, and the final work schedule is always approved manually.

Security

The application only handles work-related information that planners already have access to through their role, such as names, competence, availability and adaptation needs. It runs on a dedicated server in a segregated hospital network with GPU capacity, so that all AI processing takes place locally.

“Role-based access, separation between sections and departments, and the fact that the application does not process sensitive data all support compliance with the strict security requirements at Oslo University Hospital,” says Bård Erik Nilsson, ICT Adviser at the Division of Technology and Innovation (TIK).

Further development

The project is still at an early stage. Although the prototype is now being tested in clinical practice, the solution will continue to be further developed. 

Commercial systems for planning doctors’ work schedules exist, but they can be less flexible and may require time-consuming and costly procurement and adaptation processes. By developing a smaller, local solution in close collaboration with the doctors and planners who understand the clinical context, the project has quickly produced a useful tool. 

“This is a good example of user-driven innovation,” says Line Kristine Greve, Assistant Head of TIK, who helped connect AKB and ICGI.

“We know from the e-health literature that the value of IT depends on context. Value is created where local requirements, the right expertise and available governance meet,” adds Storaas.

Greve emphasises that needs-driven solutions must also be considered alongside existing systems and initiatives to ensure coherence, scalability and appropriate use of resources.

Several sections in AKB, as well as departments in other divisions, have already expressed interest in testing the application.

“The potential for useful and sustainable local innovation through close dialogue between technological and clinical expertise is still largely untapped in the healthcare service,” concludes Kleppe.