<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>A. Monaldini);</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Scalable and Ethical Medical Scheduling: An ASP-Based Framework with Patient-Centered Experimental Validation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Valentina Pitoni</string-name>
          <email>valentina.pitoni@univaq.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alina Vozna</string-name>
          <email>alina.vozna@student.univaq.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Monaldini</string-name>
          <email>andrea.monaldini@student.univaq.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefania Costantini</string-name>
          <email>stefania.costantini@univaq.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dawid Pado</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Blueprint Personas, Answer set programming, Healthcare AI, Real-Time Decision Making</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Information Engineering</institution>
          ,
          <addr-line>Computer Science and Mathematics</addr-line>
          ,
          <institution>University of L'Aquila</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Gruppo Nazionale per il Calcolo Scientifico - INdAM</institution>
          ,
          <addr-line>Roma</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Pisa</institution>
          ,
          <addr-line>Largo B. Pontecorvo, Pisa, 56127</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>This paper presents a modular, patient-centered scheduling framework for medical appointments based on Answer Set Programming (ASP). The system integrates Blueprint Personas-structured patient models reflecting clinical, cognitive, and social factors, to enable personalized and ethically informed decisions. We validate the approach through simulations with up to 2000 patients across scenarios of increasing complexity. Results show that the system eficiently generates optimal, constraint-compliant schedules in real time, with linear scalability. This confirms the efectiveness of ASP as a transparent and adaptable tool for healthcare scheduling.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Eficient scheduling of medical appointments is vital to optimizing healthcare delivery and improving
patient outcomes. Traditional systems, often based on manual or rule-based mechanisms, struggle to
balance competing constraints such as patient urgency, clinician availability, and accessibility, resulting in
ineficiencies such as extended waiting times, no-shows, and underused resources [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
      </p>
      <p>
        This paper builds on a previously accepted work in which we introduced a patient-centered scheduling
framework grounded in Answer Set Programming (ASP) [
        <xref ref-type="bibr" rid="ref3 ref4 ref5 ref6">3, 4, 5, 6</xref>
        ], a declarative paradigm suitable
for modeling complex decision-making with multiple constraints. ASP enables real-time adaptability,
constraint satisfaction, and transparent reasoning, making it particularly suited for dynamic healthcare
scenarios. A distinguishing feature of our approach is the integration of Blueprint Personas [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], structured
patient models that capture individual preferences, accessibility needs, and clinical priorities. These
personas enable personalized, ethically aligned scheduling decisions that account for social, cognitive, and
economic factors. The proposed solution is designed to complement centralized healthcare infrastructures
such as Italy’s Centro Unico di Prenotazione (CUP) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], which currently lack support for nuanced and
patient-centered constraints. In contrast, our ASP-based model supports complex prioritization, optimizes
resource allocation, and reduces administrative overhead.
      </p>
      <p>In this paper, we focus on the experimental validation of the framework, providing a detailed empirical
evaluation of its performance and adaptability in realistic healthcare scheduling scenarios. Our work
confirms that a modular and fully declarative scheduling system, centered on individual patient needs,
can efectively manage complex constraints in real time.</p>
      <p>Joint Proceedings of the Workshops and Doctoral Consortium of the 41st International Conference on Logic Programming,</p>
      <p>CEUR
Workshop</p>
      <p>ISSN1613-0073</p>
      <p>The paper is organized as follows: Section 2 reviews related work; Section 3 formalizes the problem;
