Skip to main content

reporting.types

All types available in Rad AI Reporting.

Alert

Extends

Properties

PropertyTypeInherited from
extensionIdstringExtensionId.extensionId
levelAlertLevel-
messagestring-
type"alert"-

AlertConfirmation

Extends

Properties

PropertyTypeInherited from
cancelTextstring-
confirmTextstring-
extensionIdstringExtensionId.extensionId
messagestring-
messageIdstring-
type"confirm-request"-

AlertConfirmationResponse

Properties

PropertyType
messageIdstring
status"confirmed" | "cancelled"
type"confirm-response"

ButtonNode

Display a clickable button. Button clicks can be acted upon using the reporting.views.onButtonClick handler.

Extends

Properties

PropertyTypeDescriptionInherited from
childrenstringThe text displayed inside of your button.-
colorButtonColorThe themed-color of your button.-
disabled?booleanIf true, users cannot click your button.-
idstringAn identifier for your button. Should be unique for your extension.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"button"--
variantButtonVariantThe style of your button.-

CacheClear

Extends

Properties

PropertyTypeInherited from
extensionIdstringExtensionId.extensionId
type"clear-cache"-

CacheUpdate

Extends

Properties

PropertyTypeInherited from
cacheCache-
extensionIdstringExtensionId.extensionId
type"update-cache"-

Check

Properties

PropertyType
fixes?CheckFix[]
idstring
level"info" | "warning" | "error"
messagestring
positions?Position[]

CheckFix

Properties

PropertyType
fixIdstring
messagestring

CheckFixBuffered

Properties

PropertyType
messagestring
onClick(event: ChecksFixClick) => void

CheckboxNode

Display a read-only checkbox with text. Can be used as part of an automated checklist.

Extends

Properties

PropertyTypeDescriptionInherited from
checkedbooleanThe displayed read-only checkbox.-
childrenstringThe text displayed along-side your checkbox.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"checkbox"--

Checks

Extends

Properties

PropertyTypeInherited from
checksRecord<string, Check>-
extensionIdstringExtensionId.extensionId
type"checks"-

ChecksFixClick

Properties

PropertyType
extensionIdstring
fixIdstring
type"fix-click"

ColumnContainerNode

Display children side-by-side.

Extends

Properties

PropertyTypeDescriptionInherited from
childrenColumnNode[]Nested columns.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"column-container"--

ColumnNode

Display children in a column. Used with the ColumnContainerNode type.

Extends

Properties

PropertyTypeDescriptionInherited from
childrenNode[]Nested children.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"column"--

CustomStyling

While Rad AI provides good defaults for styling your nodes, you can fully customize your styling.

Extended by

Properties

PropertyTypeDescription
style?CSSPropertiesThe custom styles you want to apply to your node.

HeaderNode

Display header text.

Extends

Properties

PropertyTypeDescriptionInherited from
childrenInlineNode[]The content displayed inline.-
sizeHeaderSizeThe size you want the header to be.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"header"--

ImageNode

Display inline image.

Extends

Properties

PropertyTypeDescriptionInherited from
childrenstringThe alt-text for your image.-
srcstringThe URL your image lives at.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"image"--

ListNode

Display children in a nested list.

Extends

Properties

PropertyTypeDescriptionInherited from
childrenNode[]Nested children.-
ordered?booleanIf true, list items are displayed with numbers. If false, list items are displayed with bullet points.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"list"--

ParagraphNode

Display a paragraph of text.

Extends

Properties

PropertyTypeDescriptionInherited from
childrenInlineNode[]The content displayed inline.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"paragraph"--

Position

Properties

PropertyType
startnumber
stopnumber

ReportClosed

Event that fires when a report is closed.

Properties

PropertyTypeDescription
idstringA unique identifier for the report.
type"report-closed"-

ReportOpened

Event that fires when a report is opened.

Properties

PropertyTypeDescription
idstringA unique identifier for the report.
type"report-opened"-

ReportUpdated

Event that fires when a report is updated. Reports are most commonly updated when the report content is edited (such as during dictation).

Properties

PropertyTypeDescription
idstringA unique identifier for the report.
observations?Observation[]An array of R4B Observation FHIR resources. Observations consist of pre-loaded measurements, annotations, and other structured data related to the imaging study. Will be undefined if the report is not associated with a specific imaging study.
patient?PatientThe R4B Patient FHIR resource. Will be undefined if the report is not associated with a specific imaging study or if there's no patient associated with the imaging study.
priors?DiagnosticReport[]An array of R4B DiagnosticReport FHIR resources. Priors are previously-generated reports for the patient. Will be undefined if the report is not associated with a specific imaging study.
shortcuts{modality: string;procedureCode: string;reportContent: string; }Shortcuts for frequently-access data.
shortcuts.modality?string-
shortcuts.procedureCode?string-
shortcuts.reportContentstring-
study?ImagingStudyThe R4B ImagingStudy FHIR resource. Will be undefined if the report is not associated with a specific imaging study.
type"report-updated"-

TextInputNode

Display a read-only checkbox with text. Can be used as part of an automated checklist.

Extends

Properties

PropertyTypeDescriptionInherited from
disabled?booleanIf true, users cannot type into your input.-
idstringAn identifier for your input. Should be unique for your extension.-
label?stringThe label for your input.-
multiline?booleanIf true, your input will allow multiple lines.-
placeholder?stringThe placeholder for your input.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"text-input"--

TextNode

Display inline text.

Extends

Properties

PropertyTypeDescriptionInherited from
bold?booleanIf true, text is bolded.-
childrenstringThe text you want to display.-
italics?booleanIf true, text is italicized.-
style?CSSPropertiesThe custom styles you want to apply to your node.CustomStyling.style
type"text"--
underline?booleanIf true, text is underlined.-

ViewButtonClick

Properties

PropertyType
buttonIdstring
extensionIdstring
type"button-click"

ViewTextInputChange

Properties

PropertyType
extensionIdstring
inputIdstring
type"text-input-change"
valuestring

ViewUpdate

Extends

Properties

PropertyTypeInherited from
childrenNode[]-
extensionIdstringExtensionId.extensionId
type"update-view"-

AlertLevel

AlertLevel: "info" | "success" | "warning" | "error"


BlockNode

BlockNode: HeaderNode | ParagraphNode | ListNode | ColumnNode | ColumnContainerNode


ButtonColor

ButtonColor: "primary" | "info" | "success" | "warning" | "error"


ButtonVariant

ButtonVariant: "outlined" | "contained"


Cache

Cache: Record<string, any>


ExtensionId

ExtensionId: {extensionId: string; }

Type declaration

NameType
extensionIdstring

ExtractHandlerEvent<T>

ExtractHandlerEvent<T>: Extract<HandlerEvent, {type: T; }>

Type Parameters

Type Parameter
T extends HandlerEventType

HandlerEvent

HandlerEvent: AlertConfirmationResponse | ChecksFixClick | ReportClosed | ReportOpened | ReportUpdated | ViewButtonClick | ViewTextInputChange


HandlerEventType

HandlerEventType: HandlerEvent["type"]


HeaderSize

HeaderSize: "large" | "medium" | "small"


InlineNode

InlineNode: TextNode | ImageNode | CheckboxNode | ButtonNode | TextInputNode


Node

Node: InlineNode | BlockNode