A subtype-labeled section of injuries (traumas), ready to render.

interface InjurySection {
    columns: TraumaColumn[];
    injuries: TraumaRow[];
    label: string;
    ledgerCols: string;
    subType: string;
}

Properties

columns: TraumaColumn[]

The columns this sub-type renders (#939) — headers + per-row cells.

injuries: TraumaRow[]

The injuries in this section, in the order supplied.

label: string

Localized subtype label shown in the section legend.

ledgerCols: string

The --ledger-cols grid-template value for this sub-type's ledger (#939).

subType: string

The subtype key (e.g. "injury"), used to seed new trauma items.