formbuilder-lhcforms 12.3.1 → 12.5.0
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 +5 -1
- package/dist/formbuilder-lhcforms/assets/ngx-fl.schema.json5 +3 -0
- package/dist/formbuilder-lhcforms/assets/ngx-item.schema.json5 +132 -0
- package/dist/formbuilder-lhcforms/assets/version.json +1 -1
- package/dist/formbuilder-lhcforms/index.html +1 -1
- package/dist/formbuilder-lhcforms/main.d7d33054f6ac48c2.js +1 -0
- package/dist/formbuilder-lhcforms/{polyfills.315ba4e3241084b8.js → polyfills.ff3bd2c828bc396b.js} +1 -1
- package/package.json +1 -1
- package/dist/formbuilder-lhcforms/main.9b7187d90622bc64.js +0 -1
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
{ "field": "__$helpText", "col": 12},
|
|
12
12
|
{ "field": "type", "col": 12 },
|
|
13
13
|
{ "field": "__$entryFormat", "col": 12},
|
|
14
|
+
{ "field": "required", "col": 12 },
|
|
14
15
|
{ "field": "repeats", "col": 12 },
|
|
16
|
+
{ "field": "__$minMaxOccurs", "col": 12 },
|
|
15
17
|
{ "field": "__$variable", "col": 12 },
|
|
16
18
|
{ "field": "__$isAnswerList", "col": 12 },
|
|
17
19
|
{ "field": "__$answerOptionMethods", "col": 12 },
|
|
@@ -24,6 +26,8 @@
|
|
|
24
26
|
{ "field": "__$pickInitial", "col": 12 },
|
|
25
27
|
{ "field": "__$initialCalculatedExpression", "col": 12 },
|
|
26
28
|
{ "field": "__$itemControl", "col": 12 },
|
|
29
|
+
{ "field": "__$choiceOrientation", "col": 12 },
|
|
30
|
+
{ "field": "__$columnCount", "col": 12 },
|
|
27
31
|
{ "field": "__$itemControlQuestion", "col": 12 },
|
|
28
32
|
{ "field": "__$itemControlGroup", "col": 12 },
|
|
29
33
|
{ "field": "__$itemControlDisplay", "col": 12 },
|
|
@@ -32,7 +36,6 @@
|
|
|
32
36
|
},
|
|
33
37
|
{
|
|
34
38
|
"showFields": [
|
|
35
|
-
{ "field": "required", "col": 12 },
|
|
36
39
|
{ "field": "readOnly", "col": 12 },
|
|
37
40
|
{ "field": "maxLength", "col": 12 },
|
|
38
41
|
{ "field": "__$restrictions", "col": 12 }
|
|
@@ -51,6 +54,7 @@
|
|
|
51
54
|
{
|
|
52
55
|
"showFields": [
|
|
53
56
|
{ "field": "linkId", "col": 12 },
|
|
57
|
+
{ "field": "__$hidden", "col": 12 },
|
|
54
58
|
{ "field": "__$enableWhenMethod", "col": 12 },
|
|
55
59
|
{ "field": "enableWhen", "col": 12 },
|
|
56
60
|
{ "field": "enableBehavior", "col": 12 },
|
|
@@ -1222,6 +1222,9 @@
|
|
|
1222
1222
|
"effectivePeriod": {
|
|
1223
1223
|
"description": "The period during which the questionnaire content was or is planned to be in active use.",
|
|
1224
1224
|
"title": "Effective period",
|
|
1225
|
+
"widget": {
|
|
1226
|
+
"id": "date-range"
|
|
1227
|
+
},
|
|
1225
1228
|
"properties": {
|
|
1226
1229
|
"id": {
|
|
1227
1230
|
"description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
@@ -74,6 +74,68 @@
|
|
|
74
74
|
"controlClasses": "col-10 p-0"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
+
"__$choiceOrientation": {
|
|
78
|
+
"description": "Identifies the desired orientation when rendering a list of choices.",
|
|
79
|
+
"title": "Choice orientation",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": [
|
|
82
|
+
"horizontal",
|
|
83
|
+
"vertical"
|
|
84
|
+
],
|
|
85
|
+
"default": "",
|
|
86
|
+
"visibleIf": {
|
|
87
|
+
"allOf": [
|
|
88
|
+
{
|
|
89
|
+
"__$isAnswerList": [true]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"__$itemControl": ["$EXP$ target.value == 'radio-button' || target.value == 'check-box'"]
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"widget": {
|
|
97
|
+
"id": "extension-primitive",
|
|
98
|
+
"extensionUrl": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
|
|
99
|
+
"valueX": "valueCode",
|
|
100
|
+
"buttonRadio": true,
|
|
101
|
+
"addEmptyOption": true,
|
|
102
|
+
"emptyOptionValue": "",
|
|
103
|
+
"emptyOptionLabel": "Unspecified",
|
|
104
|
+
"optionLabels": {
|
|
105
|
+
"horizontal": "Horizontal",
|
|
106
|
+
"vertical": "Vertical"
|
|
107
|
+
},
|
|
108
|
+
"labelPosition": "left",
|
|
109
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
110
|
+
"controlClasses": "col-10 p-0"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"__$columnCount": {
|
|
114
|
+
"description": "The number of columns to use when rendering a list of choices.",
|
|
115
|
+
"title": "Column count",
|
|
116
|
+
"type": "integer",
|
|
117
|
+
"minimum": 1,
|
|
118
|
+
"maximum": 2147483647,
|
|
119
|
+
"visibleIf": {
|
|
120
|
+
"allOf": [
|
|
121
|
+
{
|
|
122
|
+
"__$isAnswerList": [true]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"__$itemControl": ["$EXP$ target.value == 'radio-button' || target.value == 'check-box'"]
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"widget": {
|
|
130
|
+
"id": "extension-primitive",
|
|
131
|
+
"extensionUrl": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-columnCount",
|
|
132
|
+
"legacyExtensionUrls": ["http://hl7.org/fhir/StructureDefinition/questionnaire-columnCount"],
|
|
133
|
+
"valueX": "valuePositiveInt",
|
|
134
|
+
"labelPosition": "left",
|
|
135
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
136
|
+
"controlClasses": "col-10 p-0"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
77
139
|
"__$restrictions": {
|
|
78
140
|
"description": "Choose to add value restrictions to the input.",
|
|
79
141
|
"title": "Restrictions",
|
|
@@ -943,6 +1005,18 @@
|
|
|
943
1005
|
"controlClasses": "col-auto btn-group btn-group-sm ps-0"
|
|
944
1006
|
}
|
|
945
1007
|
},
|
|
1008
|
+
"__$hidden": {
|
|
1009
|
+
"description": "If enabled, this item is not displayed to the user. All descendant items are hidden as well. Descendants remain visible in Form Builder so they can still be edited.",
|
|
1010
|
+
"title": "Hide this item from users?",
|
|
1011
|
+
"type": "boolean",
|
|
1012
|
+
"default": false,
|
|
1013
|
+
"widget": {
|
|
1014
|
+
"id": "questionnaire-hidden",
|
|
1015
|
+
"optionLabels": [[false, "No"], [true, "Yes"]],
|
|
1016
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
1017
|
+
"controlClasses": "col-auto btn-group btn-group-sm ps-0"
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
946
1020
|
"__$isAnswerList": {
|
|
947
1021
|
"description": "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.",
|
|
948
1022
|
"title": "Create answer list",
|
|
@@ -2352,6 +2426,20 @@
|
|
|
2352
2426
|
"type": ["$EXP$ target.value != 'display'"]
|
|
2353
2427
|
}
|
|
2354
2428
|
},
|
|
2429
|
+
"__$minMaxOccurs": {
|
|
2430
|
+
"description": "Defines occurrence limits for a repeating item. A minimum of one is represented by making the item required; greater minimums use the minOccurs extension.",
|
|
2431
|
+
"title": "Repeat count range",
|
|
2432
|
+
"type": "string",
|
|
2433
|
+
"widget": {
|
|
2434
|
+
"id": "min-max-occurs",
|
|
2435
|
+
"labelPosition": "left",
|
|
2436
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
2437
|
+
"controlClasses": "col p-0 m-auto ms-0"
|
|
2438
|
+
},
|
|
2439
|
+
"visibleIf": {
|
|
2440
|
+
"repeats": [true]
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2355
2443
|
"__$observationExtract": {
|
|
2356
2444
|
"description": "If true, indicates that the observation-based approach should be used to extract the particular item.",
|
|
2357
2445
|
"title": "Use FHIR Observation extraction?",
|
|
@@ -2677,6 +2765,28 @@
|
|
|
2677
2765
|
}
|
|
2678
2766
|
]
|
|
2679
2767
|
},
|
|
2768
|
+
{
|
|
2769
|
+
"fields": [
|
|
2770
|
+
"__$hidden"
|
|
2771
|
+
],
|
|
2772
|
+
"showFields": [
|
|
2773
|
+
{
|
|
2774
|
+
"field": "__$hidden",
|
|
2775
|
+
"col": 12
|
|
2776
|
+
}
|
|
2777
|
+
]
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"fields": [
|
|
2781
|
+
"__$minMaxOccurs"
|
|
2782
|
+
],
|
|
2783
|
+
"showFields": [
|
|
2784
|
+
{
|
|
2785
|
+
"field": "__$minMaxOccurs",
|
|
2786
|
+
"col": 10
|
|
2787
|
+
}
|
|
2788
|
+
]
|
|
2789
|
+
},
|
|
2680
2790
|
{
|
|
2681
2791
|
"fields": [
|
|
2682
2792
|
"code",
|
|
@@ -2858,6 +2968,28 @@
|
|
|
2858
2968
|
}
|
|
2859
2969
|
]
|
|
2860
2970
|
},
|
|
2971
|
+
{
|
|
2972
|
+
"fields": [
|
|
2973
|
+
"__$choiceOrientation"
|
|
2974
|
+
],
|
|
2975
|
+
"showFields": [
|
|
2976
|
+
{
|
|
2977
|
+
"field": "__$choiceOrientation",
|
|
2978
|
+
"col": 12
|
|
2979
|
+
}
|
|
2980
|
+
]
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"fields": [
|
|
2984
|
+
"__$columnCount"
|
|
2985
|
+
],
|
|
2986
|
+
"showFields": [
|
|
2987
|
+
{
|
|
2988
|
+
"field": "__$columnCount",
|
|
2989
|
+
"col": 12
|
|
2990
|
+
}
|
|
2991
|
+
]
|
|
2992
|
+
},
|
|
2861
2993
|
{
|
|
2862
2994
|
"fields": [
|
|
2863
2995
|
"__$pickInitial"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version": "12.
|
|
1
|
+
{"version": "12.5.0"}
|
|
@@ -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.821ff28674267dd4.js" type="module"></script><script src="polyfills.
|
|
22
|
+
<script src="runtime.821ff28674267dd4.js" type="module"></script><script src="polyfills.ff3bd2c828bc396b.js" type="module"></script><script src="scripts.5c83cbb4dbb11a83.js" defer></script><script src="main.d7d33054f6ac48c2.js" type="module"></script></body>
|
|
23
23
|
</html>
|
|
24
24
|
|