Data Model

👤 Siddharth Chakraborty📅 Updated: Mar 16, 2026

Core Entities

AllTests

  • Acts as the top-level entity
  • Defines the scope for report formats and mappings
  • Contains cell_counter_enabled flag to depict tests for which values can be filled using cell counter

Each test can have multiple parameters and associated counting configurations.


ReportFormat

Represents a parameter within a test.

  • A report format acts as the target where counts are recorded

Cells

Represents a predefined countable unit.

  • Stored as a master dataset
  • Reusable across tests
  • Each cell has:
    • A name (e.g., Neutrophil, Basophil)
    • A default key (used for mapping)

Cells are not tied to any specific test directly.


CellCounterMappings

Defines how counting is configured for a test.

  • Links a report format (parameter) to a cell
  • Enables keyboard-based counting

This mapping determines:

  • Which cell contributes to which report parameter
  • How user input (via key) translates into data

Relationships

Test → Report Format

  • One test can have multiple report formats

Report Format → Cell Counter Mapping

  • A report format of a particular test can have only one cell mapping associated to it

Cell → Cell Counter Mapping

  • One cell can only be mapped to one report format for a particular test

DB SChema

On this page