Skip to main content
Version: v0.0.2

Interface: RxNormGraph

A loaded, immutable RxNorm drug graph: concepts keyed by RXCUI, edges indexed by subject, and the NDC→RXCUI attribute index - all frozen. Applied only in the authored edge direction; never inverted.

Properties

conceptCount

readonly conceptCount: number

The number of loaded concepts.


concepts

readonly concepts: ReadonlyMap<string, RxNormConcept>

Concepts keyed by RXCUI (first SAB=RXNORM atom per RXCUI wins). Frozen.


edgeCount

readonly edgeCount: number

The number of loaded edges.


edges

readonly edges: ReadonlyMap<string, readonly RxNormEdge[]>

Directed edges indexed by subject RXCUI, each list in file order. Frozen.


ndcs

readonly ndcs: ReadonlyMap<string, { rxcui: string; status: NdcStatus; }>

NDC → { rxcui, status } index from RXNSAT ATN=NDC attributes. Frozen; may be empty.


version?

readonly optional version?: string

The release version (e.g. "RXNORM_2026AA"), when supplied - mappings are release-scoped.


warnings

readonly warnings: readonly RxNormLoadWarning[]

The skipped-row warnings surfaced during load, in file/line order. Frozen; may be empty.