Skip to main content
Version: v0.0.4

Interface: LivdEntry

One LIVD mapping row a consumer supplies - a vendor test code and the LOINC it maps to, plus optional human-readable / provenance fields. Modeled on the IICC LIVD digital format's data elements.

Example

import type { LivdEntry } from "@cosyte/astm";
const e: LivdEntry = { vendorCode: "687", loinc: "1920-8", loincLongName: "AST" };

Properties

loinc

readonly loinc: string

The LOINC Code this vendor code maps to (e.g. "1920-8"). Taken from the consumer's catalog as-is and never validated, altered, or invented - the parser does not ship a LOINC table and cannot check it; it only carries what the catalog says.


loincLongName?

readonly optional loincLongName?: string

The LOINC Long Common Name, when the catalog supplies it - an optional human-readable label.


manufacturer?

readonly optional manufacturer?: string

The device Manufacturer, when the catalog scopes the mapping to a device (optional provenance).


model?

readonly optional model?: string

The device Model, when the catalog scopes the mapping to a device (optional provenance).


vendorAnalyteName?

readonly optional vendorAnalyteName?: string

The Vendor Analyte Name - the vendor's human-readable analyte label, when supplied.


vendorCode

readonly vendorCode: string

The Vendor Analyte Code - the vendor transmission code the instrument sends (the local code in an ASTM Universal Test ID, component 4). The mapping key; compared verbatim (exact, case-sensitive) against the reported code - never normalized or fuzzy-matched.