Skip to main content
Version: v0.0.4

Function: livdAmbiguousMapping()

livdAmbiguousMapping(position): AstmLivdWarning

Build an ASTM_LIVD_AMBIGUOUS_MAPPING warning. The code matched multiple distinct LOINCs; none is chosen (refusing to pick is the fail-safe).

Parameters

position

AstmPosition

Where the ambiguous code was seen (record ordinal + type; never the code).

Returns

AstmLivdWarning

The warning.

Example

import { livdAmbiguousMapping } from "@cosyte/astm";
livdAmbiguousMapping({ recordIndex: 4, recordType: "O" });