Skip to content

Glossary

In this page, we define the ubiquitous language used across the entire system. The purpose is to ensure a shared, unambiguous understanding of all domain concepts among developers, domain experts, and stakeholders — regardless of the bounded context in which those concepts appear.

Global Concepts

These terms are shared across multiple bounded contexts. Their definitions represent the canonical, system-wide meaning, independent of any specific context.

TermDefinition
DoctorA medical professional who offers availabilities, performs visits, and authors clinical documents for patients.
PatientA person who receives medical care, books appointments, and is the subject of clinical documents.
ServiceA medical procedure or examination (e.g. specialist visit, ultrasound) that a doctor can perform and a patient can receive.
FacilityA healthcare structure where medical visits and services take place.
MedicineA pharmaceutical product that can be included in a medicine prescription.

Bounded Context Glossary

Users

This context covers everything related to identity, authentication, user profiles, and delegation between patients.

TermDefinition
UserThe entity that holds login credentials (email and password) and is responsible for authentication.
PatientThe operational profile associated with a User that enables them to manage their own health data and participate in delegations.
DoctorThe optional operational profile associated with a User that enables them to act in a professional capacity (e.g. managing their schedule, issuing documents).
DelegationAn agreement that authorizes one patient (the Delegate) to access and act on behalf of another patient (the Delegator).
DelegatorThe patient who shares their own data with another user; the passive subject of the delegation.
DelegateThe user who gains access to another patient's data; the active subject of the delegation.

Appointments

This context covers everything related to doctor availabilities and patient appointment booking.

TermDefinition
AvailabilityA time slot in which a doctor is available to receive patients at a specific facility for a specific service type.
AppointmentA confirmed booking made by a patient for a specific availability.
TimeSlotA temporal period defined by a start date/time and a duration.
ServiceTypeThe type of medical service being offered (e.g. cardiology visit, echocardiogram).
VisitThe physical execution of an appointment, recorded when the patient is seen by the doctor.

Documents

This context covers everything related to medical documents, reports, and prescriptions.

TermDefinition
DocumentA clinical file issued by a doctor for a patient.
Medical RecordThe complete collection of documents belonging to a patient.
ReportA medical report produced after a service has been performed; it represents the outcome of that service.
PrescriptionA clinical instruction issued by a doctor.
Medicine PrescriptionA pharmacological prescription for a patient, containing at least one medicine and its associated dosage.
DosageThe administration instructions for a medicine within a medicine prescription.
Service PrescriptionA prescription issued by a doctor that recommends a specific medical service for a patient.

Master Data

This context covers reference data that is not directly managed by this system but is consumed by other bounded contexts.

TermDefinition
FacilityA healthcare structure referenced by the Appointments context. Managed externally.
ServiceTypeA catalogue entry describing a type of medical service. Managed externally and referenced by Appointments and Documents.
MedicineA pharmaceutical product referenced by the Documents context when creating medicine prescriptions. Managed externally.

Actions

All actions that can be performed within the system, grouped by bounded context.

ActionDescription
Sign upA user creates their own account along with the associated patient profile.
Log inA user submits credentials to start an authenticated session.
Select profileAn authenticated user chooses which identity to operate as (patient or doctor).
Switch profileAn authenticated user switches from their own patient view to a delegator's view.
Create delegationA patient grants another patient access to their own data.
Accept delegationThe invited user confirms they wish to act as a delegate.
Decline delegationThe invited user refuses the delegation.
Revoke delegationThe delegating patient withdraws a previously granted delegation.
Log accessThe system records who is accessing data and in which operational context.
Create availabilityA doctor manually enters available time slots for patient bookings.
Update availabilityA doctor modifies one or more of their existing available slots.
Delete availabilityA doctor removes one or more available slots, provided they have not yet been booked.
Search availabilityA patient searches for available slots by filtering on doctor, facility, or date.
Reserve availabilityA patient temporarily holds a slot for up to 15 minutes while completing the booking process.
Book appointmentA patient confirms the booking of a reserved slot, creating a scheduled appointment.
Reschedule appointmentA patient changes the date or time of an existing appointment.
Cancel appointmentA patient or doctor cancels an appointment before it takes place.
Complete visitA doctor records that the visit has been carried out.
Register no-showA doctor records that the patient did not attend their appointment.
Read medical recordA patient or doctor retrieves the list of documents in a patient's medical record.
Search documentA patient or doctor searches for a specific document within a medical record.
Download documentA patient or doctor downloads a document from a medical record.
Analyze documentThe system processes a newly uploaded document to extract and validate its information.
Delete documentA patient removes a document from their medical record.
Create reportA doctor creates a medical report for a service that has been performed.
Upload reportA patient or doctor uploads the file of a medical report.
Edit reportA doctor modifies an existing report.
Upload prescriptionA doctor uploads a prescription for a patient.
Archive prescriptionThe system marks a prescription as archived once it has been fulfilled or has expired.