Skip to main content
Version: v0.0.6

Interface: LivdCatalog

An immutable, consumer-supplied LIVD catalog. Look a vendor code up with LivdCatalog.lookup; the catalog never picks between conflicting LOINCs and never mutates. Build one with defineLivdCatalog.

Properties

size

readonly size: number

The number of distinct vendor codes indexed (not the number of input rows).

Methods

lookup()

lookup(vendorCode): LivdLookup

Look a vendor code up, verbatim (exact, case-sensitive). Returns mapped on a single-LOINC hit, unmapped on a miss, and ambiguous when the code carries more than one distinct LOINC: never a guess.

Parameters

vendorCode

string

The reported vendor/local test code.

Returns

LivdLookup

The lookup outcome.