formanitor 0.0.37 → 0.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -262,6 +262,123 @@ interface DiagnosisTextareaFieldDef extends BaseFieldDef {
262
262
  /** Debounce delay in ms before API call triggers. Default: 700. */
263
263
  debounceDelay?: number;
264
264
  }
265
+ /**
266
+ * Reusable **textarea** with optional **suggestion chips** (schema `options` or `dataSource`).
267
+ * - Value is a **single string** (same as `textarea`); chip clicks append or remove that option’s
268
+ * `value` as a comma‑separated token (default `", "`; override with `meta.appendSeparator`).
269
+ * - Schema `rules` with `op: "contains"` on this field match **token equality** after splitting
270
+ * on commas (see `evaluateRules` / `suggestion_textarea` docs).
271
+ * - Optionally set **`meta.parallelChipFieldId`** to the id of a **`multiselect`** field (often
272
+ * `hidden`) with the same `options`; that field’s array value is derived from chip tokens in
273
+ * the textarea string so APIs can read a structured list without parsing commas.
274
+ * - `complaint_chips` is an alias type string for the same widget (e.g. chief complaints).
275
+ */
276
+ interface SuggestionTextareaFieldDef extends BaseFieldDef {
277
+ type: 'suggestion_textarea' | 'complaint_chips';
278
+ options?: SelectOption[];
279
+ /** Height in pixels for the textarea. */
280
+ height?: number;
281
+ meta?: {
282
+ /** Join string when writing tokens (default `", "`). */
283
+ appendSeparator?: string;
284
+ /** `aria-label` for the chip group. */
285
+ suggestionsAriaLabel?: string;
286
+ /**
287
+ * ID of a sibling **`multiselect`** field (usually `hidden: true`). Its value is kept in sync
288
+ * as an array of selected chip values derived from the comma-separated textarea string.
289
+ */
290
+ parallelChipFieldId?: string;
291
+ } & Record<string, unknown>;
292
+ }
293
+ /** LOCS III component grades for one eye (integer scales per LOCS III). */
294
+ interface LocsGrades {
295
+ NO: number;
296
+ NC: number;
297
+ C: number;
298
+ PSC: number;
299
+ }
300
+ /** Value stored for `lens_assessment` fields. */
301
+ interface LensAssessmentValue {
302
+ notes: string;
303
+ /**
304
+ * Legacy optional key from older templates; LOCS UI does not surface chips.
305
+ * Kept for backward compatibility with saved submissions.
306
+ */
307
+ assessmentKey?: string;
308
+ /** LOCS III grades; omitted in older payloads — normalized to zeros in the widget. */
309
+ locs?: {
310
+ OD: LocsGrades;
311
+ OS: LocsGrades;
312
+ };
313
+ }
314
+ /**
315
+ * Ophthalmology lens assessment: LOCS III grid (OD/OS), derived cataract-stage badges,
316
+ * optional clinical notes. Shown via schema rules (e.g. chief-complaint `contains`).
317
+ */
318
+ interface LensAssessmentFieldDef extends BaseFieldDef {
319
+ type: 'lens_assessment';
320
+ meta?: {
321
+ cardTitle?: string;
322
+ } & Record<string, unknown>;
323
+ }
324
+ /** Keys for the five-item functional impairment scale (0–3 each). */
325
+ type FunctionalImpairmentDimension = 'reading' | 'nightDriving' | 'glare' | 'occupation' | 'adl';
326
+ /** Stored value for `functional_impairment_score` fields (sum 0–15). */
327
+ interface FunctionalImpairmentScoreValue {
328
+ reading: number;
329
+ nightDriving: number;
330
+ glare: number;
331
+ occupation: number;
332
+ adl: number;
333
+ }
334
+ /**
335
+ * Cataract-related functional impairment: five 0–3 items and total /15.
336
+ */
337
+ interface FunctionalImpairmentScoreFieldDef extends BaseFieldDef {
338
+ type: 'functional_impairment_score';
339
+ meta?: {
340
+ cardTitle?: string;
341
+ } & Record<string, unknown>;
342
+ }
343
+ /** Biometry acquisition method (IOL workup). */
344
+ type BiometryMethod = 'optical_biometry' | 'ascan_immersion' | 'ascan_contact';
345
+ /** Value for `biometry_iol_workup` — bilateral inputs, shared formula/method, optional workup flags. */
346
+ interface BiometryIolWorkupValue {
347
+ axialLengthOD: string;
348
+ axialLengthOS: string;
349
+ k1k2AxisOD: string;
350
+ k1k2AxisOS: string;
351
+ anteriorChamberDepthOD: string;
352
+ anteriorChamberDepthOS: string;
353
+ iolPowerOD: string;
354
+ iolPowerOS: string;
355
+ targetRefractionOD: string;
356
+ targetRefractionOS: string;
357
+ formula: string;
358
+ method: BiometryMethod;
359
+ cornealTopoUploaded: boolean;
360
+ specularMicroscopyDone: boolean;
361
+ endothelialCount: string;
362
+ }
363
+ /** Table + IOL formula workup (Stage 7). */
364
+ interface BiometryIolWorkupFieldDef extends BaseFieldDef {
365
+ type: 'biometry_iol_workup';
366
+ meta?: {
367
+ cardTitle?: string;
368
+ } & Record<string, unknown>;
369
+ }
370
+ /** Per-eye surgical risk checkbox selections; Diabetes is kept in sync for OD and OS. */
371
+ interface SurgicalRiskFlagsValue {
372
+ OD: string[];
373
+ OS: string[];
374
+ }
375
+ /** Bilateral cataract surgical risk flags with derived Low/Moderate/High badge per eye (Stage 11). */
376
+ interface SurgicalRiskFlagsFieldDef extends BaseFieldDef {
377
+ type: 'surgical_risk_flags';
378
+ meta?: {
379
+ cardTitle?: string;
380
+ } & Record<string, unknown>;
381
+ }
265
382
  interface MedicationFrequentItem {
266
383
  id: string;
267
384
  name: string;
@@ -320,7 +437,11 @@ interface DiagnosticPackage {
320
437
  department?: string;
321
438
  tests: DiagnosticPackageTest[];
322
439
  }
323
- type FieldDef = TextFieldDef | RichTextFieldDef | NumberFieldDef | SelectFieldDef | RadioFieldDef | CheckboxFieldDef | RepeatableFieldDef | ImageUploadFieldDef | MediaUploadFieldDef | SignatureFieldDef | EditableTableFieldDef | StaticTextFieldDef | MedicationsFieldDef | InvestigationsFieldDef | ProceduresFieldDef | DifferentialDiagnosisFieldDef | VitalsFieldDef | ReferralFieldDef | FollowupFieldDef | SmartTextareaFieldDef | DiagnosisTextareaFieldDef | ToggleFieldDef | BaseFieldDef;
440
+ type FieldDef = TextFieldDef | RichTextFieldDef | NumberFieldDef | SelectFieldDef | RadioFieldDef | CheckboxFieldDef | RepeatableFieldDef | ImageUploadFieldDef | MediaUploadFieldDef | SignatureFieldDef | EditableTableFieldDef | StaticTextFieldDef | MedicationsFieldDef | InvestigationsFieldDef | ProceduresFieldDef | DifferentialDiagnosisFieldDef | VitalsFieldDef | ReferralFieldDef | FollowupFieldDef | SmartTextareaFieldDef | DiagnosisTextareaFieldDef | SuggestionTextareaFieldDef | LensAssessmentFieldDef | FunctionalImpairmentScoreFieldDef | ToggleFieldDef | BiometryIolWorkupFieldDef | SurgicalRiskFlagsFieldDef | BaseFieldDef;
441
+ /** Boolean switch; value is `true` | `false`. */
442
+ interface ToggleFieldDef extends BaseFieldDef {
443
+ type: 'toggle';
444
+ }
324
445
  interface ToggleFieldDef extends BaseFieldDef {
325
446
  type: 'toggle';
326
447
  excludes?: string[];
@@ -328,6 +449,12 @@ interface ToggleFieldDef extends BaseFieldDef {
328
449
  interface Condition {
329
450
  field?: string;
330
451
  op: '==' | '!=' | '>' | '<' | '>=' | '<=' | 'in' | 'contains';
452
+ /**
453
+ * For `op: "contains"`:
454
+ * - If the field value is an **array**, checks `value.includes(condition.value)` (e.g. multiselect).
455
+ * - If the field value is a **string** (e.g. `suggestion_textarea`), splits on commas, trims
456
+ * tokens, and checks that one token equals `String(condition.value)` (chip values in text).
457
+ */
331
458
  value: any;
332
459
  }
333
460
  interface RuleAction {
@@ -958,4 +1085,4 @@ declare const SmartTextareaWidget: React.FC<{
958
1085
  fieldId: string;
959
1086
  }>;
960
1087
 
961
- export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, type BaseFieldDef, type CheckboxFieldDef, type ColumnLayout, type Computation, type Condition, type CreateUploadHandlerOptions, type DataSource, type DiagnosisGradeSelection, type DiagnosisTextareaFieldDef, type DiagnosisTextareaValue, type DiagnosticPackage, type DiagnosticPackageTest, DifferentialDiagnosis, type DifferentialDiagnosisFieldDef, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, type DoctorFrequentItems, DynamicForm, EMAIL_REGEX, type EditableTableColumnDef, type EditableTableFieldDef, type EventDefinition, type ExtractedKeywordMatch, type FieldDef, type FieldHandler, type FieldHandlersMap, type FieldPrefill, FieldRenderer, type FieldState, type FieldType, type FollowupFieldDef, type FollowupValue, FormControls, type FormControlsProps, type FormDef, type FormErrors, FormProvider, type FormState, FormStore, type FormValues, type FormulaComputation, type FormulaExpr, type ImageUploadFieldDef, ImageUploadWidget, type Investigation, type InvestigationFrequentItem, type InvestigationSearchResult, type InvestigationsFieldDef, type LayoutNode, MAR_MEDICATION_ORDERS_META_KEY, type MatchedCondition, type MediaUploadFieldDef, MediaUploadWidget, type Medication, type MedicationFrequentItem, type MedicationSearchResult, type MedicationsFieldDef, type NumberFieldDef, type Permission, type PresignedUploadResponse, type ProcedureFrequentItem, type ProceduresFieldDef, type RadioFieldDef, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, ReadOnlyTable, type ReferralFieldDef, type ReferralItem, type RepeatableFieldDef, type RichTextFieldDef, RichTextWidget, type Rule, type RuleAction, type RuleResult, type ScoreComputation, type ScoreRange, type Section, type SectionChild, type SelectFieldDef, type SelectOption, type SignatureFieldDef, SignatureUploadWidget, SmartForm, type SmartFormProps, type SmartKeywordsResult, type SmartTextareaFieldDef, type SmartTextareaValue, SmartTextareaWidget, type StaticTextFieldDef, type StoreConfig, type SubmissionData, type SumComputation, type TextFieldDef, type ToggleFieldDef, type ValidationRule, type VitalsFieldDef, type WebhookDef, type Workflow, type WorkflowTransition, createUploadHandler, evaluateRules, fieldMetaRequestsMarMedicationOrdersButton, useField, useFieldHandlers, useForm, useFormStore, useFrequentItems, usePackages, useSmartKeywords, validateField, validateForm };
1088
+ export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, type BaseFieldDef, type BiometryIolWorkupFieldDef, type BiometryIolWorkupValue, type BiometryMethod, type CheckboxFieldDef, type ColumnLayout, type Computation, type Condition, type CreateUploadHandlerOptions, type DataSource, type DiagnosisGradeSelection, type DiagnosisTextareaFieldDef, type DiagnosisTextareaValue, type DiagnosticPackage, type DiagnosticPackageTest, DifferentialDiagnosis, type DifferentialDiagnosisFieldDef, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, type DoctorFrequentItems, DynamicForm, EMAIL_REGEX, type EditableTableColumnDef, type EditableTableFieldDef, type EventDefinition, type ExtractedKeywordMatch, type FieldDef, type FieldHandler, type FieldHandlersMap, type FieldPrefill, FieldRenderer, type FieldState, type FieldType, type FollowupFieldDef, type FollowupValue, FormControls, type FormControlsProps, type FormDef, type FormErrors, FormProvider, type FormState, FormStore, type FormValues, type FormulaComputation, type FormulaExpr, type FunctionalImpairmentDimension, type FunctionalImpairmentScoreFieldDef, type FunctionalImpairmentScoreValue, type ImageUploadFieldDef, ImageUploadWidget, type Investigation, type InvestigationFrequentItem, type InvestigationSearchResult, type InvestigationsFieldDef, type LayoutNode, type LensAssessmentFieldDef, type LensAssessmentValue, type LocsGrades, MAR_MEDICATION_ORDERS_META_KEY, type MatchedCondition, type MediaUploadFieldDef, MediaUploadWidget, type Medication, type MedicationFrequentItem, type MedicationSearchResult, type MedicationsFieldDef, type NumberFieldDef, type Permission, type PresignedUploadResponse, type ProcedureFrequentItem, type ProceduresFieldDef, type RadioFieldDef, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, ReadOnlyTable, type ReferralFieldDef, type ReferralItem, type RepeatableFieldDef, type RichTextFieldDef, RichTextWidget, type Rule, type RuleAction, type RuleResult, type ScoreComputation, type ScoreRange, type Section, type SectionChild, type SelectFieldDef, type SelectOption, type SignatureFieldDef, SignatureUploadWidget, SmartForm, type SmartFormProps, type SmartKeywordsResult, type SmartTextareaFieldDef, type SmartTextareaValue, SmartTextareaWidget, type StaticTextFieldDef, type StoreConfig, type SubmissionData, type SuggestionTextareaFieldDef, type SumComputation, type SurgicalRiskFlagsFieldDef, type SurgicalRiskFlagsValue, type TextFieldDef, type ToggleFieldDef, type ValidationRule, type VitalsFieldDef, type WebhookDef, type Workflow, type WorkflowTransition, createUploadHandler, evaluateRules, fieldMetaRequestsMarMedicationOrdersButton, useField, useFieldHandlers, useForm, useFormStore, useFrequentItems, usePackages, useSmartKeywords, validateField, validateForm };
package/dist/index.d.ts CHANGED
@@ -262,6 +262,123 @@ interface DiagnosisTextareaFieldDef extends BaseFieldDef {
262
262
  /** Debounce delay in ms before API call triggers. Default: 700. */
263
263
  debounceDelay?: number;
264
264
  }
265
+ /**
266
+ * Reusable **textarea** with optional **suggestion chips** (schema `options` or `dataSource`).
267
+ * - Value is a **single string** (same as `textarea`); chip clicks append or remove that option’s
268
+ * `value` as a comma‑separated token (default `", "`; override with `meta.appendSeparator`).
269
+ * - Schema `rules` with `op: "contains"` on this field match **token equality** after splitting
270
+ * on commas (see `evaluateRules` / `suggestion_textarea` docs).
271
+ * - Optionally set **`meta.parallelChipFieldId`** to the id of a **`multiselect`** field (often
272
+ * `hidden`) with the same `options`; that field’s array value is derived from chip tokens in
273
+ * the textarea string so APIs can read a structured list without parsing commas.
274
+ * - `complaint_chips` is an alias type string for the same widget (e.g. chief complaints).
275
+ */
276
+ interface SuggestionTextareaFieldDef extends BaseFieldDef {
277
+ type: 'suggestion_textarea' | 'complaint_chips';
278
+ options?: SelectOption[];
279
+ /** Height in pixels for the textarea. */
280
+ height?: number;
281
+ meta?: {
282
+ /** Join string when writing tokens (default `", "`). */
283
+ appendSeparator?: string;
284
+ /** `aria-label` for the chip group. */
285
+ suggestionsAriaLabel?: string;
286
+ /**
287
+ * ID of a sibling **`multiselect`** field (usually `hidden: true`). Its value is kept in sync
288
+ * as an array of selected chip values derived from the comma-separated textarea string.
289
+ */
290
+ parallelChipFieldId?: string;
291
+ } & Record<string, unknown>;
292
+ }
293
+ /** LOCS III component grades for one eye (integer scales per LOCS III). */
294
+ interface LocsGrades {
295
+ NO: number;
296
+ NC: number;
297
+ C: number;
298
+ PSC: number;
299
+ }
300
+ /** Value stored for `lens_assessment` fields. */
301
+ interface LensAssessmentValue {
302
+ notes: string;
303
+ /**
304
+ * Legacy optional key from older templates; LOCS UI does not surface chips.
305
+ * Kept for backward compatibility with saved submissions.
306
+ */
307
+ assessmentKey?: string;
308
+ /** LOCS III grades; omitted in older payloads — normalized to zeros in the widget. */
309
+ locs?: {
310
+ OD: LocsGrades;
311
+ OS: LocsGrades;
312
+ };
313
+ }
314
+ /**
315
+ * Ophthalmology lens assessment: LOCS III grid (OD/OS), derived cataract-stage badges,
316
+ * optional clinical notes. Shown via schema rules (e.g. chief-complaint `contains`).
317
+ */
318
+ interface LensAssessmentFieldDef extends BaseFieldDef {
319
+ type: 'lens_assessment';
320
+ meta?: {
321
+ cardTitle?: string;
322
+ } & Record<string, unknown>;
323
+ }
324
+ /** Keys for the five-item functional impairment scale (0–3 each). */
325
+ type FunctionalImpairmentDimension = 'reading' | 'nightDriving' | 'glare' | 'occupation' | 'adl';
326
+ /** Stored value for `functional_impairment_score` fields (sum 0–15). */
327
+ interface FunctionalImpairmentScoreValue {
328
+ reading: number;
329
+ nightDriving: number;
330
+ glare: number;
331
+ occupation: number;
332
+ adl: number;
333
+ }
334
+ /**
335
+ * Cataract-related functional impairment: five 0–3 items and total /15.
336
+ */
337
+ interface FunctionalImpairmentScoreFieldDef extends BaseFieldDef {
338
+ type: 'functional_impairment_score';
339
+ meta?: {
340
+ cardTitle?: string;
341
+ } & Record<string, unknown>;
342
+ }
343
+ /** Biometry acquisition method (IOL workup). */
344
+ type BiometryMethod = 'optical_biometry' | 'ascan_immersion' | 'ascan_contact';
345
+ /** Value for `biometry_iol_workup` — bilateral inputs, shared formula/method, optional workup flags. */
346
+ interface BiometryIolWorkupValue {
347
+ axialLengthOD: string;
348
+ axialLengthOS: string;
349
+ k1k2AxisOD: string;
350
+ k1k2AxisOS: string;
351
+ anteriorChamberDepthOD: string;
352
+ anteriorChamberDepthOS: string;
353
+ iolPowerOD: string;
354
+ iolPowerOS: string;
355
+ targetRefractionOD: string;
356
+ targetRefractionOS: string;
357
+ formula: string;
358
+ method: BiometryMethod;
359
+ cornealTopoUploaded: boolean;
360
+ specularMicroscopyDone: boolean;
361
+ endothelialCount: string;
362
+ }
363
+ /** Table + IOL formula workup (Stage 7). */
364
+ interface BiometryIolWorkupFieldDef extends BaseFieldDef {
365
+ type: 'biometry_iol_workup';
366
+ meta?: {
367
+ cardTitle?: string;
368
+ } & Record<string, unknown>;
369
+ }
370
+ /** Per-eye surgical risk checkbox selections; Diabetes is kept in sync for OD and OS. */
371
+ interface SurgicalRiskFlagsValue {
372
+ OD: string[];
373
+ OS: string[];
374
+ }
375
+ /** Bilateral cataract surgical risk flags with derived Low/Moderate/High badge per eye (Stage 11). */
376
+ interface SurgicalRiskFlagsFieldDef extends BaseFieldDef {
377
+ type: 'surgical_risk_flags';
378
+ meta?: {
379
+ cardTitle?: string;
380
+ } & Record<string, unknown>;
381
+ }
265
382
  interface MedicationFrequentItem {
266
383
  id: string;
267
384
  name: string;
@@ -320,7 +437,11 @@ interface DiagnosticPackage {
320
437
  department?: string;
321
438
  tests: DiagnosticPackageTest[];
322
439
  }
323
- type FieldDef = TextFieldDef | RichTextFieldDef | NumberFieldDef | SelectFieldDef | RadioFieldDef | CheckboxFieldDef | RepeatableFieldDef | ImageUploadFieldDef | MediaUploadFieldDef | SignatureFieldDef | EditableTableFieldDef | StaticTextFieldDef | MedicationsFieldDef | InvestigationsFieldDef | ProceduresFieldDef | DifferentialDiagnosisFieldDef | VitalsFieldDef | ReferralFieldDef | FollowupFieldDef | SmartTextareaFieldDef | DiagnosisTextareaFieldDef | ToggleFieldDef | BaseFieldDef;
440
+ type FieldDef = TextFieldDef | RichTextFieldDef | NumberFieldDef | SelectFieldDef | RadioFieldDef | CheckboxFieldDef | RepeatableFieldDef | ImageUploadFieldDef | MediaUploadFieldDef | SignatureFieldDef | EditableTableFieldDef | StaticTextFieldDef | MedicationsFieldDef | InvestigationsFieldDef | ProceduresFieldDef | DifferentialDiagnosisFieldDef | VitalsFieldDef | ReferralFieldDef | FollowupFieldDef | SmartTextareaFieldDef | DiagnosisTextareaFieldDef | SuggestionTextareaFieldDef | LensAssessmentFieldDef | FunctionalImpairmentScoreFieldDef | ToggleFieldDef | BiometryIolWorkupFieldDef | SurgicalRiskFlagsFieldDef | BaseFieldDef;
441
+ /** Boolean switch; value is `true` | `false`. */
442
+ interface ToggleFieldDef extends BaseFieldDef {
443
+ type: 'toggle';
444
+ }
324
445
  interface ToggleFieldDef extends BaseFieldDef {
325
446
  type: 'toggle';
326
447
  excludes?: string[];
@@ -328,6 +449,12 @@ interface ToggleFieldDef extends BaseFieldDef {
328
449
  interface Condition {
329
450
  field?: string;
330
451
  op: '==' | '!=' | '>' | '<' | '>=' | '<=' | 'in' | 'contains';
452
+ /**
453
+ * For `op: "contains"`:
454
+ * - If the field value is an **array**, checks `value.includes(condition.value)` (e.g. multiselect).
455
+ * - If the field value is a **string** (e.g. `suggestion_textarea`), splits on commas, trims
456
+ * tokens, and checks that one token equals `String(condition.value)` (chip values in text).
457
+ */
331
458
  value: any;
332
459
  }
333
460
  interface RuleAction {
@@ -958,4 +1085,4 @@ declare const SmartTextareaWidget: React.FC<{
958
1085
  fieldId: string;
959
1086
  }>;
960
1087
 
961
- export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, type BaseFieldDef, type CheckboxFieldDef, type ColumnLayout, type Computation, type Condition, type CreateUploadHandlerOptions, type DataSource, type DiagnosisGradeSelection, type DiagnosisTextareaFieldDef, type DiagnosisTextareaValue, type DiagnosticPackage, type DiagnosticPackageTest, DifferentialDiagnosis, type DifferentialDiagnosisFieldDef, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, type DoctorFrequentItems, DynamicForm, EMAIL_REGEX, type EditableTableColumnDef, type EditableTableFieldDef, type EventDefinition, type ExtractedKeywordMatch, type FieldDef, type FieldHandler, type FieldHandlersMap, type FieldPrefill, FieldRenderer, type FieldState, type FieldType, type FollowupFieldDef, type FollowupValue, FormControls, type FormControlsProps, type FormDef, type FormErrors, FormProvider, type FormState, FormStore, type FormValues, type FormulaComputation, type FormulaExpr, type ImageUploadFieldDef, ImageUploadWidget, type Investigation, type InvestigationFrequentItem, type InvestigationSearchResult, type InvestigationsFieldDef, type LayoutNode, MAR_MEDICATION_ORDERS_META_KEY, type MatchedCondition, type MediaUploadFieldDef, MediaUploadWidget, type Medication, type MedicationFrequentItem, type MedicationSearchResult, type MedicationsFieldDef, type NumberFieldDef, type Permission, type PresignedUploadResponse, type ProcedureFrequentItem, type ProceduresFieldDef, type RadioFieldDef, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, ReadOnlyTable, type ReferralFieldDef, type ReferralItem, type RepeatableFieldDef, type RichTextFieldDef, RichTextWidget, type Rule, type RuleAction, type RuleResult, type ScoreComputation, type ScoreRange, type Section, type SectionChild, type SelectFieldDef, type SelectOption, type SignatureFieldDef, SignatureUploadWidget, SmartForm, type SmartFormProps, type SmartKeywordsResult, type SmartTextareaFieldDef, type SmartTextareaValue, SmartTextareaWidget, type StaticTextFieldDef, type StoreConfig, type SubmissionData, type SumComputation, type TextFieldDef, type ToggleFieldDef, type ValidationRule, type VitalsFieldDef, type WebhookDef, type Workflow, type WorkflowTransition, createUploadHandler, evaluateRules, fieldMetaRequestsMarMedicationOrdersButton, useField, useFieldHandlers, useForm, useFormStore, useFrequentItems, usePackages, useSmartKeywords, validateField, validateForm };
1088
+ export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, type BaseFieldDef, type BiometryIolWorkupFieldDef, type BiometryIolWorkupValue, type BiometryMethod, type CheckboxFieldDef, type ColumnLayout, type Computation, type Condition, type CreateUploadHandlerOptions, type DataSource, type DiagnosisGradeSelection, type DiagnosisTextareaFieldDef, type DiagnosisTextareaValue, type DiagnosticPackage, type DiagnosticPackageTest, DifferentialDiagnosis, type DifferentialDiagnosisFieldDef, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, type DoctorFrequentItems, DynamicForm, EMAIL_REGEX, type EditableTableColumnDef, type EditableTableFieldDef, type EventDefinition, type ExtractedKeywordMatch, type FieldDef, type FieldHandler, type FieldHandlersMap, type FieldPrefill, FieldRenderer, type FieldState, type FieldType, type FollowupFieldDef, type FollowupValue, FormControls, type FormControlsProps, type FormDef, type FormErrors, FormProvider, type FormState, FormStore, type FormValues, type FormulaComputation, type FormulaExpr, type FunctionalImpairmentDimension, type FunctionalImpairmentScoreFieldDef, type FunctionalImpairmentScoreValue, type ImageUploadFieldDef, ImageUploadWidget, type Investigation, type InvestigationFrequentItem, type InvestigationSearchResult, type InvestigationsFieldDef, type LayoutNode, type LensAssessmentFieldDef, type LensAssessmentValue, type LocsGrades, MAR_MEDICATION_ORDERS_META_KEY, type MatchedCondition, type MediaUploadFieldDef, MediaUploadWidget, type Medication, type MedicationFrequentItem, type MedicationSearchResult, type MedicationsFieldDef, type NumberFieldDef, type Permission, type PresignedUploadResponse, type ProcedureFrequentItem, type ProceduresFieldDef, type RadioFieldDef, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, ReadOnlyTable, type ReferralFieldDef, type ReferralItem, type RepeatableFieldDef, type RichTextFieldDef, RichTextWidget, type Rule, type RuleAction, type RuleResult, type ScoreComputation, type ScoreRange, type Section, type SectionChild, type SelectFieldDef, type SelectOption, type SignatureFieldDef, SignatureUploadWidget, SmartForm, type SmartFormProps, type SmartKeywordsResult, type SmartTextareaFieldDef, type SmartTextareaValue, SmartTextareaWidget, type StaticTextFieldDef, type StoreConfig, type SubmissionData, type SuggestionTextareaFieldDef, type SumComputation, type SurgicalRiskFlagsFieldDef, type SurgicalRiskFlagsValue, type TextFieldDef, type ToggleFieldDef, type ValidationRule, type VitalsFieldDef, type WebhookDef, type Workflow, type WorkflowTransition, createUploadHandler, evaluateRules, fieldMetaRequestsMarMedicationOrdersButton, useField, useFieldHandlers, useForm, useFormStore, useFrequentItems, usePackages, useSmartKeywords, validateField, validateForm };