Skip to main content
Version: v0.0.2

Interface: CsvSource

An RFC-4180 CSV source (quoted fields, embedded commas/quotes/newlines) - e.g. LOINC's Loinc.csv. The one release format that needs real quote handling; hand-rolled, zero-dep. BYO.

Properties

columns

readonly columns: CsvColumnMap

Which header-named columns hold the code/display/status/properties.


content

readonly content: string

The raw CSV file content.


format

readonly format: "csv"

Discriminant.


name?

readonly optional name?: string

A human-readable name.


statusMap?

readonly optional statusMap?: StatusMapper

Override the default status interpretation of the status column's raw token.


url?

readonly optional url?: string

The code system's canonical URI.


version?

readonly optional version?: string

The release version.