formanitor 0.1.11 → 0.2.0
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/AddInvestigationWidget-G7NPTSFY.cjs +32 -0
- package/dist/AddInvestigationWidget-G7NPTSFY.cjs.map +1 -0
- package/dist/AddInvestigationWidget-TQUKTGAW.mjs +30 -0
- package/dist/AddInvestigationWidget-TQUKTGAW.mjs.map +1 -0
- package/dist/AddMedicationWidget-26RHKIA6.cjs +32 -0
- package/dist/AddMedicationWidget-26RHKIA6.cjs.map +1 -0
- package/dist/AddMedicationWidget-I5UIT3WG.mjs +30 -0
- package/dist/AddMedicationWidget-I5UIT3WG.mjs.map +1 -0
- package/dist/AddProcedureWidget-B6OUF3BM.cjs +278 -0
- package/dist/AddProcedureWidget-B6OUF3BM.cjs.map +1 -0
- package/dist/AddProcedureWidget-NB46COB6.mjs +276 -0
- package/dist/AddProcedureWidget-NB46COB6.mjs.map +1 -0
- package/dist/BiometryIolWorkupWidget-F7HRYMOJ.mjs +298 -0
- package/dist/BiometryIolWorkupWidget-F7HRYMOJ.mjs.map +1 -0
- package/dist/BiometryIolWorkupWidget-TCU4MMVI.cjs +300 -0
- package/dist/BiometryIolWorkupWidget-TCU4MMVI.cjs.map +1 -0
- package/dist/DateTimeWidget-72YUK7PX.cjs +61 -0
- package/dist/DateTimeWidget-72YUK7PX.cjs.map +1 -0
- package/dist/DateTimeWidget-WKQIEQSA.mjs +59 -0
- package/dist/DateTimeWidget-WKQIEQSA.mjs.map +1 -0
- package/dist/DateWidget-K2TVTZ7Z.mjs +72 -0
- package/dist/DateWidget-K2TVTZ7Z.mjs.map +1 -0
- package/dist/DateWidget-SYDMSGWO.cjs +74 -0
- package/dist/DateWidget-SYDMSGWO.cjs.map +1 -0
- package/dist/DiagnosisTextareaWidget-RD65PGDY.mjs +184 -0
- package/dist/DiagnosisTextareaWidget-RD65PGDY.mjs.map +1 -0
- package/dist/DiagnosisTextareaWidget-UKWLE2SQ.cjs +190 -0
- package/dist/DiagnosisTextareaWidget-UKWLE2SQ.cjs.map +1 -0
- package/dist/DifferentialDiagnosisWidget-FENJP245.mjs +15 -0
- package/dist/DifferentialDiagnosisWidget-FENJP245.mjs.map +1 -0
- package/dist/DifferentialDiagnosisWidget-ZGFXP2BH.cjs +17 -0
- package/dist/DifferentialDiagnosisWidget-ZGFXP2BH.cjs.map +1 -0
- package/dist/DischargeMedicationOrdersWidget-26ALTGJM.mjs +161 -0
- package/dist/DischargeMedicationOrdersWidget-26ALTGJM.mjs.map +1 -0
- package/dist/DischargeMedicationOrdersWidget-B4CJQ3QS.cjs +163 -0
- package/dist/DischargeMedicationOrdersWidget-B4CJQ3QS.cjs.map +1 -0
- package/dist/EditableTable-LPAYCK36.mjs +279 -0
- package/dist/EditableTable-LPAYCK36.mjs.map +1 -0
- package/dist/EditableTable-YB4IC3ZK.cjs +281 -0
- package/dist/EditableTable-YB4IC3ZK.cjs.map +1 -0
- package/dist/FollowupWidget-EEKOI2TW.cjs +285 -0
- package/dist/FollowupWidget-EEKOI2TW.cjs.map +1 -0
- package/dist/FollowupWidget-NJ4QDBOG.mjs +283 -0
- package/dist/FollowupWidget-NJ4QDBOG.mjs.map +1 -0
- package/dist/FunctionalImpairmentScoreWidget-HAAPCMIS.cjs +93 -0
- package/dist/FunctionalImpairmentScoreWidget-HAAPCMIS.cjs.map +1 -0
- package/dist/FunctionalImpairmentScoreWidget-ZNLKKBYN.mjs +91 -0
- package/dist/FunctionalImpairmentScoreWidget-ZNLKKBYN.mjs.map +1 -0
- package/dist/GsExaminationWidget-EX6C3EF5.cjs +528 -0
- package/dist/GsExaminationWidget-EX6C3EF5.cjs.map +1 -0
- package/dist/GsExaminationWidget-MEIUHRQQ.mjs +526 -0
- package/dist/GsExaminationWidget-MEIUHRQQ.mjs.map +1 -0
- package/dist/GsGradingWidget-4UPOEYNL.mjs +90 -0
- package/dist/GsGradingWidget-4UPOEYNL.mjs.map +1 -0
- package/dist/GsGradingWidget-IV3UF63W.cjs +92 -0
- package/dist/GsGradingWidget-IV3UF63W.cjs.map +1 -0
- package/dist/GsSmartHistoryWidget-7QNJZEI4.cjs +398 -0
- package/dist/GsSmartHistoryWidget-7QNJZEI4.cjs.map +1 -0
- package/dist/GsSmartHistoryWidget-LGN7W2AV.mjs +396 -0
- package/dist/GsSmartHistoryWidget-LGN7W2AV.mjs.map +1 -0
- package/dist/HiddenVitalsWidget-AMH32HT2.cjs +55 -0
- package/dist/HiddenVitalsWidget-AMH32HT2.cjs.map +1 -0
- package/dist/HiddenVitalsWidget-W23IFSEF.mjs +53 -0
- package/dist/HiddenVitalsWidget-W23IFSEF.mjs.map +1 -0
- package/dist/LensAssessmentWidget-LSHBUTT5.cjs +234 -0
- package/dist/LensAssessmentWidget-LSHBUTT5.cjs.map +1 -0
- package/dist/LensAssessmentWidget-SJ6YUTSN.mjs +232 -0
- package/dist/LensAssessmentWidget-SJ6YUTSN.mjs.map +1 -0
- package/dist/MarMedicationOrdersWidget-IKMAFPRG.mjs +74 -0
- package/dist/MarMedicationOrdersWidget-IKMAFPRG.mjs.map +1 -0
- package/dist/MarMedicationOrdersWidget-ZKZLSZRN.cjs +76 -0
- package/dist/MarMedicationOrdersWidget-ZKZLSZRN.cjs.map +1 -0
- package/dist/OBGExaminationWidget-BK4ERETW.mjs +213 -0
- package/dist/OBGExaminationWidget-BK4ERETW.mjs.map +1 -0
- package/dist/OBGExaminationWidget-SMFZ2WCL.cjs +215 -0
- package/dist/OBGExaminationWidget-SMFZ2WCL.cjs.map +1 -0
- package/dist/OBGPathwayWidget-5YTUDBEH.cjs +519 -0
- package/dist/OBGPathwayWidget-5YTUDBEH.cjs.map +1 -0
- package/dist/OBGPathwayWidget-U5BCAESB.mjs +517 -0
- package/dist/OBGPathwayWidget-U5BCAESB.mjs.map +1 -0
- package/dist/ObstetricHistoryWidget-GC63CB3U.cjs +1115 -0
- package/dist/ObstetricHistoryWidget-GC63CB3U.cjs.map +1 -0
- package/dist/ObstetricHistoryWidget-WD572Q7H.mjs +1113 -0
- package/dist/ObstetricHistoryWidget-WD572Q7H.mjs.map +1 -0
- package/dist/OphthalDiagnosisWidget-QXFK446I.cjs +91 -0
- package/dist/OphthalDiagnosisWidget-QXFK446I.cjs.map +1 -0
- package/dist/OphthalDiagnosisWidget-Y3AHD6AG.mjs +89 -0
- package/dist/OphthalDiagnosisWidget-Y3AHD6AG.mjs.map +1 -0
- package/dist/OphthalmologyWidget-CRQMN5QU.mjs +1329 -0
- package/dist/OphthalmologyWidget-CRQMN5QU.mjs.map +1 -0
- package/dist/OphthalmologyWidget-U2HQMZ4J.cjs +1331 -0
- package/dist/OphthalmologyWidget-U2HQMZ4J.cjs.map +1 -0
- package/dist/OrthopedicExamWidget-LP7VN3W5.cjs +368 -0
- package/dist/OrthopedicExamWidget-LP7VN3W5.cjs.map +1 -0
- package/dist/OrthopedicExamWidget-PAOIVU6Z.mjs +366 -0
- package/dist/OrthopedicExamWidget-PAOIVU6Z.mjs.map +1 -0
- package/dist/PainScaleFlagsWidget-IBNGVVHD.cjs +153 -0
- package/dist/PainScaleFlagsWidget-IBNGVVHD.cjs.map +1 -0
- package/dist/PainScaleFlagsWidget-MRMQ7HPJ.mjs +151 -0
- package/dist/PainScaleFlagsWidget-MRMQ7HPJ.mjs.map +1 -0
- package/dist/ReadOnlyTable-4Y2XW4MX.mjs +6 -0
- package/dist/ReadOnlyTable-4Y2XW4MX.mjs.map +1 -0
- package/dist/ReadOnlyTable-L7G6GWEJ.cjs +15 -0
- package/dist/ReadOnlyTable-L7G6GWEJ.cjs.map +1 -0
- package/dist/ReferralWidget-IYTS32TS.mjs +169 -0
- package/dist/ReferralWidget-IYTS32TS.mjs.map +1 -0
- package/dist/ReferralWidget-PDNEKHFO.cjs +171 -0
- package/dist/ReferralWidget-PDNEKHFO.cjs.map +1 -0
- package/dist/RichTextWidget-5OOJ2LJN.mjs +11 -0
- package/dist/RichTextWidget-5OOJ2LJN.mjs.map +1 -0
- package/dist/RichTextWidget-XWLOHKLE.cjs +24 -0
- package/dist/RichTextWidget-XWLOHKLE.cjs.map +1 -0
- package/dist/SmartTextarea-L7Q4CORK.cjs +19 -0
- package/dist/SmartTextarea-L7Q4CORK.cjs.map +1 -0
- package/dist/SmartTextarea-ZCXGMZLG.mjs +10 -0
- package/dist/SmartTextarea-ZCXGMZLG.mjs.map +1 -0
- package/dist/SuggestionTextareaWidget-2TEITBPF.cjs +226 -0
- package/dist/SuggestionTextareaWidget-2TEITBPF.cjs.map +1 -0
- package/dist/SuggestionTextareaWidget-RN5LZYFC.mjs +215 -0
- package/dist/SuggestionTextareaWidget-RN5LZYFC.mjs.map +1 -0
- package/dist/SurgicalRiskFlagsWidget-DBICX4MB.mjs +144 -0
- package/dist/SurgicalRiskFlagsWidget-DBICX4MB.mjs.map +1 -0
- package/dist/SurgicalRiskFlagsWidget-JCSL3GWS.cjs +146 -0
- package/dist/SurgicalRiskFlagsWidget-JCSL3GWS.cjs.map +1 -0
- package/dist/UrologyExaminationWidget-74L3IN2X.cjs +273 -0
- package/dist/UrologyExaminationWidget-74L3IN2X.cjs.map +1 -0
- package/dist/UrologyExaminationWidget-IQEBP6CI.mjs +271 -0
- package/dist/UrologyExaminationWidget-IQEBP6CI.mjs.map +1 -0
- package/dist/UrologyPathwayWidget-S4QY6RD6.mjs +153 -0
- package/dist/UrologyPathwayWidget-S4QY6RD6.mjs.map +1 -0
- package/dist/UrologyPathwayWidget-UJY5EW2G.cjs +155 -0
- package/dist/UrologyPathwayWidget-UJY5EW2G.cjs.map +1 -0
- package/dist/UrologySmartHistoryWidget-NFTHHK6A.mjs +469 -0
- package/dist/UrologySmartHistoryWidget-NFTHHK6A.mjs.map +1 -0
- package/dist/UrologySmartHistoryWidget-XKZF63BV.cjs +471 -0
- package/dist/UrologySmartHistoryWidget-XKZF63BV.cjs.map +1 -0
- package/dist/VitalsWidget-44UWQGIF.cjs +208 -0
- package/dist/VitalsWidget-44UWQGIF.cjs.map +1 -0
- package/dist/VitalsWidget-MBYDGC7U.mjs +187 -0
- package/dist/VitalsWidget-MBYDGC7U.mjs.map +1 -0
- package/dist/chunk-4BAKQIPJ.mjs +27 -0
- package/dist/chunk-4BAKQIPJ.mjs.map +1 -0
- package/dist/chunk-4KSZUIJE.cjs +143 -0
- package/dist/chunk-4KSZUIJE.cjs.map +1 -0
- package/dist/chunk-4PMNVBJD.mjs +121 -0
- package/dist/chunk-4PMNVBJD.mjs.map +1 -0
- package/dist/chunk-5E3APMY6.cjs +54 -0
- package/dist/chunk-5E3APMY6.cjs.map +1 -0
- package/dist/chunk-AIZ3XYEZ.cjs +551 -0
- package/dist/chunk-AIZ3XYEZ.cjs.map +1 -0
- package/dist/chunk-AZHTIUOL.mjs +116 -0
- package/dist/chunk-AZHTIUOL.mjs.map +1 -0
- package/dist/chunk-AZSAPO2V.cjs +174 -0
- package/dist/chunk-AZSAPO2V.cjs.map +1 -0
- package/dist/chunk-AZVJU7NZ.mjs +137 -0
- package/dist/chunk-AZVJU7NZ.mjs.map +1 -0
- package/dist/chunk-B3GBIAHZ.mjs +285 -0
- package/dist/chunk-B3GBIAHZ.mjs.map +1 -0
- package/dist/chunk-BMNY7F6H.mjs +148 -0
- package/dist/chunk-BMNY7F6H.mjs.map +1 -0
- package/dist/chunk-BU4ZEAAP.mjs +102 -0
- package/dist/chunk-BU4ZEAAP.mjs.map +1 -0
- package/dist/chunk-CTW65YW2.cjs +388 -0
- package/dist/chunk-CTW65YW2.cjs.map +1 -0
- package/dist/chunk-DE7VZVKR.cjs +140 -0
- package/dist/chunk-DE7VZVKR.cjs.map +1 -0
- package/dist/chunk-DZYV47QC.mjs +54 -0
- package/dist/chunk-DZYV47QC.mjs.map +1 -0
- package/dist/chunk-E7WUDHSA.cjs +127 -0
- package/dist/chunk-E7WUDHSA.cjs.map +1 -0
- package/dist/chunk-FHHISVCH.cjs +13 -0
- package/dist/chunk-FHHISVCH.cjs.map +1 -0
- package/dist/chunk-FZEEWRW3.cjs +77 -0
- package/dist/chunk-FZEEWRW3.cjs.map +1 -0
- package/dist/chunk-GFDE2KZC.mjs +228 -0
- package/dist/chunk-GFDE2KZC.mjs.map +1 -0
- package/dist/chunk-GNZWSVTB.mjs +29 -0
- package/dist/chunk-GNZWSVTB.mjs.map +1 -0
- package/dist/chunk-GXXWMHAA.mjs +49 -0
- package/dist/chunk-GXXWMHAA.mjs.map +1 -0
- package/dist/chunk-GZPCYSJK.mjs +104 -0
- package/dist/chunk-GZPCYSJK.mjs.map +1 -0
- package/dist/chunk-HEFZA2AH.mjs +22 -0
- package/dist/chunk-HEFZA2AH.mjs.map +1 -0
- package/dist/chunk-I4AV6BQF.mjs +10 -0
- package/dist/chunk-I4AV6BQF.mjs.map +1 -0
- package/dist/chunk-IDSBJOFY.cjs +1885 -0
- package/dist/chunk-IDSBJOFY.cjs.map +1 -0
- package/dist/chunk-IFMQKLNW.mjs +39 -0
- package/dist/chunk-IFMQKLNW.mjs.map +1 -0
- package/dist/chunk-IFSKLIS2.cjs +12 -0
- package/dist/chunk-IFSKLIS2.cjs.map +1 -0
- package/dist/chunk-IKAKE7TR.mjs +527 -0
- package/dist/chunk-IKAKE7TR.mjs.map +1 -0
- package/dist/chunk-JE6VXRWW.cjs +86 -0
- package/dist/chunk-JE6VXRWW.cjs.map +1 -0
- package/dist/chunk-JMGUUFOJ.cjs +45 -0
- package/dist/chunk-JMGUUFOJ.cjs.map +1 -0
- package/dist/chunk-JNVSA77L.cjs +236 -0
- package/dist/chunk-JNVSA77L.cjs.map +1 -0
- package/dist/chunk-KJA5BLGX.cjs +31 -0
- package/dist/chunk-KJA5BLGX.cjs.map +1 -0
- package/dist/chunk-KMJOTMUQ.cjs +109 -0
- package/dist/chunk-KMJOTMUQ.cjs.map +1 -0
- package/dist/chunk-KPGTPJDH.cjs +32 -0
- package/dist/chunk-KPGTPJDH.cjs.map +1 -0
- package/dist/chunk-LBWB7MYU.cjs +287 -0
- package/dist/chunk-LBWB7MYU.cjs.map +1 -0
- package/dist/chunk-LGGOBIEA.mjs +61 -0
- package/dist/chunk-LGGOBIEA.mjs.map +1 -0
- package/dist/chunk-LQYWMYEC.mjs +28 -0
- package/dist/chunk-LQYWMYEC.mjs.map +1 -0
- package/dist/chunk-MIUUO4CI.mjs +361 -0
- package/dist/chunk-MIUUO4CI.mjs.map +1 -0
- package/dist/chunk-N4L76SHJ.cjs +65 -0
- package/dist/chunk-N4L76SHJ.cjs.map +1 -0
- package/dist/chunk-NJJTIL3U.cjs +73 -0
- package/dist/chunk-NJJTIL3U.cjs.map +1 -0
- package/dist/chunk-O3VQBPEW.cjs +72 -0
- package/dist/chunk-O3VQBPEW.cjs.map +1 -0
- package/dist/chunk-P62377LB.cjs +27 -0
- package/dist/chunk-P62377LB.cjs.map +1 -0
- package/dist/chunk-PHADAQSH.cjs +49 -0
- package/dist/chunk-PHADAQSH.cjs.map +1 -0
- package/dist/chunk-PZBJYPWW.cjs +52 -0
- package/dist/chunk-PZBJYPWW.cjs.map +1 -0
- package/dist/chunk-QKJ7BQSR.cjs +538 -0
- package/dist/chunk-QKJ7BQSR.cjs.map +1 -0
- package/dist/chunk-QS6WG2XJ.cjs +56 -0
- package/dist/chunk-QS6WG2XJ.cjs.map +1 -0
- package/dist/chunk-S7EMPE2D.cjs +104 -0
- package/dist/chunk-S7EMPE2D.cjs.map +1 -0
- package/dist/chunk-SCMXLRX5.mjs +42 -0
- package/dist/chunk-SCMXLRX5.mjs.map +1 -0
- package/dist/chunk-TJHG5WHX.cjs +47 -0
- package/dist/chunk-TJHG5WHX.cjs.map +1 -0
- package/dist/chunk-UGGUIXUS.cjs +41 -0
- package/dist/chunk-UGGUIXUS.cjs.map +1 -0
- package/dist/chunk-UULLSS4O.mjs +82 -0
- package/dist/chunk-UULLSS4O.mjs.map +1 -0
- package/dist/chunk-VNFBUAZD.mjs +25 -0
- package/dist/chunk-VNFBUAZD.mjs.map +1 -0
- package/dist/chunk-VPU66PI6.mjs +11 -0
- package/dist/chunk-VPU66PI6.mjs.map +1 -0
- package/dist/chunk-WYVXXEZI.mjs +46 -0
- package/dist/chunk-WYVXXEZI.mjs.map +1 -0
- package/dist/chunk-XDUVO3IZ.mjs +547 -0
- package/dist/chunk-XDUVO3IZ.mjs.map +1 -0
- package/dist/chunk-XR2ZM654.mjs +30 -0
- package/dist/chunk-XR2ZM654.mjs.map +1 -0
- package/dist/chunk-Y7TIWH4I.mjs +25 -0
- package/dist/chunk-Y7TIWH4I.mjs.map +1 -0
- package/dist/chunk-YEFM2ERQ.cjs +143 -0
- package/dist/chunk-YEFM2ERQ.cjs.map +1 -0
- package/dist/chunk-YYPMIUDW.mjs +69 -0
- package/dist/chunk-YYPMIUDW.mjs.map +1 -0
- package/dist/chunk-ZGPHTPAN.mjs +1851 -0
- package/dist/chunk-ZGPHTPAN.mjs.map +1 -0
- package/dist/chunk-ZSOIQVB3.mjs +75 -0
- package/dist/chunk-ZSOIQVB3.mjs.map +1 -0
- package/dist/index.cjs +1596 -14540
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -767
- package/dist/index.d.ts +4 -767
- package/dist/index.mjs +1358 -14349
- package/dist/index.mjs.map +1 -1
- package/dist/read-only-table.cjs +15 -0
- package/dist/read-only-table.cjs.map +1 -0
- package/dist/read-only-table.d.cts +10 -0
- package/dist/read-only-table.d.ts +10 -0
- package/dist/read-only-table.mjs +6 -0
- package/dist/read-only-table.mjs.map +1 -0
- package/dist/rich-text.cjs +24 -0
- package/dist/rich-text.cjs.map +1 -0
- package/dist/rich-text.d.cts +8 -0
- package/dist/rich-text.d.ts +8 -0
- package/dist/rich-text.mjs +11 -0
- package/dist/rich-text.mjs.map +1 -0
- package/dist/richTextClassName--8wkuHkW.d.cts +10 -0
- package/dist/richTextClassName--8wkuHkW.d.ts +10 -0
- package/dist/smart.cjs +23 -0
- package/dist/smart.cjs.map +1 -0
- package/dist/smart.d.cts +23 -0
- package/dist/smart.d.ts +23 -0
- package/dist/smart.mjs +10 -0
- package/dist/smart.mjs.map +1 -0
- package/dist/types-D0iYXUOo.d.cts +736 -0
- package/dist/types-D0iYXUOo.d.ts +736 -0
- package/package.json +20 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,740 +1,8 @@
|
|
|
1
|
+
import { G as FormValues, y as FormDef, A as FormState, F as FieldDef, aF as WorkflowTransition, af as Rule, m as DoctorFrequentItems, j as DiagnosticPackage, B as BaseFieldDef, Y as MedicationFrequentItem, Q as InvestigationFrequentItem } from './types-D0iYXUOo.js';
|
|
2
|
+
export { a as BiometryIolWorkupFieldDef, b as BiometryIolWorkupValue, c as BiometryMethod, C as CheckboxFieldDef, d as ColumnLayout, e as Computation, f as Condition, D as DataSource, g as DiagnosisGradeSelection, h as DiagnosisTextareaFieldDef, i as DiagnosisTextareaValue, k as DiagnosticPackageTest, l as DifferentialDiagnosisFieldDef, E as EditableTableColumnDef, n as EditableTableFieldDef, o as EventDefinition, p as ExtractedKeywordMatch, q as FieldPrefill, r as FieldState, s as FieldStyleClassNames, t as FieldStyleConfig, u as FieldType, v as FileUploadFieldDef, w as FollowupFieldDef, x as FollowupValue, z as FormErrors, H as FormulaComputation, I as FormulaExpr, J as FunctionalImpairmentDimension, K as FunctionalImpairmentScoreFieldDef, L as FunctionalImpairmentScoreValue, M as GeneralSurgeryExaminationFieldDef, N as GeneralSurgeryGradingFieldDef, O as GeneralSurgerySmartHistoryFieldDef, P as ImageUploadFieldDef, R as InvestigationsFieldDef, S as LayoutNode, T as LensAssessmentFieldDef, U as LensAssessmentValue, V as LocsGrades, W as MatchedCondition, X as MediaUploadFieldDef, Z as MedicationsFieldDef, _ as MultiStepLayoutNode, $ as MultiStepNode, a0 as NumberFieldDef, a1 as OBGExaminationFieldDef, a2 as OBGPathwayFieldDef, a3 as OtpInputFieldDef, a4 as OtpVerifiedValue, a5 as PainScaleFlagsFieldDef, a6 as Permission, a7 as PhoneInputFieldDef, a8 as ProcedureFrequentItem, a9 as ProceduresFieldDef, aa as RadioFieldDef, ab as ReferralFieldDef, ac as ReferralItem, ad as RepeatableFieldDef, ae as RichTextFieldDef, ag as RuleAction, ah as ScoreComputation, ai as ScoreRange, aj as Section, ak as SectionChild, al as SelectFieldDef, am as SelectOption, an as SignatureFieldDef, ao as SliderFieldDef, ap as SmartTextareaFieldDef, aq as SmartTextareaValue, ar as StaticTextFieldDef, as as SuggestionTextareaFieldDef, at as SumComputation, au as SurgicalRiskFlagsFieldDef, av as SurgicalRiskFlagsValue, aw as TextFieldDef, ax as ToggleFieldDef, ay as UrologyExaminationFieldDef, az as UrologyPathwayFieldDef, aA as UrologySmartHistoryFieldDef, aB as ValidationRule, aC as VitalsFieldDef, aD as WebhookDef, aE as Workflow } from './types-D0iYXUOo.js';
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
type FieldType = "text" | "number" | "textarea" | "diagnosis_textarea" | "richtext" | "select" | "multiselect" | "radio" | "repeatable" | "checkbox" | "image_upload" | "media_upload" | "file_upload" | "signature" | "date" | "datetime" | "editable_table" | "static_text" | "medications" | "investigations" | "procedures" | "vitals" | "hidden_vitals" | "referral" | "followup" | "toggle" | "urology_smart_history" | "urology_examination" | "urology_pathway" | string;
|
|
5
|
-
interface ValidationRule {
|
|
6
|
-
min?: number;
|
|
7
|
-
max?: number;
|
|
8
|
-
minLength?: number;
|
|
9
|
-
maxLength?: number;
|
|
10
|
-
pattern?: string;
|
|
11
|
-
custom?: (value: any) => string | null;
|
|
12
|
-
}
|
|
13
|
-
interface Permission {
|
|
14
|
-
[role: string]: "edit" | "view" | "hide";
|
|
15
|
-
}
|
|
16
|
-
interface DataSource {
|
|
17
|
-
source: string;
|
|
18
|
-
params?: Record<string, any>;
|
|
19
|
-
dependsOn?: string[];
|
|
20
|
-
}
|
|
21
|
-
interface EventDefinition {
|
|
22
|
-
trigger: "onValueChange" | "onBlur" | "onFocus";
|
|
23
|
-
condition?: Condition;
|
|
24
|
-
emit: string;
|
|
25
|
-
}
|
|
26
|
-
interface FieldPrefill {
|
|
27
|
-
value?: any;
|
|
28
|
-
source?: string;
|
|
29
|
-
field?: string;
|
|
30
|
-
}
|
|
31
|
-
/** Optional Tailwind (or other) class names applied on top of each field’s default styles. */
|
|
32
|
-
interface FieldStyleClassNames {
|
|
33
|
-
/** Outermost wrapper around the field (typically the `space-y-*` column). */
|
|
34
|
-
wrapper?: string;
|
|
35
|
-
/** Primary field label (the `Label` next to the control). */
|
|
36
|
-
label?: string;
|
|
37
|
-
/** Main interactive control: input, textarea, select trigger, upload area, bordered option list, etc. */
|
|
38
|
-
control?: string;
|
|
39
|
-
/** Helper text under the field (`description` in schema). */
|
|
40
|
-
description?: string;
|
|
41
|
-
/** Validation / error line below the field. */
|
|
42
|
-
error?: string;
|
|
43
|
-
/** The red asterisk shown when `required` is true (only if `showRequiredAsterisk` is not false). */
|
|
44
|
-
requiredIndicator?: string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Per-field presentation overrides. All keys optional — omitting `style` keeps existing behaviour.
|
|
48
|
-
*/
|
|
49
|
-
interface FieldStyleConfig {
|
|
50
|
-
/** When false, the primary label row is hidden (controls should use `aria-label`). Default true. */
|
|
51
|
-
labelVisible?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* When false, the red * for required fields is not rendered. Validation still uses `required`.
|
|
54
|
-
* Default true (show asterisk when required).
|
|
55
|
-
*/
|
|
56
|
-
showRequiredAsterisk?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* When true and `classNames.control` is provided, control defaults are skipped and only that class
|
|
59
|
-
* string is used for the main control element. Default false (merge defaults + control override).
|
|
60
|
-
*/
|
|
61
|
-
fullControl?: boolean;
|
|
62
|
-
classNames?: FieldStyleClassNames;
|
|
63
|
-
}
|
|
64
|
-
interface BaseFieldDef {
|
|
65
|
-
id: string;
|
|
66
|
-
type: FieldType;
|
|
67
|
-
label: string;
|
|
68
|
-
required?: boolean;
|
|
69
|
-
permissions?: Permission;
|
|
70
|
-
validation?: ValidationRule;
|
|
71
|
-
dataSource?: DataSource;
|
|
72
|
-
events?: EventDefinition[];
|
|
73
|
-
placeholder?: string;
|
|
74
|
-
description?: string;
|
|
75
|
-
defaultValue?: any;
|
|
76
|
-
disabled?: boolean;
|
|
77
|
-
hidden?: boolean;
|
|
78
|
-
prefill?: FieldPrefill;
|
|
79
|
-
/**
|
|
80
|
-
* High-level column position in SmartForm layout.
|
|
81
|
-
* - "left" and "right" are narrow side columns.
|
|
82
|
-
* - "center" is the main content column and is 2× the width of side columns.
|
|
83
|
-
* Default: "center" when omitted.
|
|
84
|
-
*/
|
|
85
|
-
position?: "left" | "center" | "right";
|
|
86
|
-
/**
|
|
87
|
-
* How many layout columns this field spans horizontally.
|
|
88
|
-
* - 1 = occupies its own column (e.g. just "left", just "center", or just "right")
|
|
89
|
-
* - 2 = spans into an adjacent column (e.g. left+center or center+right)
|
|
90
|
-
* Default: 1.
|
|
91
|
-
*/
|
|
92
|
-
colSpan?: 1 | 2;
|
|
93
|
-
/**
|
|
94
|
-
* Optional theme name for component styling.
|
|
95
|
-
* Renders the field with theme-specific styles (e.g. textarea with "highlight-label"
|
|
96
|
-
* shows the label in a colored block above the input).
|
|
97
|
-
*/
|
|
98
|
-
theme?: string;
|
|
99
|
-
/** Optional layout and class overrides for this field (see {@link FieldStyleConfig}). */
|
|
100
|
-
style?: FieldStyleConfig;
|
|
101
|
-
meta?: Record<string, unknown>;
|
|
102
|
-
/**
|
|
103
|
-
* When true, a microphone button is rendered alongside this field so the
|
|
104
|
-
* user can dictate its value via speech. Requires `StoreConfig.voice` to
|
|
105
|
-
* be wired up with an `onTranscribe` callback.
|
|
106
|
-
*/
|
|
107
|
-
voice?: boolean;
|
|
108
|
-
}
|
|
109
|
-
interface TextFieldDef extends BaseFieldDef {
|
|
110
|
-
type: "text" | "textarea";
|
|
111
|
-
/** For textarea: height in pixels. If omitted, uses default min height (80px). */
|
|
112
|
-
height?: number;
|
|
113
|
-
}
|
|
114
|
-
/** Rich text (HTML) field with TipTap toolbar. Value is stored as HTML string. */
|
|
115
|
-
interface RichTextFieldDef extends BaseFieldDef {
|
|
116
|
-
type: "richtext";
|
|
117
|
-
/** Minimum height of the editor body in pixels. Default: 160. */
|
|
118
|
-
minHeight?: number;
|
|
119
|
-
/** When true, enables table insert/edit controls in the toolbar. Default: false. */
|
|
120
|
-
tables?: boolean;
|
|
121
|
-
}
|
|
122
|
-
interface NumberFieldDef extends BaseFieldDef {
|
|
123
|
-
type: "number";
|
|
124
|
-
}
|
|
125
|
-
/** Single-thumb numeric slider (e.g. VAS 0–10). Value is a number. */
|
|
126
|
-
interface SliderFieldDef extends BaseFieldDef {
|
|
127
|
-
type: "slider";
|
|
128
|
-
/** Inclusive minimum. Default 0. */
|
|
129
|
-
min?: number;
|
|
130
|
-
/** Inclusive maximum. Default 10. */
|
|
131
|
-
max?: number;
|
|
132
|
-
/** Default 1. */
|
|
133
|
-
step?: number;
|
|
134
|
-
}
|
|
135
|
-
/** Option for select/radio/checkbox. When score is set, sum computation uses it for aggregation. */
|
|
136
|
-
interface SelectOption {
|
|
137
|
-
label: string;
|
|
138
|
-
value: any;
|
|
139
|
-
score?: number;
|
|
140
|
-
}
|
|
141
|
-
interface SelectFieldDef extends BaseFieldDef {
|
|
142
|
-
type: "select" | "multiselect";
|
|
143
|
-
options?: SelectOption[];
|
|
144
|
-
}
|
|
145
|
-
interface RadioFieldDef extends BaseFieldDef {
|
|
146
|
-
type: "radio";
|
|
147
|
-
options?: SelectOption[];
|
|
148
|
-
}
|
|
149
|
-
interface CheckboxFieldDef extends BaseFieldDef {
|
|
150
|
-
type: "checkbox";
|
|
151
|
-
/** Options for the checkbox group; value is stored as array of selected option values. */
|
|
152
|
-
options?: SelectOption[];
|
|
153
|
-
}
|
|
154
|
-
interface RepeatableFieldDef extends BaseFieldDef {
|
|
155
|
-
type: "repeatable";
|
|
156
|
-
row: FieldDef[];
|
|
157
|
-
}
|
|
158
|
-
interface ImageUploadFieldDef extends BaseFieldDef {
|
|
159
|
-
type: "image_upload";
|
|
160
|
-
maxSize?: number;
|
|
161
|
-
acceptedTypes?: string[];
|
|
162
|
-
}
|
|
163
|
-
interface MediaUploadFieldDef extends BaseFieldDef {
|
|
164
|
-
type: "media_upload";
|
|
165
|
-
maxSize?: number;
|
|
166
|
-
/** Default: images (image/*) and application/pdf */
|
|
167
|
-
acceptedTypes?: string[];
|
|
168
|
-
}
|
|
169
|
-
interface FileUploadFieldDef extends BaseFieldDef {
|
|
170
|
-
type: "file_upload";
|
|
171
|
-
/** HTML accept string, e.g. "application/pdf,image/*" */
|
|
172
|
-
accept?: string;
|
|
173
|
-
multiple?: boolean;
|
|
174
|
-
maxSize?: number;
|
|
175
|
-
uploadPlaceholder?: string;
|
|
176
|
-
uploadFormats?: string;
|
|
177
|
-
/** When true, uploaded files render as a stacked list with removable rows. */
|
|
178
|
-
list?: boolean;
|
|
179
|
-
}
|
|
180
|
-
interface SignatureFieldDef extends BaseFieldDef {
|
|
181
|
-
type: "signature";
|
|
182
|
-
canvasWidth?: number;
|
|
183
|
-
canvasHeight?: number;
|
|
184
|
-
strokeColor?: string;
|
|
185
|
-
strokeWidth?: number;
|
|
186
|
-
}
|
|
187
|
-
/** Column definition for editable_table (initial and runtime). allowDelete applies per column. */
|
|
188
|
-
interface EditableTableColumnDef {
|
|
189
|
-
id: string;
|
|
190
|
-
label: string;
|
|
191
|
-
/** If false, the delete button for this column is hidden. Default true when omitted. */
|
|
192
|
-
allowDelete?: boolean;
|
|
193
|
-
}
|
|
194
|
-
interface EditableTableFieldDef extends BaseFieldDef {
|
|
195
|
-
type: "editable_table";
|
|
196
|
-
/** Initial columns. Per-column allowDelete controls whether that column can be removed. */
|
|
197
|
-
columns?: EditableTableColumnDef[];
|
|
198
|
-
allowAddRow?: boolean;
|
|
199
|
-
allowAddColumn?: boolean;
|
|
200
|
-
allowDeleteRow?: boolean;
|
|
201
|
-
allowDeleteColumn?: boolean;
|
|
202
|
-
/** Custom label for the "Add Row" button. Default: "Add Row". */
|
|
203
|
-
addRowLabel?: string;
|
|
204
|
-
/** Custom label for the "Add Column" button. Default: "Add Column". */
|
|
205
|
-
addColumnLabel?: string;
|
|
206
|
-
/** Placeholder/hint for the new column name input. Default: "New Column Name". */
|
|
207
|
-
newColumnNameHint?: string;
|
|
208
|
-
/** How to capture new column name: "text" (input) or "datetime" (picker). Default: "text". */
|
|
209
|
-
newColumnNameInputType?: "text" | "datetime";
|
|
210
|
-
/** Minimum rows to keep; delete button is hidden when rows.length <= minRows. Default: 0. */
|
|
211
|
-
minRows?: number;
|
|
212
|
-
}
|
|
213
|
-
interface StaticTextFieldDef extends BaseFieldDef {
|
|
214
|
-
type: "static_text";
|
|
215
|
-
/** Display size. Default: 'regular'. */
|
|
216
|
-
size?: "regular" | "large";
|
|
217
|
-
}
|
|
218
|
-
interface MedicationsFieldDef extends BaseFieldDef {
|
|
219
|
-
type: "medications";
|
|
220
|
-
}
|
|
221
|
-
interface InvestigationsFieldDef extends BaseFieldDef {
|
|
222
|
-
type: "investigations";
|
|
223
|
-
}
|
|
224
|
-
interface ProceduresFieldDef extends BaseFieldDef {
|
|
225
|
-
type: "procedures";
|
|
226
|
-
}
|
|
227
|
-
interface DifferentialDiagnosisFieldDef extends BaseFieldDef {
|
|
228
|
-
type: "differential_diagnosis";
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* A read-only vitals panel populated by an external API fetch.
|
|
232
|
-
* The consumer provides `onFetch` in `fieldHandlers` for this field ID.
|
|
233
|
-
* The fetched value (raw vitals object) is stored in form state and included in submission.
|
|
234
|
-
*/
|
|
235
|
-
interface VitalsFieldDef extends BaseFieldDef {
|
|
236
|
-
type: "vitals";
|
|
237
|
-
}
|
|
238
|
-
/** One selected referral. Stored in form state as an array of these. */
|
|
239
|
-
interface ReferralItem {
|
|
240
|
-
specialization: string;
|
|
241
|
-
is_urgent: boolean;
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Referral field: label "Referral to" with a multiselect dropdown and chips.
|
|
245
|
-
* Value shape: ReferralItem[] e.g. [{ specialization: "Cardiology", is_urgent: false }, ...].
|
|
246
|
-
* Options via fieldHandlers[fieldId].onFetchOptions (e.g. { specializations: string[] }).
|
|
247
|
-
*/
|
|
248
|
-
interface ReferralFieldDef extends BaseFieldDef {
|
|
249
|
-
type: "referral";
|
|
250
|
-
options?: SelectOption[];
|
|
251
|
-
}
|
|
252
|
-
/** Stored value for followup field: false/null = no followup; object = one-time followup as number of days from current date. */
|
|
253
|
-
interface FollowupValue {
|
|
254
|
-
followupType: "one time";
|
|
255
|
-
/** Number of days from (current) date when set; always stored as string. */
|
|
256
|
-
value: string;
|
|
257
|
-
unit: "days";
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* Follow-up field: "No Follow-up" | "One Time" with schedule by duration (e.g. 7 days) or by date.
|
|
261
|
-
* Value shape: false | FollowupValue.
|
|
262
|
-
*/
|
|
263
|
-
interface FollowupFieldDef extends BaseFieldDef {
|
|
264
|
-
type: "followup";
|
|
265
|
-
}
|
|
266
|
-
/** A matched master record returned from a backend search API. */
|
|
267
|
-
interface MatchedCondition {
|
|
268
|
-
id: number | string;
|
|
269
|
-
name: string;
|
|
270
|
-
created_at?: string;
|
|
271
|
-
updated_at?: string;
|
|
272
|
-
}
|
|
273
|
-
/** A single keyword-to-master-record match produced by NLP extraction + search. */
|
|
274
|
-
interface ExtractedKeywordMatch {
|
|
275
|
-
extractedKeyword: string;
|
|
276
|
-
matchedCondition: MatchedCondition;
|
|
277
|
-
}
|
|
278
|
-
/** Structured value stored in form state for smart_textarea fields. */
|
|
279
|
-
interface SmartTextareaValue {
|
|
280
|
-
text: string;
|
|
281
|
-
extractedKeywords: ExtractedKeywordMatch[];
|
|
282
|
-
}
|
|
283
|
-
/** Selected diagnosis grade chip (single-selection). */
|
|
284
|
-
interface DiagnosisGradeSelection {
|
|
285
|
-
condition: string;
|
|
286
|
-
grade: string;
|
|
287
|
-
}
|
|
288
|
-
/**
|
|
289
|
-
* Structured value for diagnosis_textarea fields.
|
|
290
|
-
* - `text` is the textarea content (what will be submitted).
|
|
291
|
-
* - `selectedGradesByCondition` stores one selected chip per condition for later metadata/preview use.
|
|
292
|
-
*/
|
|
293
|
-
interface DiagnosisTextareaValue {
|
|
294
|
-
text: string;
|
|
295
|
-
selectedGradesByCondition: Record<string, string>;
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Smart textarea that performs client-side NLP keyword extraction and searches
|
|
299
|
-
* matched terms against backend master tables via `fieldHandlers[fieldId].onSearch`.
|
|
300
|
-
*
|
|
301
|
-
* Value shape: `SmartTextareaValue` — `{ text, extractedKeywords }`.
|
|
302
|
-
*/
|
|
303
|
-
interface SmartTextareaFieldDef extends BaseFieldDef {
|
|
304
|
-
type: "smart_textarea";
|
|
305
|
-
height?: number;
|
|
306
|
-
/** Semantic label for the kind of content (e.g. 'allergies', 'chiefComplaints', 'symptoms'). */
|
|
307
|
-
componentType: string;
|
|
308
|
-
/** Debounce delay in ms before NLP + search triggers. Default: 1000. */
|
|
309
|
-
debounceDelay?: number;
|
|
310
|
-
}
|
|
311
|
-
/**
|
|
312
|
-
* Diagnosis textarea that can display condition-wise grade chips based on
|
|
313
|
-
* asynchronous API response.
|
|
314
|
-
*
|
|
315
|
-
* Value shape in form state can be plain text (legacy) or `DiagnosisTextareaValue`.
|
|
316
|
-
*/
|
|
317
|
-
interface DiagnosisTextareaFieldDef extends BaseFieldDef {
|
|
318
|
-
type: "diagnosis_textarea";
|
|
319
|
-
/** Height in pixels. If omitted, uses default min height (80px). */
|
|
320
|
-
height?: number;
|
|
321
|
-
/** Debounce delay in ms before API call triggers. Default: 700. */
|
|
322
|
-
debounceDelay?: number;
|
|
323
|
-
}
|
|
324
|
-
/**
|
|
325
|
-
* Reusable **textarea** with optional **suggestion chips** (schema `options` or `dataSource`).
|
|
326
|
-
* - Value is a **single string**; chip clicks toggle option `value` tokens. With schema `options`,
|
|
327
|
-
* chip slugs are written on the **last line** (comma-separated); prose above stays on earlier lines.
|
|
328
|
-
* - Schema `rules` with `op: "contains"` on this field match **token equality** after splitting
|
|
329
|
-
* on commas and newlines (see `evaluateRules` / `suggestion_textarea` docs).
|
|
330
|
-
* - Optionally set **`meta.parallelChipFieldId`** to the id of a **`multiselect`** field (often
|
|
331
|
-
* `hidden`) with the same `options`; that field’s array value is derived from chip tokens in
|
|
332
|
-
* the textarea string so APIs can read a structured list without parsing commas.
|
|
333
|
-
* - `complaint_chips` is an alias type string for the same widget (e.g. chief complaints).
|
|
334
|
-
*/
|
|
335
|
-
interface SuggestionTextareaFieldDef extends BaseFieldDef {
|
|
336
|
-
type: "suggestion_textarea" | "complaint_chips";
|
|
337
|
-
options?: SelectOption[];
|
|
338
|
-
/** Height in pixels for the textarea. */
|
|
339
|
-
height?: number;
|
|
340
|
-
meta?: {
|
|
341
|
-
/** Join string when writing tokens (default `", "`). */
|
|
342
|
-
appendSeparator?: string;
|
|
343
|
-
/** `aria-label` for the chip group. */
|
|
344
|
-
suggestionsAriaLabel?: string;
|
|
345
|
-
/**
|
|
346
|
-
* ID of a sibling **`multiselect`** field (usually `hidden: true`). Its value is kept in sync
|
|
347
|
-
* as an array of selected chip values derived from the comma- and newline-separated textarea string.
|
|
348
|
-
*/
|
|
349
|
-
parallelChipFieldId?: string;
|
|
350
|
-
/**
|
|
351
|
-
* Optional sibling field ids rendered **inside** the suggestion shell (between chips and the
|
|
352
|
-
* free-text area). Typically `text` / `select` fields (e.g. duration, onset). Those fields
|
|
353
|
-
* should use **`hidden: true`** and be **omitted from `layout`** so they are not shown twice.
|
|
354
|
-
*/
|
|
355
|
-
embeddedFieldIds?: string[];
|
|
356
|
-
} & Record<string, unknown>;
|
|
357
|
-
}
|
|
358
|
-
/** LOCS III component grades for one eye (integer scales per LOCS III). */
|
|
359
|
-
interface LocsGrades {
|
|
360
|
-
NO: number;
|
|
361
|
-
NC: number;
|
|
362
|
-
C: number;
|
|
363
|
-
PSC: number;
|
|
364
|
-
}
|
|
365
|
-
/** Value stored for `lens_assessment` fields. */
|
|
366
|
-
interface LensAssessmentValue {
|
|
367
|
-
notes: string;
|
|
368
|
-
/**
|
|
369
|
-
* Legacy optional key from older templates; LOCS UI does not surface chips.
|
|
370
|
-
* Kept for backward compatibility with saved submissions.
|
|
371
|
-
*/
|
|
372
|
-
assessmentKey?: string;
|
|
373
|
-
/** LOCS III grades; omitted in older payloads — normalized to zeros in the widget. */
|
|
374
|
-
locs?: {
|
|
375
|
-
OD: LocsGrades;
|
|
376
|
-
OS: LocsGrades;
|
|
377
|
-
};
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Ophthalmology lens assessment: LOCS III grid (OD/OS), derived cataract-stage badges,
|
|
381
|
-
* optional clinical notes. Shown via schema rules (e.g. chief-complaint `contains`).
|
|
382
|
-
*/
|
|
383
|
-
interface LensAssessmentFieldDef extends BaseFieldDef {
|
|
384
|
-
type: "lens_assessment";
|
|
385
|
-
meta?: {
|
|
386
|
-
cardTitle?: string;
|
|
387
|
-
} & Record<string, unknown>;
|
|
388
|
-
}
|
|
389
|
-
/** Keys for the five-item functional impairment scale (0–3 each). */
|
|
390
|
-
type FunctionalImpairmentDimension = "reading" | "nightDriving" | "glare" | "occupation" | "adl";
|
|
391
|
-
/** Stored value for `functional_impairment_score` fields (sum 0–15). */
|
|
392
|
-
interface FunctionalImpairmentScoreValue {
|
|
393
|
-
reading: number;
|
|
394
|
-
nightDriving: number;
|
|
395
|
-
glare: number;
|
|
396
|
-
occupation: number;
|
|
397
|
-
adl: number;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Cataract-related functional impairment: five 0–3 items and total /15.
|
|
401
|
-
*/
|
|
402
|
-
interface FunctionalImpairmentScoreFieldDef extends BaseFieldDef {
|
|
403
|
-
type: "functional_impairment_score";
|
|
404
|
-
meta?: {
|
|
405
|
-
cardTitle?: string;
|
|
406
|
-
} & Record<string, unknown>;
|
|
407
|
-
}
|
|
408
|
-
/** Biometry acquisition method (IOL workup). */
|
|
409
|
-
type BiometryMethod = "optical_biometry" | "ascan_immersion" | "ascan_contact";
|
|
410
|
-
/** Value for `biometry_iol_workup` — bilateral inputs, shared formula/method, optional workup flags. */
|
|
411
|
-
interface BiometryIolWorkupValue {
|
|
412
|
-
axialLengthOD: string;
|
|
413
|
-
axialLengthOS: string;
|
|
414
|
-
k1k2AxisOD: string;
|
|
415
|
-
k1k2AxisOS: string;
|
|
416
|
-
anteriorChamberDepthOD: string;
|
|
417
|
-
anteriorChamberDepthOS: string;
|
|
418
|
-
iolPowerOD: string;
|
|
419
|
-
iolPowerOS: string;
|
|
420
|
-
targetRefractionOD: string;
|
|
421
|
-
targetRefractionOS: string;
|
|
422
|
-
formula: string;
|
|
423
|
-
method: BiometryMethod;
|
|
424
|
-
cornealTopoUploaded: boolean;
|
|
425
|
-
specularMicroscopyDone: boolean;
|
|
426
|
-
endothelialCount: string;
|
|
427
|
-
}
|
|
428
|
-
/** Table + IOL formula workup (Stage 7). */
|
|
429
|
-
interface BiometryIolWorkupFieldDef extends BaseFieldDef {
|
|
430
|
-
type: "biometry_iol_workup";
|
|
431
|
-
meta?: {
|
|
432
|
-
cardTitle?: string;
|
|
433
|
-
} & Record<string, unknown>;
|
|
434
|
-
}
|
|
435
|
-
/** Per-eye surgical risk checkbox selections; Diabetes is kept in sync for OD and OS. */
|
|
436
|
-
interface SurgicalRiskFlagsValue {
|
|
437
|
-
OD: string[];
|
|
438
|
-
OS: string[];
|
|
439
|
-
}
|
|
440
|
-
/** Bilateral cataract surgical risk flags with derived Low/Moderate/High badge per eye (Stage 11). */
|
|
441
|
-
interface SurgicalRiskFlagsFieldDef extends BaseFieldDef {
|
|
442
|
-
type: "surgical_risk_flags";
|
|
443
|
-
meta?: {
|
|
444
|
-
cardTitle?: string;
|
|
445
|
-
} & Record<string, unknown>;
|
|
446
|
-
}
|
|
447
|
-
/** Urology OPD: dynamic smart history (SOCRATES, IPSS, haematuria, sexual). */
|
|
448
|
-
interface UrologySmartHistoryFieldDef extends BaseFieldDef {
|
|
449
|
-
type: "urology_smart_history";
|
|
450
|
-
}
|
|
451
|
-
/** Urology OPD: structured examination (general, abdomen, GU, DRE). */
|
|
452
|
-
interface UrologyExaminationFieldDef extends BaseFieldDef {
|
|
453
|
-
type: "urology_examination";
|
|
454
|
-
}
|
|
455
|
-
/** Urology OPD: objective pathway metrics and risk toggles (maps to `uro_pathway`). */
|
|
456
|
-
interface UrologyPathwayFieldDef extends BaseFieldDef {
|
|
457
|
-
type: "urology_pathway";
|
|
458
|
-
meta?: {
|
|
459
|
-
subtitle?: string;
|
|
460
|
-
} & Record<string, unknown>;
|
|
461
|
-
}
|
|
462
|
-
/** OB/GYN OPD: structured examination (general/abdomen/breast/pelvic + uterus size). */
|
|
463
|
-
interface OBGExaminationFieldDef extends BaseFieldDef {
|
|
464
|
-
type: "obg_examination";
|
|
465
|
-
}
|
|
466
|
-
/** OB/GYN OPD: consultant zoning + 5 pathway panels (menstrual / antenatal / gynae / infertility / postop). Antenatal panels render inside the Obstetric History widget. */
|
|
467
|
-
interface OBGPathwayFieldDef extends BaseFieldDef {
|
|
468
|
-
type: "obg_pathway";
|
|
469
|
-
}
|
|
470
|
-
/** General surgery OPD: structured smart history (SOCRATES, swelling, GI, breast, anorectal, thyroid); HOPC is template field `symptoms` embedded in the widget. */
|
|
471
|
-
interface GeneralSurgerySmartHistoryFieldDef extends BaseFieldDef {
|
|
472
|
-
type: "general_surgery_smart_history";
|
|
473
|
-
}
|
|
474
|
-
/** General surgery OPD: general signs, regional selection, structured abdomen + regional exam cards + notes. */
|
|
475
|
-
interface GeneralSurgeryExaminationFieldDef extends BaseFieldDef {
|
|
476
|
-
type: "general_surgery_examination";
|
|
477
|
-
}
|
|
478
|
-
/** General surgery OPD: condition-wise grading (Clearsight triggers; no surgery column). */
|
|
479
|
-
interface GeneralSurgeryGradingFieldDef extends BaseFieldDef {
|
|
480
|
-
type: "general_surgery_grading";
|
|
481
|
-
}
|
|
482
|
-
/** Pain scale (slider) + checkbox flags in one highlight-label shell; reusable across specialties. */
|
|
483
|
-
interface PainScaleFlagsFieldDef extends BaseFieldDef {
|
|
484
|
-
type: "pain_scale_flags";
|
|
485
|
-
min?: number;
|
|
486
|
-
max?: number;
|
|
487
|
-
step?: number;
|
|
488
|
-
options?: SelectOption[];
|
|
489
|
-
/** When true, render BP recorded text input (used by OB/GYN triage). */
|
|
490
|
-
showBp?: boolean;
|
|
491
|
-
/** When true, render UPT (urine pregnancy test) select (used by OB/GYN triage). */
|
|
492
|
-
showUpt?: boolean;
|
|
493
|
-
}
|
|
494
|
-
interface MedicationFrequentItem {
|
|
495
|
-
id: string;
|
|
496
|
-
name: string;
|
|
497
|
-
short_name?: string;
|
|
498
|
-
/** Optional brand name to prefill into the medication row (falls back to name). */
|
|
499
|
-
brand_name?: string;
|
|
500
|
-
frequency?: string;
|
|
501
|
-
route?: string;
|
|
502
|
-
/**
|
|
503
|
-
* Optional human-readable duration like "5 days" or "2 weeks".
|
|
504
|
-
* If provided, Forminator will parse it unless duration_value/unit are set.
|
|
505
|
-
*/
|
|
506
|
-
duration?: string;
|
|
507
|
-
/** Optional structured duration components (preferred over duration when present). */
|
|
508
|
-
duration_value?: string;
|
|
509
|
-
duration_unit?: "days" | "weeks" | "months" | string;
|
|
510
|
-
/** Optional schedule slots; when omitted, Forminator falls back to "0". */
|
|
511
|
-
morning?: string;
|
|
512
|
-
afternoon?: string;
|
|
513
|
-
night?: string;
|
|
514
|
-
/** Optional food-timing hint; when omitted, Forminator defaults to "AFTER FOOD". */
|
|
515
|
-
before_after?: "AFTER FOOD" | "BEFORE FOOD" | string;
|
|
516
|
-
/** Optional notes; when omitted, Forminator may derive a note from route. */
|
|
517
|
-
notes?: string;
|
|
518
|
-
usage_count?: number;
|
|
519
|
-
last_used_at?: string;
|
|
520
|
-
}
|
|
521
|
-
interface InvestigationFrequentItem {
|
|
522
|
-
id: string;
|
|
523
|
-
name: string;
|
|
524
|
-
code?: string | null;
|
|
525
|
-
usage_count?: number;
|
|
526
|
-
last_used_at?: string;
|
|
527
|
-
}
|
|
528
|
-
interface ProcedureFrequentItem {
|
|
529
|
-
id: string;
|
|
530
|
-
name: string;
|
|
531
|
-
code?: string | null;
|
|
532
|
-
usage_count?: number;
|
|
533
|
-
last_used_at?: string;
|
|
534
|
-
}
|
|
535
|
-
interface DoctorFrequentItems {
|
|
536
|
-
medications?: MedicationFrequentItem[];
|
|
537
|
-
investigations?: InvestigationFrequentItem[];
|
|
538
|
-
procedures?: ProcedureFrequentItem[];
|
|
539
|
-
}
|
|
540
|
-
interface DiagnosticPackageTest {
|
|
541
|
-
id: string;
|
|
542
|
-
name: string;
|
|
543
|
-
}
|
|
544
|
-
interface DiagnosticPackage {
|
|
545
|
-
id: string;
|
|
546
|
-
name: string;
|
|
547
|
-
code: string;
|
|
548
|
-
description?: string;
|
|
549
|
-
department?: string;
|
|
550
|
-
tests: DiagnosticPackageTest[];
|
|
551
|
-
}
|
|
552
|
-
interface PhoneInputFieldDef extends BaseFieldDef {
|
|
553
|
-
type: "phone_input";
|
|
554
|
-
meta?: {
|
|
555
|
-
/** ID of the sibling otp_input field to clear when the phone is edited after a send. */
|
|
556
|
-
otpFieldId?: string;
|
|
557
|
-
/** Country code prefix, e.g. "+91". Defaults to "+91". */
|
|
558
|
-
countryCode?: string;
|
|
559
|
-
};
|
|
560
|
-
}
|
|
561
|
-
interface OtpInputFieldDef extends BaseFieldDef {
|
|
562
|
-
type: "otp_input";
|
|
563
|
-
meta?: {
|
|
564
|
-
/** ID of the sibling phone_input field to read the number from. Defaults to "phone". */
|
|
565
|
-
phoneFieldId?: string;
|
|
566
|
-
/** Number of OTP digits. Defaults to 4. */
|
|
567
|
-
length?: 4 | 6;
|
|
568
|
-
};
|
|
569
|
-
}
|
|
570
|
-
/** Value shape stored in the form store after a successful OTP verification. */
|
|
571
|
-
interface OtpVerifiedValue {
|
|
572
|
-
verified: true;
|
|
573
|
-
phone: string;
|
|
574
|
-
/** Digits the user entered; included so submissions can persist `otp_code`. */
|
|
575
|
-
code: string;
|
|
576
|
-
token?: string;
|
|
577
|
-
}
|
|
578
|
-
type FieldDef = TextFieldDef | RichTextFieldDef | NumberFieldDef | SliderFieldDef | SelectFieldDef | RadioFieldDef | CheckboxFieldDef | RepeatableFieldDef | ImageUploadFieldDef | MediaUploadFieldDef | FileUploadFieldDef | SignatureFieldDef | EditableTableFieldDef | StaticTextFieldDef | MedicationsFieldDef | InvestigationsFieldDef | ProceduresFieldDef | DifferentialDiagnosisFieldDef | VitalsFieldDef | ReferralFieldDef | FollowupFieldDef | SmartTextareaFieldDef | DiagnosisTextareaFieldDef | SuggestionTextareaFieldDef | LensAssessmentFieldDef | FunctionalImpairmentScoreFieldDef | ToggleFieldDef | BiometryIolWorkupFieldDef | SurgicalRiskFlagsFieldDef | GeneralSurgerySmartHistoryFieldDef | GeneralSurgeryExaminationFieldDef | GeneralSurgeryGradingFieldDef | UrologySmartHistoryFieldDef | UrologyExaminationFieldDef | UrologyPathwayFieldDef | OBGExaminationFieldDef | OBGPathwayFieldDef | PainScaleFlagsFieldDef | PhoneInputFieldDef | OtpInputFieldDef | BaseFieldDef;
|
|
579
|
-
/** Boolean switch; value is `true` | `false`. */
|
|
580
|
-
interface ToggleFieldDef extends BaseFieldDef {
|
|
581
|
-
type: "toggle";
|
|
582
|
-
}
|
|
583
|
-
interface ToggleFieldDef extends BaseFieldDef {
|
|
584
|
-
type: "toggle";
|
|
585
|
-
excludes?: string[];
|
|
586
|
-
}
|
|
587
|
-
interface Condition {
|
|
588
|
-
field?: string;
|
|
589
|
-
op: "==" | "!=" | ">" | "<" | ">=" | "<=" | "in" | "contains";
|
|
590
|
-
/**
|
|
591
|
-
* For `op: "contains"`:
|
|
592
|
-
* - If the field value is an **array**, checks `value.includes(condition.value)` (e.g. multiselect).
|
|
593
|
-
* - If the field value is a **string** (e.g. `suggestion_textarea`), splits on commas and/or line
|
|
594
|
-
* breaks, trims tokens, and checks that one token equals `String(condition.value)` (chip values in text).
|
|
595
|
-
*/
|
|
596
|
-
value: any;
|
|
597
|
-
}
|
|
598
|
-
interface RuleAction {
|
|
599
|
-
action: "hide" | "show" | "disable" | "enable" | "setRequired";
|
|
600
|
-
target: string;
|
|
601
|
-
}
|
|
602
|
-
interface Rule {
|
|
603
|
-
if: Condition;
|
|
604
|
-
then: RuleAction[];
|
|
605
|
-
}
|
|
606
|
-
interface WorkflowTransition {
|
|
607
|
-
from: string;
|
|
608
|
-
to: string;
|
|
609
|
-
allowedRoles: string[];
|
|
610
|
-
webhookKey?: string;
|
|
611
|
-
}
|
|
612
|
-
interface Workflow {
|
|
613
|
-
states: string[];
|
|
614
|
-
transitions: WorkflowTransition[];
|
|
615
|
-
}
|
|
616
|
-
interface ColumnLayout {
|
|
617
|
-
type: "column_layout";
|
|
618
|
-
id: string;
|
|
619
|
-
/** Number of columns. Children take equal width. */
|
|
620
|
-
columns: number;
|
|
621
|
-
/** Optional label shown above the row of fields. */
|
|
622
|
-
label?: string;
|
|
623
|
-
children: string[];
|
|
624
|
-
}
|
|
625
|
-
/** Section child: either a field ID or a nested column_layout. */
|
|
626
|
-
type SectionChild = string | ColumnLayout;
|
|
627
|
-
interface Section {
|
|
628
|
-
type: "section";
|
|
629
|
-
id: string;
|
|
630
|
-
title: string;
|
|
631
|
-
children: SectionChild[];
|
|
632
|
-
}
|
|
633
|
-
interface MultiStepNode {
|
|
634
|
-
type: "section";
|
|
635
|
-
id: string;
|
|
636
|
-
title: string;
|
|
637
|
-
children: SectionChild[];
|
|
638
|
-
}
|
|
639
|
-
interface MultiStepLayoutNode {
|
|
640
|
-
type: "multi_step";
|
|
641
|
-
id: string;
|
|
642
|
-
title?: string;
|
|
643
|
-
steps: MultiStepNode[];
|
|
644
|
-
meta?: {
|
|
645
|
-
/** Show step indicator header. Default true. */
|
|
646
|
-
showStepper?: boolean;
|
|
647
|
-
/** Visual style for the stepper. Default 'numbered'. */
|
|
648
|
-
stepperVariant?: "numbered" | "dots" | "labels";
|
|
649
|
-
/** Collapse completed steps into an accordion. Default true. */
|
|
650
|
-
collapseCompleted?: boolean;
|
|
651
|
-
};
|
|
652
|
-
}
|
|
653
|
-
type LayoutNode = Section | ColumnLayout | MultiStepLayoutNode;
|
|
654
|
-
interface WebhookDef {
|
|
655
|
-
method: "GET" | "POST" | "PUT";
|
|
656
|
-
url: string;
|
|
657
|
-
}
|
|
658
|
-
interface ScoreRange {
|
|
659
|
-
min?: number;
|
|
660
|
-
max?: number;
|
|
661
|
-
value: number;
|
|
662
|
-
}
|
|
663
|
-
interface ScoreComputation {
|
|
664
|
-
target: string;
|
|
665
|
-
type: "score";
|
|
666
|
-
source: string;
|
|
667
|
-
ranges: ScoreRange[];
|
|
668
|
-
}
|
|
669
|
-
interface SumComputation {
|
|
670
|
-
target: string;
|
|
671
|
-
type: "sum";
|
|
672
|
-
fields: string[];
|
|
673
|
-
}
|
|
674
|
-
/** Expression node for formula computation: field ref, number, or binary op. */
|
|
675
|
-
type FormulaExpr = {
|
|
676
|
-
type: "field";
|
|
677
|
-
field: string;
|
|
678
|
-
} | {
|
|
679
|
-
type: "number";
|
|
680
|
-
value: number;
|
|
681
|
-
} | {
|
|
682
|
-
type: "op";
|
|
683
|
-
op: "+" | "-" | "*" | "/" | "**";
|
|
684
|
-
left: FormulaExpr;
|
|
685
|
-
right: FormulaExpr;
|
|
686
|
-
};
|
|
687
|
-
interface FormulaComputation {
|
|
688
|
-
target: string;
|
|
689
|
-
type: "formula";
|
|
690
|
-
expression: FormulaExpr;
|
|
691
|
-
}
|
|
692
|
-
type Computation = SumComputation | ScoreComputation | FormulaComputation;
|
|
693
|
-
interface FormDef {
|
|
694
|
-
id: string;
|
|
695
|
-
version: number;
|
|
696
|
-
title: string;
|
|
697
|
-
versioning?: {
|
|
698
|
-
immutable: boolean;
|
|
699
|
-
};
|
|
700
|
-
workflow?: Workflow;
|
|
701
|
-
layout: LayoutNode[];
|
|
702
|
-
fields: FieldDef[];
|
|
703
|
-
rules?: Rule[];
|
|
704
|
-
computations?: Computation[];
|
|
705
|
-
webhooks?: Record<string, WebhookDef>;
|
|
706
|
-
meta?: Record<string, unknown>;
|
|
707
|
-
}
|
|
708
|
-
interface FormValues {
|
|
709
|
-
[key: string]: any;
|
|
710
|
-
}
|
|
711
|
-
interface FormErrors {
|
|
712
|
-
[key: string]: string | null;
|
|
713
|
-
}
|
|
714
|
-
interface FieldState {
|
|
715
|
-
value: any;
|
|
716
|
-
error: string | null;
|
|
717
|
-
touched: boolean;
|
|
718
|
-
visible: boolean;
|
|
719
|
-
disabled: boolean;
|
|
720
|
-
options?: {
|
|
721
|
-
label: string;
|
|
722
|
-
value: any;
|
|
723
|
-
}[];
|
|
724
|
-
loading?: boolean;
|
|
725
|
-
}
|
|
726
|
-
interface FormState {
|
|
727
|
-
values: FormValues;
|
|
728
|
-
errors: FormErrors;
|
|
729
|
-
touched: Record<string, boolean>;
|
|
730
|
-
visibility: Record<string, boolean>;
|
|
731
|
-
disabled: Record<string, boolean>;
|
|
732
|
-
workflowState: string;
|
|
733
|
-
isValid: boolean;
|
|
734
|
-
isSubmitting: boolean;
|
|
735
|
-
submitAttempted?: boolean;
|
|
736
|
-
pendingUploads: number;
|
|
737
|
-
}
|
|
5
|
+
export { r as richTextHtmlClassName } from './richTextClassName--8wkuHkW.js';
|
|
738
6
|
|
|
739
7
|
declare const MAR_MEDICATION_ORDERS_META_KEY: "mar_medication_orders";
|
|
740
8
|
declare function fieldMetaRequestsMarMedicationOrdersButton(meta: Record<string, unknown> | undefined): boolean;
|
|
@@ -1078,12 +346,6 @@ interface FieldRendererProps {
|
|
|
1078
346
|
}
|
|
1079
347
|
declare const FieldRenderer: React.FC<FieldRendererProps>;
|
|
1080
348
|
|
|
1081
|
-
declare const RichTextWidget: React.FC<{
|
|
1082
|
-
fieldId: string;
|
|
1083
|
-
}>;
|
|
1084
|
-
/** Tailwind classes for rendering stored richtext HTML (e.g. read-only views). */
|
|
1085
|
-
declare function richTextHtmlClassName(): string;
|
|
1086
|
-
|
|
1087
349
|
interface SubmissionData {
|
|
1088
350
|
created_at: string;
|
|
1089
351
|
updated_at: string;
|
|
@@ -1194,12 +456,6 @@ interface ReadOnlySignatureProps {
|
|
|
1194
456
|
}
|
|
1195
457
|
declare const ReadOnlySignature: React.FC<ReadOnlySignatureProps>;
|
|
1196
458
|
|
|
1197
|
-
interface ReadOnlyTableProps {
|
|
1198
|
-
fieldDef: BaseFieldDef;
|
|
1199
|
-
value: any;
|
|
1200
|
-
}
|
|
1201
|
-
declare const ReadOnlyTable: React.FC<ReadOnlyTableProps>;
|
|
1202
|
-
|
|
1203
459
|
interface PresignedUploadResponse {
|
|
1204
460
|
presigned_url: string;
|
|
1205
461
|
s3_key: string;
|
|
@@ -1352,23 +608,4 @@ type DifferentialDiagnosisProps = {
|
|
|
1352
608
|
*/
|
|
1353
609
|
declare const DifferentialDiagnosis: React.FC<DifferentialDiagnosisProps>;
|
|
1354
610
|
|
|
1355
|
-
|
|
1356
|
-
extractedNouns: string[];
|
|
1357
|
-
matchedConditions: ExtractedKeywordMatch[];
|
|
1358
|
-
isProcessing: boolean;
|
|
1359
|
-
error: string | null;
|
|
1360
|
-
}
|
|
1361
|
-
/**
|
|
1362
|
-
* Extracts noun phrases from `text` using compromise, deduplicates, then
|
|
1363
|
-
* searches each noun against a backend master table via `onSearch`. Returns
|
|
1364
|
-
* the flattened list of keyword-to-master-record matches.
|
|
1365
|
-
*
|
|
1366
|
-
* All NLP runs client-side; the backend only receives simple query strings.
|
|
1367
|
-
*/
|
|
1368
|
-
declare function useSmartKeywords(text: string, onSearch: (query: string) => Promise<any[]>, debounceDelay?: number): SmartKeywordsResult;
|
|
1369
|
-
|
|
1370
|
-
declare const SmartTextareaWidget: React.FC<{
|
|
1371
|
-
fieldId: string;
|
|
1372
|
-
}>;
|
|
1373
|
-
|
|
1374
|
-
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, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type EditableTableColumnDef, type EditableTableFieldDef, type EventDefinition, type ExtractedKeywordMatch, type FieldDef, type FieldHandler, type FieldHandlersMap, type FieldPrefill, FieldRenderer, FieldRequiredIndicator, type FieldState, type FieldStyleClassNames, type FieldStyleConfig, type FieldType, type FileUploadFieldDef, type FollowupFieldDef, type FollowupValue, FormControls, type FormControlsProps, type FormDef, type FormErrors, FormFileUploadWidget, FormProvider, type FormState, FormStore, type FormValues, type FormulaComputation, type FormulaExpr, type FunctionalImpairmentDimension, type FunctionalImpairmentScoreFieldDef, type FunctionalImpairmentScoreValue, type GeneralSurgeryExaminationFieldDef, type GeneralSurgeryGradingFieldDef, type GeneralSurgerySmartHistoryFieldDef, 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, MultiStepForm, type MultiStepFormProps, type MultiStepLayoutNode, type MultiStepNode, type NumberFieldDef, type OBGExaminationFieldDef, type OBGPathwayFieldDef, type OtpInputFieldDef, type OtpVerifiedValue, type PainScaleFlagsFieldDef, type Permission, type PhoneInputFieldDef, 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, type SliderFieldDef, SmartForm, type SmartFormProps, type SmartKeywordsResult, type SmartTextareaFieldDef, type SmartTextareaValue, SmartTextareaWidget, type StaticTextFieldDef, type StoreAuthConfig, type StoreConfig, type SubmissionData, type SuggestionTextareaFieldDef, type SumComputation, type SurgicalRiskFlagsFieldDef, type SurgicalRiskFlagsValue, type TextFieldDef, type ToggleFieldDef, Upload, type UploadProps, type UrologyExaminationFieldDef, type UrologyPathwayFieldDef, type UrologySmartHistoryFieldDef, type ValidationRule, type VitalsFieldDef, type WebhookDef, type Workflow, type WorkflowTransition, createUploadHandler, evaluateRules, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, richTextHtmlClassName, useField, useFieldHandlers, useForm, useFormStore, useFrequentItems, usePackages, useSmartKeywords, validateField, validateForm };
|
|
611
|
+
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, BaseFieldDef, type CreateUploadHandlerOptions, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormProvider, FormState, FormStore, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, MAR_MEDICATION_ORDERS_META_KEY, MediaUploadWidget, type Medication, MedicationFrequentItem, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, type PresignedUploadResponse, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreConfig, type SubmissionData, Upload, type UploadProps, WorkflowTransition, createUploadHandler, evaluateRules, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, useField, useFieldHandlers, useForm, useFormStore, useFrequentItems, usePackages, validateField, validateForm };
|