@mieweb/ui 0.11.0-dev.42 → 0.11.0-dev.43
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/selection.md +3 -3
- package/agent/skills/mieweb-ui-catalog/SKILL.md +8 -8
- package/agent/skills/mieweb-ui-catalog/selection-guidance.md +13 -13
- package/dist/{chunk-EWPNM6OO.js → chunk-3A4N5E6P.js} +19 -4
- package/dist/chunk-3A4N5E6P.js.map +1 -0
- package/dist/{chunk-IALTKN3Y.js → chunk-67X7L7JX.js} +3 -3
- package/dist/{chunk-IALTKN3Y.js.map → chunk-67X7L7JX.js.map} +1 -1
- package/dist/{chunk-S2CJ57BX.cjs → chunk-AHT2HRHC.cjs} +19 -3
- package/dist/chunk-AHT2HRHC.cjs.map +1 -0
- package/dist/{chunk-R4QWCP2T.cjs → chunk-AWJBJYLZ.cjs} +11 -11
- package/dist/{chunk-R4QWCP2T.cjs.map → chunk-AWJBJYLZ.cjs.map} +1 -1
- package/dist/{chunk-LLIG4X6M.cjs → chunk-BQSREBF2.cjs} +7 -7
- package/dist/chunk-BQSREBF2.cjs.map +1 -0
- package/dist/{chunk-AKC677ZF.js → chunk-DSGFWT4D.js} +5 -5
- package/dist/chunk-DSGFWT4D.js.map +1 -0
- package/dist/{chunk-6L7CTEX2.cjs → chunk-GGLISETW.cjs} +4 -4
- package/dist/{chunk-6L7CTEX2.cjs.map → chunk-GGLISETW.cjs.map} +1 -1
- package/dist/{chunk-2OTPQPJS.js → chunk-IYDPGQJA.js} +3 -3
- package/dist/{chunk-2OTPQPJS.js.map → chunk-IYDPGQJA.js.map} +1 -1
- package/dist/{chunk-RCTIPBLU.cjs → chunk-MM32RSX4.cjs} +5 -5
- package/dist/{chunk-RCTIPBLU.cjs.map → chunk-MM32RSX4.cjs.map} +1 -1
- package/dist/{chunk-LWLHCUDP.js → chunk-YWCHUUY3.js} +3 -3
- package/dist/{chunk-LWLHCUDP.js.map → chunk-YWCHUUY3.js.map} +1 -1
- package/dist/components/EmailEditor/index.cjs +13 -13
- package/dist/components/EmailEditor/index.js +4 -4
- package/dist/components/RichTextEditor/index.cjs +4 -4
- package/dist/components/RichTextEditor/index.d.cts +9 -0
- package/dist/components/RichTextEditor/index.d.ts +9 -0
- package/dist/components/RichTextEditor/index.js +1 -1
- package/dist/components/Textarea/index.cjs +6 -6
- package/dist/components/Textarea/index.js +3 -3
- package/dist/esheet.cjs +17 -17
- package/dist/esheet.js +4 -4
- package/dist/index.cjs +58 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/kerebron.cjs +4 -4
- package/dist/kerebron.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-AKC677ZF.js.map +0 -1
- package/dist/chunk-EWPNM6OO.js.map +0 -1
- package/dist/chunk-LLIG4X6M.cjs.map +0 -1
- package/dist/chunk-S2CJ57BX.cjs.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBQSREBF2_cjs = require('../../chunk-BQSREBF2.cjs');
|
|
4
4
|
require('../../chunk-BXRQ6HEP.cjs');
|
|
5
5
|
require('../../chunk-S7AMZ4RD.cjs');
|
|
6
6
|
require('../../chunk-PLMXN23Q.cjs');
|
|
7
7
|
require('../../chunk-7WJ6MBF5.cjs');
|
|
8
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-GGLISETW.cjs');
|
|
9
9
|
require('../../chunk-UPWIJC6I.cjs');
|
|
10
10
|
require('../../chunk-CPDNX3LS.cjs');
|
|
11
|
-
require('../../chunk-
|
|
11
|
+
require('../../chunk-MM32RSX4.cjs');
|
|
12
12
|
require('../../chunk-NCG7NJAW.cjs');
|
|
13
|
-
require('../../chunk-
|
|
13
|
+
require('../../chunk-AHT2HRHC.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 chunkBQSREBF2_cjs.EMAIL_BLOCK_TYPES; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "EmailEditor", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkBQSREBF2_cjs.EmailEditor; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "createDefaultDesignSettings", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkBQSREBF2_cjs.createDefaultDesignSettings; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "createEmailBlock", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkBQSREBF2_cjs.createEmailBlock; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "createEmailHtmlSanitizer", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkBQSREBF2_cjs.createEmailHtmlSanitizer; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "createEmptyEmailContentTree", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkBQSREBF2_cjs.createEmptyEmailContentTree; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "defaultEmailEditorLabels", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkBQSREBF2_cjs.defaultEmailEditorLabels; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "generateEmailBlockId", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkBQSREBF2_cjs.generateEmailBlockId; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "renderEmailMjml", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkBQSREBF2_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-DSGFWT4D.js';
|
|
2
2
|
import '../../chunk-XBAAHOCP.js';
|
|
3
3
|
import '../../chunk-ME7EVT6F.js';
|
|
4
4
|
import '../../chunk-AQ564XO7.js';
|
|
5
5
|
import '../../chunk-CVNPNZMX.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-IYDPGQJA.js';
|
|
7
7
|
import '../../chunk-VCI2Y7ST.js';
|
|
8
8
|
import '../../chunk-HNXLLDPN.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-67X7L7JX.js';
|
|
10
10
|
import '../../chunk-NIE3WBJH.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-3A4N5E6P.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 chunkAHT2HRHC_cjs = require('../../chunk-AHT2HRHC.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 chunkAHT2HRHC_cjs.RichTextEditor; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkAHT2HRHC_cjs.convertAngleBracketsToMustache; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "processDictation", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkAHT2HRHC_cjs.processDictation; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isHtmlEmpty", {
|
|
40
40
|
enumerable: true,
|
|
@@ -255,6 +255,15 @@ interface RichTextEditorProps {
|
|
|
255
255
|
* insertion and optional speech-to-text dictation. Content is supplied and
|
|
256
256
|
* surfaced via `value`/`onChange` so it can be wired to any store. The variable
|
|
257
257
|
* menu is data-agnostic — pass `variableGroups` to populate it.
|
|
258
|
+
*
|
|
259
|
+
* @deprecated Use `RichEditor` from `@mieweb/ui/kerebron` instead — the
|
|
260
|
+
* supported ProseMirror/Kerebron rich-text surface: install the `@kerebron/*`
|
|
261
|
+
* peers, import `@mieweb/ui/kerebron.css`, and switch the component. Note the
|
|
262
|
+
* format difference: `RichEditor` stores Markdown (`getContent()`), while this
|
|
263
|
+
* editor carries HTML through `value`/`onChange`. For a textarea-like HTML
|
|
264
|
+
* surface use `TextAreaRich` from `@mieweb/ui/kerebron`. This legacy
|
|
265
|
+
* `document.execCommand` editor will be removed in a future major release
|
|
266
|
+
* (mieweb/ui#692).
|
|
258
267
|
*/
|
|
259
268
|
declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<HTMLDivElement>>;
|
|
260
269
|
|
|
@@ -255,6 +255,15 @@ interface RichTextEditorProps {
|
|
|
255
255
|
* insertion and optional speech-to-text dictation. Content is supplied and
|
|
256
256
|
* surfaced via `value`/`onChange` so it can be wired to any store. The variable
|
|
257
257
|
* menu is data-agnostic — pass `variableGroups` to populate it.
|
|
258
|
+
*
|
|
259
|
+
* @deprecated Use `RichEditor` from `@mieweb/ui/kerebron` instead — the
|
|
260
|
+
* supported ProseMirror/Kerebron rich-text surface: install the `@kerebron/*`
|
|
261
|
+
* peers, import `@mieweb/ui/kerebron.css`, and switch the component. Note the
|
|
262
|
+
* format difference: `RichEditor` stores Markdown (`getContent()`), while this
|
|
263
|
+
* editor carries HTML through `value`/`onChange`. For a textarea-like HTML
|
|
264
|
+
* surface use `TextAreaRich` from `@mieweb/ui/kerebron`. This legacy
|
|
265
|
+
* `document.execCommand` editor will be removed in a future major release
|
|
266
|
+
* (mieweb/ui#692).
|
|
258
267
|
*/
|
|
259
268
|
declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<HTMLDivElement>>;
|
|
260
269
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-
|
|
1
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-3A4N5E6P.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-
|
|
3
|
+
var chunkGGLISETW_cjs = require('../../chunk-GGLISETW.cjs');
|
|
4
|
+
require('../../chunk-MM32RSX4.cjs');
|
|
5
5
|
require('../../chunk-NCG7NJAW.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-AHT2HRHC.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 chunkGGLISETW_cjs.Textarea; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "htmlToPlain", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkGGLISETW_cjs.htmlToPlain; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "plainToHtml", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkGGLISETW_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-
|
|
1
|
+
export { Textarea, htmlToPlain, plainToHtml } from '../../chunk-IYDPGQJA.js';
|
|
2
|
+
import '../../chunk-67X7L7JX.js';
|
|
3
3
|
import '../../chunk-NIE3WBJH.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-3A4N5E6P.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 chunkGU6TPVXF_cjs = require('./chunk-GU6TPVXF.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkAWJBJYLZ_cjs = require('./chunk-AWJBJYLZ.cjs');
|
|
6
6
|
var chunkKQXD6BFO_cjs = require('./chunk-KQXD6BFO.cjs');
|
|
7
7
|
require('./chunk-GLG6UE2H.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-GGLISETW.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
|
|
23
|
+
var chunkMM32RSX4_cjs = require('./chunk-MM32RSX4.cjs');
|
|
24
24
|
require('./chunk-NCG7NJAW.cjs');
|
|
25
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-AHT2HRHC.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 chunkAWJBJYLZ_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
|
+
chunkAWJBJYLZ_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
|
+
chunkMM32RSX4_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
|
+
chunkAWJBJYLZ_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
|
+
chunkAWJBJYLZ_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 = chunkAWJBJYLZ_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
|
+
chunkAWJBJYLZ_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
|
+
chunkAWJBJYLZ_cjs.Assessment,
|
|
1887
1887
|
{
|
|
1888
1888
|
concerns,
|
|
1889
1889
|
items,
|
|
@@ -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 = chunkAWJBJYLZ_cjs.useCodeLookupConfig();
|
|
2712
2712
|
const parsed = React11__namespace.useMemo(
|
|
2713
2713
|
() => initialMdy === void 0 ? null : chunkGU6TPVXF_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(chunkAWJBJYLZ_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
|
+
chunkAWJBJYLZ_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 = chunkAWJBJYLZ_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
|
+
chunkAWJBJYLZ_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-MLCIINXT.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-MLCIINXT.js';
|
|
4
|
-
import { useCodeLookupConfig, CodeLookupContext, Assessment, ConditionEditor, AllergyManager, MedicationReconciliation, normalizeConditionCodingSystem } from './chunk-
|
|
4
|
+
import { useCodeLookupConfig, CodeLookupContext, Assessment, ConditionEditor, AllergyManager, MedicationReconciliation, normalizeConditionCodingSystem } from './chunk-YWCHUUY3.js';
|
|
5
5
|
import { ProblemList, currentAssertion } from './chunk-KB2PLV5Q.js';
|
|
6
6
|
import './chunk-YFWDS6MX.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-IYDPGQJA.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-
|
|
22
|
+
import { TextAreaRichKerebron } from './chunk-67X7L7JX.js';
|
|
23
23
|
import './chunk-NIE3WBJH.js';
|
|
24
|
-
import './chunk-
|
|
24
|
+
import './chunk-3A4N5E6P.js';
|
|
25
25
|
import { MessagesProvider, useMessages } from './chunk-5YOT4DVH.js';
|
|
26
26
|
import './chunk-OQWZYKJM.js';
|
|
27
27
|
import './chunk-AMYFRY7K.js';
|