Section 4 presents the system architecture; Section 5 discusses the empirical evaluation; and Section 6
concludes the paper.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        The scheduling of medical appointments has been extensively investigated using queueing theory,
simulation, and optimization methods to address uncertainty in service delivery and resource limitations [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
Recent research extends these approaches through decision-support systems for outpatient scheduling [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        Optimization techniques, including Mixed-Integer Linear Programming (MILP), metaheuristics, and
Stochastic Programming, have been employed to improve access and resource usage [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Algorithms such
as Fuzzy Ant Lion Optimization (FALO) and Discrete Event Simulation (DES) integrated with behavioral
models have enhanced scheduling fairness and adaptability to cancellations [
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ]. Reinforcement
learning and deep learning methods have also shown promise in predicting patient behavior and minimizing
waiting times [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ].
      </p>
      <p>
        Answer Set Programming (ASP) has emerged as an efective approach in complex healthcare scheduling.
It has been applied to operating room [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] and nurse scheduling [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], and to clinical pathway planning
using Logic-Based Benders Decomposition (LBBD) for chronic patients with comorbidities [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Kanias
[
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] further demonstrated the integration of ASP with databases for fairness-aware rescheduling at scale.
      </p>
      <p>Despite these advances, practical issues such as dynamic constraints, real-time updates, and individual
patient needs remain insuficiently addressed [ 19]. Decentralized models (e.g., DCOPs) have introduced
negotiation-based agent scheduling [20], but still lack holistic patient modeling.</p>
      <p>Our approach leverages the declarative expressiveness of ASP to ensure strict constraint satisfaction,
explainable reasoning, and adaptability. Unlike data-driven or heuristic-based techniques, our method
integrates medical, behavioral, and accessibility constraints through patient-centered Blueprint Personas.
This bridges the gap between theoretical optimization and real-world scheduling needs in centralized
healthcare systems.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Problem Description and Formalization</title>
      <p>The scheduling of medical appointments is a complex task which requires coordination among clinical
urgency, patient preferences, provider availability, and resource limitations. We model the scheduling
process as a multi-objective constrained optimization problem and solve it using Answer Set Programming
(ASP), which enables the declarative specification of constraints and preferences.</p>
      <p>The problem involves three primary entities: patients, doctors, and clinics. Patients have varying
urgency levels and may express preferences regarding time slots, clinics, and environmental conditions.
Doctors operate under workload limits and are afiliated with specific clinics. Clinics ofer appointment
slots and are subject to resource and budget constraints.</p>
      <p>The goal is to generate appointment assignments that satisfy all hard constraints, such as compatibility,
availability, and accessibility, while optimizing soft objectives like minimizing patient waiting time,
balancing doctor workload, and satisfying patient preferences.</p>
      <sec id="sec-3-1">
        <title>3.1. User Modeling and Personas</title>
        <p>Efective appointment scheduling extends beyond clinical coordination; it must also address individual
patient needs. To this end, we adopt Blueprint Personas, structured, evidence-based patient archetypes
developed in European digital health programs [21]. These personas integrate clinical, social, behavioral,
and cognitive dimensions, providing an abstraction layer that enhances patient-centered decision-making.
Patient Personas. Patient profiles incorporate medical conditions, environmental constraints, and
preferences about clinics, time slots, sensory conditions, and specific doctors. Although digital literacy is
not directly used in scheduling logic, it supports system-level customization such as interface selection
or telemedicine eligibility. We define three levels of patient complexity Generally healthy individuals
prioritize convenience but have no critical constraints; Patients with chronic conditions require recurrent
appointments, cost-sensitive scheduling, and consistent follow ups; Patients with complex needs may
need sensory-friendly environments, accessible infrastructure, and caregiver support. Travel distance is
also encoded, with telemedicine and home care set to zero. The following ASP snippet illustrates a sample
patient profile (p), expressing clinic (c) and sensory preferences, doctor requirements, and appointment
slots:
1 patient(p1, "Mario", "Rossi", "L'Aquila").
2 disabled(p1).
3 preference(p1, c3).
4 sensory_preference(p1, "noise").
5 doctor_preference(p1, "GP", "chronic_diseases", 10).
6 appointment_preference(p1, c3, 1850, 2000).
7 distance(p1, c3, 15).</p>
        <sec id="sec-3-1-1">
          <title>Listing 1: Patient Profile with Preferences and Constraints</title>
          <p>Clinician Personas. Clinicians are described by their specialty, operational context, and system
engagement, enabling the scheduler to anticipate real-world constraints and improve care coordination.
Visits are categorized by type, chronicity, cost, and whether in-person attendance is required. Multi-session
treatments specify minimum and maximum intervals:
1 visit_type(v1, "Cardiology", "Heart Attack", 0, 0, 0).
2 visit_cost(v1, 1000).
3 required_sessions(v1, 2).
4 session_interval(v1, 14, 28).</p>
        </sec>
        <sec id="sec-3-1-2">
          <title>Listing 2: Visit Type Definition and Constraints</title>
          <p>Clinic availability and patient requests are represented with timestamps and individual urgency levels,
enabling fine-grained scheduling aligned with medical and personal needs:
1 patient_interval(p1, v1, 21, 28).
2 need(p1, v1, 3).
3 availability(c1, v1, 1727308800).</p>
        </sec>
        <sec id="sec-3-1-3">
          <title>Listing 3: Patient Needs Preferences and Clinic Availability</title>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Rules of Inference</title>
        <p>In the proposed ASP-based model, inference rules are employed to derive utility scores from patient
preferences. These rules are not enforced as hard constraints but instead support the optimization process
by assigning weighted values to specific scheduling features.</p>
        <p>Preference-Based Indicators. Patient and doctor preferences are translated into utility indicators.
For example, a preferred clinic or a doctor meeting a patient’s specialization and experience requirements
contributes positively to the score:
1 clinic_preference_effect(Patient, Clinic, 1) :- preference(Patient, Clinic).
2 clinic_preference_effect(Patient, Clinic, 0) :- not preference(Patient, Clinic).
3
4 doctor_preference_effect(Patient, Doctor, 1)
:5 patient(Patient, _, _, _),
6 doctor(Doctor, _, _, _, _, Type),
7 doctor_experience(Doctor, Specialization, YearsExperience),</p>
        <sec id="sec-3-2-1">
          <title>Listing 4: Clinic and Doctor Preference Efects</title>
          <p>Preference indicators such as doctor_preference_effect are introduced as auxiliary predicates to
modularize the representation of soft constraints. Instead of defining multiple weak constraints, we
aggregate these indicators in a single optimization statement (Listing 7), enabling fine-grained weight control
and a unified cost model. This design choice improves readability, maintainability, and explainability of
the optimization process.</p>
          <p>Time and Sensory Alignment. Preferences for appointment time windows and sensory conditions
(e.g., noise sensitivity) are also integrated. A patient receives a utility bonus if the appointment time
aligns with their preferred interval:
1 appointment_preference_effect(Patient, Time, Clinic, 1)
:2 availability(Clinic, _, _, Time),
3 appointment_preference(Patient, _, Start, End),
4 X = (((Time \ 86400) * 3600) * 100) + (((Time \ 3600) / 60) / 3) * 5,
5 X &lt;= End, X &gt;= Start.
6 % Additional rules penalize non-aligned time slots</p>
        </sec>
        <sec id="sec-3-2-2">
          <title>Listing 5: Efect of Time Preferences Environmental mismatches (e.g., noisy clinic during a patient’s sensitive period) are penalized using the following rule:</title>
          <p>1 sensory_penalty(Patient, Clinic, Time, Level)
:2 sensory_preference(Patient, Type),
3 environmental_condition(Clinic, Type, Level, Start, End),
4 Time &gt;= Start, Time &lt;= End.
5 sensory_penalty(Patient, Clinic, Time, 0) :- not sensory_preference(Patient, _).</p>
        </sec>
        <sec id="sec-3-2-3">
          <title>Listing 6: Sensory Penalty Calculation</title>
          <p>Optimization Statement. These indicators are aggregated in the ASP solver’s optimization statement.
It seeks to minimize travel and waiting time while maximizing preference satisfaction. The following
expression encodes the trade-ofs:
1 #minimize {
2 (Distance * 10000) + WaitTime + (Penalty * 1000)
3 (ClinicPreference * 10000)
4 (DoctorPreference * 1000)
5 (AppointmentPreference * 1000) :
6 distance(Patient, Clinic, Distance),
7 appointment(Patient, Clinic, Doctor, _, Time),
8 current_time(CurrentTime),
9 WaitTime = Time - CurrentTime,
10 sensory_penalty(Patient, Clinic, Time, Penalty),
11 clinic_preference_effect(Patient, Clinic, ClinicPreference),
12 doctor_preference_effect(Patient, Doctor, DoctorPreference),
13 appointment_preference_effect(Patient, Clinic, Time, AppointmentPreference)
14 }.</p>
        </sec>
        <sec id="sec-3-2-4">
          <title>Listing 7: Optimization Function Using Weighted Utilities</title>
          <p>This optimization balances utility-based soft preferences with operational constraints, enabling the
generation of personalized, explainable, and ethically grounded schedules.</p>
          <p>The weights used in the optimization function (Listing 7) were empirically chosen based on clinical
priorities and expected user impact. Waiting time is penalized most heavily, reflecting the importance of
timely access to care. Travel distance and sensory discomfort carry medium weights, as they significantly
afect user satisfaction, particularly for vulnerable patients. Preference satisfaction (clinic, doctor, and
time) is weighted moderately to encourage alignment with user needs, without overriding urgency or
feasibility constraints. These values were fine-tuned through iterative testing to balance solver performance
and realistic scheduling behavior. The generation of feasible appointment combinations is handled via
standard ASP choice rules. These rules non-deterministically produce all admissible assignments from
available slots, constrained by clinical needs and visit requirements. For instance, appointments are
generated with cardinality bounds based on required sessions, enabling the solver to explore multiple
valid configurations before applying constraints and optimization.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. System Architecture</title>
      <p>The scheduling system is designed as a layered architecture built upon a microservice-based infrastructure.
Its modular structure ensures scalability, maintainability, and seamless integration with external healthcare
platforms.</p>
      <p>The User Layer consists of front-end interfaces and IoT components that allow patients or clinicians
to trigger appointment requests. These interfaces may include web applications or automated health
monitoring systems capable of initiating bookings based on specific thresholds.</p>
      <p>At the core, the Business Logic Layer implements the decision-making pipeline through two lightweight
Flask-based services. The first service handles REST API requests, performs user authentication (e.g., via
JSON Web Tokens), and translates user input into ASP facts. The second service aggregates these facts,
builds a complete ASP program every 60 seconds, and solves it using the Clingo solver. The value of 60
seconds is chosen as a compromise between latency perceived by the user and computational load: this
time window allows you to accumulate asynchronous requests and process them in batch with Clingo.
This allows you to optimize the eficiency of the solver, avoiding too frequent launches.</p>
      <p>The Data Management Layer relies on a MySQL database that stores persistent information, such as
clinic schedules, patient preferences, budget constraints, and environmental parameters. All interactions
adhere to ACID principles to guarantee consistency.</p>
      <p>The system ofers asynchronous RESTful APIs to support functionalities like submitting appointment
requests, retrieving booking status, and querying clinic availability. By decoupling the solver from the
interface logic and data storage, the architecture supports independent scaling and updates of individual
components.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Experimental Evaluation</title>
      <p>To demonstrate the capabilities of our ASP-based scheduling framework, we present three realistic
scenarios reflecting common healthcare challenges. All experiments were executed using Clingo 5.7.0. 1
The scenarios highlight how the system handles multiple constraints, such as urgency, accessibility, and
preferences, while producing optimal and constraint-compliant solutions.</p>
      <p>The experiments were run on a machine with an Intel Core i7-9750HF CPU @ 2.60GHz, 16GB RAM,
and Windows 11, using Clingo version 5.7.2. The scheduling system processes appointment requests in
batches, triggered every 60 seconds, simulating asynchronous request handling in clinical settings.</p>
      <p>Three experimental scenarios were defined to evaluate the behavior of the system under diferent levels
of complexity:
1https://github.com/potassco/clingo/releases/tag/v5.7.0
• Scenario A: All patients request the same type of visit (stress test) in a limited set of clinics. This
simulates emergency-like settings with concentrated demand.
• Scenario B: Two types of visits are available, and patients are evenly split between the two. This
scenario increases diversity while retaining overlap.
• Scenario C: Each patient requests a diferent type of visit, simulating the most complex real-world
configuration with individualized care pathways.</p>
      <p>The synthetic datasets used in these experiments included up to 2000 patients, each associated with
unique urgency levels and preferences. The simulated environment also included 50 doctors with varying
specializations and years of experience, along with 28 clinics featuring diferent accessibility configurations
and environmental conditions. A total of 100 types of visits and more than 1,000 appointment slots
were generated, ensuring coverage of a wide range of temporal and structural scheduling constraints. All
data included attributes for preference handling (clinic, doctor, time range, sensory conditions), urgency,
distance, and accessibility.</p>
      <sec id="sec-5-1">
        <title>5.1. Scalability Results</title>
        <p>To evaluate the scalability of our ASP-based scheduling model, we implemented a dedicated Python
script that dynamically generates synthetic test instances based on a user-defined number of patients. This
generator produces valid ASP facts on-the-fly, including patient profiles, clinics, doctors, distances, visit
types, appointment availability, and temporal constraints. All data is automatically structured to conform
to the input requirements of the Clingo solver.</p>
        <p>For each test run:
• The number of clinics is computed as ⌈patients/100⌉ + 1
• The number of doctors is set to ⌈patients/10⌉ + 1
• Each patient is assigned a unique visit type, simulating a fully individualized scheduling scenario
(Scenario C)
• The number of availability entries grows with</p>
        <p>Appointment slots are generated as unique Unix timestamps, randomly distributed between 30 and 60
days from the current time. This ensures both realism and uniqueness in slot assignments, preventing
overlaps and enforcing valid temporal boundaries. Each test instance is grounded and solved by Clingo in
a batch, with the total resolution time measured using Python’s built-in timing functions. This method
enables fully reproducible and parameterizable scalability experiments. Moreover, the script structure
allows quick adaptation to alternative scheduling scenarios (e.g., high contention or overbooking cases)
by modifying the num_of_visit or distribution logic. The programmatic control of scaling factors
such as patients × clinics × slots provides insights into how grounding complexity afects solver
performance and justifies the observed runtime behavior. Specifically, we demonstrate that linear scaling
is achieved in low-contention, diversified scenarios, while denser configurations lead to a faster increase
in grounded rules and computation time.</p>
        <p>Figure 1 shows the resolution time (in seconds) as the number of patients increases from 100 to 2000,
across the three scenarios.</p>
        <p>We can observe: Scenario A led to the highest computational burden, when more than 200 patients
request the same slot range, the solver exceeds the 60-second batch timeout; Scenario B showed better
performance due to partial diversification; Scenario C, with completely individualized visit types, scaled
linearly, requiring only 14 seconds to assign 2000 patients. This demonstrates that the system handles
complex, heterogeneous scheduling tasks more eficiently than highly constrained, homogeneous ones. It
is thus well-suited for real-world outpatient settings with varied visit demands.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Optimization Behavior</title>
        <p>The objective function defined in Listing 7 consistently guided the solver toward preference-aligned,
resource-eficient solutions. Across all experiments: Patients with high urgency were prioritized and
sched300
250
200
uled earlier; Sensory preferences and travel distance were balanced against clinic and doctor preferences;
Patients were never assigned to slots that violated accessibility, budget, or clinical compatibility.</p>
        <p>The optimization logic, driven by declarative preference scoring, ensured ethically grounded and
explainable decision-making even under load.</p>
        <p>The ASP-based system demonstrates robustness, flexibility, and suitability for real-world healthcare
scheduling tasks. The results validate the system’s applicability in healthcare settings, where rapid
adjustments to cancellations, emergencies, or fluctuating resource availability are essential. Across all
test cases, the ASP solver produced optimal schedules in under 0.04 seconds, confirming the feasibility
of real-time decision-making even with complex constraints. The number of grounded rules and atoms
remained manageable (below 10,000), indicating that the model scales well for small to medium-sized
clinics. Preliminary tests with increased patient loads (up to 50 patients) showed that the computation
time grows linearly, suggesting good scalability potential with incremental solving techniques.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion and Future Work</title>
      <p>This paper presented an ASP-based framework for medical appointment scheduling that balances
institutional constraints with patient-centered preferences. The system incorporates rich user modeling via
Blueprint Personas and supports multi-session visits, budget constraints, and diverse scheduling needs.</p>
      <p>Scalability tests with up to 2000 patients show that the model can compute optimal schedules in under
15 seconds. Inference rules and optimization logic enable explainable decisions that incorporate urgency,
preferences, and fairness.</p>
      <p>To strengthen the framework and address key limitations, future work will focus on: (1) the integration
of real-world clinical datasets and user feedback to enhance external validity; (2) a comparative evaluation
against established baselines—such as MILP-based, greedy, or rule-based scheduling systems—to better
understand computational and qualitative trade-ofs; (3) the development and adoption of fairness metrics,
equity indicators, and possibly qualitative user studies, in order to substantiate ethical claims with
measurable evidence; (4) extending the system to support dynamic rescheduling in response to unforeseen
events (e.g., resource failures, clinician unavailability), thereby improving resilience in realistic clinical
settings; and (5) minimizing idle time between appointments via soft constraints, extending budget
reasoning to the patient side, and integrating digital literacy into the scheduling logic.</p>
      <p>Overall, this work confirms the feasibility of ASP for intelligent, scalable, and ethically grounded
appointment scheduling, paving the way for more transparent and adaptive digital health infrastructures.</p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the authors used Grammarly and ChatGPT (OpenAI) to assist with
grammar and spelling checks, as well as paraphrasing and rewording of certain sentences. After using these
tools, the authors carefully reviewed and edited the content to ensure accuracy, coherence, and compliance
with academic standards. The authors take full responsibility for the content of this publication.
[19] A. Kuiper, J. de Mast, M. Mandjes, The problem of appointment scheduling in outpatient clinics: a
multiple case study of clinical practice, Omega 98 (2021) 102122.
[20] M. Hannebauer, S. Müller, Distributed constraint optimization for medical appointment scheduling,
in: Proceedings of the fifth international conference on Autonomous agents, 2001, pp. 139–140.
[21] C. E., European innovation partnership on active and healthy ageing, https://ec.europa.eu/eip/ageing/
home_en.html, 2024. Accessed: 2024-09-23.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Denton</surname>
          </string-name>
          ,
          <article-title>Appointment scheduling in health care: Challenges and opportunities</article-title>
          ,
          <source>IIE transactions 40</source>
          (
          <year>2008</year>
          )
          <fpage>800</fpage>
          -
          <lpage>819</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M. H.</given-names>
            <surname>Alrefaei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Diabat</surname>
          </string-name>
          ,
          <article-title>Modelling and optimization of outpatient appointment scheduling</article-title>
          ,
          <source>RAIRO-Operations Research-Recherche Opérationnelle</source>
          <volume>49</volume>
          (
          <year>2015</year>
          )
          <fpage>435</fpage>
          -
          <lpage>450</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Baral</surname>
          </string-name>
          ,
          <article-title>Knowledge representation, reasoning and declarative problem solving</article-title>
          , Cambridge university press,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Porter</surname>
          </string-name>
          ,
          <string-name>
            <surname>F. Van Harmelen</surname>
          </string-name>
          ,
          <article-title>Handbook of knowledge representation</article-title>
          ,
          <source>Elsevier</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Formisano</surname>
          </string-name>
          ,
          <article-title>Answer set programming with resources</article-title>
          ,
          <source>Journal of Logic and Computation</source>
          <volume>20</volume>
          (
          <year>2010</year>
          )
          <fpage>533</fpage>
          -
          <lpage>571</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          ,
          <article-title>Answer set programming</article-title>
          , volume
          <volume>3</volume>
          ,
          <string-name>
            <surname>Springer</surname>
            <given-names>Cham</given-names>
          </string-name>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Monaldini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Vozna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          ,
          <article-title>Blueprint personas in digital health transformation (</article-title>
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <source>[8] Ministero del Lavoro</source>
          , della Salute e delle Politiche Sociali,
          <string-name>
            <surname>Sistema</surname>
            <given-names>CUP</given-names>
          </string-name>
          :
          <article-title>Linee guida nazionali</article-title>
          , https://www.salute.gov.it/imgs/C_17_pubblicazioni_1577_allegato.pdf,
          <year>2009</year>
          . Accessed:
          <fpage>2025</fpage>
          -04- 02.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Niu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Lei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <article-title>A review of optimization studies for system appointment scheduling</article-title>
          ,
          <source>Axioms</source>
          <volume>13</volume>
          (
          <year>2023</year>
          )
          <fpage>16</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Y.-H.</given-names>
            <surname>Kuo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Balasubramanian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <article-title>Medical appointment overbooking and optimal scheduling: tradeofs between schedule eficiency and accessibility to service</article-title>
          ,
          <source>Flexible Services and Manufacturing Journal</source>
          <volume>32</volume>
          (
          <year>2020</year>
          )
          <fpage>72</fpage>
          -
          <lpage>101</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ala</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Simic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Pamucar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. B.</given-names>
            <surname>Tirkolaee</surname>
          </string-name>
          ,
          <article-title>Appointment scheduling problem under fairness policy in healthcare services: fuzzy ant lion optimizer</article-title>
          ,
          <source>Expert systems with applications 207</source>
          (
          <year>2022</year>
          )
          <fpage>117949</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>X.</given-names>
            <surname>Fan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Yan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Cao</surname>
          </string-name>
          ,
          <article-title>Outpatient appointment scheduling problem considering patient selection behavior: data modeling and simulation optimization</article-title>
          ,
          <source>Journal of Combinatorial Optimization</source>
          <volume>42</volume>
          (
          <year>2021</year>
          )
          <fpage>677</fpage>
          -
          <lpage>699</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ala</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <article-title>Appointment scheduling problem in complexity systems of the healthcare services: A comprehensive review</article-title>
          ,
          <source>Journal of Healthcare Engineering</source>
          <year>2022</year>
          (
          <year>2022</year>
          )
          <fpage>5819813</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>H.</given-names>
            <surname>Qiu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yin</surname>
          </string-name>
          ,
          <article-title>Mri appointment scheduling with uncertain examination time</article-title>
          ,
          <source>Journal of Combinatorial Optimization</source>
          <volume>37</volume>
          (
          <year>2019</year>
          )
          <fpage>62</fpage>
          -
          <lpage>82</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          , G. Galatà,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gebser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Marte</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mochi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Scanu</surname>
          </string-name>
          ,
          <article-title>Operating room scheduling via answer set programming: Improved encoding and test on real data</article-title>
          ,
          <source>Journal of Logic and Computation</source>
          <volume>34</volume>
          (
          <year>2024</year>
          )
          <fpage>1556</fpage>
          -
          <lpage>1579</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Alviano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <article-title>Nurse (re) scheduling via answer set programming</article-title>
          ,
          <source>Intelligenza Artificiale</source>
          <volume>12</volume>
          (
          <year>2019</year>
          )
          <fpage>109</fpage>
          -
          <lpage>124</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cappanera</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gavanelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nonato</surname>
          </string-name>
          , M. Roma,
          <article-title>Logic-based benders decomposition in answer set programming for chronic outpatients scheduling</article-title>
          ,
          <source>Theory and Practice of Logic Programming</source>
          <volume>23</volume>
          (
          <year>2023</year>
          )
          <fpage>848</fpage>
          -
          <lpage>864</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kanias</surname>
          </string-name>
          ,
          <article-title>An ai approach to large-scale medical appointment (re) scheduling using asp</article-title>
          .,
          <source>in: ENIGMA@ KR</source>
          ,
          <year>2023</year>
          , pp.
          <fpage>35</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>