@mieweb/ui 0.11.0-dev.45 → 0.11.0-dev.47
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/agent/evals/install.md +6 -4
- package/agent/skills/mieweb-ui-tailwind4/SKILL.md +5 -2
- package/dist/{EncounterMdyEditor-L7RBLE7B.js → EncounterMdyEditor-ATNWXQ72.js} +3 -3
- package/dist/{EncounterMdyEditor-L7RBLE7B.js.map → EncounterMdyEditor-ATNWXQ72.js.map} +1 -1
- package/dist/{EncounterMdyEditor-46WMYRFI.cjs → EncounterMdyEditor-XA7HLLVD.cjs} +6 -6
- package/dist/{EncounterMdyEditor-46WMYRFI.cjs.map → EncounterMdyEditor-XA7HLLVD.cjs.map} +1 -1
- package/dist/{chunk-UQAWXY6R.js → chunk-2D6TFO2Y.js} +3 -3
- package/dist/{chunk-UQAWXY6R.js.map → chunk-2D6TFO2Y.js.map} +1 -1
- package/dist/{chunk-NCG7NJAW.cjs → chunk-5O54NWAL.cjs} +83 -9
- package/dist/chunk-5O54NWAL.cjs.map +1 -0
- package/dist/{chunk-XX6PNPF2.cjs → chunk-5UKGOBCZ.cjs} +16 -2
- package/dist/chunk-5UKGOBCZ.cjs.map +1 -0
- package/dist/{chunk-HOE2U27V.cjs → chunk-6I2G26AX.cjs} +11 -7
- package/dist/chunk-6I2G26AX.cjs.map +1 -0
- package/dist/{chunk-OJ2NCQ2R.cjs → chunk-BUM72SAI.cjs} +28 -10
- package/dist/chunk-BUM72SAI.cjs.map +1 -0
- package/dist/{chunk-TNRANQVI.cjs → chunk-CFT3P5KP.cjs} +2 -2
- package/dist/{chunk-TNRANQVI.cjs.map → chunk-CFT3P5KP.cjs.map} +1 -1
- package/dist/{chunk-IKHK4GTF.cjs → chunk-F6ZTKNAL.cjs} +4 -4
- package/dist/{chunk-IKHK4GTF.cjs.map → chunk-F6ZTKNAL.cjs.map} +1 -1
- package/dist/{chunk-AQBZEN43.js → chunk-IYXZ25E6.js} +26 -8
- package/dist/chunk-IYXZ25E6.js.map +1 -0
- package/dist/{chunk-X6THHGTZ.cjs → chunk-LE3HZ7MM.cjs} +11 -11
- package/dist/{chunk-X6THHGTZ.cjs.map → chunk-LE3HZ7MM.cjs.map} +1 -1
- package/dist/{chunk-XZ65FX6T.js → chunk-N6STVVB6.js} +2 -2
- package/dist/{chunk-XZ65FX6T.js.map → chunk-N6STVVB6.js.map} +1 -1
- package/dist/{chunk-5WA6IYZD.js → chunk-NB2C6FSI.js} +16 -2
- package/dist/chunk-NB2C6FSI.js.map +1 -0
- package/dist/{chunk-VOPRL4RF.js → chunk-QJ75ZMCG.js} +3 -3
- package/dist/{chunk-VOPRL4RF.js.map → chunk-QJ75ZMCG.js.map} +1 -1
- package/dist/{chunk-NIE3WBJH.js → chunk-ULKDK6W6.js} +83 -9
- package/dist/chunk-ULKDK6W6.js.map +1 -0
- package/dist/{chunk-MQSGJB2B.js → chunk-WI35L5TR.js} +8 -4
- package/dist/chunk-WI35L5TR.js.map +1 -0
- package/dist/components/EmailEditor/index.cjs +14 -14
- package/dist/components/EmailEditor/index.js +5 -5
- package/dist/components/RichTextEditor/index.cjs +4 -4
- package/dist/components/RichTextEditor/index.js +1 -1
- package/dist/components/Textarea/index.cjs +7 -7
- package/dist/components/Textarea/index.js +4 -4
- package/dist/esheet.cjs +19 -19
- package/dist/esheet.js +6 -6
- package/dist/index.cjs +62 -62
- package/dist/index.js +10 -10
- package/dist/kerebron.cjs +6 -6
- package/dist/kerebron.d.cts +27 -2
- package/dist/kerebron.d.ts +27 -2
- package/dist/kerebron.js +3 -3
- package/dist/styles/init.css +8 -4
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5WA6IYZD.js.map +0 -1
- package/dist/chunk-AQBZEN43.js.map +0 -1
- package/dist/chunk-HOE2U27V.cjs.map +0 -1
- package/dist/chunk-MQSGJB2B.js.map +0 -1
- package/dist/chunk-NCG7NJAW.cjs.map +0 -1
- package/dist/chunk-NIE3WBJH.js.map +0 -1
- package/dist/chunk-OJ2NCQ2R.cjs.map +0 -1
- package/dist/chunk-XX6PNPF2.cjs.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBUM72SAI_cjs = require('../../chunk-BUM72SAI.cjs');
|
|
4
4
|
require('../../chunk-BXRQ6HEP.cjs');
|
|
5
5
|
require('../../chunk-7K6SW4VB.cjs');
|
|
6
6
|
require('../../chunk-PLMXN23Q.cjs');
|
|
7
7
|
require('../../chunk-7WJ6MBF5.cjs');
|
|
8
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-F6ZTKNAL.cjs');
|
|
9
9
|
require('../../chunk-UPWIJC6I.cjs');
|
|
10
10
|
require('../../chunk-CPDNX3LS.cjs');
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-
|
|
11
|
+
require('../../chunk-6I2G26AX.cjs');
|
|
12
|
+
require('../../chunk-5O54NWAL.cjs');
|
|
13
|
+
require('../../chunk-CFT3P5KP.cjs');
|
|
14
14
|
require('../../chunk-FSLI5IKP.cjs');
|
|
15
15
|
require('../../chunk-YP5T6NZD.cjs');
|
|
16
16
|
require('../../chunk-ZNUMOJOI.cjs');
|
|
@@ -37,39 +37,39 @@ require('../../chunk-EUAMEVVI.cjs');
|
|
|
37
37
|
|
|
38
38
|
Object.defineProperty(exports, "EMAIL_BLOCK_TYPES", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkBUM72SAI_cjs.EMAIL_BLOCK_TYPES; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "EmailEditor", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkBUM72SAI_cjs.EmailEditor; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "createDefaultDesignSettings", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkBUM72SAI_cjs.createDefaultDesignSettings; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "createEmailBlock", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkBUM72SAI_cjs.createEmailBlock; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "createEmailHtmlSanitizer", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkBUM72SAI_cjs.createEmailHtmlSanitizer; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "createEmptyEmailContentTree", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkBUM72SAI_cjs.createEmptyEmailContentTree; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "defaultEmailEditorLabels", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkBUM72SAI_cjs.defaultEmailEditorLabels; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "generateEmailBlockId", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkBUM72SAI_cjs.generateEmailBlockId; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "renderEmailMjml", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkBUM72SAI_cjs.renderEmailMjml; }
|
|
73
73
|
});
|
|
74
74
|
//# sourceMappingURL=index.cjs.map
|
|
75
75
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { EMAIL_BLOCK_TYPES, EmailEditor, createDefaultDesignSettings, createEmailBlock, createEmailHtmlSanitizer, createEmptyEmailContentTree, defaultEmailEditorLabels, generateEmailBlockId, renderEmailMjml } from '../../chunk-
|
|
1
|
+
export { EMAIL_BLOCK_TYPES, EmailEditor, createDefaultDesignSettings, createEmailBlock, createEmailHtmlSanitizer, createEmptyEmailContentTree, defaultEmailEditorLabels, generateEmailBlockId, renderEmailMjml } from '../../chunk-IYXZ25E6.js';
|
|
2
2
|
import '../../chunk-XBAAHOCP.js';
|
|
3
3
|
import '../../chunk-RYGVILUR.js';
|
|
4
4
|
import '../../chunk-AQ564XO7.js';
|
|
5
5
|
import '../../chunk-CVNPNZMX.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-2D6TFO2Y.js';
|
|
7
7
|
import '../../chunk-VCI2Y7ST.js';
|
|
8
8
|
import '../../chunk-HNXLLDPN.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-WI35L5TR.js';
|
|
10
|
+
import '../../chunk-ULKDK6W6.js';
|
|
11
|
+
import '../../chunk-N6STVVB6.js';
|
|
12
12
|
import '../../chunk-5YOT4DVH.js';
|
|
13
13
|
import '../../chunk-OQWZYKJM.js';
|
|
14
14
|
import '../../chunk-AMYFRY7K.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCFT3P5KP_cjs = require('../../chunk-CFT3P5KP.cjs');
|
|
4
4
|
require('../../chunk-FSLI5IKP.cjs');
|
|
5
5
|
require('../../chunk-YP5T6NZD.cjs');
|
|
6
6
|
require('../../chunk-ZNUMOJOI.cjs');
|
|
@@ -26,15 +26,15 @@ require('../../chunk-EUAMEVVI.cjs');
|
|
|
26
26
|
|
|
27
27
|
Object.defineProperty(exports, "RichTextEditor", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkCFT3P5KP_cjs.RichTextEditor; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkCFT3P5KP_cjs.convertAngleBracketsToMustache; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "processDictation", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkCFT3P5KP_cjs.processDictation; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isHtmlEmpty", {
|
|
40
40
|
enumerable: true,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-
|
|
1
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-N6STVVB6.js';
|
|
2
2
|
import '../../chunk-5YOT4DVH.js';
|
|
3
3
|
import '../../chunk-OQWZYKJM.js';
|
|
4
4
|
import '../../chunk-AMYFRY7K.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
3
|
+
var chunkF6ZTKNAL_cjs = require('../../chunk-F6ZTKNAL.cjs');
|
|
4
|
+
require('../../chunk-6I2G26AX.cjs');
|
|
5
|
+
require('../../chunk-5O54NWAL.cjs');
|
|
6
|
+
require('../../chunk-CFT3P5KP.cjs');
|
|
7
7
|
require('../../chunk-FSLI5IKP.cjs');
|
|
8
8
|
require('../../chunk-YP5T6NZD.cjs');
|
|
9
9
|
require('../../chunk-ZNUMOJOI.cjs');
|
|
@@ -30,15 +30,15 @@ require('../../chunk-EUAMEVVI.cjs');
|
|
|
30
30
|
|
|
31
31
|
Object.defineProperty(exports, "Textarea", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkF6ZTKNAL_cjs.Textarea; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "htmlToPlain", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkF6ZTKNAL_cjs.htmlToPlain; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "plainToHtml", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkF6ZTKNAL_cjs.plainToHtml; }
|
|
42
42
|
});
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Textarea, htmlToPlain, plainToHtml } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { Textarea, htmlToPlain, plainToHtml } from '../../chunk-2D6TFO2Y.js';
|
|
2
|
+
import '../../chunk-WI35L5TR.js';
|
|
3
|
+
import '../../chunk-ULKDK6W6.js';
|
|
4
|
+
import '../../chunk-N6STVVB6.js';
|
|
5
5
|
import '../../chunk-5YOT4DVH.js';
|
|
6
6
|
import '../../chunk-OQWZYKJM.js';
|
|
7
7
|
import '../../chunk-AMYFRY7K.js';
|
package/dist/esheet.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
require('./chunk-K2BY7YPJ.cjs');
|
|
4
4
|
var chunkJK2IWOI7_cjs = require('./chunk-JK2IWOI7.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkLE3HZ7MM_cjs = require('./chunk-LE3HZ7MM.cjs');
|
|
6
6
|
var chunkXM3D4KAF_cjs = require('./chunk-XM3D4KAF.cjs');
|
|
7
7
|
require('./chunk-3SEQVGLH.cjs');
|
|
8
8
|
var chunkSV6YGK4U_cjs = require('./chunk-SV6YGK4U.cjs');
|
|
9
9
|
require('./chunk-G7EQ3JPX.cjs');
|
|
10
10
|
require('./chunk-AIJAFPGJ.cjs');
|
|
11
11
|
var chunkMXIIPFTA_cjs = require('./chunk-MXIIPFTA.cjs');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-F6ZTKNAL.cjs');
|
|
13
13
|
var chunkUPWIJC6I_cjs = require('./chunk-UPWIJC6I.cjs');
|
|
14
14
|
require('./chunk-MJWFNV3L.cjs');
|
|
15
15
|
require('./chunk-7AECNMYV.cjs');
|
|
@@ -20,9 +20,9 @@ require('./chunk-NNEFAUHV.cjs');
|
|
|
20
20
|
require('./chunk-CW75IKA6.cjs');
|
|
21
21
|
require('./chunk-SCV7C55E.cjs');
|
|
22
22
|
require('./chunk-7E46YDOT.cjs');
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
23
|
+
var chunk6I2G26AX_cjs = require('./chunk-6I2G26AX.cjs');
|
|
24
|
+
require('./chunk-5O54NWAL.cjs');
|
|
25
|
+
require('./chunk-CFT3P5KP.cjs');
|
|
26
26
|
var chunkFSLI5IKP_cjs = require('./chunk-FSLI5IKP.cjs');
|
|
27
27
|
require('./chunk-YP5T6NZD.cjs');
|
|
28
28
|
require('./chunk-ZNUMOJOI.cjs');
|
|
@@ -828,7 +828,7 @@ function conditionSystemIdentity(system) {
|
|
|
828
828
|
const trimmed = system.trim();
|
|
829
829
|
if (trimmed === "http://hl7.org/fhir/sid/icd-10-cm") return "ICD-10-CM";
|
|
830
830
|
if (trimmed === "http://snomed.info/sct") return "SNOMED";
|
|
831
|
-
return
|
|
831
|
+
return chunkLE3HZ7MM_cjs.normalizeConditionCodingSystem(trimmed);
|
|
832
832
|
}
|
|
833
833
|
function matchingConditionCode(concern, picked) {
|
|
834
834
|
return Boolean(
|
|
@@ -928,7 +928,7 @@ function EncounterAssessmentField({
|
|
|
928
928
|
}
|
|
929
929
|
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "space-y-2", children: [
|
|
930
930
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
931
|
-
|
|
931
|
+
chunkLE3HZ7MM_cjs.Assessment,
|
|
932
932
|
{
|
|
933
933
|
concerns,
|
|
934
934
|
items: value.items,
|
|
@@ -1311,7 +1311,7 @@ function EsheetNarrativeField({
|
|
|
1311
1311
|
}
|
|
1312
1312
|
),
|
|
1313
1313
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1314
|
-
|
|
1314
|
+
chunk6I2G26AX_cjs.TextAreaRichKerebron,
|
|
1315
1315
|
{
|
|
1316
1316
|
ref: editorRef,
|
|
1317
1317
|
value: html,
|
|
@@ -1470,7 +1470,7 @@ function EncounterMedicationField({
|
|
|
1470
1470
|
if (error)
|
|
1471
1471
|
return /* @__PURE__ */ jsxRuntime.jsx(InvalidClinicalAnswer, { label: "medication", answer: response?.answer });
|
|
1472
1472
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1473
|
-
|
|
1473
|
+
chunkLE3HZ7MM_cjs.MedicationReconciliation,
|
|
1474
1474
|
{
|
|
1475
1475
|
medications: value.medications,
|
|
1476
1476
|
onChange: commit,
|
|
@@ -1526,7 +1526,7 @@ function EncounterAllergyField({
|
|
|
1526
1526
|
if (error)
|
|
1527
1527
|
return /* @__PURE__ */ jsxRuntime.jsx(InvalidClinicalAnswer, { label: "allergy", answer: response?.answer });
|
|
1528
1528
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1529
|
-
|
|
1529
|
+
chunkLE3HZ7MM_cjs.AllergyManager,
|
|
1530
1530
|
{
|
|
1531
1531
|
allergies: value.allergies,
|
|
1532
1532
|
onChange: (allergies) => commitValue((current) => ({
|
|
@@ -1570,7 +1570,7 @@ function EncounterConditionsField({
|
|
|
1570
1570
|
[response?.answer]
|
|
1571
1571
|
);
|
|
1572
1572
|
const m = chunkFSLI5IKP_cjs.useMessages();
|
|
1573
|
-
const codeLookup =
|
|
1573
|
+
const codeLookup = chunkLE3HZ7MM_cjs.useCodeLookupConfig();
|
|
1574
1574
|
const assertionDate = useEncounterAssertionDate(field);
|
|
1575
1575
|
const currentDate = React11__namespace.useRef(assertionDate);
|
|
1576
1576
|
currentDate.current = assertionDate;
|
|
@@ -1725,7 +1725,7 @@ function EncounterConditionsField({
|
|
|
1725
1725
|
}
|
|
1726
1726
|
),
|
|
1727
1727
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1728
|
-
|
|
1728
|
+
chunkLE3HZ7MM_cjs.ConditionEditor,
|
|
1729
1729
|
{
|
|
1730
1730
|
mode: editor?.mode ?? "add",
|
|
1731
1731
|
open: editor !== null,
|
|
@@ -1883,7 +1883,7 @@ function EncounterPlanField({
|
|
|
1883
1883
|
if (!value)
|
|
1884
1884
|
return /* @__PURE__ */ jsxRuntime.jsx(InvalidClinicalAnswer, { label, answer: response?.answer });
|
|
1885
1885
|
return /* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": label, className: "min-w-0 space-y-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1886
|
-
|
|
1886
|
+
chunkLE3HZ7MM_cjs.Assessment,
|
|
1887
1887
|
{
|
|
1888
1888
|
concerns,
|
|
1889
1889
|
items,
|
|
@@ -2690,7 +2690,7 @@ function executeEncounterVisitToolCall(name, args, tools) {
|
|
|
2690
2690
|
};
|
|
2691
2691
|
}
|
|
2692
2692
|
var EncounterMdyEditor = React11__namespace.lazy(
|
|
2693
|
-
() => import('./EncounterMdyEditor-
|
|
2693
|
+
() => import('./EncounterMdyEditor-XA7HLLVD.cjs').then((module) => ({
|
|
2694
2694
|
default: module.EncounterMdyEditor
|
|
2695
2695
|
}))
|
|
2696
2696
|
);
|
|
@@ -2708,7 +2708,7 @@ function ensureFields() {
|
|
|
2708
2708
|
}
|
|
2709
2709
|
var esheetDefaultsSettled = false;
|
|
2710
2710
|
var EncounterVisit = React11__namespace.forwardRef(function EncounterVisit2({ definition, initialMdy, codeLookup, messages, ...props }, ref) {
|
|
2711
|
-
const inheritedCodeLookup =
|
|
2711
|
+
const inheritedCodeLookup = chunkLE3HZ7MM_cjs.useCodeLookupConfig();
|
|
2712
2712
|
const parsed = React11__namespace.useMemo(
|
|
2713
2713
|
() => initialMdy === void 0 ? null : chunkJK2IWOI7_cjs.parseEncounterMdy(initialMdy),
|
|
2714
2714
|
[initialMdy]
|
|
@@ -2775,7 +2775,7 @@ var EncounterVisit = React11__namespace.forwardRef(function EncounterVisit2({ de
|
|
|
2775
2775
|
},
|
|
2776
2776
|
visitDefinition.id
|
|
2777
2777
|
);
|
|
2778
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2778
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkLE3HZ7MM_cjs.CodeLookupContext.Provider, { value: codeLookup ?? inheritedCodeLookup, children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSLI5IKP_cjs.MessagesProvider, { messages, children: session }) });
|
|
2779
2779
|
});
|
|
2780
2780
|
var EncounterVisitSession = React11__namespace.forwardRef(function EncounterVisitSession2({
|
|
2781
2781
|
definition,
|
|
@@ -3873,7 +3873,7 @@ function MedicationListField({
|
|
|
3873
3873
|
return definition.medications ?? [];
|
|
3874
3874
|
}, [response?.answer, definition.medications]);
|
|
3875
3875
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3876
|
-
|
|
3876
|
+
chunkLE3HZ7MM_cjs.MedicationReconciliation,
|
|
3877
3877
|
{
|
|
3878
3878
|
medications,
|
|
3879
3879
|
onChange: (next) => onResponse({ answer: JSON.stringify({ medications: next }) }),
|
|
@@ -3931,7 +3931,7 @@ function AllergyListField({
|
|
|
3931
3931
|
codeLookup
|
|
3932
3932
|
}) {
|
|
3933
3933
|
const definition = field.definition;
|
|
3934
|
-
const ambientCodeLookup =
|
|
3934
|
+
const ambientCodeLookup = chunkLE3HZ7MM_cjs.useCodeLookupConfig();
|
|
3935
3935
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
3936
3936
|
const value = React11__namespace.useMemo(() => {
|
|
3937
3937
|
if (response?.answer) return parseValue2(response.answer);
|
|
@@ -3941,7 +3941,7 @@ function AllergyListField({
|
|
|
3941
3941
|
onResponse({ answer: JSON.stringify(next) });
|
|
3942
3942
|
};
|
|
3943
3943
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3944
|
-
|
|
3944
|
+
chunkLE3HZ7MM_cjs.AllergyManager,
|
|
3945
3945
|
{
|
|
3946
3946
|
allergies: value.allergies,
|
|
3947
3947
|
onChange: (allergies) => commit({
|
package/dist/esheet.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import './chunk-GADJASST.js';
|
|
2
2
|
import { parseEncounterMdy, DEFAULT_ENCOUNTER_VISIT_DEFINITION, createEncounterFormDefinition, ENCOUNTER_DOCUMENT_FIELD_ID, encounterDocumentResponse, createEncounterSnapshot, updateEncounterDocumentBody, getEncounterSectionFieldId, getEncounterMdyFields, getEncounterSectionFieldIds, getEncounterDocumentBody, renderEncounterMdy, validateEncounterVitals, validateEncounterPlan, validateEncounterConditions, validAssessmentItem, isEncounterDate, validateEncounterAllergyValue, validateEncounterMedicationValue, validateEncounterAssessment, validateEncounterResponses, getEncounterFieldId, validateEncounterDefinition } from './chunk-LBUXS6FJ.js';
|
|
3
3
|
export { DEFAULT_ENCOUNTER_VISIT_DEFINITION, ENCOUNTER_DOCUMENT_FIELD_ID, EXAMPLE_ENCOUNTER_VISIT_RESPONSES, createEncounterFormDefinition, createEncounterMdy, createEncounterSnapshot, encounterDocumentResponse, getEncounterConcerns, getEncounterDocumentBody, getEncounterFieldId, getEncounterMdyFields, getEncounterSectionFieldId, getEncounterSectionFieldIds, parseEncounterAssessment, parseEncounterConditions, parseEncounterMdy, parseEncounterPlan, parseEncounterVitals, refreshEncounterMdyLinks, renderEncounterMdy, updateEncounterDocumentBody, validAssessmentItem, validateEncounterAllergyValue, validateEncounterAssessment, validateEncounterConditions, validateEncounterDefinition, validateEncounterMedicationValue, validateEncounterPlan, validateEncounterResponses, validateEncounterVitals } from './chunk-LBUXS6FJ.js';
|
|
4
|
-
import { useCodeLookupConfig, CodeLookupContext, Assessment, ConditionEditor, AllergyManager, MedicationReconciliation, normalizeConditionCodingSystem } from './chunk-
|
|
4
|
+
import { useCodeLookupConfig, CodeLookupContext, Assessment, ConditionEditor, AllergyManager, MedicationReconciliation, normalizeConditionCodingSystem } from './chunk-QJ75ZMCG.js';
|
|
5
5
|
import { ProblemList, currentAssertion } from './chunk-VQGRMCVT.js';
|
|
6
6
|
import './chunk-AB24H2RM.js';
|
|
7
7
|
import { ButtonGroup } from './chunk-BBLEGF5L.js';
|
|
8
8
|
import './chunk-EPSB4WTL.js';
|
|
9
9
|
import './chunk-I3WGZPI6.js';
|
|
10
10
|
import { DateInput } from './chunk-ZP4H5HA4.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-2D6TFO2Y.js';
|
|
12
12
|
import { Select } from './chunk-VCI2Y7ST.js';
|
|
13
13
|
import './chunk-QYSUYB3S.js';
|
|
14
14
|
import './chunk-753Z3NXL.js';
|
|
@@ -19,9 +19,9 @@ import './chunk-4SMSH4OY.js';
|
|
|
19
19
|
import './chunk-RC2YMOMS.js';
|
|
20
20
|
import './chunk-VSQF22GL.js';
|
|
21
21
|
import './chunk-522WJIVI.js';
|
|
22
|
-
import { TextAreaRichKerebron } from './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
22
|
+
import { TextAreaRichKerebron } from './chunk-WI35L5TR.js';
|
|
23
|
+
import './chunk-ULKDK6W6.js';
|
|
24
|
+
import './chunk-N6STVVB6.js';
|
|
25
25
|
import { MessagesProvider, useMessages } from './chunk-5YOT4DVH.js';
|
|
26
26
|
import './chunk-OQWZYKJM.js';
|
|
27
27
|
import './chunk-AMYFRY7K.js';
|
|
@@ -2667,7 +2667,7 @@ function executeEncounterVisitToolCall(name, args, tools) {
|
|
|
2667
2667
|
};
|
|
2668
2668
|
}
|
|
2669
2669
|
var EncounterMdyEditor = React11.lazy(
|
|
2670
|
-
() => import('./EncounterMdyEditor-
|
|
2670
|
+
() => import('./EncounterMdyEditor-ATNWXQ72.js').then((module) => ({
|
|
2671
2671
|
default: module.EncounterMdyEditor
|
|
2672
2672
|
}))
|
|
2673
2673
|
);
|