Skip to content

BaseInstrument

BaseInstrument<TLanguage>: object

Defined in: packages/runtime-core/lib/types/instrument.base.d.ts:117

TLanguage extends InstrumentLanguage = InstrumentLanguage

__runtimeVersion: 1

The runtime version for this instrument, which is set automatically by the defineInstrument function

optional clientDetails: ClientInstrumentDetails<TLanguage>

The content in the instrument to be rendered to the client

optional content: unknown

The content in the instrument to be rendered to the clinician/researcher

details: InstrumentDetails<TLanguage>

The details of the instrument to be displayed to the user

optional id: string

The database ID for the instrument. For scalar instruments, this is derived by the internal property.

kind: InstrumentKind

The discriminator key for the type of instrument

language: TLanguage

The language(s) in which the instrument is written

tags: InstrumentUIOption<TLanguage, string[]>

A list of tags that users can use to filter instruments