formbuilder-lhcforms 10.0.4 → 10.0.6
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/formbuilder-lhcforms/assets/items-layout.json5 +2 -1
- package/dist/formbuilder-lhcforms/assets/ngx-item.schema.json5 +53 -12
- package/dist/formbuilder-lhcforms/assets/version.json +1 -1
- package/dist/formbuilder-lhcforms/index.html +1 -1
- package/dist/formbuilder-lhcforms/main.8099417b7713e221.js +1 -0
- package/package.json +4 -1
- package/dist/formbuilder-lhcforms/main.3339e1649d2be0f0.js +0 -1
- package/dist/formbuilder-lhcforms/tests/window-open-test.html +0 -117
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
{ "field": "code", "col": 12 },
|
|
11
11
|
{ "field": "__$helpText", "col": 12},
|
|
12
12
|
{ "field": "type", "col": 12 },
|
|
13
|
+
{ "field": "__$entryFormat", "col": 12},
|
|
14
|
+
{ "field": "repeats", "col": 12 },
|
|
13
15
|
{ "field": "__$variable", "col": 12 },
|
|
14
16
|
{ "field": "__$isAnswerList", "col": 12 },
|
|
15
17
|
{ "field": "__$answerOptionMethods", "col": 12 },
|
|
@@ -29,7 +31,6 @@
|
|
|
29
31
|
},
|
|
30
32
|
{
|
|
31
33
|
"showFields": [
|
|
32
|
-
{ "field": "repeats", "col": 12 },
|
|
33
34
|
{ "field": "required", "col": 12 },
|
|
34
35
|
{ "field": "readOnly", "col": 12 },
|
|
35
36
|
{ "field": "maxLength", "col": 12 },
|
|
@@ -60,6 +60,20 @@
|
|
|
60
60
|
},
|
|
61
61
|
"default": "string"
|
|
62
62
|
},
|
|
63
|
+
"__$entryFormat": {
|
|
64
|
+
"description": "The entry format extension provides a human-readable hint about the expected format of user input. It serves as a guide but does not enforce validation.",
|
|
65
|
+
"title": "Entry format",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"visibleIf": {
|
|
68
|
+
"type": ["$EXP$ target.value != 'group' && target.value != 'display' && target.value != 'boolean' && target.value != 'reference'"]
|
|
69
|
+
},
|
|
70
|
+
"widget": {
|
|
71
|
+
"id": "entry-format",
|
|
72
|
+
"labelPosition": "left",
|
|
73
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
74
|
+
"controlClasses": "col-10 p-0"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
63
77
|
"__$restrictions": {
|
|
64
78
|
"description": "Choose to add value restrictions to the input.",
|
|
65
79
|
"title": "Restrictions",
|
|
@@ -839,17 +853,20 @@
|
|
|
839
853
|
{
|
|
840
854
|
"type": "string",
|
|
841
855
|
"enum": ["answer-option"],
|
|
842
|
-
"title": "Answer options"
|
|
856
|
+
"title": "Answer options",
|
|
857
|
+
"dataType": ["all"]
|
|
843
858
|
},
|
|
844
859
|
{
|
|
845
860
|
"type": "string",
|
|
846
861
|
"enum": ["snomed-value-set"],
|
|
847
|
-
"title": "SNOMED answer value set"
|
|
862
|
+
"title": "SNOMED answer value set",
|
|
863
|
+
"dataType": ["coding"]
|
|
848
864
|
},
|
|
849
865
|
{
|
|
850
866
|
"type": "string",
|
|
851
867
|
"enum": ["value-set"],
|
|
852
|
-
"title": "Answer value set URI"
|
|
868
|
+
"title": "Answer value set URI",
|
|
869
|
+
"dataType": ["coding"]
|
|
853
870
|
}
|
|
854
871
|
],
|
|
855
872
|
"default": "answer-option",
|
|
@@ -1097,6 +1114,8 @@
|
|
|
1097
1114
|
"type": "array",
|
|
1098
1115
|
"title": "Answer choices",
|
|
1099
1116
|
"visibleIf": {
|
|
1117
|
+
"__$answerOptionMethods": ["answer-option"]
|
|
1118
|
+
/*
|
|
1100
1119
|
"allOf": [
|
|
1101
1120
|
{
|
|
1102
1121
|
"/__$answerOptionMethods": ["answer-option"]
|
|
@@ -1104,7 +1123,7 @@
|
|
|
1104
1123
|
{
|
|
1105
1124
|
"__$valueMethod": ["$EXP$ target.value != 'compute-initial' && target.value != 'compute-continuously' "]
|
|
1106
1125
|
}
|
|
1107
|
-
]
|
|
1126
|
+
] */
|
|
1108
1127
|
},
|
|
1109
1128
|
"widget": {
|
|
1110
1129
|
"id": "answer-option",
|
|
@@ -1133,7 +1152,7 @@
|
|
|
1133
1152
|
"title": "Answer list layout",
|
|
1134
1153
|
"type": "string",
|
|
1135
1154
|
"visibleIf": {
|
|
1136
|
-
"
|
|
1155
|
+
"__$isAnswerList": [true]
|
|
1137
1156
|
},
|
|
1138
1157
|
"widget": {
|
|
1139
1158
|
"id": "item-control",
|
|
@@ -1276,7 +1295,7 @@
|
|
|
1276
1295
|
"labelClasses": "col-2 ps-0 pe-1",
|
|
1277
1296
|
"controlClasses": "col-10 btn-group btn-group-sm p-0",
|
|
1278
1297
|
"note": "(1) - not supported by LHC-Forms preview.",
|
|
1279
|
-
"deprecatedNote": "* '${deprecatedItemControl}' item control is deprecated and is not presented in this list of item controls."
|
|
1298
|
+
"deprecatedNote": "* '${deprecatedItemControl}' item control is deprecated and is not presented in this list of item controls."
|
|
1280
1299
|
}
|
|
1281
1300
|
},
|
|
1282
1301
|
|
|
@@ -1560,7 +1579,10 @@
|
|
|
1560
1579
|
"display": {
|
|
1561
1580
|
"description": "A representation of the meaning of the code in the system, following the rules of the system.",
|
|
1562
1581
|
"pattern": "^[ \\r\\n\\t\\S]+$",
|
|
1563
|
-
"type": "string"
|
|
1582
|
+
"type": "string",
|
|
1583
|
+
"widget": {
|
|
1584
|
+
"id": "answer-value-set-coding-display"
|
|
1585
|
+
}
|
|
1564
1586
|
},
|
|
1565
1587
|
"userSelected": {
|
|
1566
1588
|
"description": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
|
|
@@ -1573,14 +1595,12 @@
|
|
|
1573
1595
|
"visibleIf": {
|
|
1574
1596
|
"allOf": [
|
|
1575
1597
|
{
|
|
1576
|
-
"/__$answerOptionMethods": ["answer-option"]
|
|
1598
|
+
"/__$answerOptionMethods": ["answer-option", "snomed-value-set", "value-set"]
|
|
1577
1599
|
},
|
|
1578
1600
|
{
|
|
1579
1601
|
"/type": ["$EXP$ target.value == 'coding'"]
|
|
1580
1602
|
}
|
|
1581
1603
|
],
|
|
1582
|
-
|
|
1583
|
-
"/__$answerOptionMethods": ["answer-option"]
|
|
1584
1604
|
},
|
|
1585
1605
|
"widget": {
|
|
1586
1606
|
"id": "hidden"
|
|
@@ -1710,6 +1730,16 @@
|
|
|
1710
1730
|
"type": ["boolean"]
|
|
1711
1731
|
}
|
|
1712
1732
|
]
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"allOf": [
|
|
1736
|
+
{
|
|
1737
|
+
"__$valueMethod": ["pick-initial"]
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"/__$answerOptionMethods": ["snomed-value-set", "value-set"]
|
|
1741
|
+
}
|
|
1742
|
+
]
|
|
1713
1743
|
}
|
|
1714
1744
|
]
|
|
1715
1745
|
},
|
|
@@ -1798,7 +1828,7 @@
|
|
|
1798
1828
|
"additionalProperties": false,
|
|
1799
1829
|
"type": "object",
|
|
1800
1830
|
"visibleIf": {
|
|
1801
|
-
"/type": ["$EXP$ target.value == '
|
|
1831
|
+
"/type": ["$EXP$ target.value == 'coding'"]
|
|
1802
1832
|
}
|
|
1803
1833
|
}
|
|
1804
1834
|
},
|
|
@@ -2421,7 +2451,7 @@
|
|
|
2421
2451
|
"col": 12
|
|
2422
2452
|
}
|
|
2423
2453
|
]
|
|
2424
|
-
},
|
|
2454
|
+
},
|
|
2425
2455
|
{
|
|
2426
2456
|
"fields": [
|
|
2427
2457
|
"__$terminologyServer"
|
|
@@ -2466,6 +2496,17 @@
|
|
|
2466
2496
|
}
|
|
2467
2497
|
]
|
|
2468
2498
|
},
|
|
2499
|
+
{
|
|
2500
|
+
"fields": [
|
|
2501
|
+
"__$entryFormat"
|
|
2502
|
+
],
|
|
2503
|
+
"showFields": [
|
|
2504
|
+
{
|
|
2505
|
+
"field": "__$entryFormat",
|
|
2506
|
+
"col": 12
|
|
2507
|
+
}
|
|
2508
|
+
]
|
|
2509
|
+
},
|
|
2469
2510
|
{
|
|
2470
2511
|
"fields": [
|
|
2471
2512
|
"__$pickInitial"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version": "10.0.
|
|
1
|
+
{"version": "10.0.6"}
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
<body class="bg-secondary">
|
|
20
20
|
<lfb-root></lfb-root>
|
|
21
21
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
22
|
-
<script src="runtime.451db9930bcccb8c.js" type="module"></script><script src="polyfills.e53ef974fd1c72c8.js" type="module"></script><script src="scripts.5c83cbb4dbb11a83.js" defer></script><script src="main.
|
|
22
|
+
<script src="runtime.451db9930bcccb8c.js" type="module"></script><script src="polyfills.e53ef974fd1c72c8.js" type="module"></script><script src="scripts.5c83cbb4dbb11a83.js" defer></script><script src="main.8099417b7713e221.js" type="module"></script></body>
|
|
23
23
|
</html>
|
|
24
24
|
|