Skip to main content
Version: v0.0.2

Interface: RxNormLoadWarning

A surfaced, non-fatal RxNorm load warning: an RXNCONSO / RXNREL / RXNSAT row (or, for TERM_RXNORM_UNTYPED_CONCEPT, an RXCUI) that was skipped, reported with its line number and a value-free structural reason (liberal on load). Never echoes a field value.

Properties

code

readonly code: "TERM_RXNORM_MALFORMED_ROW" | "TERM_RXNORM_UNTYPED_CONCEPT"

The stable diagnostic code for the skip. TERM_RXNORM_MALFORMED_ROW is a structurally unusable row; TERM_RXNORM_UNTYPED_CONCEPT is an RXCUI no defining atom could type. Both are in the package-wide ../common/diagnostics.DIAGNOSTIC_CODES registry, which documents each.


detail

readonly detail: string

A value-free description of the structural fault.


file

readonly file: "RXNCONSO" | "RXNREL" | "RXNSAT"

Which source file the fault was in.


line

readonly line: number

The 1-based source line the fault was found on.