Medlea

Docs /Medical Workflow

Creating a Patient and Event

Learn how to import medical imaging data into LeaRes. This tutorial covers creating patient records, organizing events and acquisitions, and uploading DICOM files for visualization and analysis.

Understanding the Data Structure

Before uploading, familiarize yourself with LeaRes’s hierarchical organization:

  • Patient: Top-level record containing all medical data for one patient
  • Event: A medical event or imaging session (e.g., “2024-01-15_CT”)
  • Acquisition: Individual scan or imaging acquisition (e.g., “Chest CT”)
  • Series: DICOM series data containing the actual images

Step 1: Create or Select a Patient

Creating a New Patient

There is no patient form. Creation is a single click, and the patient is named automatically.

  1. Open the Projects and Patients window
  2. Expand the database you want the patient to live in
  3. Click the + button next to the database name (tooltip: Create new patient in …)

The patient is created immediately with an auto-generated name. Rename it afterwards with Edit patient name.

What is actually stored. The patient record holds only name, gender, age, habits and comorbidities, and the last four are populated with placeholder defaults. There is no field for date of birth, MRN, or medical history. Real demographics come from the DICOM header of the study you upload and are read-only.

Selecting an Existing Patient

  1. Browse the patient list in the Projects and Patients window
  2. Double-click a patient to open it
  3. The patient’s events and acquisitions appear in the ActionsTree panel

Step 2: Events

Events are not created by hand — there is no Add Event button.

Uploading imaging or clinical data creates the enclosing event automatically; its date and type come from the upload itself, and its identifier is a server-generated random string. For non-radiological uploads you may optionally paste an existing Event Key to attach the new data to an event that already exists.

In other words: to create an event, upload a study (see Uploading DICOM Data).