Skip to main content
Version: v0.0.6

Interface: OrderRecord

The O (order) record: binds a result to a specimen.

Extends

  • RecordBase

Properties

actionCode?

readonly optional actionCode?: string

Field 12: action code, surfaced raw (e.g. C cancel, A add, N new). The exact field index (~12) and the code set are [OSS-derived] (paywalled): surfaced verbatim, never interpreted.


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


instrumentSpecimenId?

readonly optional instrumentSpecimenId?: string

Field 4: instrument specimen ID.


priority?

readonly optional priority?: string

Field 6: priority, surfaced raw (e.g. S STAT, R routine, A ASAP). Vendor letters vary; the code set is [OSS-derived] (the exact enumeration is in the paywalled CLSI LIS02-A2), so the value is surfaced verbatim and never mapped to a guessed meaning.


recordIndex

readonly recordIndex: number

0-based ordinal of the record within the message.

Inherited from

RecordBase.recordIndex


reportType?

readonly optional reportType?: string

Field 26: report type, surfaced raw (e.g. F final, P preliminary, X cancel). The exact field index (~26) and the code set are [OSS-derived] (paywalled): surfaced verbatim.


seq?

readonly optional seq?: string

Field 2: sequence number.


specimenId?

readonly optional specimenId?: string

Field 3: specimen / accession ID.


type

readonly type: "O"

The record's raw type letter.

Overrides

RecordBase.type


universalTestId?

readonly optional universalTestId?: UniversalTestId

Field 5: Universal Test ID (same caret structure as a result's).