formanitor 0.3.15 → 0.3.16
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-VFLWSOHU.cjs → AddInvestigationWidget-NAYUGKGD.cjs} +10 -10
- package/dist/{AddInvestigationWidget-VFLWSOHU.cjs.map → AddInvestigationWidget-NAYUGKGD.cjs.map} +1 -1
- package/dist/{AddInvestigationWidget-GYPBY2I7.mjs → AddInvestigationWidget-SA3CL4R3.mjs} +5 -5
- package/dist/{AddInvestigationWidget-GYPBY2I7.mjs.map → AddInvestigationWidget-SA3CL4R3.mjs.map} +1 -1
- package/dist/{AddMedicationWidget-K77LLYN6.mjs → AddMedicationWidget-CUCIBBOM.mjs} +4 -4
- package/dist/{AddMedicationWidget-K77LLYN6.mjs.map → AddMedicationWidget-CUCIBBOM.mjs.map} +1 -1
- package/dist/{AddMedicationWidget-VHR5FSX6.cjs → AddMedicationWidget-OCFYV7PW.cjs} +10 -10
- package/dist/{AddMedicationWidget-VHR5FSX6.cjs.map → AddMedicationWidget-OCFYV7PW.cjs.map} +1 -1
- package/dist/{AddProcedureWidget-IKX3PNS3.cjs → AddProcedureWidget-PKOOTDST.cjs} +8 -8
- package/dist/{AddProcedureWidget-IKX3PNS3.cjs.map → AddProcedureWidget-PKOOTDST.cjs.map} +1 -1
- package/dist/{AddProcedureWidget-Q3KXGPEO.mjs → AddProcedureWidget-RGDMEKSR.mjs} +4 -4
- package/dist/{AddProcedureWidget-Q3KXGPEO.mjs.map → AddProcedureWidget-RGDMEKSR.mjs.map} +1 -1
- package/dist/{BiometryIolWorkupWidget-KJF3JCL5.mjs → BiometryIolWorkupWidget-6YG5TGSV.mjs} +4 -4
- package/dist/{BiometryIolWorkupWidget-KJF3JCL5.mjs.map → BiometryIolWorkupWidget-6YG5TGSV.mjs.map} +1 -1
- package/dist/{BiometryIolWorkupWidget-4IHRSZUV.cjs → BiometryIolWorkupWidget-R6K2OHUI.cjs} +6 -6
- package/dist/{BiometryIolWorkupWidget-4IHRSZUV.cjs.map → BiometryIolWorkupWidget-R6K2OHUI.cjs.map} +1 -1
- package/dist/BpeChartWidget-H3NSADOZ.cjs +28 -0
- package/dist/{BpeChartWidget-LHIWXWBK.mjs.map → BpeChartWidget-H3NSADOZ.cjs.map} +1 -1
- package/dist/BpeChartWidget-JWMFAUDP.mjs +7 -0
- package/dist/{BpeChartWidget-RLIG4ALE.cjs.map → BpeChartWidget-JWMFAUDP.mjs.map} +1 -1
- package/dist/{DateTimeWidget-4OHDJPOX.mjs → DateTimeWidget-JRLYWJV2.mjs} +4 -4
- package/dist/{DateTimeWidget-4OHDJPOX.mjs.map → DateTimeWidget-JRLYWJV2.mjs.map} +1 -1
- package/dist/{DateTimeWidget-ZXPIE7FP.cjs → DateTimeWidget-KCIKUKBK.cjs} +6 -6
- package/dist/{DateTimeWidget-ZXPIE7FP.cjs.map → DateTimeWidget-KCIKUKBK.cjs.map} +1 -1
- package/dist/{DateWidget-F7UEHDK5.mjs → DateWidget-FFYBSYYG.mjs} +4 -4
- package/dist/{DateWidget-F7UEHDK5.mjs.map → DateWidget-FFYBSYYG.mjs.map} +1 -1
- package/dist/{DateWidget-AKMCXZ3M.cjs → DateWidget-MM4ZV6IF.cjs} +6 -6
- package/dist/{DateWidget-AKMCXZ3M.cjs.map → DateWidget-MM4ZV6IF.cjs.map} +1 -1
- package/dist/{DentalChartWidget-L7H5OIE7.mjs → DentalChartWidget-3DM6MEP3.mjs} +4 -4
- package/dist/{DentalChartWidget-L7H5OIE7.mjs.map → DentalChartWidget-3DM6MEP3.mjs.map} +1 -1
- package/dist/DentalChartWidget-NMHVXRUG.cjs +21 -0
- package/dist/{DentalChartWidget-ZVUVPZGT.cjs.map → DentalChartWidget-NMHVXRUG.cjs.map} +1 -1
- package/dist/{DiagnosisTextareaWidget-2CNMKZ5U.mjs → DiagnosisTextareaWidget-STDPQNI7.mjs} +4 -4
- package/dist/{DiagnosisTextareaWidget-2CNMKZ5U.mjs.map → DiagnosisTextareaWidget-STDPQNI7.mjs.map} +1 -1
- package/dist/{DiagnosisTextareaWidget-H2F7PBUB.cjs → DiagnosisTextareaWidget-X427LFFH.cjs} +7 -7
- package/dist/{DiagnosisTextareaWidget-H2F7PBUB.cjs.map → DiagnosisTextareaWidget-X427LFFH.cjs.map} +1 -1
- package/dist/{DifferentialDiagnosisWidget-5ZOZOZSP.mjs → DifferentialDiagnosisWidget-NDO322WG.mjs} +3 -3
- package/dist/{DifferentialDiagnosisWidget-5ZOZOZSP.mjs.map → DifferentialDiagnosisWidget-NDO322WG.mjs.map} +1 -1
- package/dist/{DifferentialDiagnosisWidget-SJEBX26D.cjs → DifferentialDiagnosisWidget-W4DXVS4R.cjs} +5 -5
- package/dist/{DifferentialDiagnosisWidget-SJEBX26D.cjs.map → DifferentialDiagnosisWidget-W4DXVS4R.cjs.map} +1 -1
- package/dist/{DischargeMedicationOrdersWidget-P4ZITIXV.cjs → DischargeMedicationOrdersWidget-2RWAEYJS.cjs} +7 -7
- package/dist/{DischargeMedicationOrdersWidget-P4ZITIXV.cjs.map → DischargeMedicationOrdersWidget-2RWAEYJS.cjs.map} +1 -1
- package/dist/{DischargeMedicationOrdersWidget-57SYCQIW.mjs → DischargeMedicationOrdersWidget-DVRV5FCQ.mjs} +4 -4
- package/dist/{DischargeMedicationOrdersWidget-57SYCQIW.mjs.map → DischargeMedicationOrdersWidget-DVRV5FCQ.mjs.map} +1 -1
- package/dist/{EditableTable-KSNDX7SU.cjs → EditableTable-CJ4XB4HN.cjs} +4 -4
- package/dist/{EditableTable-KSNDX7SU.cjs.map → EditableTable-CJ4XB4HN.cjs.map} +1 -1
- package/dist/{EditableTable-BO6TDZB7.mjs → EditableTable-EN2O3T5A.mjs} +3 -3
- package/dist/{EditableTable-BO6TDZB7.mjs.map → EditableTable-EN2O3T5A.mjs.map} +1 -1
- package/dist/{ExtraOralExamWidget-FT4U3IOG.cjs → ExtraOralExamWidget-LEOIQQIW.cjs} +13 -13
- package/dist/{ExtraOralExamWidget-FT4U3IOG.cjs.map → ExtraOralExamWidget-LEOIQQIW.cjs.map} +1 -1
- package/dist/{ExtraOralExamWidget-WSEAECPS.mjs → ExtraOralExamWidget-UBNZGI5O.mjs} +4 -4
- package/dist/{ExtraOralExamWidget-WSEAECPS.mjs.map → ExtraOralExamWidget-UBNZGI5O.mjs.map} +1 -1
- package/dist/{FollowupWidget-SBW6M2U2.cjs → FollowupWidget-BGJ72MBS.cjs} +5 -5
- package/dist/{FollowupWidget-SBW6M2U2.cjs.map → FollowupWidget-BGJ72MBS.cjs.map} +1 -1
- package/dist/{FollowupWidget-SJECHW7S.mjs → FollowupWidget-N7VOJ2FR.mjs} +3 -3
- package/dist/{FollowupWidget-SJECHW7S.mjs.map → FollowupWidget-N7VOJ2FR.mjs.map} +1 -1
- package/dist/{FunctionalImpairmentScoreWidget-DDJ7ZDNS.mjs → FunctionalImpairmentScoreWidget-6VTYJZN7.mjs} +4 -4
- package/dist/{FunctionalImpairmentScoreWidget-DDJ7ZDNS.mjs.map → FunctionalImpairmentScoreWidget-6VTYJZN7.mjs.map} +1 -1
- package/dist/{FunctionalImpairmentScoreWidget-OSC5JXTO.cjs → FunctionalImpairmentScoreWidget-TPVMRRFK.cjs} +6 -6
- package/dist/{FunctionalImpairmentScoreWidget-OSC5JXTO.cjs.map → FunctionalImpairmentScoreWidget-TPVMRRFK.cjs.map} +1 -1
- package/dist/{GsExaminationWidget-P77CVF67.mjs → GsExaminationWidget-EC4FMKI2.mjs} +5 -5
- package/dist/{GsExaminationWidget-P77CVF67.mjs.map → GsExaminationWidget-EC4FMKI2.mjs.map} +1 -1
- package/dist/{GsExaminationWidget-J4J3J4F2.cjs → GsExaminationWidget-JFPH3UNV.cjs} +28 -28
- package/dist/{GsExaminationWidget-J4J3J4F2.cjs.map → GsExaminationWidget-JFPH3UNV.cjs.map} +1 -1
- package/dist/{GsGradingWidget-L7XQHXKA.mjs → GsGradingWidget-CFIRIXM6.mjs} +4 -4
- package/dist/{GsGradingWidget-L7XQHXKA.mjs.map → GsGradingWidget-CFIRIXM6.mjs.map} +1 -1
- package/dist/{GsGradingWidget-JUHQFOIY.cjs → GsGradingWidget-XAYW65TW.cjs} +12 -12
- package/dist/{GsGradingWidget-JUHQFOIY.cjs.map → GsGradingWidget-XAYW65TW.cjs.map} +1 -1
- package/dist/{GsSmartHistoryWidget-36TAZHGA.mjs → GsSmartHistoryWidget-CUMH6NGI.mjs} +5 -5
- package/dist/{GsSmartHistoryWidget-36TAZHGA.mjs.map → GsSmartHistoryWidget-CUMH6NGI.mjs.map} +1 -1
- package/dist/{GsSmartHistoryWidget-44KN5X3J.cjs → GsSmartHistoryWidget-H5XDO4AA.cjs} +18 -18
- package/dist/{GsSmartHistoryWidget-44KN5X3J.cjs.map → GsSmartHistoryWidget-H5XDO4AA.cjs.map} +1 -1
- package/dist/{HiddenVitalsWidget-D5EY2BVO.cjs → HiddenVitalsWidget-AYIRWGFL.cjs} +6 -6
- package/dist/{HiddenVitalsWidget-D5EY2BVO.cjs.map → HiddenVitalsWidget-AYIRWGFL.cjs.map} +1 -1
- package/dist/{HiddenVitalsWidget-BKBSZ5G5.mjs → HiddenVitalsWidget-BOELAZAE.mjs} +4 -4
- package/dist/{HiddenVitalsWidget-BKBSZ5G5.mjs.map → HiddenVitalsWidget-BOELAZAE.mjs.map} +1 -1
- package/dist/KneeRomRecorderWidget-23VT5Q5D.cjs +514 -0
- package/dist/KneeRomRecorderWidget-23VT5Q5D.cjs.map +1 -0
- package/dist/KneeRomRecorderWidget-B2WKX6TZ.mjs +508 -0
- package/dist/KneeRomRecorderWidget-B2WKX6TZ.mjs.map +1 -0
- package/dist/{LensAssessmentWidget-E73L5RLN.mjs → LensAssessmentWidget-CXSAHD72.mjs} +4 -4
- package/dist/{LensAssessmentWidget-E73L5RLN.mjs.map → LensAssessmentWidget-CXSAHD72.mjs.map} +1 -1
- package/dist/{LensAssessmentWidget-PXNEWVJH.cjs → LensAssessmentWidget-LQN24WKD.cjs} +6 -6
- package/dist/{LensAssessmentWidget-PXNEWVJH.cjs.map → LensAssessmentWidget-LQN24WKD.cjs.map} +1 -1
- package/dist/{MarMedicationOrdersWidget-F3TI6CZJ.cjs → MarMedicationOrdersWidget-4UHJ5CUK.cjs} +7 -7
- package/dist/{MarMedicationOrdersWidget-F3TI6CZJ.cjs.map → MarMedicationOrdersWidget-4UHJ5CUK.cjs.map} +1 -1
- package/dist/{MarMedicationOrdersWidget-C5UFYFM3.mjs → MarMedicationOrdersWidget-6C3UCZH4.mjs} +4 -4
- package/dist/{MarMedicationOrdersWidget-C5UFYFM3.mjs.map → MarMedicationOrdersWidget-6C3UCZH4.mjs.map} +1 -1
- package/dist/{OBGExaminationWidget-CCYR22O4.cjs → OBGExaminationWidget-KJ55AR6V.cjs} +17 -17
- package/dist/{OBGExaminationWidget-CCYR22O4.cjs.map → OBGExaminationWidget-KJ55AR6V.cjs.map} +1 -1
- package/dist/{OBGExaminationWidget-4XZ2MRME.mjs → OBGExaminationWidget-MBCJ3HUO.mjs} +5 -5
- package/dist/{OBGExaminationWidget-4XZ2MRME.mjs.map → OBGExaminationWidget-MBCJ3HUO.mjs.map} +1 -1
- package/dist/{OBGPathwayWidget-FF54CCRL.mjs → OBGPathwayWidget-5XTG2CRF.mjs} +7 -7
- package/dist/{OBGPathwayWidget-FF54CCRL.mjs.map → OBGPathwayWidget-5XTG2CRF.mjs.map} +1 -1
- package/dist/{OBGPathwayWidget-VAF5DWA5.cjs → OBGPathwayWidget-Y5BUUXCH.cjs} +23 -23
- package/dist/{OBGPathwayWidget-VAF5DWA5.cjs.map → OBGPathwayWidget-Y5BUUXCH.cjs.map} +1 -1
- package/dist/{ObstetricHistoryWidget-DZL6OJLX.cjs → ObstetricHistoryWidget-6G7Z5M22.cjs} +18 -18
- package/dist/{ObstetricHistoryWidget-DZL6OJLX.cjs.map → ObstetricHistoryWidget-6G7Z5M22.cjs.map} +1 -1
- package/dist/{ObstetricHistoryWidget-OTXBTHTA.mjs → ObstetricHistoryWidget-A2MQQNEB.mjs} +6 -6
- package/dist/{ObstetricHistoryWidget-OTXBTHTA.mjs.map → ObstetricHistoryWidget-A2MQQNEB.mjs.map} +1 -1
- package/dist/{OphthalDiagnosisWidget-HHNBYK3Q.cjs → OphthalDiagnosisWidget-JQOK55U3.cjs} +4 -4
- package/dist/{OphthalDiagnosisWidget-HHNBYK3Q.cjs.map → OphthalDiagnosisWidget-JQOK55U3.cjs.map} +1 -1
- package/dist/{OphthalDiagnosisWidget-W4NMKL4J.mjs → OphthalDiagnosisWidget-KASYVVWS.mjs} +3 -3
- package/dist/{OphthalDiagnosisWidget-W4NMKL4J.mjs.map → OphthalDiagnosisWidget-KASYVVWS.mjs.map} +1 -1
- package/dist/{OphthalmologyWidget-H7NMSWYI.mjs → OphthalmologyWidget-RJNNF6NB.mjs} +3 -3
- package/dist/{OphthalmologyWidget-H7NMSWYI.mjs.map → OphthalmologyWidget-RJNNF6NB.mjs.map} +1 -1
- package/dist/{OphthalmologyWidget-FQPWK24C.cjs → OphthalmologyWidget-VAIXSMIY.cjs} +4 -4
- package/dist/{OphthalmologyWidget-FQPWK24C.cjs.map → OphthalmologyWidget-VAIXSMIY.cjs.map} +1 -1
- package/dist/{OralHygieneWidget-VUDFCZTC.mjs → OralHygieneWidget-QMK5ODXH.mjs} +4 -4
- package/dist/{OralHygieneWidget-VUDFCZTC.mjs.map → OralHygieneWidget-QMK5ODXH.mjs.map} +1 -1
- package/dist/{OralHygieneWidget-5SCO62HF.cjs → OralHygieneWidget-UIBCAK6M.cjs} +8 -8
- package/dist/{OralHygieneWidget-5SCO62HF.cjs.map → OralHygieneWidget-UIBCAK6M.cjs.map} +1 -1
- package/dist/{OrthopedicExamWidget-PQVPCXLT.mjs → OrthopedicExamWidget-QGKDX2LJ.mjs} +5 -5
- package/dist/{OrthopedicExamWidget-PQVPCXLT.mjs.map → OrthopedicExamWidget-QGKDX2LJ.mjs.map} +1 -1
- package/dist/{OrthopedicExamWidget-PUIYU2TL.cjs → OrthopedicExamWidget-UA6I3YPG.cjs} +9 -9
- package/dist/{OrthopedicExamWidget-PUIYU2TL.cjs.map → OrthopedicExamWidget-UA6I3YPG.cjs.map} +1 -1
- package/dist/{PainScaleFlagsWidget-D75RW7VM.mjs → PainScaleFlagsWidget-GAMOOLRR.mjs} +6 -6
- package/dist/{PainScaleFlagsWidget-D75RW7VM.mjs.map → PainScaleFlagsWidget-GAMOOLRR.mjs.map} +1 -1
- package/dist/{PainScaleFlagsWidget-L3I3PRM7.cjs → PainScaleFlagsWidget-ZZU3DZS4.cjs} +13 -13
- package/dist/{PainScaleFlagsWidget-L3I3PRM7.cjs.map → PainScaleFlagsWidget-ZZU3DZS4.cjs.map} +1 -1
- package/dist/{PregnancyStatusWidget-6TRM2UWA.mjs → PregnancyStatusWidget-2UAVTRGW.mjs} +4 -4
- package/dist/{PregnancyStatusWidget-6TRM2UWA.mjs.map → PregnancyStatusWidget-2UAVTRGW.mjs.map} +1 -1
- package/dist/{PregnancyStatusWidget-4ZPJM7GG.cjs → PregnancyStatusWidget-ZIVWHPNI.cjs} +7 -7
- package/dist/{PregnancyStatusWidget-4ZPJM7GG.cjs.map → PregnancyStatusWidget-ZIVWHPNI.cjs.map} +1 -1
- package/dist/{ReferralWidget-DO2GDTGG.mjs → ReferralWidget-GB2E4NBU.mjs} +4 -4
- package/dist/{ReferralWidget-DO2GDTGG.mjs.map → ReferralWidget-GB2E4NBU.mjs.map} +1 -1
- package/dist/{ReferralWidget-WR7EN7Y6.cjs → ReferralWidget-SQYXPSFV.cjs} +8 -8
- package/dist/{ReferralWidget-WR7EN7Y6.cjs.map → ReferralWidget-SQYXPSFV.cjs.map} +1 -1
- package/dist/RichTextWidget-2MS3NJ5A.mjs +11 -0
- package/dist/{RichTextWidget-6IQPGNO7.cjs.map → RichTextWidget-2MS3NJ5A.mjs.map} +1 -1
- package/dist/{RichTextWidget-6IQPGNO7.cjs → RichTextWidget-KZA7BPBC.cjs} +7 -7
- package/dist/{RichTextWidget-CSFWGM3F.mjs.map → RichTextWidget-KZA7BPBC.cjs.map} +1 -1
- package/dist/SmartTextarea-KGSJWPZL.mjs +12 -0
- package/dist/{SmartTextarea-ESTMIA5I.mjs.map → SmartTextarea-KGSJWPZL.mjs.map} +1 -1
- package/dist/{SmartTextarea-GAW2BXZE.cjs → SmartTextarea-L2X3FITZ.cjs} +6 -6
- package/dist/{SmartTextarea-GAW2BXZE.cjs.map → SmartTextarea-L2X3FITZ.cjs.map} +1 -1
- package/dist/{SuggestionTextareaWidget-JY5PWPPC.mjs → SuggestionTextareaWidget-FU3IVJ5A.mjs} +7 -7
- package/dist/{SuggestionTextareaWidget-JY5PWPPC.mjs.map → SuggestionTextareaWidget-FU3IVJ5A.mjs.map} +1 -1
- package/dist/{SuggestionTextareaWidget-H737OFYH.cjs → SuggestionTextareaWidget-WF3H2T44.cjs} +19 -19
- package/dist/{SuggestionTextareaWidget-H737OFYH.cjs.map → SuggestionTextareaWidget-WF3H2T44.cjs.map} +1 -1
- package/dist/{SurgicalRiskFlagsWidget-JLBSOLBA.mjs → SurgicalRiskFlagsWidget-5TBENG4V.mjs} +4 -4
- package/dist/{SurgicalRiskFlagsWidget-JLBSOLBA.mjs.map → SurgicalRiskFlagsWidget-5TBENG4V.mjs.map} +1 -1
- package/dist/{SurgicalRiskFlagsWidget-NSSB4U3Z.cjs → SurgicalRiskFlagsWidget-RPFRMDNB.cjs} +6 -6
- package/dist/{SurgicalRiskFlagsWidget-NSSB4U3Z.cjs.map → SurgicalRiskFlagsWidget-RPFRMDNB.cjs.map} +1 -1
- package/dist/{TreatmentPlanWidget-FNU3L3N3.cjs → TreatmentPlanWidget-QPSYUOUL.cjs} +8 -8
- package/dist/{TreatmentPlanWidget-FNU3L3N3.cjs.map → TreatmentPlanWidget-QPSYUOUL.cjs.map} +1 -1
- package/dist/{TreatmentPlanWidget-H223CYQZ.mjs → TreatmentPlanWidget-ZMHDTY6O.mjs} +5 -5
- package/dist/{TreatmentPlanWidget-H223CYQZ.mjs.map → TreatmentPlanWidget-ZMHDTY6O.mjs.map} +1 -1
- package/dist/{UrologyExaminationWidget-DNJGQXAH.mjs → UrologyExaminationWidget-6LLAMDAT.mjs} +5 -5
- package/dist/{UrologyExaminationWidget-DNJGQXAH.mjs.map → UrologyExaminationWidget-6LLAMDAT.mjs.map} +1 -1
- package/dist/{UrologyExaminationWidget-O4ENNCGR.cjs → UrologyExaminationWidget-UQ35V7RV.cjs} +18 -18
- package/dist/{UrologyExaminationWidget-O4ENNCGR.cjs.map → UrologyExaminationWidget-UQ35V7RV.cjs.map} +1 -1
- package/dist/{UrologyPathwayWidget-NFLUEPWO.mjs → UrologyPathwayWidget-DLU6Z5AL.mjs} +5 -5
- package/dist/{UrologyPathwayWidget-NFLUEPWO.mjs.map → UrologyPathwayWidget-DLU6Z5AL.mjs.map} +1 -1
- package/dist/{UrologyPathwayWidget-343EB3CN.cjs → UrologyPathwayWidget-GF5Y6QQK.cjs} +10 -10
- package/dist/{UrologyPathwayWidget-343EB3CN.cjs.map → UrologyPathwayWidget-GF5Y6QQK.cjs.map} +1 -1
- package/dist/{UrologySmartHistoryWidget-DFNY627Z.mjs → UrologySmartHistoryWidget-7PJDELO3.mjs} +5 -5
- package/dist/{UrologySmartHistoryWidget-DFNY627Z.mjs.map → UrologySmartHistoryWidget-7PJDELO3.mjs.map} +1 -1
- package/dist/{UrologySmartHistoryWidget-D4YG6UVB.cjs → UrologySmartHistoryWidget-UVUFEG3Z.cjs} +19 -19
- package/dist/{UrologySmartHistoryWidget-D4YG6UVB.cjs.map → UrologySmartHistoryWidget-UVUFEG3Z.cjs.map} +1 -1
- package/dist/{VitalsWidget-LCP6UJIK.mjs → VitalsWidget-AMVPCHFR.mjs} +3 -3
- package/dist/{VitalsWidget-LCP6UJIK.mjs.map → VitalsWidget-AMVPCHFR.mjs.map} +1 -1
- package/dist/{VitalsWidget-ILPP6ZJM.cjs → VitalsWidget-PFG54SPF.cjs} +5 -5
- package/dist/{VitalsWidget-ILPP6ZJM.cjs.map → VitalsWidget-PFG54SPF.cjs.map} +1 -1
- package/dist/{chunk-WNQBXIAP.mjs → chunk-2DBQPFRL.mjs} +3 -3
- package/dist/{chunk-WNQBXIAP.mjs.map → chunk-2DBQPFRL.mjs.map} +1 -1
- package/dist/{chunk-T66LW3J5.cjs → chunk-3VYL2BWT.cjs} +4 -4
- package/dist/{chunk-T66LW3J5.cjs.map → chunk-3VYL2BWT.cjs.map} +1 -1
- package/dist/{chunk-X4WL56LN.mjs → chunk-4JFZ6UFT.mjs} +3 -3
- package/dist/{chunk-X4WL56LN.mjs.map → chunk-4JFZ6UFT.mjs.map} +1 -1
- package/dist/{chunk-SORZQ6J6.mjs → chunk-4JJ36V6B.mjs} +3 -3
- package/dist/{chunk-SORZQ6J6.mjs.map → chunk-4JJ36V6B.mjs.map} +1 -1
- package/dist/{chunk-P3UZGB74.cjs → chunk-64Y7ZQKF.cjs} +4 -4
- package/dist/{chunk-P3UZGB74.cjs.map → chunk-64Y7ZQKF.cjs.map} +1 -1
- package/dist/{chunk-SJWKNDI5.mjs → chunk-B2DJXRXM.mjs} +3 -3
- package/dist/{chunk-SJWKNDI5.mjs.map → chunk-B2DJXRXM.mjs.map} +1 -1
- package/dist/{chunk-V5NEFZGE.cjs → chunk-BB7XAJ2Z.cjs} +5 -5
- package/dist/{chunk-V5NEFZGE.cjs.map → chunk-BB7XAJ2Z.cjs.map} +1 -1
- package/dist/{chunk-VFATO7VP.cjs → chunk-D7VZKCCH.cjs} +4 -4
- package/dist/{chunk-VFATO7VP.cjs.map → chunk-D7VZKCCH.cjs.map} +1 -1
- package/dist/{chunk-AF3CBRGP.cjs → chunk-DRP3DHXU.cjs} +8 -8
- package/dist/{chunk-AF3CBRGP.cjs.map → chunk-DRP3DHXU.cjs.map} +1 -1
- package/dist/{chunk-5474K4UA.mjs → chunk-ECH4BVE6.mjs} +3 -3
- package/dist/{chunk-5474K4UA.mjs.map → chunk-ECH4BVE6.mjs.map} +1 -1
- package/dist/{chunk-HSPOCOFQ.mjs → chunk-ECN5HVAF.mjs} +3 -3
- package/dist/{chunk-HSPOCOFQ.mjs.map → chunk-ECN5HVAF.mjs.map} +1 -1
- package/dist/{chunk-4FXFHR57.cjs → chunk-ERVWEPFB.cjs} +4 -4
- package/dist/{chunk-4FXFHR57.cjs.map → chunk-ERVWEPFB.cjs.map} +1 -1
- package/dist/{chunk-AZCZKMIE.cjs → chunk-GUOQ2AKG.cjs} +6 -6
- package/dist/{chunk-AZCZKMIE.cjs.map → chunk-GUOQ2AKG.cjs.map} +1 -1
- package/dist/{chunk-74PGBNQL.mjs → chunk-J3PUEIXX.mjs} +3 -3
- package/dist/{chunk-74PGBNQL.mjs.map → chunk-J3PUEIXX.mjs.map} +1 -1
- package/dist/{chunk-FMBNVXQE.cjs → chunk-JCTF7YZW.cjs} +13 -13
- package/dist/{chunk-FMBNVXQE.cjs.map → chunk-JCTF7YZW.cjs.map} +1 -1
- package/dist/{chunk-GHTWXNPC.cjs → chunk-KYA5QYHJ.cjs} +5 -5
- package/dist/{chunk-GHTWXNPC.cjs.map → chunk-KYA5QYHJ.cjs.map} +1 -1
- package/dist/{chunk-MEZUEPR2.mjs → chunk-MX4WWQNK.mjs} +5 -5
- package/dist/{chunk-MEZUEPR2.mjs.map → chunk-MX4WWQNK.mjs.map} +1 -1
- package/dist/{chunk-Q24OK7J6.cjs → chunk-NO36IW4H.cjs} +143 -2
- package/dist/chunk-NO36IW4H.cjs.map +1 -0
- package/dist/{chunk-J7G77636.cjs → chunk-OH3RBVAS.cjs} +4 -4
- package/dist/{chunk-J7G77636.cjs.map → chunk-OH3RBVAS.cjs.map} +1 -1
- package/dist/{chunk-A6LXDIX7.mjs → chunk-OY7AQBJR.mjs} +3 -3
- package/dist/{chunk-A6LXDIX7.mjs.map → chunk-OY7AQBJR.mjs.map} +1 -1
- package/dist/{chunk-NOFLNJZ6.mjs → chunk-PDU5KGIS.mjs} +5 -5
- package/dist/{chunk-NOFLNJZ6.mjs.map → chunk-PDU5KGIS.mjs.map} +1 -1
- package/dist/{chunk-LBIZDREX.cjs → chunk-PQWH7A3T.cjs} +4 -4
- package/dist/{chunk-LBIZDREX.cjs.map → chunk-PQWH7A3T.cjs.map} +1 -1
- package/dist/{chunk-KAYCW2DF.mjs → chunk-RBC52QRR.mjs} +3 -3
- package/dist/{chunk-KAYCW2DF.mjs.map → chunk-RBC52QRR.mjs.map} +1 -1
- package/dist/{chunk-GI5QBDPX.cjs → chunk-RIKKEQP3.cjs} +10 -10
- package/dist/{chunk-GI5QBDPX.cjs.map → chunk-RIKKEQP3.cjs.map} +1 -1
- package/dist/{chunk-L3UDG6T3.mjs → chunk-TBDAEC53.mjs} +3 -3
- package/dist/{chunk-L3UDG6T3.mjs.map → chunk-TBDAEC53.mjs.map} +1 -1
- package/dist/{chunk-FEPLVLEK.cjs → chunk-TINICCPE.cjs} +7 -7
- package/dist/{chunk-FEPLVLEK.cjs.map → chunk-TINICCPE.cjs.map} +1 -1
- package/dist/{chunk-ZMLPHAGC.cjs → chunk-UJYIHX5H.cjs} +4 -4
- package/dist/{chunk-ZMLPHAGC.cjs.map → chunk-UJYIHX5H.cjs.map} +1 -1
- package/dist/{chunk-4HRGKJXY.mjs → chunk-Y5E7TQ44.mjs} +3 -3
- package/dist/{chunk-4HRGKJXY.mjs.map → chunk-Y5E7TQ44.mjs.map} +1 -1
- package/dist/{chunk-MRVPTU64.mjs → chunk-YNF3HOY6.mjs} +4 -4
- package/dist/{chunk-MRVPTU64.mjs.map → chunk-YNF3HOY6.mjs.map} +1 -1
- package/dist/{chunk-TPVPMO7W.mjs → chunk-ZLBAYYSO.mjs} +132 -3
- package/dist/chunk-ZLBAYYSO.mjs.map +1 -0
- package/dist/{chunk-3JPJ4CAL.mjs → chunk-ZOIIB553.mjs} +4 -4
- package/dist/{chunk-3JPJ4CAL.mjs.map → chunk-ZOIIB553.mjs.map} +1 -1
- package/dist/{chunk-EAYQOSSH.cjs → chunk-ZUAROGT4.cjs} +4 -4
- package/dist/{chunk-EAYQOSSH.cjs.map → chunk-ZUAROGT4.cjs.map} +1 -1
- package/dist/index.cjs +231 -148
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +102 -3
- package/dist/index.d.ts +102 -3
- package/dist/index.mjs +92 -58
- package/dist/index.mjs.map +1 -1
- package/dist/read-only-table.d.cts +1 -1
- package/dist/read-only-table.d.ts +1 -1
- package/dist/rich-text.cjs +5 -5
- package/dist/rich-text.mjs +4 -4
- package/dist/smart.cjs +5 -5
- package/dist/smart.d.cts +1 -1
- package/dist/smart.d.ts +1 -1
- package/dist/smart.mjs +3 -3
- package/dist/{types-Bp-DGSW8.d.ts → types-Bz4SU0Cw.d.cts} +21 -3
- package/dist/{types-Bp-DGSW8.d.cts → types-Bz4SU0Cw.d.ts} +21 -3
- package/package.json +2 -1
- package/dist/BpeChartWidget-LHIWXWBK.mjs +0 -7
- package/dist/BpeChartWidget-RLIG4ALE.cjs +0 -28
- package/dist/DentalChartWidget-ZVUVPZGT.cjs +0 -21
- package/dist/RichTextWidget-CSFWGM3F.mjs +0 -11
- package/dist/SmartTextarea-ESTMIA5I.mjs +0 -12
- package/dist/chunk-Q24OK7J6.cjs.map +0 -1
- package/dist/chunk-TPVPMO7W.mjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as FormValues, M as FormDef, O as FormState, F as FieldDef,
|
|
2
|
-
export { a as BiometryIolWorkupFieldDef, b as BiometryIolWorkupValue, c as BiometryMethod, d as BpeChartFieldDef, C as CampDateOption, e as CampDateSelection, f as CampDatesFieldDef, g as CampTimeSlotOption, h as CampTimeSlotSelection, i as CampTimeSlotsFieldDef, j as CheckboxFieldDef, k as ColumnLayout, l as Computation, m as Condition, D as DataSource, o as DentalChartFieldDef, p as DiagnosisGradeSelection, q as DiagnosisTextareaFieldDef, r as DiagnosisTextareaValue, t as DiagnosticPackageTest, u as DifferentialDiagnosisFieldDef, E as EditableTableColumnDef, w as EditableTableFieldDef, x as EventDefinition, y as ExtractedKeywordMatch, z as FieldPrefill, A as FieldState, G as FieldStyleClassNames, H as FieldStyleConfig, I as FieldType, J as FileUploadFieldDef, K as FollowupFieldDef, L as FollowupValue, N as FormErrors, Q as FormulaComputation, R as FormulaExpr, S as FunctionalImpairmentDimension, T as FunctionalImpairmentScoreFieldDef, U as FunctionalImpairmentScoreValue, V as GeneralSurgeryExaminationFieldDef, W as GeneralSurgeryGradingFieldDef, X as GeneralSurgerySmartHistoryFieldDef, Y as ImageUploadFieldDef, _ as InvestigationsFieldDef, $ as
|
|
1
|
+
import { P as FormValues, M as FormDef, O as FormState, F as FieldDef, aZ as WorkflowTransition, av as Rule, v as DoctorFrequentItems, s as DiagnosticPackage, a7 as MedicationPackage, B as BaseFieldDef, a6 as MedicationFrequentItem, Z as InvestigationFrequentItem, ao as ProcedureFrequentItem, n as DentalChartData, aP as ToothCondition } from './types-Bz4SU0Cw.cjs';
|
|
2
|
+
export { a as BiometryIolWorkupFieldDef, b as BiometryIolWorkupValue, c as BiometryMethod, d as BpeChartFieldDef, C as CampDateOption, e as CampDateSelection, f as CampDatesFieldDef, g as CampTimeSlotOption, h as CampTimeSlotSelection, i as CampTimeSlotsFieldDef, j as CheckboxFieldDef, k as ColumnLayout, l as Computation, m as Condition, D as DataSource, o as DentalChartFieldDef, p as DiagnosisGradeSelection, q as DiagnosisTextareaFieldDef, r as DiagnosisTextareaValue, t as DiagnosticPackageTest, u as DifferentialDiagnosisFieldDef, E as EditableTableColumnDef, w as EditableTableFieldDef, x as EventDefinition, y as ExtractedKeywordMatch, z as FieldPrefill, A as FieldState, G as FieldStyleClassNames, H as FieldStyleConfig, I as FieldType, J as FileUploadFieldDef, K as FollowupFieldDef, L as FollowupValue, N as FormErrors, Q as FormulaComputation, R as FormulaExpr, S as FunctionalImpairmentDimension, T as FunctionalImpairmentScoreFieldDef, U as FunctionalImpairmentScoreValue, V as GeneralSurgeryExaminationFieldDef, W as GeneralSurgeryGradingFieldDef, X as GeneralSurgerySmartHistoryFieldDef, Y as ImageUploadFieldDef, _ as InvestigationsFieldDef, $ as KneeRomRecorderFieldDef, a0 as LayoutNode, a1 as LensAssessmentFieldDef, a2 as LensAssessmentValue, a3 as LocsGrades, a4 as MatchedCondition, a5 as MediaUploadFieldDef, a8 as MedicationPackageDrug, a9 as MedicationsFieldDef, aa as MultiStepLayoutNode, ab as MultiStepNode, ac as NumberFieldDef, ad as OBGExaminationFieldDef, ae as OBGPathwayFieldDef, af as OralHygieneFieldDef, ag as OralHygieneValue, ah as OtpInputFieldDef, ai as OtpVerifiedValue, aj as PainScaleFlagsFieldDef, ak as Permission, al as PhoneInputFieldDef, am as PregnancyStatusFieldDef, an as PregnancyStatusValue, ap as ProceduresFieldDef, aq as RadioFieldDef, ar as ReferralFieldDef, as as ReferralItem, at as RepeatableFieldDef, au as RichTextFieldDef, aw as RuleAction, ax as ScoreComputation, ay as ScoreRange, az as Section, aA as SectionChild, aB as SelectFieldDef, aC as SelectOption, aD as SignatureFieldDef, aE as SliderFieldDef, aF as SmartTextareaFieldDef, aG as SmartTextareaValue, aH as SocialHistoryFieldDef, aI as StaticTextFieldDef, aJ as SuggestionTextareaFieldDef, aK as SumComputation, aL as SurgicalRiskFlagsFieldDef, aM as SurgicalRiskFlagsValue, aN as TextFieldDef, aO as ToggleFieldDef, aQ as ToothEntry, aR as TreatmentPlanFieldDef, aS as UrologyExaminationFieldDef, aT as UrologyPathwayFieldDef, aU as UrologySmartHistoryFieldDef, aV as ValidationRule, aW as VitalsFieldDef, aX as WebhookDef, aY as Workflow } from './types-Bz4SU0Cw.cjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { b as Extensions, E as Editor } from './richTextClassName-DGvZ5_t4.cjs';
|
|
@@ -802,6 +802,105 @@ interface ReadOnlyMediaUploadProps {
|
|
|
802
802
|
}
|
|
803
803
|
declare const ReadOnlyMediaUpload: React__default.FC<ReadOnlyMediaUploadProps>;
|
|
804
804
|
|
|
805
|
+
interface ReadOnlyKneeRomProps {
|
|
806
|
+
fieldDef: BaseFieldDef;
|
|
807
|
+
value: any;
|
|
808
|
+
}
|
|
809
|
+
declare const ReadOnlyKneeRom: React__default.FC<ReadOnlyKneeRomProps>;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Knee range-of-motion helpers for the `knee_rom_recorder` field.
|
|
813
|
+
*
|
|
814
|
+
* Ported from assessment-tools/posture-nodejs (KneeROMAssessment) and adapted
|
|
815
|
+
* for MediaPipe Tasks pose landmarks. Kept free of React / MediaPipe imports so
|
|
816
|
+
* the maths and value shapes can be shared with read-only rendering and the store.
|
|
817
|
+
*/
|
|
818
|
+
type KneeRomSide = 'left' | 'right';
|
|
819
|
+
declare const KNEE_ROM_SIDES: KneeRomSide[];
|
|
820
|
+
declare const KNEE_ROM_SIDE_LABEL: Record<KneeRomSide, string>;
|
|
821
|
+
/** Stored per knee. `video` is an S3 key while editing, or `{_type: "s3_key", ...}` once loaded back. */
|
|
822
|
+
interface KneeRomSideValue {
|
|
823
|
+
video: unknown;
|
|
824
|
+
/** Smallest flexion angle seen (degrees, 0 = fully straight). Null when pose tracking was unavailable. */
|
|
825
|
+
min_angle: number | null;
|
|
826
|
+
/** Largest flexion angle seen (degrees). */
|
|
827
|
+
max_angle: number | null;
|
|
828
|
+
/** max_angle - min_angle. */
|
|
829
|
+
rom: number | null;
|
|
830
|
+
duration_s: number;
|
|
831
|
+
mime_type: string;
|
|
832
|
+
recorded_at: string;
|
|
833
|
+
}
|
|
834
|
+
type KneeRomValue = Partial<Record<KneeRomSide, KneeRomSideValue | null>>;
|
|
835
|
+
declare const POSE_LANDMARKS: {
|
|
836
|
+
readonly left: {
|
|
837
|
+
readonly hip: 23;
|
|
838
|
+
readonly knee: 25;
|
|
839
|
+
readonly ankle: 27;
|
|
840
|
+
};
|
|
841
|
+
readonly right: {
|
|
842
|
+
readonly hip: 24;
|
|
843
|
+
readonly knee: 26;
|
|
844
|
+
readonly ankle: 28;
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
interface PoseLandmarkLike {
|
|
848
|
+
x: number;
|
|
849
|
+
y: number;
|
|
850
|
+
visibility?: number;
|
|
851
|
+
}
|
|
852
|
+
interface KneeMeasurement {
|
|
853
|
+
/** Leg whose landmarks were used (the one most visible to the camera). */
|
|
854
|
+
leg: KneeRomSide;
|
|
855
|
+
/** Knee flexion in degrees: 0 = straight leg. */
|
|
856
|
+
flexion: number;
|
|
857
|
+
visibility: number;
|
|
858
|
+
/** Pixel coordinates for drawing. */
|
|
859
|
+
hip: [number, number];
|
|
860
|
+
knee: [number, number];
|
|
861
|
+
ankle: [number, number];
|
|
862
|
+
}
|
|
863
|
+
/** Interior angle at `b` formed by a-b-c, in degrees (0–180). */
|
|
864
|
+
declare function interiorAngle(a: [number, number], b: [number, number], c: [number, number]): number;
|
|
865
|
+
/**
|
|
866
|
+
* Measure knee flexion from one frame of normalized pose landmarks.
|
|
867
|
+
*
|
|
868
|
+
* The patient is filmed side-on with the assessed knee facing the camera, so we
|
|
869
|
+
* use whichever leg is more visible rather than trusting MediaPipe's left/right
|
|
870
|
+
* label (it frequently swaps them in profile). Normalized coordinates are scaled
|
|
871
|
+
* to pixels so the angle is correct for non-square frames.
|
|
872
|
+
*/
|
|
873
|
+
declare function measureKneeFlexion(landmarks: PoseLandmarkLike[] | undefined, width: number, height: number): KneeMeasurement | null;
|
|
874
|
+
/**
|
|
875
|
+
* Tracks min/max flexion over a recording. Each sample is median-filtered over
|
|
876
|
+
* the last few frames so a single mis-detected frame cannot set the extremes.
|
|
877
|
+
*/
|
|
878
|
+
declare class KneeRomTracker {
|
|
879
|
+
private window;
|
|
880
|
+
private readonly windowSize;
|
|
881
|
+
min: number | null;
|
|
882
|
+
max: number | null;
|
|
883
|
+
current: number | null;
|
|
884
|
+
constructor(windowSize?: number);
|
|
885
|
+
push(flexion: number): void;
|
|
886
|
+
get rom(): number | null;
|
|
887
|
+
reset(): void;
|
|
888
|
+
}
|
|
889
|
+
declare function roundAngle(value: number | null): number | null;
|
|
890
|
+
/** Extract the raw S3 key from a stored video reference (string or typed object). */
|
|
891
|
+
declare function kneeRomVideoKey(video: unknown): string | null;
|
|
892
|
+
/** Browser-loadable URL for a stored video reference, if one is available. */
|
|
893
|
+
declare function kneeRomVideoUrl(video: unknown): string | null;
|
|
894
|
+
/**
|
|
895
|
+
* Submission shape: each side's `video` becomes `{_type: "s3_key", value}` so the
|
|
896
|
+
* backend attaches presigned URLs and data-server can create patient artifacts.
|
|
897
|
+
* Returns null when no knee has a recording.
|
|
898
|
+
*/
|
|
899
|
+
declare function serializeKneeRomValue(raw: unknown): KneeRomValue | null;
|
|
900
|
+
/** Pick a recording container the browser supports, preferring MP4 for wide playback support. */
|
|
901
|
+
declare function pickRecorderMimeType(): string | null;
|
|
902
|
+
declare function extensionForMimeType(mimeType: string): 'mp4' | 'webm';
|
|
903
|
+
|
|
805
904
|
interface ReadOnlySignatureProps {
|
|
806
905
|
fieldDef: BaseFieldDef;
|
|
807
906
|
value: any;
|
|
@@ -1089,4 +1188,4 @@ declare function BpeChartReadOnly({ data: rawData, label, className, }: {
|
|
|
1089
1188
|
className?: string;
|
|
1090
1189
|
}): react_jsx_runtime.JSX.Element;
|
|
1091
1190
|
|
|
1092
|
-
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, type TextareaOverrideProps, ToothCondition, Upload, type UploadProps, type WidgetOverrides, WorkflowTransition, createUploadHandler, evaluateRules, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, normalizeDentalChart, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm };
|
|
1191
|
+
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, KNEE_ROM_SIDES, KNEE_ROM_SIDE_LABEL, type KneeMeasurement, type KneeRomSide, type KneeRomSideValue, KneeRomTracker, type KneeRomValue, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, POSE_LANDMARKS, type PoseLandmarkLike, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyKneeRom, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, type TextareaOverrideProps, ToothCondition, Upload, type UploadProps, type WidgetOverrides, WorkflowTransition, createUploadHandler, evaluateRules, extensionForMimeType, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, interiorAngle, isLabelVisible, kneeRomVideoKey, kneeRomVideoUrl, measureKneeFlexion, normalizeDentalChart, pickRecorderMimeType, roundAngle, serializeKneeRomValue, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as FormValues, M as FormDef, O as FormState, F as FieldDef,
|
|
2
|
-
export { a as BiometryIolWorkupFieldDef, b as BiometryIolWorkupValue, c as BiometryMethod, d as BpeChartFieldDef, C as CampDateOption, e as CampDateSelection, f as CampDatesFieldDef, g as CampTimeSlotOption, h as CampTimeSlotSelection, i as CampTimeSlotsFieldDef, j as CheckboxFieldDef, k as ColumnLayout, l as Computation, m as Condition, D as DataSource, o as DentalChartFieldDef, p as DiagnosisGradeSelection, q as DiagnosisTextareaFieldDef, r as DiagnosisTextareaValue, t as DiagnosticPackageTest, u as DifferentialDiagnosisFieldDef, E as EditableTableColumnDef, w as EditableTableFieldDef, x as EventDefinition, y as ExtractedKeywordMatch, z as FieldPrefill, A as FieldState, G as FieldStyleClassNames, H as FieldStyleConfig, I as FieldType, J as FileUploadFieldDef, K as FollowupFieldDef, L as FollowupValue, N as FormErrors, Q as FormulaComputation, R as FormulaExpr, S as FunctionalImpairmentDimension, T as FunctionalImpairmentScoreFieldDef, U as FunctionalImpairmentScoreValue, V as GeneralSurgeryExaminationFieldDef, W as GeneralSurgeryGradingFieldDef, X as GeneralSurgerySmartHistoryFieldDef, Y as ImageUploadFieldDef, _ as InvestigationsFieldDef, $ as
|
|
1
|
+
import { P as FormValues, M as FormDef, O as FormState, F as FieldDef, aZ as WorkflowTransition, av as Rule, v as DoctorFrequentItems, s as DiagnosticPackage, a7 as MedicationPackage, B as BaseFieldDef, a6 as MedicationFrequentItem, Z as InvestigationFrequentItem, ao as ProcedureFrequentItem, n as DentalChartData, aP as ToothCondition } from './types-Bz4SU0Cw.js';
|
|
2
|
+
export { a as BiometryIolWorkupFieldDef, b as BiometryIolWorkupValue, c as BiometryMethod, d as BpeChartFieldDef, C as CampDateOption, e as CampDateSelection, f as CampDatesFieldDef, g as CampTimeSlotOption, h as CampTimeSlotSelection, i as CampTimeSlotsFieldDef, j as CheckboxFieldDef, k as ColumnLayout, l as Computation, m as Condition, D as DataSource, o as DentalChartFieldDef, p as DiagnosisGradeSelection, q as DiagnosisTextareaFieldDef, r as DiagnosisTextareaValue, t as DiagnosticPackageTest, u as DifferentialDiagnosisFieldDef, E as EditableTableColumnDef, w as EditableTableFieldDef, x as EventDefinition, y as ExtractedKeywordMatch, z as FieldPrefill, A as FieldState, G as FieldStyleClassNames, H as FieldStyleConfig, I as FieldType, J as FileUploadFieldDef, K as FollowupFieldDef, L as FollowupValue, N as FormErrors, Q as FormulaComputation, R as FormulaExpr, S as FunctionalImpairmentDimension, T as FunctionalImpairmentScoreFieldDef, U as FunctionalImpairmentScoreValue, V as GeneralSurgeryExaminationFieldDef, W as GeneralSurgeryGradingFieldDef, X as GeneralSurgerySmartHistoryFieldDef, Y as ImageUploadFieldDef, _ as InvestigationsFieldDef, $ as KneeRomRecorderFieldDef, a0 as LayoutNode, a1 as LensAssessmentFieldDef, a2 as LensAssessmentValue, a3 as LocsGrades, a4 as MatchedCondition, a5 as MediaUploadFieldDef, a8 as MedicationPackageDrug, a9 as MedicationsFieldDef, aa as MultiStepLayoutNode, ab as MultiStepNode, ac as NumberFieldDef, ad as OBGExaminationFieldDef, ae as OBGPathwayFieldDef, af as OralHygieneFieldDef, ag as OralHygieneValue, ah as OtpInputFieldDef, ai as OtpVerifiedValue, aj as PainScaleFlagsFieldDef, ak as Permission, al as PhoneInputFieldDef, am as PregnancyStatusFieldDef, an as PregnancyStatusValue, ap as ProceduresFieldDef, aq as RadioFieldDef, ar as ReferralFieldDef, as as ReferralItem, at as RepeatableFieldDef, au as RichTextFieldDef, aw as RuleAction, ax as ScoreComputation, ay as ScoreRange, az as Section, aA as SectionChild, aB as SelectFieldDef, aC as SelectOption, aD as SignatureFieldDef, aE as SliderFieldDef, aF as SmartTextareaFieldDef, aG as SmartTextareaValue, aH as SocialHistoryFieldDef, aI as StaticTextFieldDef, aJ as SuggestionTextareaFieldDef, aK as SumComputation, aL as SurgicalRiskFlagsFieldDef, aM as SurgicalRiskFlagsValue, aN as TextFieldDef, aO as ToggleFieldDef, aQ as ToothEntry, aR as TreatmentPlanFieldDef, aS as UrologyExaminationFieldDef, aT as UrologyPathwayFieldDef, aU as UrologySmartHistoryFieldDef, aV as ValidationRule, aW as VitalsFieldDef, aX as WebhookDef, aY as Workflow } from './types-Bz4SU0Cw.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { b as Extensions, E as Editor } from './richTextClassName-DGvZ5_t4.js';
|
|
@@ -802,6 +802,105 @@ interface ReadOnlyMediaUploadProps {
|
|
|
802
802
|
}
|
|
803
803
|
declare const ReadOnlyMediaUpload: React__default.FC<ReadOnlyMediaUploadProps>;
|
|
804
804
|
|
|
805
|
+
interface ReadOnlyKneeRomProps {
|
|
806
|
+
fieldDef: BaseFieldDef;
|
|
807
|
+
value: any;
|
|
808
|
+
}
|
|
809
|
+
declare const ReadOnlyKneeRom: React__default.FC<ReadOnlyKneeRomProps>;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Knee range-of-motion helpers for the `knee_rom_recorder` field.
|
|
813
|
+
*
|
|
814
|
+
* Ported from assessment-tools/posture-nodejs (KneeROMAssessment) and adapted
|
|
815
|
+
* for MediaPipe Tasks pose landmarks. Kept free of React / MediaPipe imports so
|
|
816
|
+
* the maths and value shapes can be shared with read-only rendering and the store.
|
|
817
|
+
*/
|
|
818
|
+
type KneeRomSide = 'left' | 'right';
|
|
819
|
+
declare const KNEE_ROM_SIDES: KneeRomSide[];
|
|
820
|
+
declare const KNEE_ROM_SIDE_LABEL: Record<KneeRomSide, string>;
|
|
821
|
+
/** Stored per knee. `video` is an S3 key while editing, or `{_type: "s3_key", ...}` once loaded back. */
|
|
822
|
+
interface KneeRomSideValue {
|
|
823
|
+
video: unknown;
|
|
824
|
+
/** Smallest flexion angle seen (degrees, 0 = fully straight). Null when pose tracking was unavailable. */
|
|
825
|
+
min_angle: number | null;
|
|
826
|
+
/** Largest flexion angle seen (degrees). */
|
|
827
|
+
max_angle: number | null;
|
|
828
|
+
/** max_angle - min_angle. */
|
|
829
|
+
rom: number | null;
|
|
830
|
+
duration_s: number;
|
|
831
|
+
mime_type: string;
|
|
832
|
+
recorded_at: string;
|
|
833
|
+
}
|
|
834
|
+
type KneeRomValue = Partial<Record<KneeRomSide, KneeRomSideValue | null>>;
|
|
835
|
+
declare const POSE_LANDMARKS: {
|
|
836
|
+
readonly left: {
|
|
837
|
+
readonly hip: 23;
|
|
838
|
+
readonly knee: 25;
|
|
839
|
+
readonly ankle: 27;
|
|
840
|
+
};
|
|
841
|
+
readonly right: {
|
|
842
|
+
readonly hip: 24;
|
|
843
|
+
readonly knee: 26;
|
|
844
|
+
readonly ankle: 28;
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
interface PoseLandmarkLike {
|
|
848
|
+
x: number;
|
|
849
|
+
y: number;
|
|
850
|
+
visibility?: number;
|
|
851
|
+
}
|
|
852
|
+
interface KneeMeasurement {
|
|
853
|
+
/** Leg whose landmarks were used (the one most visible to the camera). */
|
|
854
|
+
leg: KneeRomSide;
|
|
855
|
+
/** Knee flexion in degrees: 0 = straight leg. */
|
|
856
|
+
flexion: number;
|
|
857
|
+
visibility: number;
|
|
858
|
+
/** Pixel coordinates for drawing. */
|
|
859
|
+
hip: [number, number];
|
|
860
|
+
knee: [number, number];
|
|
861
|
+
ankle: [number, number];
|
|
862
|
+
}
|
|
863
|
+
/** Interior angle at `b` formed by a-b-c, in degrees (0–180). */
|
|
864
|
+
declare function interiorAngle(a: [number, number], b: [number, number], c: [number, number]): number;
|
|
865
|
+
/**
|
|
866
|
+
* Measure knee flexion from one frame of normalized pose landmarks.
|
|
867
|
+
*
|
|
868
|
+
* The patient is filmed side-on with the assessed knee facing the camera, so we
|
|
869
|
+
* use whichever leg is more visible rather than trusting MediaPipe's left/right
|
|
870
|
+
* label (it frequently swaps them in profile). Normalized coordinates are scaled
|
|
871
|
+
* to pixels so the angle is correct for non-square frames.
|
|
872
|
+
*/
|
|
873
|
+
declare function measureKneeFlexion(landmarks: PoseLandmarkLike[] | undefined, width: number, height: number): KneeMeasurement | null;
|
|
874
|
+
/**
|
|
875
|
+
* Tracks min/max flexion over a recording. Each sample is median-filtered over
|
|
876
|
+
* the last few frames so a single mis-detected frame cannot set the extremes.
|
|
877
|
+
*/
|
|
878
|
+
declare class KneeRomTracker {
|
|
879
|
+
private window;
|
|
880
|
+
private readonly windowSize;
|
|
881
|
+
min: number | null;
|
|
882
|
+
max: number | null;
|
|
883
|
+
current: number | null;
|
|
884
|
+
constructor(windowSize?: number);
|
|
885
|
+
push(flexion: number): void;
|
|
886
|
+
get rom(): number | null;
|
|
887
|
+
reset(): void;
|
|
888
|
+
}
|
|
889
|
+
declare function roundAngle(value: number | null): number | null;
|
|
890
|
+
/** Extract the raw S3 key from a stored video reference (string or typed object). */
|
|
891
|
+
declare function kneeRomVideoKey(video: unknown): string | null;
|
|
892
|
+
/** Browser-loadable URL for a stored video reference, if one is available. */
|
|
893
|
+
declare function kneeRomVideoUrl(video: unknown): string | null;
|
|
894
|
+
/**
|
|
895
|
+
* Submission shape: each side's `video` becomes `{_type: "s3_key", value}` so the
|
|
896
|
+
* backend attaches presigned URLs and data-server can create patient artifacts.
|
|
897
|
+
* Returns null when no knee has a recording.
|
|
898
|
+
*/
|
|
899
|
+
declare function serializeKneeRomValue(raw: unknown): KneeRomValue | null;
|
|
900
|
+
/** Pick a recording container the browser supports, preferring MP4 for wide playback support. */
|
|
901
|
+
declare function pickRecorderMimeType(): string | null;
|
|
902
|
+
declare function extensionForMimeType(mimeType: string): 'mp4' | 'webm';
|
|
903
|
+
|
|
805
904
|
interface ReadOnlySignatureProps {
|
|
806
905
|
fieldDef: BaseFieldDef;
|
|
807
906
|
value: any;
|
|
@@ -1089,4 +1188,4 @@ declare function BpeChartReadOnly({ data: rawData, label, className, }: {
|
|
|
1089
1188
|
className?: string;
|
|
1090
1189
|
}): react_jsx_runtime.JSX.Element;
|
|
1091
1190
|
|
|
1092
|
-
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, type TextareaOverrideProps, ToothCondition, Upload, type UploadProps, type WidgetOverrides, WorkflowTransition, createUploadHandler, evaluateRules, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, normalizeDentalChart, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm };
|
|
1191
|
+
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, KNEE_ROM_SIDES, KNEE_ROM_SIDE_LABEL, type KneeMeasurement, type KneeRomSide, type KneeRomSideValue, KneeRomTracker, type KneeRomValue, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, POSE_LANDMARKS, type PoseLandmarkLike, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyKneeRom, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, type TextareaOverrideProps, ToothCondition, Upload, type UploadProps, type WidgetOverrides, WorkflowTransition, createUploadHandler, evaluateRules, extensionForMimeType, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, interiorAngle, isLabelVisible, kneeRomVideoKey, kneeRomVideoUrl, measureKneeFlexion, normalizeDentalChart, pickRecorderMimeType, roundAngle, serializeKneeRomValue, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm };
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Switch } from './chunk-
|
|
2
|
-
import { BpeChartReadOnly } from './chunk-
|
|
3
|
-
export { BPE_SCORES, BpeChartReadOnly, SEXTANTS } from './chunk-
|
|
4
|
-
import { normalizeDentalChart, DentalChartReadOnly } from './chunk-
|
|
5
|
-
export { CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartReadOnly, normalizeDentalChart, toothLabel } from './chunk-
|
|
6
|
-
import { TextWidget, SelectWidget } from './chunk-
|
|
1
|
+
import { Switch } from './chunk-ECH4BVE6.mjs';
|
|
2
|
+
import { BpeChartReadOnly } from './chunk-OY7AQBJR.mjs';
|
|
3
|
+
export { BPE_SCORES, BpeChartReadOnly, SEXTANTS } from './chunk-OY7AQBJR.mjs';
|
|
4
|
+
import { normalizeDentalChart, DentalChartReadOnly } from './chunk-4JJ36V6B.mjs';
|
|
5
|
+
export { CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartReadOnly, normalizeDentalChart, toothLabel } from './chunk-4JJ36V6B.mjs';
|
|
6
|
+
import { TextWidget, SelectWidget } from './chunk-MX4WWQNK.mjs';
|
|
7
7
|
import { parseFunctionalImpairmentScore, functionalImpairmentTotal } from './chunk-LQYWMYEC.mjs';
|
|
8
8
|
import { normalizeObgPathway } from './chunk-IKAKE7TR.mjs';
|
|
9
|
-
import { Checkbox } from './chunk-
|
|
10
|
-
import { Slider } from './chunk-
|
|
11
|
-
import { AISuggestionsProvider } from './chunk-
|
|
12
|
-
export { AddMedicationField } from './chunk-
|
|
13
|
-
export { AddInvestigationField } from './chunk-
|
|
14
|
-
export { AddProcedureField } from './chunk-
|
|
9
|
+
import { Checkbox } from './chunk-TBDAEC53.mjs';
|
|
10
|
+
import { Slider } from './chunk-B2DJXRXM.mjs';
|
|
11
|
+
import { AISuggestionsProvider } from './chunk-4JFZ6UFT.mjs';
|
|
12
|
+
export { AddMedicationField } from './chunk-4JFZ6UFT.mjs';
|
|
13
|
+
export { AddInvestigationField } from './chunk-ZOIIB553.mjs';
|
|
14
|
+
export { AddProcedureField } from './chunk-ECN5HVAF.mjs';
|
|
15
15
|
import './chunk-GZPCYSJK.mjs';
|
|
16
16
|
export { DifferentialDiagnosis } from './chunk-BIG7CFMZ.mjs';
|
|
17
17
|
import { fetchOptions } from './chunk-IFMQKLNW.mjs';
|
|
@@ -22,18 +22,18 @@ import { getThemeConfig } from './chunk-Y7TIWH4I.mjs';
|
|
|
22
22
|
import './chunk-IITPPTHZ.mjs';
|
|
23
23
|
import { richTextHtmlClassName } from './chunk-I4AV6BQF.mjs';
|
|
24
24
|
export { richTextHtmlClassName } from './chunk-I4AV6BQF.mjs';
|
|
25
|
-
import './chunk-
|
|
25
|
+
import './chunk-J3PUEIXX.mjs';
|
|
26
26
|
import { isLabelVisible, FieldRequiredIndicator, fieldLabelClass, fieldWrapperClass, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass } from './chunk-SRFFWUCH.mjs';
|
|
27
27
|
export { FieldRequiredIndicator, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldWrapperClass, isLabelVisible } from './chunk-SRFFWUCH.mjs';
|
|
28
|
-
import { useForm } from './chunk-
|
|
29
|
-
export { useForm } from './chunk-
|
|
28
|
+
import { useForm } from './chunk-2DBQPFRL.mjs';
|
|
29
|
+
export { useForm } from './chunk-2DBQPFRL.mjs';
|
|
30
30
|
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-UULLSS4O.mjs';
|
|
31
31
|
import { Input } from './chunk-BGHIYCQZ.mjs';
|
|
32
32
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-ZZX3IG2T.mjs';
|
|
33
33
|
import './chunk-DQLJP74G.mjs';
|
|
34
34
|
import { Button } from './chunk-GXXWMHAA.mjs';
|
|
35
|
-
import { useField, useFormStore, useFormUiSkin, evaluateRules, parseCampDateValue, normalizeGeneralSurgerySmartHistory, normalizeUrologySmartHistory, normalizePainScaleFlags, campDateSelectionFromOption, MOCK_CAMP_TIME_SLOTS, MOCK_CAMP_DATES } from './chunk-
|
|
36
|
-
export { DEFAULT_FORM_UI_SKIN, EMAIL_REGEX, FormProvider, FormStore, evaluateRules, useField, useFieldHandlers, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm } from './chunk-
|
|
35
|
+
import { useField, useFormStore, useFormUiSkin, KNEE_ROM_SIDES, kneeRomVideoUrl, KNEE_ROM_SIDE_LABEL, evaluateRules, parseCampDateValue, normalizeGeneralSurgerySmartHistory, normalizeUrologySmartHistory, normalizePainScaleFlags, campDateSelectionFromOption, MOCK_CAMP_TIME_SLOTS, MOCK_CAMP_DATES } from './chunk-ZLBAYYSO.mjs';
|
|
36
|
+
export { DEFAULT_FORM_UI_SKIN, EMAIL_REGEX, FormProvider, FormStore, KNEE_ROM_SIDES, KNEE_ROM_SIDE_LABEL, KneeRomTracker, POSE_LANDMARKS, evaluateRules, extensionForMimeType, interiorAngle, kneeRomVideoKey, kneeRomVideoUrl, measureKneeFlexion, pickRecorderMimeType, roundAngle, serializeKneeRomValue, useField, useFieldHandlers, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm } from './chunk-ZLBAYYSO.mjs';
|
|
37
37
|
import { Label } from './chunk-HEFZA2AH.mjs';
|
|
38
38
|
import { cn } from './chunk-VPU66PI6.mjs';
|
|
39
39
|
import * as React4 from 'react';
|
|
@@ -2654,46 +2654,47 @@ var CampTimeSlotsWidget = ({ fieldId }) => {
|
|
|
2654
2654
|
function lazyNamed(loader, name) {
|
|
2655
2655
|
return React4__default.lazy(async () => ({ default: (await loader())[name] }));
|
|
2656
2656
|
}
|
|
2657
|
-
var RichTextWidget = lazyNamed(() => import('./RichTextWidget-
|
|
2658
|
-
var DateWidget = lazyNamed(() => import('./DateWidget-
|
|
2659
|
-
var DateTimeWidget = lazyNamed(() => import('./DateTimeWidget-
|
|
2660
|
-
var EditableTableWidget = lazyNamed(() => import('./EditableTable-
|
|
2661
|
-
var AddMedicationWidget = lazyNamed(() => import('./AddMedicationWidget-
|
|
2662
|
-
var DischargeMedicationOrdersWidget = lazyNamed(() => import('./DischargeMedicationOrdersWidget-
|
|
2663
|
-
var AddInvestigationWidget = lazyNamed(() => import('./AddInvestigationWidget-
|
|
2664
|
-
var AddProcedureWidget = lazyNamed(() => import('./AddProcedureWidget-
|
|
2665
|
-
var DifferentialDiagnosisWidget = lazyNamed(() => import('./DifferentialDiagnosisWidget-
|
|
2666
|
-
var VitalsWidget = lazyNamed(() => import('./VitalsWidget-
|
|
2667
|
-
var HiddenVitalsWidget = lazyNamed(() => import('./HiddenVitalsWidget-
|
|
2668
|
-
var ReferralWidget = lazyNamed(() => import('./ReferralWidget-
|
|
2669
|
-
var FollowupWidget = lazyNamed(() => import('./FollowupWidget-
|
|
2670
|
-
var SmartTextareaWidget = lazyNamed(() => import('./SmartTextarea-
|
|
2671
|
-
var DiagnosisTextareaWidget = lazyNamed(() => import('./DiagnosisTextareaWidget-
|
|
2672
|
-
var ObstetricHistoryWidget = lazyNamed(() => import('./ObstetricHistoryWidget-
|
|
2673
|
-
var OphthalmologyWidget = lazyNamed(() => import('./OphthalmologyWidget-
|
|
2674
|
-
var OphthalDiagnosisWidget = lazyNamed(() => import('./OphthalDiagnosisWidget-
|
|
2675
|
-
var OrthopedicExamWidget = lazyNamed(() => import('./OrthopedicExamWidget-
|
|
2676
|
-
var MarMedicationOrdersWidget = lazyNamed(() => import('./MarMedicationOrdersWidget-
|
|
2677
|
-
var SuggestionTextareaWidget = lazyNamed(() => import('./SuggestionTextareaWidget-
|
|
2678
|
-
var LensAssessmentWidget = lazyNamed(() => import('./LensAssessmentWidget-
|
|
2679
|
-
var FunctionalImpairmentScoreWidget = lazyNamed(() => import('./FunctionalImpairmentScoreWidget-
|
|
2680
|
-
var BiometryIolWorkupWidget = lazyNamed(() => import('./BiometryIolWorkupWidget-
|
|
2681
|
-
var SurgicalRiskFlagsWidget = lazyNamed(() => import('./SurgicalRiskFlagsWidget-
|
|
2682
|
-
var GsSmartHistoryWidget = lazyNamed(() => import('./GsSmartHistoryWidget-
|
|
2683
|
-
var GsExaminationWidget = lazyNamed(() => import('./GsExaminationWidget-
|
|
2684
|
-
var GsGradingWidget = lazyNamed(() => import('./GsGradingWidget-
|
|
2685
|
-
var PainScaleFlagsWidget = lazyNamed(() => import('./PainScaleFlagsWidget-
|
|
2686
|
-
var UrologySmartHistoryWidget = lazyNamed(() => import('./UrologySmartHistoryWidget-
|
|
2687
|
-
var UrologyExaminationWidget = lazyNamed(() => import('./UrologyExaminationWidget-
|
|
2688
|
-
var UrologyPathwayWidget = lazyNamed(() => import('./UrologyPathwayWidget-
|
|
2689
|
-
var OBGExaminationWidget = lazyNamed(() => import('./OBGExaminationWidget-
|
|
2690
|
-
var OBGPathwayWidget = lazyNamed(() => import('./OBGPathwayWidget-
|
|
2691
|
-
var DentalChartWidget = lazyNamed(() => import('./DentalChartWidget-
|
|
2692
|
-
var TreatmentPlanWidget = lazyNamed(() => import('./TreatmentPlanWidget-
|
|
2693
|
-
var PregnancyStatusWidget = lazyNamed(() => import('./PregnancyStatusWidget-
|
|
2694
|
-
var OralHygieneWidget = lazyNamed(() => import('./OralHygieneWidget-
|
|
2695
|
-
var BpeChartWidget = lazyNamed(() => import('./BpeChartWidget-
|
|
2696
|
-
var ExtraOralExamWidget = lazyNamed(() => import('./ExtraOralExamWidget-
|
|
2657
|
+
var RichTextWidget = lazyNamed(() => import('./RichTextWidget-2MS3NJ5A.mjs'), "RichTextWidget");
|
|
2658
|
+
var DateWidget = lazyNamed(() => import('./DateWidget-FFYBSYYG.mjs'), "DateWidget");
|
|
2659
|
+
var DateTimeWidget = lazyNamed(() => import('./DateTimeWidget-JRLYWJV2.mjs'), "DateTimeWidget");
|
|
2660
|
+
var EditableTableWidget = lazyNamed(() => import('./EditableTable-EN2O3T5A.mjs'), "EditableTableWidget");
|
|
2661
|
+
var AddMedicationWidget = lazyNamed(() => import('./AddMedicationWidget-CUCIBBOM.mjs'), "AddMedicationWidget");
|
|
2662
|
+
var DischargeMedicationOrdersWidget = lazyNamed(() => import('./DischargeMedicationOrdersWidget-DVRV5FCQ.mjs'), "DischargeMedicationOrdersWidget");
|
|
2663
|
+
var AddInvestigationWidget = lazyNamed(() => import('./AddInvestigationWidget-SA3CL4R3.mjs'), "AddInvestigationWidget");
|
|
2664
|
+
var AddProcedureWidget = lazyNamed(() => import('./AddProcedureWidget-RGDMEKSR.mjs'), "AddProcedureWidget");
|
|
2665
|
+
var DifferentialDiagnosisWidget = lazyNamed(() => import('./DifferentialDiagnosisWidget-NDO322WG.mjs'), "DifferentialDiagnosisWidget");
|
|
2666
|
+
var VitalsWidget = lazyNamed(() => import('./VitalsWidget-AMVPCHFR.mjs'), "VitalsWidget");
|
|
2667
|
+
var HiddenVitalsWidget = lazyNamed(() => import('./HiddenVitalsWidget-BOELAZAE.mjs'), "HiddenVitalsWidget");
|
|
2668
|
+
var ReferralWidget = lazyNamed(() => import('./ReferralWidget-GB2E4NBU.mjs'), "ReferralWidget");
|
|
2669
|
+
var FollowupWidget = lazyNamed(() => import('./FollowupWidget-N7VOJ2FR.mjs'), "FollowupWidget");
|
|
2670
|
+
var SmartTextareaWidget = lazyNamed(() => import('./SmartTextarea-KGSJWPZL.mjs'), "SmartTextareaWidget");
|
|
2671
|
+
var DiagnosisTextareaWidget = lazyNamed(() => import('./DiagnosisTextareaWidget-STDPQNI7.mjs'), "DiagnosisTextareaWidget");
|
|
2672
|
+
var ObstetricHistoryWidget = lazyNamed(() => import('./ObstetricHistoryWidget-A2MQQNEB.mjs'), "ObstetricHistoryWidget");
|
|
2673
|
+
var OphthalmologyWidget = lazyNamed(() => import('./OphthalmologyWidget-RJNNF6NB.mjs'), "OphthalmologyWidget");
|
|
2674
|
+
var OphthalDiagnosisWidget = lazyNamed(() => import('./OphthalDiagnosisWidget-KASYVVWS.mjs'), "OphthalDiagnosisWidget");
|
|
2675
|
+
var OrthopedicExamWidget = lazyNamed(() => import('./OrthopedicExamWidget-QGKDX2LJ.mjs'), "OrthopedicExamWidget");
|
|
2676
|
+
var MarMedicationOrdersWidget = lazyNamed(() => import('./MarMedicationOrdersWidget-6C3UCZH4.mjs'), "MarMedicationOrdersWidget");
|
|
2677
|
+
var SuggestionTextareaWidget = lazyNamed(() => import('./SuggestionTextareaWidget-FU3IVJ5A.mjs'), "SuggestionTextareaWidget");
|
|
2678
|
+
var LensAssessmentWidget = lazyNamed(() => import('./LensAssessmentWidget-CXSAHD72.mjs'), "LensAssessmentWidget");
|
|
2679
|
+
var FunctionalImpairmentScoreWidget = lazyNamed(() => import('./FunctionalImpairmentScoreWidget-6VTYJZN7.mjs'), "FunctionalImpairmentScoreWidget");
|
|
2680
|
+
var BiometryIolWorkupWidget = lazyNamed(() => import('./BiometryIolWorkupWidget-6YG5TGSV.mjs'), "BiometryIolWorkupWidget");
|
|
2681
|
+
var SurgicalRiskFlagsWidget = lazyNamed(() => import('./SurgicalRiskFlagsWidget-5TBENG4V.mjs'), "SurgicalRiskFlagsWidget");
|
|
2682
|
+
var GsSmartHistoryWidget = lazyNamed(() => import('./GsSmartHistoryWidget-CUMH6NGI.mjs'), "GsSmartHistoryWidget");
|
|
2683
|
+
var GsExaminationWidget = lazyNamed(() => import('./GsExaminationWidget-EC4FMKI2.mjs'), "GsExaminationWidget");
|
|
2684
|
+
var GsGradingWidget = lazyNamed(() => import('./GsGradingWidget-CFIRIXM6.mjs'), "GsGradingWidget");
|
|
2685
|
+
var PainScaleFlagsWidget = lazyNamed(() => import('./PainScaleFlagsWidget-GAMOOLRR.mjs'), "PainScaleFlagsWidget");
|
|
2686
|
+
var UrologySmartHistoryWidget = lazyNamed(() => import('./UrologySmartHistoryWidget-7PJDELO3.mjs'), "UrologySmartHistoryWidget");
|
|
2687
|
+
var UrologyExaminationWidget = lazyNamed(() => import('./UrologyExaminationWidget-6LLAMDAT.mjs'), "UrologyExaminationWidget");
|
|
2688
|
+
var UrologyPathwayWidget = lazyNamed(() => import('./UrologyPathwayWidget-DLU6Z5AL.mjs'), "UrologyPathwayWidget");
|
|
2689
|
+
var OBGExaminationWidget = lazyNamed(() => import('./OBGExaminationWidget-MBCJ3HUO.mjs'), "OBGExaminationWidget");
|
|
2690
|
+
var OBGPathwayWidget = lazyNamed(() => import('./OBGPathwayWidget-5XTG2CRF.mjs'), "OBGPathwayWidget");
|
|
2691
|
+
var DentalChartWidget = lazyNamed(() => import('./DentalChartWidget-3DM6MEP3.mjs'), "DentalChartWidget");
|
|
2692
|
+
var TreatmentPlanWidget = lazyNamed(() => import('./TreatmentPlanWidget-ZMHDTY6O.mjs'), "TreatmentPlanWidget");
|
|
2693
|
+
var PregnancyStatusWidget = lazyNamed(() => import('./PregnancyStatusWidget-2UAVTRGW.mjs'), "PregnancyStatusWidget");
|
|
2694
|
+
var OralHygieneWidget = lazyNamed(() => import('./OralHygieneWidget-QMK5ODXH.mjs'), "OralHygieneWidget");
|
|
2695
|
+
var BpeChartWidget = lazyNamed(() => import('./BpeChartWidget-JWMFAUDP.mjs'), "BpeChartWidget");
|
|
2696
|
+
var ExtraOralExamWidget = lazyNamed(() => import('./ExtraOralExamWidget-UBNZGI5O.mjs'), "ExtraOralExamWidget");
|
|
2697
|
+
var KneeRomRecorderWidget = lazyNamed(() => import('./KneeRomRecorderWidget-B2WKX6TZ.mjs'), "KneeRomRecorderWidget");
|
|
2697
2698
|
function lazyWidget(node) {
|
|
2698
2699
|
return /* @__PURE__ */ jsx(React4__default.Suspense, { fallback: null, children: node });
|
|
2699
2700
|
}
|
|
@@ -2744,6 +2745,8 @@ function renderWidget(fieldId, fieldDef, uiSkin) {
|
|
|
2744
2745
|
return /* @__PURE__ */ jsx(FormFileUploadWidget, { fieldId });
|
|
2745
2746
|
case "signature":
|
|
2746
2747
|
return /* @__PURE__ */ jsx(SignatureUploadWidget, { fieldId });
|
|
2748
|
+
case "knee_rom_recorder":
|
|
2749
|
+
return lazyWidget(/* @__PURE__ */ jsx(KneeRomRecorderWidget, { fieldId }));
|
|
2747
2750
|
case "editable_table":
|
|
2748
2751
|
return lazyWidget(/* @__PURE__ */ jsx(EditableTableWidget, { fieldId }));
|
|
2749
2752
|
case "medications":
|
|
@@ -3684,6 +3687,35 @@ var ReadOnlyMediaUpload = ({
|
|
|
3684
3687
|
fieldDef.description && /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500", children: fieldDef.description })
|
|
3685
3688
|
] });
|
|
3686
3689
|
};
|
|
3690
|
+
function formatAngle(value) {
|
|
3691
|
+
return value === null || value === void 0 ? "\u2014" : `${Math.round(value)}\xB0`;
|
|
3692
|
+
}
|
|
3693
|
+
var ReadOnlyKneeRom = ({ fieldDef, value }) => {
|
|
3694
|
+
const def = fieldDef;
|
|
3695
|
+
const sides = def.sides?.length ? def.sides : KNEE_ROM_SIDES;
|
|
3696
|
+
const data = value && typeof value === "object" ? value : {};
|
|
3697
|
+
const recorded = sides.filter((side) => data[side]);
|
|
3698
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
3699
|
+
/* @__PURE__ */ jsx(Label, { children: fieldDef.label }),
|
|
3700
|
+
recorded.length === 0 ? /* @__PURE__ */ jsx("div", { className: "rounded-lg border border-gray-200 bg-gray-50 p-4 text-center text-sm text-gray-500", children: "No recording" }) : /* @__PURE__ */ jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: recorded.map((side) => {
|
|
3701
|
+
const entry = data[side];
|
|
3702
|
+
const url = kneeRomVideoUrl(entry.video);
|
|
3703
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-2 rounded-lg border border-gray-200 p-3", children: [
|
|
3704
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: KNEE_ROM_SIDE_LABEL[side] }),
|
|
3705
|
+
url ? /* @__PURE__ */ jsx("video", { src: url, controls: true, playsInline: true, preload: "metadata", className: "w-full max-h-64 rounded-md bg-black" }) : /* @__PURE__ */ jsx("div", { className: "rounded-md bg-gray-50 p-4 text-center text-xs text-gray-500", children: "Video unavailable" }),
|
|
3706
|
+
/* @__PURE__ */ jsxs("div", { className: "text-sm text-gray-700", children: [
|
|
3707
|
+
"Min ",
|
|
3708
|
+
formatAngle(entry.min_angle),
|
|
3709
|
+
" \xB7 Max ",
|
|
3710
|
+
formatAngle(entry.max_angle),
|
|
3711
|
+
" \xB7 ROM",
|
|
3712
|
+
" ",
|
|
3713
|
+
/* @__PURE__ */ jsx("span", { className: "font-semibold", children: formatAngle(entry.rom) })
|
|
3714
|
+
] })
|
|
3715
|
+
] }, side);
|
|
3716
|
+
}) })
|
|
3717
|
+
] });
|
|
3718
|
+
};
|
|
3687
3719
|
var ReadOnlySignature = ({
|
|
3688
3720
|
fieldDef,
|
|
3689
3721
|
value
|
|
@@ -3937,6 +3969,8 @@ var ReadOnlyFieldRenderer = ({
|
|
|
3937
3969
|
return /* @__PURE__ */ jsx(ReadOnlyMediaUpload, { fieldDef, value });
|
|
3938
3970
|
case "file_upload":
|
|
3939
3971
|
return /* @__PURE__ */ jsx(ReadOnlyMediaUpload, { fieldDef, value });
|
|
3972
|
+
case "knee_rom_recorder":
|
|
3973
|
+
return /* @__PURE__ */ jsx(ReadOnlyKneeRom, { fieldDef, value });
|
|
3940
3974
|
case "signature":
|
|
3941
3975
|
return /* @__PURE__ */ jsx(ReadOnlySignature, { fieldDef, value });
|
|
3942
3976
|
case "editable_table":
|
|
@@ -4514,6 +4548,6 @@ function createUploadHandler(options) {
|
|
|
4514
4548
|
);
|
|
4515
4549
|
}
|
|
4516
4550
|
|
|
4517
|
-
export { CampBookingPersistenceProvider, DynamicForm, DynamicFormV2, FieldRenderer, FormControls, FormFileUploadWidget, FormLayout, ImageUploadWidget, MAR_MEDICATION_ORDERS_META_KEY, MediaUploadWidget, MultiStepForm, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, SECTION_SCROLL_MARGIN, SectionNav, SignatureUploadWidget, SmartForm, Upload3 as Upload, createUploadHandler, fieldMetaRequestsMarMedicationOrdersButton };
|
|
4551
|
+
export { CampBookingPersistenceProvider, DynamicForm, DynamicFormV2, FieldRenderer, FormControls, FormFileUploadWidget, FormLayout, ImageUploadWidget, MAR_MEDICATION_ORDERS_META_KEY, MediaUploadWidget, MultiStepForm, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyKneeRom, ReadOnlyMediaUpload, ReadOnlySignature, SECTION_SCROLL_MARGIN, SectionNav, SignatureUploadWidget, SmartForm, Upload3 as Upload, createUploadHandler, fieldMetaRequestsMarMedicationOrdersButton };
|
|
4518
4552
|
//# sourceMappingURL=index.mjs.map
|
|
4519
4553
|
//# sourceMappingURL=index.mjs.map
|