Skip to main content
Version: v0.0.4

Interface: ScientificRecord

The S (scientific) record - vendor-defined free-form data, surfaced VERBATIM and never interpreted into typed clinical fields (same posture as ManufacturerRecord).

Extends

  • RecordBase

Properties

fields

readonly fields: readonly AstmField[]

The record's fields. fields[0] is the type-letter field; data fields are 1-indexed after it.

Inherited from

RecordBase.fields


rawLine

readonly rawLine: string

The record's exact wire text (terminator excluded), preserved byte-for-byte.

Emit reproduces these bytes exactly whenever a reader using the delimiters being emitted against would recover the fields this record models - always the case when the record is already in those delimiters, and also when it carries no delimiter either set would split on. Otherwise the record is re-encoded from RecordBase.fields, so the row can never go out in delimiters the header does not declare. To change a value, edit fields; editing this string has no effect on emit.


recordIndex

readonly recordIndex: number

0-based ordinal of the record within the message.

Inherited from

RecordBase.recordIndex


type

readonly type: "S"

The record's raw type letter.

Overrides

RecordBase.type