formanitor 0.3.16 → 0.3.17
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/{BiometryIolWorkupWidget-6YG5TGSV.mjs → BiometryIolWorkupWidget-FXEBCNOL.mjs} +36 -12
- package/dist/BiometryIolWorkupWidget-FXEBCNOL.mjs.map +1 -0
- package/dist/{BiometryIolWorkupWidget-R6K2OHUI.cjs → BiometryIolWorkupWidget-IYNC7LLO.cjs} +35 -11
- package/dist/BiometryIolWorkupWidget-IYNC7LLO.cjs.map +1 -0
- package/dist/FunctionalImpairmentScoreWidget-6PONZX4E.cjs +136 -0
- package/dist/FunctionalImpairmentScoreWidget-6PONZX4E.cjs.map +1 -0
- package/dist/FunctionalImpairmentScoreWidget-UL3VL7EH.mjs +134 -0
- package/dist/FunctionalImpairmentScoreWidget-UL3VL7EH.mjs.map +1 -0
- package/dist/LensAssessmentWidget-A63PHGPK.mjs +301 -0
- package/dist/LensAssessmentWidget-A63PHGPK.mjs.map +1 -0
- package/dist/LensAssessmentWidget-UIWGQS5G.cjs +303 -0
- package/dist/LensAssessmentWidget-UIWGQS5G.cjs.map +1 -0
- package/dist/OphthalDiagnosisWidget-EWJLDTD3.cjs +121 -0
- package/dist/OphthalDiagnosisWidget-EWJLDTD3.cjs.map +1 -0
- package/dist/OphthalDiagnosisWidget-QVCX7RJZ.mjs +119 -0
- package/dist/OphthalDiagnosisWidget-QVCX7RJZ.mjs.map +1 -0
- package/dist/{OphthalmologyWidget-VAIXSMIY.cjs → OphthalmologyWidget-BNHHQFYC.cjs} +285 -243
- package/dist/OphthalmologyWidget-BNHHQFYC.cjs.map +1 -0
- package/dist/{OphthalmologyWidget-RJNNF6NB.mjs → OphthalmologyWidget-PH3I23QD.mjs} +286 -244
- package/dist/OphthalmologyWidget-PH3I23QD.mjs.map +1 -0
- package/dist/{SurgicalRiskFlagsWidget-5TBENG4V.mjs → SurgicalRiskFlagsWidget-BO2QX2N5.mjs} +49 -24
- package/dist/SurgicalRiskFlagsWidget-BO2QX2N5.mjs.map +1 -0
- package/dist/{SurgicalRiskFlagsWidget-RPFRMDNB.cjs → SurgicalRiskFlagsWidget-QRRU4SDH.cjs} +48 -23
- package/dist/SurgicalRiskFlagsWidget-QRRU4SDH.cjs.map +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- package/dist/BiometryIolWorkupWidget-6YG5TGSV.mjs.map +0 -1
- package/dist/BiometryIolWorkupWidget-R6K2OHUI.cjs.map +0 -1
- package/dist/FunctionalImpairmentScoreWidget-6VTYJZN7.mjs +0 -91
- package/dist/FunctionalImpairmentScoreWidget-6VTYJZN7.mjs.map +0 -1
- package/dist/FunctionalImpairmentScoreWidget-TPVMRRFK.cjs +0 -93
- package/dist/FunctionalImpairmentScoreWidget-TPVMRRFK.cjs.map +0 -1
- package/dist/LensAssessmentWidget-CXSAHD72.mjs +0 -232
- package/dist/LensAssessmentWidget-CXSAHD72.mjs.map +0 -1
- package/dist/LensAssessmentWidget-LQN24WKD.cjs +0 -234
- package/dist/LensAssessmentWidget-LQN24WKD.cjs.map +0 -1
- package/dist/OphthalDiagnosisWidget-JQOK55U3.cjs +0 -91
- package/dist/OphthalDiagnosisWidget-JQOK55U3.cjs.map +0 -1
- package/dist/OphthalDiagnosisWidget-KASYVVWS.mjs +0 -89
- package/dist/OphthalDiagnosisWidget-KASYVVWS.mjs.map +0 -1
- package/dist/OphthalmologyWidget-RJNNF6NB.mjs.map +0 -1
- package/dist/OphthalmologyWidget-VAIXSMIY.cjs.map +0 -1
- package/dist/SurgicalRiskFlagsWidget-5TBENG4V.mjs.map +0 -1
- package/dist/SurgicalRiskFlagsWidget-RPFRMDNB.cjs.map +0 -1
|
@@ -106,23 +106,65 @@ function ensureValue(raw) {
|
|
|
106
106
|
notes: v.notes ?? ""
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
109
|
+
function getOphthalmologyClasses(isV2) {
|
|
110
|
+
if (!isV2) {
|
|
111
|
+
return {
|
|
112
|
+
title: "text-base font-semibold text-slate-800",
|
|
113
|
+
fieldLabel: "text-xs font-medium text-slate-700",
|
|
114
|
+
sectionWrapper: "rounded-md overflow-hidden flex flex-col border border-[#D0D0D0] bg-white",
|
|
115
|
+
sectionHeader: "rounded-t-md bg-[#FEE8EC] px-3 py-1 text-sm shrink-0 z-[1] text-slate-600 font-medium",
|
|
116
|
+
sectionHeaderTitle: "",
|
|
117
|
+
sectionBody: "rounded-b-md border-t border-[#D0D0D0] bg-white p-3 space-y-3",
|
|
118
|
+
table: "w-full border-collapse text-xs",
|
|
119
|
+
tableHeaderCell: "border border-[#E0E0E0] bg-[#F7F7F7] px-2 py-1 text-center font-semibold",
|
|
120
|
+
tableCell: "border border-[#E0E0E0] px-1.5 py-1 text-center align-middle",
|
|
121
|
+
select: "w-full border border-[#D0D0D0] rounded-md bg-white px-2 py-1 text-xs focus-visible:outline-none focus-visible:ring-0",
|
|
122
|
+
numberInput: "w-full border border-[#D0D0D0] rounded-md bg-white px-2 py-1 text-xs text-right focus-visible:outline-none focus-visible:ring-0",
|
|
123
|
+
textInput: "w-full border border-[#D0D0D0] rounded-md bg-white px-2 py-1 text-xs focus-visible:outline-none focus-visible:ring-0",
|
|
124
|
+
textarea: "min-h-[100px] text-xs",
|
|
125
|
+
refractionTable: "w-full table-fixed border-collapse text-xs",
|
|
126
|
+
refractionHeaderCell: "border border-[#E0E0E0] bg-[#F7F7F7] px-1 py-1 text-center font-semibold text-[11px]",
|
|
127
|
+
refractionDataCell: "border border-[#E0E0E0] p-0 text-center align-middle min-w-0",
|
|
128
|
+
refractionLabelCell: "border border-[#E0E0E0] px-2 py-1 text-left align-middle font-semibold whitespace-nowrap",
|
|
129
|
+
refractionInput: "h-7 w-full min-w-0 border-0 rounded-none bg-transparent px-1 py-0.5 text-xs text-right shadow-none ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 disabled:opacity-50",
|
|
130
|
+
refractionSelect: "box-border h-7 w-full min-w-0 max-w-full cursor-pointer border-0 rounded-none bg-transparent px-1 py-0.5 pr-6 text-xs shadow-none focus-visible:outline-none focus-visible:ring-0 disabled:opacity-50"
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
return {
|
|
134
|
+
title: "text-sm font-semibold text-foreground",
|
|
135
|
+
fieldLabel: "text-[11px] font-medium uppercase tracking-wide text-muted-foreground",
|
|
136
|
+
// Each section is a white card with a thin solid border — same treatment
|
|
137
|
+
// as the Medications card (`rounded-xl border border-border bg-card`) —
|
|
138
|
+
// not a grey fill, so the (also-white) nested inputs don't disappear.
|
|
139
|
+
sectionWrapper: "w-full min-w-0 space-y-1.5",
|
|
140
|
+
sectionHeader: "",
|
|
141
|
+
sectionHeaderTitle: "text-[11px] font-medium uppercase tracking-wide text-muted-foreground",
|
|
142
|
+
sectionBody: "rounded-xl border border-border bg-card p-3 space-y-3",
|
|
143
|
+
table: "w-full border-collapse text-xs",
|
|
144
|
+
tableHeaderCell: "px-2 py-1.5 text-center text-[11px] font-medium uppercase tracking-wide text-muted-foreground",
|
|
145
|
+
tableCell: "border-t border-border px-1.5 py-1.5 text-center align-middle",
|
|
146
|
+
// Standalone fields (Method, Time, Patient Information, Notes) get the
|
|
147
|
+
// same grey-fill/no-border treatment as every other v2 text field
|
|
148
|
+
// (e.g. Allergies) so they read as editable against the white card.
|
|
149
|
+
select: "w-full rounded-xl border-0 bg-neutral-100 px-2 py-1.5 text-xs shadow-none focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[#8b7cf8]/50 focus-visible:ring-offset-0",
|
|
150
|
+
numberInput: "w-full rounded-xl border-0 bg-neutral-100 px-2 py-1.5 text-xs text-right shadow-none placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[#8b7cf8]/50 focus-visible:ring-offset-0",
|
|
151
|
+
textInput: "w-full rounded-xl border-0 bg-neutral-100 px-2 py-1.5 text-xs shadow-none placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[#8b7cf8]/50 focus-visible:ring-offset-0",
|
|
152
|
+
textarea: "min-h-[100px] rounded-xl border-0 bg-neutral-100 text-xs shadow-none placeholder:text-muted-foreground focus-visible:ring-1 focus-visible:ring-[#8b7cf8]/50 focus-visible:ring-offset-0",
|
|
153
|
+
// Dense grid tables: each cell gets its own small grey-filled pill (same
|
|
154
|
+
// bg-neutral-100 as every other v2 input) inset from the row divider, so
|
|
155
|
+
// it reads as an editable field instead of flush transparent text.
|
|
156
|
+
refractionTable: "w-full table-fixed border-collapse text-xs",
|
|
157
|
+
refractionHeaderCell: "px-1 py-1.5 text-center text-[11px] font-medium uppercase tracking-wide text-muted-foreground",
|
|
158
|
+
refractionDataCell: "border-t border-border p-1 text-center align-middle min-w-0",
|
|
159
|
+
refractionLabelCell: "border-t border-border px-2 py-1 text-left align-middle font-semibold whitespace-nowrap text-foreground",
|
|
160
|
+
refractionInput: "h-7 w-full min-w-0 rounded-lg border-0 bg-neutral-100 px-1.5 py-0.5 text-xs text-right shadow-none ring-0 placeholder:text-muted-foreground focus-visible:ring-1 focus-visible:ring-[#8b7cf8]/50 focus-visible:ring-offset-0 disabled:opacity-50",
|
|
161
|
+
refractionSelect: "box-border h-7 w-full min-w-0 max-w-full cursor-pointer rounded-lg border-0 bg-neutral-100 px-1.5 py-0.5 pr-6 text-xs shadow-none focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[#8b7cf8]/50 disabled:opacity-50"
|
|
162
|
+
};
|
|
163
|
+
}
|
|
124
164
|
var OphthalmologyWidget = ({ fieldId }) => {
|
|
125
165
|
const { fieldDef, value, setValue, disabled } = chunkNO36IW4H_cjs.useField(fieldId);
|
|
166
|
+
const uiSkin = chunkNO36IW4H_cjs.useFormUiSkin();
|
|
167
|
+
const classes = react.useMemo(() => getOphthalmologyClasses(uiSkin === "v2"), [uiSkin]);
|
|
126
168
|
const safe = react.useMemo(() => ensureValue(value), [value]);
|
|
127
169
|
const label = fieldDef?.label || "";
|
|
128
170
|
const update = (updater) => {
|
|
@@ -218,18 +260,18 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
218
260
|
}));
|
|
219
261
|
};
|
|
220
262
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkFHHISVCH_cjs.cn("space-y-4", disabled && "opacity-70 pointer-events-none"), children: [
|
|
221
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
222
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
223
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
224
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkFHHISVCH_cjs.cn(
|
|
263
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: classes.title, children: label }),
|
|
264
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
265
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "Patient Information" }) }),
|
|
266
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkFHHISVCH_cjs.cn(classes.sectionBody, "grid gap-3 md:grid-cols-3"), children: [
|
|
225
267
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
226
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
268
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.fieldLabel, children: "Systemic History" }),
|
|
227
269
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
228
270
|
chunkS4NL7U74_cjs.Textarea,
|
|
229
271
|
{
|
|
230
272
|
disabled,
|
|
231
273
|
rows: 4,
|
|
232
|
-
className:
|
|
274
|
+
className: classes.textarea,
|
|
233
275
|
value: safe.patient_information.systemic_history,
|
|
234
276
|
onChange: (e) => setPatientInfo("systemic_history", e.target.value),
|
|
235
277
|
placeholder: "Enter systemic history..."
|
|
@@ -237,13 +279,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
237
279
|
)
|
|
238
280
|
] }),
|
|
239
281
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
240
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
282
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.fieldLabel, children: "Ocular History" }),
|
|
241
283
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
242
284
|
chunkS4NL7U74_cjs.Textarea,
|
|
243
285
|
{
|
|
244
286
|
disabled,
|
|
245
287
|
rows: 4,
|
|
246
|
-
className:
|
|
288
|
+
className: classes.textarea,
|
|
247
289
|
value: safe.patient_information.ocular_history,
|
|
248
290
|
onChange: (e) => setPatientInfo("ocular_history", e.target.value),
|
|
249
291
|
placeholder: "Enter ocular history..."
|
|
@@ -251,13 +293,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
251
293
|
)
|
|
252
294
|
] }),
|
|
253
295
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
254
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
296
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.fieldLabel, children: "Chief Complaints" }),
|
|
255
297
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
256
298
|
chunkS4NL7U74_cjs.Textarea,
|
|
257
299
|
{
|
|
258
300
|
disabled,
|
|
259
301
|
rows: 4,
|
|
260
|
-
className:
|
|
302
|
+
className: classes.textarea,
|
|
261
303
|
value: safe.patient_information.chief_complaints,
|
|
262
304
|
onChange: (e) => setPatientInfo("chief_complaints", e.target.value),
|
|
263
305
|
placeholder: "Enter chief complaints..."
|
|
@@ -266,82 +308,82 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
266
308
|
] })
|
|
267
309
|
] })
|
|
268
310
|
] }),
|
|
269
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
270
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
271
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
311
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
312
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "Unaided Visual Acuity" }) }),
|
|
313
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionBody, children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: classes.table, children: [
|
|
272
314
|
/* @__PURE__ */ jsxRuntime.jsxs("thead", { children: [
|
|
273
315
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
274
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
275
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
276
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
316
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell }),
|
|
317
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, colSpan: 3, children: "Right Eye" }),
|
|
318
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, colSpan: 3, children: "Left Eye" })
|
|
277
319
|
] }),
|
|
278
320
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
279
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
280
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
281
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
282
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
283
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
284
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
285
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
321
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell }),
|
|
322
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "UCVA" }),
|
|
323
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "Pinhole V/A" }),
|
|
324
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "N/V" }),
|
|
325
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "UCVA" }),
|
|
326
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "Pinhole V/A" }),
|
|
327
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "N/V" })
|
|
286
328
|
] })
|
|
287
329
|
] }),
|
|
288
330
|
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
289
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: chunkFHHISVCH_cjs.cn(
|
|
290
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
331
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: chunkFHHISVCH_cjs.cn(classes.tableCell, "font-semibold text-left px-2"), children: "Unaided" }),
|
|
332
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
291
333
|
"select",
|
|
292
334
|
{
|
|
293
335
|
disabled,
|
|
294
|
-
className:
|
|
336
|
+
className: classes.select,
|
|
295
337
|
value: safe.unaided_visual_acuity.right_eye.ucva,
|
|
296
338
|
onChange: (e) => setUnaided("right_eye", "ucva", e.target.value),
|
|
297
339
|
children: UCVA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
298
340
|
}
|
|
299
341
|
) }),
|
|
300
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
342
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
301
343
|
"select",
|
|
302
344
|
{
|
|
303
345
|
disabled,
|
|
304
|
-
className:
|
|
346
|
+
className: classes.select,
|
|
305
347
|
value: safe.unaided_visual_acuity.right_eye.pinhole_va,
|
|
306
348
|
onChange: (e) => setUnaided("right_eye", "pinhole_va", e.target.value),
|
|
307
349
|
children: PINHOLE_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
308
350
|
}
|
|
309
351
|
) }),
|
|
310
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
352
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
311
353
|
"select",
|
|
312
354
|
{
|
|
313
355
|
disabled,
|
|
314
|
-
className:
|
|
356
|
+
className: classes.select,
|
|
315
357
|
value: safe.unaided_visual_acuity.right_eye.nv,
|
|
316
358
|
onChange: (e) => setUnaided("right_eye", "nv", e.target.value),
|
|
317
359
|
children: NEAR_VA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
318
360
|
}
|
|
319
361
|
) }),
|
|
320
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
362
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
321
363
|
"select",
|
|
322
364
|
{
|
|
323
365
|
disabled,
|
|
324
|
-
className:
|
|
366
|
+
className: classes.select,
|
|
325
367
|
value: safe.unaided_visual_acuity.left_eye.ucva,
|
|
326
368
|
onChange: (e) => setUnaided("left_eye", "ucva", e.target.value),
|
|
327
369
|
children: UCVA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
328
370
|
}
|
|
329
371
|
) }),
|
|
330
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
372
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
331
373
|
"select",
|
|
332
374
|
{
|
|
333
375
|
disabled,
|
|
334
|
-
className:
|
|
376
|
+
className: classes.select,
|
|
335
377
|
value: safe.unaided_visual_acuity.left_eye.pinhole_va,
|
|
336
378
|
onChange: (e) => setUnaided("left_eye", "pinhole_va", e.target.value),
|
|
337
379
|
children: PINHOLE_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
338
380
|
}
|
|
339
381
|
) }),
|
|
340
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
382
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
341
383
|
"select",
|
|
342
384
|
{
|
|
343
385
|
disabled,
|
|
344
|
-
className:
|
|
386
|
+
className: classes.select,
|
|
345
387
|
value: safe.unaided_visual_acuity.left_eye.nv,
|
|
346
388
|
onChange: (e) => setUnaided("left_eye", "nv", e.target.value),
|
|
347
389
|
children: NEAR_VA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
@@ -350,9 +392,9 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
350
392
|
] }) })
|
|
351
393
|
] }) })
|
|
352
394
|
] }),
|
|
353
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
354
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
355
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
395
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
396
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "Current Glass Prescription" }) }),
|
|
397
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionBody, children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: classes.refractionTable, children: [
|
|
356
398
|
/* @__PURE__ */ jsxRuntime.jsxs("colgroup", { children: [
|
|
357
399
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[10%]" }),
|
|
358
400
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[7%]" }),
|
|
@@ -366,35 +408,35 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
366
408
|
] }),
|
|
367
409
|
/* @__PURE__ */ jsxRuntime.jsxs("thead", { children: [
|
|
368
410
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
369
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
370
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
371
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
411
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
412
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 4, children: "Right Eye" }),
|
|
413
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 4, children: "Left Eye" })
|
|
372
414
|
] }),
|
|
373
415
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
374
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
375
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
376
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
377
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
378
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
379
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
380
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
381
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
382
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
416
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
417
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
418
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
419
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
420
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "V/A" }),
|
|
421
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
422
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
423
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
424
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "V/A" })
|
|
383
425
|
] })
|
|
384
426
|
] }),
|
|
385
427
|
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
386
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: `${
|
|
428
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: `${classes.refractionLabelCell} whitespace-normal`, children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "block leading-tight", children: [
|
|
387
429
|
"Current",
|
|
388
430
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
389
431
|
"Glass"
|
|
390
432
|
] }) }),
|
|
391
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
433
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
392
434
|
chunkV7US2ZTL_cjs.Input,
|
|
393
435
|
{
|
|
394
436
|
disabled,
|
|
395
437
|
type: "number",
|
|
396
438
|
step: "0.25",
|
|
397
|
-
className:
|
|
439
|
+
className: classes.refractionInput,
|
|
398
440
|
value: safe.current_glass_prescription.right_eye.sph ?? "",
|
|
399
441
|
onChange: (e) => setRefractionField(
|
|
400
442
|
"current_glass_prescription",
|
|
@@ -405,13 +447,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
405
447
|
)
|
|
406
448
|
}
|
|
407
449
|
) }),
|
|
408
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
450
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
409
451
|
chunkV7US2ZTL_cjs.Input,
|
|
410
452
|
{
|
|
411
453
|
disabled,
|
|
412
454
|
type: "number",
|
|
413
455
|
step: "0.25",
|
|
414
|
-
className:
|
|
456
|
+
className: classes.refractionInput,
|
|
415
457
|
value: safe.current_glass_prescription.right_eye.cyl ?? "",
|
|
416
458
|
onChange: (e) => setRefractionField(
|
|
417
459
|
"current_glass_prescription",
|
|
@@ -422,12 +464,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
422
464
|
)
|
|
423
465
|
}
|
|
424
466
|
) }),
|
|
425
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
467
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
426
468
|
chunkV7US2ZTL_cjs.Input,
|
|
427
469
|
{
|
|
428
470
|
disabled,
|
|
429
471
|
type: "number",
|
|
430
|
-
className:
|
|
472
|
+
className: classes.refractionInput,
|
|
431
473
|
value: safe.current_glass_prescription.right_eye.axis ?? "",
|
|
432
474
|
onChange: (e) => setRefractionField(
|
|
433
475
|
"current_glass_prescription",
|
|
@@ -438,11 +480,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
438
480
|
)
|
|
439
481
|
}
|
|
440
482
|
) }),
|
|
441
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
483
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
442
484
|
"select",
|
|
443
485
|
{
|
|
444
486
|
disabled,
|
|
445
|
-
className:
|
|
487
|
+
className: classes.refractionSelect,
|
|
446
488
|
value: safe.current_glass_prescription.right_eye.va,
|
|
447
489
|
onChange: (e) => setRefractionField(
|
|
448
490
|
"current_glass_prescription",
|
|
@@ -454,13 +496,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
454
496
|
children: VA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
455
497
|
}
|
|
456
498
|
) }),
|
|
457
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
499
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
458
500
|
chunkV7US2ZTL_cjs.Input,
|
|
459
501
|
{
|
|
460
502
|
disabled,
|
|
461
503
|
type: "number",
|
|
462
504
|
step: "0.25",
|
|
463
|
-
className:
|
|
505
|
+
className: classes.refractionInput,
|
|
464
506
|
value: safe.current_glass_prescription.left_eye.sph ?? "",
|
|
465
507
|
onChange: (e) => setRefractionField(
|
|
466
508
|
"current_glass_prescription",
|
|
@@ -471,13 +513,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
471
513
|
)
|
|
472
514
|
}
|
|
473
515
|
) }),
|
|
474
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
516
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
475
517
|
chunkV7US2ZTL_cjs.Input,
|
|
476
518
|
{
|
|
477
519
|
disabled,
|
|
478
520
|
type: "number",
|
|
479
521
|
step: "0.25",
|
|
480
|
-
className:
|
|
522
|
+
className: classes.refractionInput,
|
|
481
523
|
value: safe.current_glass_prescription.left_eye.cyl ?? "",
|
|
482
524
|
onChange: (e) => setRefractionField(
|
|
483
525
|
"current_glass_prescription",
|
|
@@ -488,12 +530,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
488
530
|
)
|
|
489
531
|
}
|
|
490
532
|
) }),
|
|
491
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
533
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
492
534
|
chunkV7US2ZTL_cjs.Input,
|
|
493
535
|
{
|
|
494
536
|
disabled,
|
|
495
537
|
type: "number",
|
|
496
|
-
className:
|
|
538
|
+
className: classes.refractionInput,
|
|
497
539
|
value: safe.current_glass_prescription.left_eye.axis ?? "",
|
|
498
540
|
onChange: (e) => setRefractionField(
|
|
499
541
|
"current_glass_prescription",
|
|
@@ -504,11 +546,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
504
546
|
)
|
|
505
547
|
}
|
|
506
548
|
) }),
|
|
507
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
549
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
508
550
|
"select",
|
|
509
551
|
{
|
|
510
552
|
disabled,
|
|
511
|
-
className:
|
|
553
|
+
className: classes.refractionSelect,
|
|
512
554
|
value: safe.current_glass_prescription.left_eye.va,
|
|
513
555
|
onChange: (e) => setRefractionField(
|
|
514
556
|
"current_glass_prescription",
|
|
@@ -523,17 +565,17 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
523
565
|
] }) })
|
|
524
566
|
] }) })
|
|
525
567
|
] }),
|
|
526
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
527
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
528
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
568
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
569
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "IOP / Pachy / CCT Detail" }) }),
|
|
570
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: classes.sectionBody, children: [
|
|
529
571
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-3 md:grid-cols-[2fr,1fr] mb-3", children: [
|
|
530
572
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
531
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
573
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.fieldLabel, children: "Method" }),
|
|
532
574
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
533
575
|
"select",
|
|
534
576
|
{
|
|
535
577
|
disabled,
|
|
536
|
-
className:
|
|
578
|
+
className: classes.select,
|
|
537
579
|
value: safe.iop_pachy_cct.method,
|
|
538
580
|
onChange: (e) => setIopMeta("method", e.target.value),
|
|
539
581
|
children: IOP_METHOD_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt || "Select Method" }, opt || "blank"))
|
|
@@ -541,72 +583,72 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
541
583
|
)
|
|
542
584
|
] }),
|
|
543
585
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
544
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
586
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.fieldLabel, children: "Time" }),
|
|
545
587
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
546
588
|
chunkV7US2ZTL_cjs.Input,
|
|
547
589
|
{
|
|
548
590
|
disabled,
|
|
549
591
|
placeholder: "HH:MM",
|
|
550
|
-
className:
|
|
592
|
+
className: classes.textInput,
|
|
551
593
|
value: safe.iop_pachy_cct.time,
|
|
552
594
|
onChange: (e) => setIopMeta("time", e.target.value)
|
|
553
595
|
}
|
|
554
596
|
)
|
|
555
597
|
] })
|
|
556
598
|
] }),
|
|
557
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className:
|
|
599
|
+
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: classes.table, children: [
|
|
558
600
|
/* @__PURE__ */ jsxRuntime.jsxs("thead", { children: [
|
|
559
601
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
560
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
561
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
562
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
602
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell }),
|
|
603
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, colSpan: 2, children: "Right Eye" }),
|
|
604
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, colSpan: 2, children: "Left Eye" })
|
|
563
605
|
] }),
|
|
564
606
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
565
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
566
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
567
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
568
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
569
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
607
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell }),
|
|
608
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "IOP" }),
|
|
609
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "CCT" }),
|
|
610
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "IOP" }),
|
|
611
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.tableHeaderCell, children: "CCT" })
|
|
570
612
|
] })
|
|
571
613
|
] }),
|
|
572
614
|
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
573
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: chunkFHHISVCH_cjs.cn(
|
|
574
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
615
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: chunkFHHISVCH_cjs.cn(classes.tableCell, "font-semibold text-left px-2"), children: "Values" }),
|
|
616
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
575
617
|
chunkV7US2ZTL_cjs.Input,
|
|
576
618
|
{
|
|
577
619
|
disabled,
|
|
578
620
|
type: "number",
|
|
579
|
-
className:
|
|
621
|
+
className: classes.numberInput,
|
|
580
622
|
value: safe.iop_pachy_cct.right_eye.iop ?? "",
|
|
581
623
|
onChange: (e) => setIopField("right_eye", "iop", e.target.value)
|
|
582
624
|
}
|
|
583
625
|
) }),
|
|
584
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
626
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
585
627
|
chunkV7US2ZTL_cjs.Input,
|
|
586
628
|
{
|
|
587
629
|
disabled,
|
|
588
630
|
type: "number",
|
|
589
|
-
className:
|
|
631
|
+
className: classes.numberInput,
|
|
590
632
|
value: safe.iop_pachy_cct.right_eye.cct ?? "",
|
|
591
633
|
onChange: (e) => setIopField("right_eye", "cct", e.target.value)
|
|
592
634
|
}
|
|
593
635
|
) }),
|
|
594
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
636
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
595
637
|
chunkV7US2ZTL_cjs.Input,
|
|
596
638
|
{
|
|
597
639
|
disabled,
|
|
598
640
|
type: "number",
|
|
599
|
-
className:
|
|
641
|
+
className: classes.numberInput,
|
|
600
642
|
value: safe.iop_pachy_cct.left_eye.iop ?? "",
|
|
601
643
|
onChange: (e) => setIopField("left_eye", "iop", e.target.value)
|
|
602
644
|
}
|
|
603
645
|
) }),
|
|
604
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
646
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.tableCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
605
647
|
chunkV7US2ZTL_cjs.Input,
|
|
606
648
|
{
|
|
607
649
|
disabled,
|
|
608
650
|
type: "number",
|
|
609
|
-
className:
|
|
651
|
+
className: classes.numberInput,
|
|
610
652
|
value: safe.iop_pachy_cct.left_eye.cct ?? "",
|
|
611
653
|
onChange: (e) => setIopField("left_eye", "cct", e.target.value)
|
|
612
654
|
}
|
|
@@ -615,9 +657,9 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
615
657
|
] })
|
|
616
658
|
] })
|
|
617
659
|
] }),
|
|
618
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
619
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
620
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
660
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
661
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "Refraction (Distance)" }) }),
|
|
662
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionBody, children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: classes.refractionTable, children: [
|
|
621
663
|
/* @__PURE__ */ jsxRuntime.jsxs("colgroup", { children: [
|
|
622
664
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[10%]" }),
|
|
623
665
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[7%]" }),
|
|
@@ -633,34 +675,34 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
633
675
|
] }),
|
|
634
676
|
/* @__PURE__ */ jsxRuntime.jsxs("thead", { children: [
|
|
635
677
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
636
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
637
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
638
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
678
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
679
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 5, children: "Right Eye" }),
|
|
680
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 5, children: "Left Eye" })
|
|
639
681
|
] }),
|
|
640
682
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
641
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
642
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
643
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
644
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
645
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
646
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
647
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
648
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
649
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
650
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
651
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
683
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
684
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
685
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
686
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
687
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "BCVA" }),
|
|
688
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "P/D" }),
|
|
689
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
690
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
691
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
692
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "BCVA" }),
|
|
693
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "P/D" })
|
|
652
694
|
] })
|
|
653
695
|
] }),
|
|
654
696
|
/* @__PURE__ */ jsxRuntime.jsxs("tbody", { children: [
|
|
655
697
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
656
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
657
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
698
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionLabelCell, children: "Distance" }),
|
|
699
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
658
700
|
chunkV7US2ZTL_cjs.Input,
|
|
659
701
|
{
|
|
660
702
|
disabled,
|
|
661
703
|
type: "number",
|
|
662
704
|
step: "0.25",
|
|
663
|
-
className:
|
|
705
|
+
className: classes.refractionInput,
|
|
664
706
|
value: safe.refraction.right_eye.sph ?? "",
|
|
665
707
|
onChange: (e) => setRefractionField(
|
|
666
708
|
"refraction",
|
|
@@ -671,13 +713,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
671
713
|
)
|
|
672
714
|
}
|
|
673
715
|
) }),
|
|
674
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
716
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
675
717
|
chunkV7US2ZTL_cjs.Input,
|
|
676
718
|
{
|
|
677
719
|
disabled,
|
|
678
720
|
type: "number",
|
|
679
721
|
step: "0.25",
|
|
680
|
-
className:
|
|
722
|
+
className: classes.refractionInput,
|
|
681
723
|
value: safe.refraction.right_eye.cyl ?? "",
|
|
682
724
|
onChange: (e) => setRefractionField(
|
|
683
725
|
"refraction",
|
|
@@ -688,12 +730,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
688
730
|
)
|
|
689
731
|
}
|
|
690
732
|
) }),
|
|
691
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
733
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
692
734
|
chunkV7US2ZTL_cjs.Input,
|
|
693
735
|
{
|
|
694
736
|
disabled,
|
|
695
737
|
type: "number",
|
|
696
|
-
className:
|
|
738
|
+
className: classes.refractionInput,
|
|
697
739
|
value: safe.refraction.right_eye.axis ?? "",
|
|
698
740
|
onChange: (e) => setRefractionField(
|
|
699
741
|
"refraction",
|
|
@@ -704,11 +746,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
704
746
|
)
|
|
705
747
|
}
|
|
706
748
|
) }),
|
|
707
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
749
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
708
750
|
"select",
|
|
709
751
|
{
|
|
710
752
|
disabled,
|
|
711
|
-
className:
|
|
753
|
+
className: classes.refractionSelect,
|
|
712
754
|
value: safe.refraction.right_eye.va,
|
|
713
755
|
onChange: (e) => setRefractionField(
|
|
714
756
|
"refraction",
|
|
@@ -720,7 +762,7 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
720
762
|
children: VA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
721
763
|
}
|
|
722
764
|
) }),
|
|
723
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
765
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
724
766
|
chunkV7US2ZTL_cjs.Input,
|
|
725
767
|
{
|
|
726
768
|
disabled,
|
|
@@ -728,18 +770,18 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
728
770
|
min: 10,
|
|
729
771
|
max: 45,
|
|
730
772
|
step: "1",
|
|
731
|
-
className:
|
|
773
|
+
className: classes.refractionInput,
|
|
732
774
|
value: safe.refraction.right_eye.pd ?? "",
|
|
733
775
|
onChange: (e) => setRefractionField("refraction", "right_eye", "pd", e.target.value, "int")
|
|
734
776
|
}
|
|
735
777
|
) }),
|
|
736
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
778
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
737
779
|
chunkV7US2ZTL_cjs.Input,
|
|
738
780
|
{
|
|
739
781
|
disabled,
|
|
740
782
|
type: "number",
|
|
741
783
|
step: "0.25",
|
|
742
|
-
className:
|
|
784
|
+
className: classes.refractionInput,
|
|
743
785
|
value: safe.refraction.left_eye.sph ?? "",
|
|
744
786
|
onChange: (e) => setRefractionField(
|
|
745
787
|
"refraction",
|
|
@@ -750,13 +792,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
750
792
|
)
|
|
751
793
|
}
|
|
752
794
|
) }),
|
|
753
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
795
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
754
796
|
chunkV7US2ZTL_cjs.Input,
|
|
755
797
|
{
|
|
756
798
|
disabled,
|
|
757
799
|
type: "number",
|
|
758
800
|
step: "0.25",
|
|
759
|
-
className:
|
|
801
|
+
className: classes.refractionInput,
|
|
760
802
|
value: safe.refraction.left_eye.cyl ?? "",
|
|
761
803
|
onChange: (e) => setRefractionField(
|
|
762
804
|
"refraction",
|
|
@@ -767,12 +809,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
767
809
|
)
|
|
768
810
|
}
|
|
769
811
|
) }),
|
|
770
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
812
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
771
813
|
chunkV7US2ZTL_cjs.Input,
|
|
772
814
|
{
|
|
773
815
|
disabled,
|
|
774
816
|
type: "number",
|
|
775
|
-
className:
|
|
817
|
+
className: classes.refractionInput,
|
|
776
818
|
value: safe.refraction.left_eye.axis ?? "",
|
|
777
819
|
onChange: (e) => setRefractionField(
|
|
778
820
|
"refraction",
|
|
@@ -783,11 +825,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
783
825
|
)
|
|
784
826
|
}
|
|
785
827
|
) }),
|
|
786
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
828
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
787
829
|
"select",
|
|
788
830
|
{
|
|
789
831
|
disabled,
|
|
790
|
-
className:
|
|
832
|
+
className: classes.refractionSelect,
|
|
791
833
|
value: safe.refraction.left_eye.va,
|
|
792
834
|
onChange: (e) => setRefractionField(
|
|
793
835
|
"refraction",
|
|
@@ -799,7 +841,7 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
799
841
|
children: VA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
800
842
|
}
|
|
801
843
|
) }),
|
|
802
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
844
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
803
845
|
chunkV7US2ZTL_cjs.Input,
|
|
804
846
|
{
|
|
805
847
|
disabled,
|
|
@@ -807,32 +849,32 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
807
849
|
min: 10,
|
|
808
850
|
max: 45,
|
|
809
851
|
step: "1",
|
|
810
|
-
className:
|
|
852
|
+
className: classes.refractionInput,
|
|
811
853
|
value: safe.refraction.left_eye.pd ?? "",
|
|
812
854
|
onChange: (e) => setRefractionField("refraction", "left_eye", "pd", e.target.value, "int")
|
|
813
855
|
}
|
|
814
856
|
) })
|
|
815
857
|
] }),
|
|
816
858
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
817
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
818
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
859
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionLabelCell, children: "Add" }),
|
|
860
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, colSpan: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
819
861
|
chunkV7US2ZTL_cjs.Input,
|
|
820
862
|
{
|
|
821
863
|
disabled,
|
|
822
864
|
type: "number",
|
|
823
865
|
step: "0.25",
|
|
824
|
-
className:
|
|
866
|
+
className: classes.refractionInput,
|
|
825
867
|
value: safe.refraction.add.right ?? "",
|
|
826
868
|
onChange: (e) => setRefractionAdd("refraction", "right", e.target.value)
|
|
827
869
|
}
|
|
828
870
|
) }),
|
|
829
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
871
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, colSpan: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
830
872
|
chunkV7US2ZTL_cjs.Input,
|
|
831
873
|
{
|
|
832
874
|
disabled,
|
|
833
875
|
type: "number",
|
|
834
876
|
step: "0.25",
|
|
835
|
-
className:
|
|
877
|
+
className: classes.refractionInput,
|
|
836
878
|
value: safe.refraction.add.left ?? "",
|
|
837
879
|
onChange: (e) => setRefractionAdd("refraction", "left", e.target.value)
|
|
838
880
|
}
|
|
@@ -841,9 +883,9 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
841
883
|
] })
|
|
842
884
|
] }) })
|
|
843
885
|
] }),
|
|
844
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
845
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
846
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
886
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
887
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "Dilated Refraction" }) }),
|
|
888
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionBody, children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: classes.refractionTable, children: [
|
|
847
889
|
/* @__PURE__ */ jsxRuntime.jsxs("colgroup", { children: [
|
|
848
890
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[10%]" }),
|
|
849
891
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[7%]" }),
|
|
@@ -859,34 +901,34 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
859
901
|
] }),
|
|
860
902
|
/* @__PURE__ */ jsxRuntime.jsxs("thead", { children: [
|
|
861
903
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
862
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
863
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
864
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
904
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
905
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 5, children: "Right Eye" }),
|
|
906
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 5, children: "Left Eye" })
|
|
865
907
|
] }),
|
|
866
908
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
867
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
868
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
869
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
870
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
871
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
872
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
873
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
874
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
875
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
876
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
877
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
909
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
910
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
911
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
912
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
913
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Prism" }),
|
|
914
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "V/A" }),
|
|
915
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
916
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
917
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
918
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Prism" }),
|
|
919
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "V/A" })
|
|
878
920
|
] })
|
|
879
921
|
] }),
|
|
880
922
|
/* @__PURE__ */ jsxRuntime.jsxs("tbody", { children: [
|
|
881
923
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
882
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
883
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
924
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionLabelCell, children: "Dilated" }),
|
|
925
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
884
926
|
chunkV7US2ZTL_cjs.Input,
|
|
885
927
|
{
|
|
886
928
|
disabled,
|
|
887
929
|
type: "number",
|
|
888
930
|
step: "0.25",
|
|
889
|
-
className:
|
|
931
|
+
className: classes.refractionInput,
|
|
890
932
|
value: safe.dilated_refraction.right_eye.sph ?? "",
|
|
891
933
|
onChange: (e) => setRefractionField(
|
|
892
934
|
"dilated_refraction",
|
|
@@ -897,13 +939,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
897
939
|
)
|
|
898
940
|
}
|
|
899
941
|
) }),
|
|
900
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
942
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
901
943
|
chunkV7US2ZTL_cjs.Input,
|
|
902
944
|
{
|
|
903
945
|
disabled,
|
|
904
946
|
type: "number",
|
|
905
947
|
step: "0.25",
|
|
906
|
-
className:
|
|
948
|
+
className: classes.refractionInput,
|
|
907
949
|
value: safe.dilated_refraction.right_eye.cyl ?? "",
|
|
908
950
|
onChange: (e) => setRefractionField(
|
|
909
951
|
"dilated_refraction",
|
|
@@ -914,12 +956,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
914
956
|
)
|
|
915
957
|
}
|
|
916
958
|
) }),
|
|
917
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
959
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
918
960
|
chunkV7US2ZTL_cjs.Input,
|
|
919
961
|
{
|
|
920
962
|
disabled,
|
|
921
963
|
type: "number",
|
|
922
|
-
className:
|
|
964
|
+
className: classes.refractionInput,
|
|
923
965
|
value: safe.dilated_refraction.right_eye.axis ?? "",
|
|
924
966
|
onChange: (e) => setRefractionField(
|
|
925
967
|
"dilated_refraction",
|
|
@@ -930,13 +972,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
930
972
|
)
|
|
931
973
|
}
|
|
932
974
|
) }),
|
|
933
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
975
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
934
976
|
chunkV7US2ZTL_cjs.Input,
|
|
935
977
|
{
|
|
936
978
|
disabled,
|
|
937
979
|
type: "number",
|
|
938
980
|
step: "0.25",
|
|
939
|
-
className:
|
|
981
|
+
className: classes.refractionInput,
|
|
940
982
|
value: safe.dilated_refraction.right_eye.prism ?? "",
|
|
941
983
|
onChange: (e) => setRefractionField(
|
|
942
984
|
"dilated_refraction",
|
|
@@ -947,11 +989,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
947
989
|
)
|
|
948
990
|
}
|
|
949
991
|
) }),
|
|
950
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
992
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
951
993
|
"select",
|
|
952
994
|
{
|
|
953
995
|
disabled,
|
|
954
|
-
className:
|
|
996
|
+
className: classes.refractionSelect,
|
|
955
997
|
value: safe.dilated_refraction.right_eye.va,
|
|
956
998
|
onChange: (e) => setRefractionField(
|
|
957
999
|
"dilated_refraction",
|
|
@@ -963,13 +1005,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
963
1005
|
children: VA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
964
1006
|
}
|
|
965
1007
|
) }),
|
|
966
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1008
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
967
1009
|
chunkV7US2ZTL_cjs.Input,
|
|
968
1010
|
{
|
|
969
1011
|
disabled,
|
|
970
1012
|
type: "number",
|
|
971
1013
|
step: "0.25",
|
|
972
|
-
className:
|
|
1014
|
+
className: classes.refractionInput,
|
|
973
1015
|
value: safe.dilated_refraction.left_eye.sph ?? "",
|
|
974
1016
|
onChange: (e) => setRefractionField(
|
|
975
1017
|
"dilated_refraction",
|
|
@@ -980,13 +1022,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
980
1022
|
)
|
|
981
1023
|
}
|
|
982
1024
|
) }),
|
|
983
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1025
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
984
1026
|
chunkV7US2ZTL_cjs.Input,
|
|
985
1027
|
{
|
|
986
1028
|
disabled,
|
|
987
1029
|
type: "number",
|
|
988
1030
|
step: "0.25",
|
|
989
|
-
className:
|
|
1031
|
+
className: classes.refractionInput,
|
|
990
1032
|
value: safe.dilated_refraction.left_eye.cyl ?? "",
|
|
991
1033
|
onChange: (e) => setRefractionField(
|
|
992
1034
|
"dilated_refraction",
|
|
@@ -997,12 +1039,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
997
1039
|
)
|
|
998
1040
|
}
|
|
999
1041
|
) }),
|
|
1000
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1042
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1001
1043
|
chunkV7US2ZTL_cjs.Input,
|
|
1002
1044
|
{
|
|
1003
1045
|
disabled,
|
|
1004
1046
|
type: "number",
|
|
1005
|
-
className:
|
|
1047
|
+
className: classes.refractionInput,
|
|
1006
1048
|
value: safe.dilated_refraction.left_eye.axis ?? "",
|
|
1007
1049
|
onChange: (e) => setRefractionField(
|
|
1008
1050
|
"dilated_refraction",
|
|
@@ -1013,13 +1055,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1013
1055
|
)
|
|
1014
1056
|
}
|
|
1015
1057
|
) }),
|
|
1016
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1058
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1017
1059
|
chunkV7US2ZTL_cjs.Input,
|
|
1018
1060
|
{
|
|
1019
1061
|
disabled,
|
|
1020
1062
|
type: "number",
|
|
1021
1063
|
step: "0.25",
|
|
1022
|
-
className:
|
|
1064
|
+
className: classes.refractionInput,
|
|
1023
1065
|
value: safe.dilated_refraction.left_eye.prism ?? "",
|
|
1024
1066
|
onChange: (e) => setRefractionField(
|
|
1025
1067
|
"dilated_refraction",
|
|
@@ -1030,11 +1072,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1030
1072
|
)
|
|
1031
1073
|
}
|
|
1032
1074
|
) }),
|
|
1033
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1075
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1034
1076
|
"select",
|
|
1035
1077
|
{
|
|
1036
1078
|
disabled,
|
|
1037
|
-
className:
|
|
1079
|
+
className: classes.refractionSelect,
|
|
1038
1080
|
value: safe.dilated_refraction.left_eye.va,
|
|
1039
1081
|
onChange: (e) => setRefractionField(
|
|
1040
1082
|
"dilated_refraction",
|
|
@@ -1048,25 +1090,25 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1048
1090
|
) })
|
|
1049
1091
|
] }),
|
|
1050
1092
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
1051
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1052
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1093
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionLabelCell, children: "Add" }),
|
|
1094
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, colSpan: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1053
1095
|
chunkV7US2ZTL_cjs.Input,
|
|
1054
1096
|
{
|
|
1055
1097
|
disabled,
|
|
1056
1098
|
type: "number",
|
|
1057
1099
|
step: "0.25",
|
|
1058
|
-
className:
|
|
1100
|
+
className: classes.refractionInput,
|
|
1059
1101
|
value: safe.dilated_refraction.add.right ?? "",
|
|
1060
1102
|
onChange: (e) => setRefractionAdd("dilated_refraction", "right", e.target.value)
|
|
1061
1103
|
}
|
|
1062
1104
|
) }),
|
|
1063
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1105
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, colSpan: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1064
1106
|
chunkV7US2ZTL_cjs.Input,
|
|
1065
1107
|
{
|
|
1066
1108
|
disabled,
|
|
1067
1109
|
type: "number",
|
|
1068
1110
|
step: "0.25",
|
|
1069
|
-
className:
|
|
1111
|
+
className: classes.refractionInput,
|
|
1070
1112
|
value: safe.dilated_refraction.add.left ?? "",
|
|
1071
1113
|
onChange: (e) => setRefractionAdd("dilated_refraction", "left", e.target.value)
|
|
1072
1114
|
}
|
|
@@ -1075,9 +1117,9 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1075
1117
|
] })
|
|
1076
1118
|
] }) })
|
|
1077
1119
|
] }),
|
|
1078
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
1079
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1080
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1120
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
1121
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "Glass Power Prescription" }) }),
|
|
1122
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionBody, children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: classes.refractionTable, children: [
|
|
1081
1123
|
/* @__PURE__ */ jsxRuntime.jsxs("colgroup", { children: [
|
|
1082
1124
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[10%]" }),
|
|
1083
1125
|
/* @__PURE__ */ jsxRuntime.jsx("col", { className: "w-[7%]" }),
|
|
@@ -1093,34 +1135,34 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1093
1135
|
] }),
|
|
1094
1136
|
/* @__PURE__ */ jsxRuntime.jsxs("thead", { children: [
|
|
1095
1137
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
1096
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1097
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1098
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1138
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
1139
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 5, children: "Right Eye" }),
|
|
1140
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, colSpan: 5, children: "Left Eye" })
|
|
1099
1141
|
] }),
|
|
1100
1142
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
1101
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1102
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1103
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1104
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1105
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1106
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1107
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1108
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1109
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1110
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1111
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
1143
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell }),
|
|
1144
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
1145
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
1146
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
1147
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Prism" }),
|
|
1148
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "V/A" }),
|
|
1149
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Sph" }),
|
|
1150
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Cyl" }),
|
|
1151
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Axis" }),
|
|
1152
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "Prism" }),
|
|
1153
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: classes.refractionHeaderCell, children: "V/A" })
|
|
1112
1154
|
] })
|
|
1113
1155
|
] }),
|
|
1114
1156
|
/* @__PURE__ */ jsxRuntime.jsxs("tbody", { children: [
|
|
1115
1157
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
1116
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1117
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1158
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionLabelCell, children: "Glass Power" }),
|
|
1159
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1118
1160
|
chunkV7US2ZTL_cjs.Input,
|
|
1119
1161
|
{
|
|
1120
1162
|
disabled,
|
|
1121
1163
|
type: "number",
|
|
1122
1164
|
step: "0.25",
|
|
1123
|
-
className:
|
|
1165
|
+
className: classes.refractionInput,
|
|
1124
1166
|
value: safe.glass_power_prescription.right_eye.sph ?? "",
|
|
1125
1167
|
onChange: (e) => setRefractionField(
|
|
1126
1168
|
"glass_power_prescription",
|
|
@@ -1131,13 +1173,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1131
1173
|
)
|
|
1132
1174
|
}
|
|
1133
1175
|
) }),
|
|
1134
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1176
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1135
1177
|
chunkV7US2ZTL_cjs.Input,
|
|
1136
1178
|
{
|
|
1137
1179
|
disabled,
|
|
1138
1180
|
type: "number",
|
|
1139
1181
|
step: "0.25",
|
|
1140
|
-
className:
|
|
1182
|
+
className: classes.refractionInput,
|
|
1141
1183
|
value: safe.glass_power_prescription.right_eye.cyl ?? "",
|
|
1142
1184
|
onChange: (e) => setRefractionField(
|
|
1143
1185
|
"glass_power_prescription",
|
|
@@ -1148,12 +1190,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1148
1190
|
)
|
|
1149
1191
|
}
|
|
1150
1192
|
) }),
|
|
1151
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1193
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1152
1194
|
chunkV7US2ZTL_cjs.Input,
|
|
1153
1195
|
{
|
|
1154
1196
|
disabled,
|
|
1155
1197
|
type: "number",
|
|
1156
|
-
className:
|
|
1198
|
+
className: classes.refractionInput,
|
|
1157
1199
|
value: safe.glass_power_prescription.right_eye.axis ?? "",
|
|
1158
1200
|
onChange: (e) => setRefractionField(
|
|
1159
1201
|
"glass_power_prescription",
|
|
@@ -1164,13 +1206,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1164
1206
|
)
|
|
1165
1207
|
}
|
|
1166
1208
|
) }),
|
|
1167
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1209
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1168
1210
|
chunkV7US2ZTL_cjs.Input,
|
|
1169
1211
|
{
|
|
1170
1212
|
disabled,
|
|
1171
1213
|
type: "number",
|
|
1172
1214
|
step: "0.25",
|
|
1173
|
-
className:
|
|
1215
|
+
className: classes.refractionInput,
|
|
1174
1216
|
value: safe.glass_power_prescription.right_eye.prism ?? "",
|
|
1175
1217
|
onChange: (e) => setRefractionField(
|
|
1176
1218
|
"glass_power_prescription",
|
|
@@ -1181,11 +1223,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1181
1223
|
)
|
|
1182
1224
|
}
|
|
1183
1225
|
) }),
|
|
1184
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1226
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1185
1227
|
"select",
|
|
1186
1228
|
{
|
|
1187
1229
|
disabled,
|
|
1188
|
-
className:
|
|
1230
|
+
className: classes.refractionSelect,
|
|
1189
1231
|
value: safe.glass_power_prescription.right_eye.va,
|
|
1190
1232
|
onChange: (e) => setRefractionField(
|
|
1191
1233
|
"glass_power_prescription",
|
|
@@ -1197,13 +1239,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1197
1239
|
children: VA_OPTIONS.map((opt) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: opt, children: opt }, opt || "blank"))
|
|
1198
1240
|
}
|
|
1199
1241
|
) }),
|
|
1200
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1242
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1201
1243
|
chunkV7US2ZTL_cjs.Input,
|
|
1202
1244
|
{
|
|
1203
1245
|
disabled,
|
|
1204
1246
|
type: "number",
|
|
1205
1247
|
step: "0.25",
|
|
1206
|
-
className:
|
|
1248
|
+
className: classes.refractionInput,
|
|
1207
1249
|
value: safe.glass_power_prescription.left_eye.sph ?? "",
|
|
1208
1250
|
onChange: (e) => setRefractionField(
|
|
1209
1251
|
"glass_power_prescription",
|
|
@@ -1214,13 +1256,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1214
1256
|
)
|
|
1215
1257
|
}
|
|
1216
1258
|
) }),
|
|
1217
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1259
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1218
1260
|
chunkV7US2ZTL_cjs.Input,
|
|
1219
1261
|
{
|
|
1220
1262
|
disabled,
|
|
1221
1263
|
type: "number",
|
|
1222
1264
|
step: "0.25",
|
|
1223
|
-
className:
|
|
1265
|
+
className: classes.refractionInput,
|
|
1224
1266
|
value: safe.glass_power_prescription.left_eye.cyl ?? "",
|
|
1225
1267
|
onChange: (e) => setRefractionField(
|
|
1226
1268
|
"glass_power_prescription",
|
|
@@ -1231,12 +1273,12 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1231
1273
|
)
|
|
1232
1274
|
}
|
|
1233
1275
|
) }),
|
|
1234
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1276
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1235
1277
|
chunkV7US2ZTL_cjs.Input,
|
|
1236
1278
|
{
|
|
1237
1279
|
disabled,
|
|
1238
1280
|
type: "number",
|
|
1239
|
-
className:
|
|
1281
|
+
className: classes.refractionInput,
|
|
1240
1282
|
value: safe.glass_power_prescription.left_eye.axis ?? "",
|
|
1241
1283
|
onChange: (e) => setRefractionField(
|
|
1242
1284
|
"glass_power_prescription",
|
|
@@ -1247,13 +1289,13 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1247
1289
|
)
|
|
1248
1290
|
}
|
|
1249
1291
|
) }),
|
|
1250
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1292
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1251
1293
|
chunkV7US2ZTL_cjs.Input,
|
|
1252
1294
|
{
|
|
1253
1295
|
disabled,
|
|
1254
1296
|
type: "number",
|
|
1255
1297
|
step: "0.25",
|
|
1256
|
-
className:
|
|
1298
|
+
className: classes.refractionInput,
|
|
1257
1299
|
value: safe.glass_power_prescription.left_eye.prism ?? "",
|
|
1258
1300
|
onChange: (e) => setRefractionField(
|
|
1259
1301
|
"glass_power_prescription",
|
|
@@ -1264,11 +1306,11 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1264
1306
|
)
|
|
1265
1307
|
}
|
|
1266
1308
|
) }),
|
|
1267
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1309
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1268
1310
|
"select",
|
|
1269
1311
|
{
|
|
1270
1312
|
disabled,
|
|
1271
|
-
className:
|
|
1313
|
+
className: classes.refractionSelect,
|
|
1272
1314
|
value: safe.glass_power_prescription.left_eye.va,
|
|
1273
1315
|
onChange: (e) => setRefractionField(
|
|
1274
1316
|
"glass_power_prescription",
|
|
@@ -1282,25 +1324,25 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1282
1324
|
) })
|
|
1283
1325
|
] }),
|
|
1284
1326
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
1285
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1286
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1327
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionLabelCell, children: "Add" }),
|
|
1328
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, colSpan: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1287
1329
|
chunkV7US2ZTL_cjs.Input,
|
|
1288
1330
|
{
|
|
1289
1331
|
disabled,
|
|
1290
1332
|
type: "number",
|
|
1291
1333
|
step: "0.25",
|
|
1292
|
-
className:
|
|
1334
|
+
className: classes.refractionInput,
|
|
1293
1335
|
value: safe.glass_power_prescription.add.right ?? "",
|
|
1294
1336
|
onChange: (e) => setRefractionAdd("glass_power_prescription", "right", e.target.value)
|
|
1295
1337
|
}
|
|
1296
1338
|
) }),
|
|
1297
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
1339
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: classes.refractionDataCell, colSpan: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1298
1340
|
chunkV7US2ZTL_cjs.Input,
|
|
1299
1341
|
{
|
|
1300
1342
|
disabled,
|
|
1301
1343
|
type: "number",
|
|
1302
1344
|
step: "0.25",
|
|
1303
|
-
className:
|
|
1345
|
+
className: classes.refractionInput,
|
|
1304
1346
|
value: safe.glass_power_prescription.add.left ?? "",
|
|
1305
1347
|
onChange: (e) => setRefractionAdd("glass_power_prescription", "left", e.target.value)
|
|
1306
1348
|
}
|
|
@@ -1309,14 +1351,14 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1309
1351
|
] })
|
|
1310
1352
|
] }) })
|
|
1311
1353
|
] }),
|
|
1312
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
1313
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1314
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1354
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: classes.sectionWrapper, children: [
|
|
1355
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionHeader, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: classes.sectionHeaderTitle, children: "Notes" }) }),
|
|
1356
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.sectionBody, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1315
1357
|
chunkS4NL7U74_cjs.Textarea,
|
|
1316
1358
|
{
|
|
1317
1359
|
disabled,
|
|
1318
1360
|
rows: 4,
|
|
1319
|
-
className:
|
|
1361
|
+
className: classes.textarea,
|
|
1320
1362
|
placeholder: "Enter additional notes...",
|
|
1321
1363
|
value: safe.notes,
|
|
1322
1364
|
onChange: (e) => setNotes(e.target.value)
|
|
@@ -1327,5 +1369,5 @@ var OphthalmologyWidget = ({ fieldId }) => {
|
|
|
1327
1369
|
};
|
|
1328
1370
|
|
|
1329
1371
|
exports.OphthalmologyWidget = OphthalmologyWidget;
|
|
1330
|
-
//# sourceMappingURL=OphthalmologyWidget-
|
|
1331
|
-
//# sourceMappingURL=OphthalmologyWidget-
|
|
1372
|
+
//# sourceMappingURL=OphthalmologyWidget-BNHHQFYC.cjs.map
|
|
1373
|
+
//# sourceMappingURL=OphthalmologyWidget-BNHHQFYC.cjs.map
|