formbuilder-lhcforms 8.0.6 → 8.0.11
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/CHANGELOG.md +30 -0
- package/README.md +3 -3
- package/dist/formbuilder-lhcforms/3rdpartylicenses.txt +1 -1
- package/dist/formbuilder-lhcforms/assets/fl-fields-layout.json +9 -1
- package/dist/formbuilder-lhcforms/assets/images/projectLogo.svg +68 -0
- package/dist/formbuilder-lhcforms/assets/items-layout.json +13 -4
- package/dist/formbuilder-lhcforms/assets/ngx-fl.schema.json +34 -6
- package/dist/formbuilder-lhcforms/assets/ngx-item.schema.json +93 -25
- package/dist/formbuilder-lhcforms/assets/version.json +1 -1
- package/dist/formbuilder-lhcforms/favicon.ico +0 -0
- package/dist/formbuilder-lhcforms/index.html +4 -4
- package/dist/formbuilder-lhcforms/main.e630b3fe056548e3.js +1 -0
- package/dist/formbuilder-lhcforms/scripts.4b8a3ee4fa171a2f.js +1 -0
- package/dist/formbuilder-lhcforms/{styles.8a53b5faf8724c95.css → styles.dc28741b58d0a96f.css} +1 -1
- package/package.json +4 -2
- package/dist/formbuilder-lhcforms/assets/images/LHNCBC_color.svg +0 -1
- package/dist/formbuilder-lhcforms/assets/images/lhncbc.jpg +0 -0
- package/dist/formbuilder-lhcforms/assets/images/lhncbc.svg +0 -184
- package/dist/formbuilder-lhcforms/main.f4691b6962763a8a.js +0 -1
- package/dist/formbuilder-lhcforms/scripts.bd81be7f7835a416.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
This project follows [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [8.0.11] 2023-03-08
|
|
6
|
+
### Added
|
|
7
|
+
- Added support for answerValueSet field.
|
|
8
|
+
- Added display column to code field.
|
|
9
|
+
- Added terminology server field to form level fields and item level fields.
|
|
10
|
+
- Added collapse/expand panel for advanced fields.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Changed code field labels.
|
|
14
|
+
- Moved conditional display, observation link period, and observation extract fields to advanced panel.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Fixed visibleIf issue with answerOption and code when visibility is false.
|
|
18
|
+
|
|
19
|
+
## [8.0.10] 2023-01-25
|
|
20
|
+
### Changed
|
|
21
|
+
- Display LOINC terms of use acceptance dialog after displaying home page.
|
|
22
|
+
|
|
23
|
+
## [8.0.9] 2023-01-09
|
|
24
|
+
### Fixed
|
|
25
|
+
- Fix screen reader announcing blank on tooltip icons.
|
|
26
|
+
|
|
27
|
+
## [8.0.8] 2023-01-06
|
|
28
|
+
### Added
|
|
29
|
+
- Support extension for observation extract.
|
|
30
|
+
|
|
31
|
+
## [8.0.7] 2022-12-14
|
|
32
|
+
### Added
|
|
33
|
+
- Support import of forms that are in LForms format.
|
|
34
|
+
|
|
5
35
|
## [8.0.6] 2022-12-13
|
|
6
36
|
### Fixed
|
|
7
37
|
- Fix display of decimal answer field in conditional display when source item is decimal type.
|
package/README.md
CHANGED
|
@@ -9,16 +9,16 @@ environment. You can make a similar rc file to suit your shell. Please make sure
|
|
|
9
9
|
path for the rest of the installation.
|
|
10
10
|
|
|
11
11
|
$ cd formbuilder-lhcforms
|
|
12
|
-
$ npm ci
|
|
12
|
+
$ npm ci && npm run create-version-file
|
|
13
13
|
$ source bashrc.formbuilder
|
|
14
14
|
|
|
15
15
|
1. Start formbuilder server for development.
|
|
16
16
|
|
|
17
|
-
$
|
|
17
|
+
$ npm start
|
|
18
18
|
|
|
19
19
|
1. Build the package for production.
|
|
20
20
|
|
|
21
|
-
$
|
|
21
|
+
$ npm run build
|
|
22
22
|
$ cp dist/formbuilder-lhcforms {webserver docs location}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -338,7 +338,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
338
338
|
|
|
339
339
|
core-js
|
|
340
340
|
MIT
|
|
341
|
-
Copyright (c) 2014-
|
|
341
|
+
Copyright (c) 2014-2023 Denis Pushkarev
|
|
342
342
|
|
|
343
343
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
344
344
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"formLayout": {
|
|
3
|
-
"
|
|
3
|
+
"basic": [
|
|
4
4
|
{
|
|
5
5
|
"showFields": [
|
|
6
6
|
{ "field": "title", "col": 12 },
|
|
7
|
+
{ "field": "__$codeYesNo", "col": 12 },
|
|
7
8
|
{ "field": "code", "col": 12 },
|
|
8
9
|
{ "field": "status", "col": 12},
|
|
9
10
|
{ "field": "description", "col": 12},
|
|
10
11
|
{ "field": "purpose", "col": 12}
|
|
11
12
|
]
|
|
12
13
|
}
|
|
14
|
+
],
|
|
15
|
+
"advanced": [
|
|
16
|
+
{
|
|
17
|
+
"showFields": [
|
|
18
|
+
{ "field": "__$terminologyServer", "col": 12}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
13
21
|
]
|
|
14
22
|
},
|
|
15
23
|
"propertyLabels": {
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 27.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 407 407" style="enable-background:new 0 0 407 407;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#328DCC;}
|
|
7
|
+
.st1{fill:#47BFEE;}
|
|
8
|
+
.st2{fill:#4BBDEC;}
|
|
9
|
+
.st3{fill:#47BFEE;stroke:#328DCC;stroke-width:6;stroke-miterlimit:10;}
|
|
10
|
+
.st5{fill:#3FBBAB;}
|
|
11
|
+
.st6{fill:#84C441;}
|
|
12
|
+
.st7{fill:#2F8FCE;}
|
|
13
|
+
.st8{fill:#46BBEC;}
|
|
14
|
+
.st9{fill:#85C141;}
|
|
15
|
+
.st10{fill:#318FCC;}
|
|
16
|
+
.st11{fill:#42BBAF;}
|
|
17
|
+
.st12{fill:#2E8ECB;}
|
|
18
|
+
.st13{fill:#4ABEED;}
|
|
19
|
+
.st14{fill:#308DCC;}
|
|
20
|
+
.st15{fill:#308CCC;}
|
|
21
|
+
.st16{fill:#87C440;}
|
|
22
|
+
.st17{fill:#43BBAD;}
|
|
23
|
+
.st18{fill:#2F8FCC;}
|
|
24
|
+
.st19{fill:#2E8ACA;}
|
|
25
|
+
</style>
|
|
26
|
+
<g>
|
|
27
|
+
<path class="st0" d="M223.9,80.3c0,0-42.3,46.1-46.8,95.5c-4.3,46.5,33.5,44.3,40.7,72.3c12.1,47-15.1,94-15.1,94
|
|
28
|
+
s76.6-51.2,69.3-105.6c-5.3-39.3-34.7-40.3-47.5-82.4C212.1,113.6,223.9,80.3,223.9,80.3z"/>
|
|
29
|
+
<path class="st1" d="M208.7,120c0,0-14.6,33.2-15.7,68.5c-1.1,33.3,20.6,46.9,25.8,67c8.7,33.8-16.8,48.9-16.8,48.9
|
|
30
|
+
s46.6-20,40.5-59.1c-4.4-28.2-5.1-38.1-22.4-64.4C205.9,159.5,208.7,120,208.7,120z"/>
|
|
31
|
+
<path class="st0" d="M292.1,122.4c0,0-29.9,27.6-52,66.8c-20.8,36.9,0.5,49.4-5.5,75.2c-10,43.2-32.4,79.6-32.4,79.6
|
|
32
|
+
s66.2-20.2,82.3-67.8c11.6-34.3-7.7-45.7-0.1-85.1C291.8,153.3,292.1,122.4,292.1,122.4z"/>
|
|
33
|
+
<path class="st1" d="M277,159.2c0,0-10.6,13.8-24.6,38.9c-16.4,29.6,2.8,67.5-14.5,93.7c-15.6,23.6-33.8,52.9-33.8,52.9
|
|
34
|
+
s48.3-36.6,64-64.5c12.6-22.3-6.3-40.8-3.8-66.3C266.6,191,277,159.2,277,159.2z"/>
|
|
35
|
+
<path class="st0" d="M132,129.2c0,0-19.4,59.5-3.1,106.3c15.4,44.1,29.9,27.4,48.1,50c30.5,37.8,21.5,61.1,21.5,61.1
|
|
36
|
+
s55.6-46.4,37.3-93.8c-14.3-36.9-43.8-23.6-72.8-56.6C135,164.4,132,129.2,132,129.2z"/>
|
|
37
|
+
<path class="st2" d="M137.7,173.2c0,0-5.9,37,7,69.9c12.2,31,37.4,34.9,50.2,51.3c21.3,27.6,3.9,51.6,3.9,51.6s44.1-44.2,23.1-77.6
|
|
38
|
+
c-15.2-24.1-31.6-12.8-52.6-36.3C148.8,209.2,137.7,173.2,137.7,173.2z"/>
|
|
39
|
+
<path class="st3" d="M149.1,116.2c0,0,42.9,32.2,63.1,72.4c20,39.8,24.7,55.3,15.7,82.2c-14.1,42-27,71.1-27,71.1
|
|
40
|
+
s-44.7-27-51.6-76.8c-5-35.9,16.2-43.5,16-83.6C165.1,143,149.1,116.2,149.1,116.2z"/>
|
|
41
|
+
<path class="st0" d="M180.8,171.2c0,0,25.7,34.4,30.8,63c5.1,28.1,8.7,57.8,5.5,74.2c-5.5,27.9-19.6,44.7-19.6,44.7
|
|
42
|
+
s-27.1-18.8-30.6-50.9c-3.3-30.7,17.8-44.1,21.2-69.6C192.3,200.8,180.8,171.2,180.8,171.2z"/>
|
|
43
|
+
</g>
|
|
44
|
+
<path class="st0" d="M279.3,14.6C255.9,5.2,230.3,0,203.5,0c-16.8,0-33,2-48.6,5.9l18.5,56.7c9.6-2,19.5-3.1,29.6-3.1
|
|
45
|
+
c18,0,35.1,3.4,51,9.5L279.3,14.6z"/>
|
|
46
|
+
<path class="st5" d="M301.6,25.2c-5.8-3.2-11.7-6.1-17.8-8.7l-25.3,54.2c4.4,1.9,8.7,4,12.8,6.3L301.6,25.2z"/>
|
|
47
|
+
<path class="st6" d="M137.1,75.7c8.5-4.5,17.5-8.1,26.9-10.8L145.5,8.4c-14.9,4.4-29,10.5-42.3,18L137.1,75.7z"/>
|
|
48
|
+
<path class="st1" d="M91.9,113.3c11-13.9,24.5-25.7,39.9-34.7L98.1,29.4C77.7,41.8,59.7,57.6,44.9,76L91.9,113.3z"/>
|
|
49
|
+
<path class="st7" d="M67.6,159.3c4.7-15.1,11.8-29.2,20.9-41.7l-47-37.3c-15.3,20.1-27,43.2-34,68.2L67.6,159.3z"/>
|
|
50
|
+
<path class="st8" d="M63.2,178.5c0.7-4.6,1.7-9.1,2.9-13.5L6,154.1c-1.5,5.9-2.7,11.9-3.6,18L63.2,178.5z"/>
|
|
51
|
+
<path class="st9" d="M79.4,270.2c-11.5-20.5-18-44.1-18-69.2c0-5.7,0.4-11.3,1-16.8l-60.8-6.3C0.6,186.3,0,194.8,0,203.5
|
|
52
|
+
c0,35.2,8.9,68.3,24.7,97.2L79.4,270.2z"/>
|
|
53
|
+
<path class="st10" d="M101.2,299.5c-7.1-7.4-13.5-15.5-18.9-24.3l-54.8,30.5c7.9,13.5,17.2,26,27.9,37.3L101.2,299.5z"/>
|
|
54
|
+
<path class="st11" d="M146.7,331c-15.9-6.9-30.3-16.6-42.5-28.5l-45.9,43.6c18,18.3,39.4,33.2,63.3,43.7L146.7,331z"/>
|
|
55
|
+
<path class="st12" d="M163.7,337.1c-4.7-1.4-9.3-2.9-13.8-4.8l-25.1,58.9c7.3,3,14.7,5.7,22.4,7.9L163.7,337.1z"/>
|
|
56
|
+
<path class="st13" d="M236.9,338.5c-10.9,2.7-22.2,4.1-33.9,4.1c-12.4,0-24.4-1.6-35.9-4.6l-16.5,62c16.9,4.5,34.6,7,52.9,7
|
|
57
|
+
c17.8,0,35-2.3,51.5-6.6L236.9,338.5z"/>
|
|
58
|
+
<path class="st14" d="M272.8,324.2c-9.8,5.6-20.3,10-31.4,13.1l18,61.9c16.7-4.8,32.4-11.6,47.1-20.2L272.8,324.2z"/>
|
|
59
|
+
<path class="st15" d="M304.1,300.1c-4,4.1-8.2,7.9-12.7,11.5l39.3,50.7c6-4.8,11.8-10,17.2-15.5L304.1,300.1z"/>
|
|
60
|
+
<path class="st16" d="M405.5,178.9c-1.2-10.3-3.3-20.4-6-30.1L339.2,162c2.1,7.4,3.6,15,4.5,22.8L405.5,178.9z"/>
|
|
61
|
+
<g>
|
|
62
|
+
<path class="st17" d="M340.1,236.4c-4.6,17.9-12.6,34.4-23.3,48.9l49.3,40.6c16.5-21.9,28.7-47.2,35.3-74.7L340.1,236.4z"/>
|
|
63
|
+
<path class="st18" d="M342.8,223.5l62.7,4.7c1-8.1,1.5-16.3,1.5-24.7c0-2.8-0.1-5.5-0.2-8.3l-62.3,1.3c0,1.5,0.1,3,0.1,4.5
|
|
64
|
+
C344.6,208.7,344,216.2,342.8,223.5z"/>
|
|
65
|
+
</g>
|
|
66
|
+
<path class="st19" d="M302.9,100.7l43-42.5c-11.4-11.2-24.1-21-37.9-29.3l-30.3,51.9C286.9,86.4,295.3,93.1,302.9,100.7z"/>
|
|
67
|
+
<path class="st2" d="M362.8,77l-47.5,37.9c4,5.3,7.7,10.8,11,16.6l53.4-29.7C374.7,93.1,369.1,84.8,362.8,77z"/>
|
|
68
|
+
</svg>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"formLayout": {
|
|
3
|
-
"
|
|
3
|
+
"basic": [
|
|
4
4
|
{
|
|
5
5
|
"showFields": [
|
|
6
6
|
{ "field": "text", "col": 12 },
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
{ "field": "__$helpText", "col": 12},
|
|
12
12
|
{ "field": "type", "col": 12 },
|
|
13
13
|
{ "field": "initial", "title": "Default value", "col": 12 },
|
|
14
|
+
{ "field": "__$answerOptionMethods", "col": 12 },
|
|
14
15
|
{ "field": "answerValueSet", "col": 12 },
|
|
15
16
|
{ "field": "answerOption", "title": "Answer choices", "col": 12 },
|
|
16
17
|
{ "field": "__$units", "col": 12 }
|
|
@@ -27,13 +28,21 @@
|
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
30
|
"showFields": [
|
|
30
|
-
{ "field": "enableWhen", "col": 12 },
|
|
31
|
-
{ "field": "enableBehavior", "col": 12 }
|
|
32
31
|
]
|
|
33
32
|
},
|
|
34
33
|
{
|
|
35
34
|
"showFields": [
|
|
36
|
-
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"advanced": [
|
|
39
|
+
{
|
|
40
|
+
"showFields": [
|
|
41
|
+
{ "field": "enableWhen", "col": 12 },
|
|
42
|
+
{ "field": "enableBehavior", "col": 12 },
|
|
43
|
+
{ "field": "__$terminologyServer", "col": 12 },
|
|
44
|
+
{ "field": "__$observationLinkPeriod", "col": 12},
|
|
45
|
+
{ "field": "__$observationExtract", "col": 12}
|
|
37
46
|
]
|
|
38
47
|
}
|
|
39
48
|
]
|
|
@@ -1722,6 +1722,18 @@
|
|
|
1722
1722
|
"additionalProperties": false,
|
|
1723
1723
|
"type": "object"
|
|
1724
1724
|
},
|
|
1725
|
+
"__$codeYesNo": {
|
|
1726
|
+
"description": "An identifier for this question or group of questions in a particular terminology such as LOINC.",
|
|
1727
|
+
"default": false,
|
|
1728
|
+
"type": "boolean",
|
|
1729
|
+
"title": "Code",
|
|
1730
|
+
"widget": {
|
|
1731
|
+
"id": "boolean-radio",
|
|
1732
|
+
"optionLabels": [[false, "No code"], [true, "Include code"]],
|
|
1733
|
+
"labelWidthClass": "col-sm-2",
|
|
1734
|
+
"controlWidthClass": "col-sm-10"
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1725
1737
|
"code": {
|
|
1726
1738
|
"description": "An identifier for this question or group of questions in a particular terminology such as LOINC.",
|
|
1727
1739
|
"items": {
|
|
@@ -1797,6 +1809,9 @@
|
|
|
1797
1809
|
},
|
|
1798
1810
|
"type": "array",
|
|
1799
1811
|
"title": "Code",
|
|
1812
|
+
"visibleIf": {
|
|
1813
|
+
"__$codeYesNo": [true]
|
|
1814
|
+
},
|
|
1800
1815
|
"widget": {
|
|
1801
1816
|
"id": "table",
|
|
1802
1817
|
"noTableLabel": true,
|
|
@@ -1806,14 +1821,25 @@
|
|
|
1806
1821
|
"noCollapseButton": true,
|
|
1807
1822
|
"addButtonLabel": "Add new code",
|
|
1808
1823
|
"singleItem": true,
|
|
1809
|
-
"booleanControlled": true,
|
|
1810
|
-
"booleanLabel": "Use code?",
|
|
1811
|
-
"booleanControlledInitial": false,
|
|
1812
1824
|
"showFields": [
|
|
1813
|
-
{"field": "code", "col":
|
|
1814
|
-
{"field": "system", "col":
|
|
1825
|
+
{"field": "code", "col": 3, "nolabel": true},
|
|
1826
|
+
{"field": "system", "col": 4, "nolabel": true},
|
|
1827
|
+
{"field": "display", "col": 4, "nolabel": true}
|
|
1815
1828
|
]
|
|
1816
1829
|
}
|
|
1830
|
+
},
|
|
1831
|
+
"__$terminologyServer": {
|
|
1832
|
+
"description": "Enter url for preferred terminology server.",
|
|
1833
|
+
"title": "Terminology server",
|
|
1834
|
+
"type": "string",
|
|
1835
|
+
"widget": {
|
|
1836
|
+
"id": "terminology-server",
|
|
1837
|
+
"placeholder": "Enter url for preferred terminology server",
|
|
1838
|
+
"note": "You may wish to set this if you want to provide an answer value set for any item in this questionnaire.",
|
|
1839
|
+
"labelPosition": "left",
|
|
1840
|
+
"labelWidthClass": "col-sm-2",
|
|
1841
|
+
"controlWidthClass": "col-sm-10"
|
|
1842
|
+
}
|
|
1817
1843
|
}
|
|
1818
1844
|
},
|
|
1819
1845
|
"additionalProperties": false,
|
|
@@ -1843,10 +1869,12 @@
|
|
|
1843
1869
|
"resourceType",
|
|
1844
1870
|
"title",
|
|
1845
1871
|
"name",
|
|
1872
|
+
"__$codeYesNo",
|
|
1846
1873
|
"code",
|
|
1847
1874
|
"status",
|
|
1848
1875
|
"description",
|
|
1849
|
-
"purpose"
|
|
1876
|
+
"purpose",
|
|
1877
|
+
"__$terminologyServer"
|
|
1850
1878
|
]
|
|
1851
1879
|
},
|
|
1852
1880
|
{
|
|
@@ -199,20 +199,15 @@
|
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
"__$codeYesNo": {
|
|
202
|
-
"description": "",
|
|
203
|
-
"
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
],
|
|
207
|
-
"default": "Yes",
|
|
208
|
-
"type": "string",
|
|
209
|
-
"title": "Use code(s)?",
|
|
202
|
+
"description": "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).",
|
|
203
|
+
"default": false,
|
|
204
|
+
"type": "boolean",
|
|
205
|
+
"title": "Question code",
|
|
210
206
|
"widget": {
|
|
211
|
-
"id": "
|
|
212
|
-
"
|
|
213
|
-
"labelPosition": "left",
|
|
207
|
+
"id": "boolean-radio",
|
|
208
|
+
"optionLabels": [[false, "No code"], [true, "Include code"]],
|
|
214
209
|
"labelWidthClass": "col-sm-2",
|
|
215
|
-
"controlWidthClass": "col-sm-
|
|
210
|
+
"controlWidthClass": "col-sm-10"
|
|
216
211
|
}
|
|
217
212
|
},
|
|
218
213
|
"code": {
|
|
@@ -292,9 +287,7 @@
|
|
|
292
287
|
"type": "array",
|
|
293
288
|
"title": "Code",
|
|
294
289
|
"visibleIf": {
|
|
295
|
-
"
|
|
296
|
-
{"type": ["$EXP$ target.value != 'display'"]}
|
|
297
|
-
]
|
|
290
|
+
"__$codeYesNo": [true]
|
|
298
291
|
},
|
|
299
292
|
"widget": {
|
|
300
293
|
"id": "table",
|
|
@@ -305,12 +298,10 @@
|
|
|
305
298
|
"noCollapseButton": true,
|
|
306
299
|
"addButtonLabel": "Add new code",
|
|
307
300
|
"singleItem": true,
|
|
308
|
-
"booleanControlled": true,
|
|
309
|
-
"booleanLabel": "Use question code?",
|
|
310
|
-
"booleanControlledInitial": false,
|
|
311
301
|
"showFields": [
|
|
312
|
-
{"field": "code", "col":
|
|
313
|
-
{"field": "system", "col":
|
|
302
|
+
{"field": "code", "col": 3, "nolabel": true},
|
|
303
|
+
{"field": "system", "col": 4, "nolabel": true},
|
|
304
|
+
{"field": "display", "col": 4, "nolabel": true}
|
|
314
305
|
]
|
|
315
306
|
}
|
|
316
307
|
},
|
|
@@ -978,14 +969,46 @@
|
|
|
978
969
|
"controlWidthClass": "col-sm-10"
|
|
979
970
|
}
|
|
980
971
|
},
|
|
972
|
+
"__$answerOptionMethods": {
|
|
973
|
+
"description": "Define predefined answers for the user to choose.",
|
|
974
|
+
"title": "Predefined answers",
|
|
975
|
+
"oneOf": [
|
|
976
|
+
{
|
|
977
|
+
"type": "string",
|
|
978
|
+
"enum": ["answer-option"],
|
|
979
|
+
"title": "Answer options"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"type": "string",
|
|
983
|
+
"enum": ["value-set"],
|
|
984
|
+
"title": "Answer value set uri"
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"default": "answer-option",
|
|
988
|
+
"type": "string",
|
|
989
|
+
"visibleIf": {
|
|
990
|
+
"type": ["$EXP$ target.value == 'open-choice' || target.value == 'choice'"]
|
|
991
|
+
},
|
|
992
|
+
"widget": {
|
|
993
|
+
"id": "answer-option-methods",
|
|
994
|
+
"labelPosition": "left",
|
|
995
|
+
"labelWidthClass": "col-sm-2",
|
|
996
|
+
"controlWidthClass": "col-sm-10"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
981
999
|
"answerValueSet": {
|
|
982
1000
|
"description": "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question.",
|
|
983
1001
|
"title": "Answer value set",
|
|
984
1002
|
"pattern": "^\\S*$",
|
|
985
1003
|
"type": "string",
|
|
986
|
-
"widget": {"id": "hidden"},
|
|
987
1004
|
"visibleIf": {
|
|
988
|
-
"
|
|
1005
|
+
"/__$answerOptionMethods": ["value-set"]
|
|
1006
|
+
},
|
|
1007
|
+
"widget": {
|
|
1008
|
+
"id": "url",
|
|
1009
|
+
"labelPosition": "left",
|
|
1010
|
+
"labelWidthClass": "col-sm-2",
|
|
1011
|
+
"controlWidthClass": "col-sm-10"
|
|
989
1012
|
}
|
|
990
1013
|
},
|
|
991
1014
|
"answerOption": {
|
|
@@ -1250,7 +1273,7 @@
|
|
|
1250
1273
|
"type": "array",
|
|
1251
1274
|
"title": "Answer choices",
|
|
1252
1275
|
"visibleIf": {
|
|
1253
|
-
"
|
|
1276
|
+
"/__$answerOptionMethods": ["answer-option"]
|
|
1254
1277
|
},
|
|
1255
1278
|
"widget": {
|
|
1256
1279
|
"id": "answer-option",
|
|
@@ -1273,6 +1296,20 @@
|
|
|
1273
1296
|
]
|
|
1274
1297
|
}
|
|
1275
1298
|
},
|
|
1299
|
+
"__$terminologyServer": {
|
|
1300
|
+
"description": "Enter url for preferred terminology server.",
|
|
1301
|
+
"title": "Terminology server",
|
|
1302
|
+
"type": "string",
|
|
1303
|
+
"widget": {
|
|
1304
|
+
"id": "terminology-server",
|
|
1305
|
+
"placeholder": "Enter url for preferred terminology server",
|
|
1306
|
+
"note": "You may wish to set this if you are providing an answer value set for either this item or its children.",
|
|
1307
|
+
"labelPosition": "left",
|
|
1308
|
+
"labelWidthClass": "col-sm-2",
|
|
1309
|
+
"controlWidthClass": "col-sm-10"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
|
|
1276
1313
|
"initial": {
|
|
1277
1314
|
"description": "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.",
|
|
1278
1315
|
"items": {
|
|
@@ -1579,7 +1616,7 @@
|
|
|
1579
1616
|
"additionalProperties": false,
|
|
1580
1617
|
"type": "object",
|
|
1581
1618
|
"visibleIf": {
|
|
1582
|
-
"/
|
|
1619
|
+
"/__$answerOptionMethods": ["answer-option"]
|
|
1583
1620
|
},
|
|
1584
1621
|
"widget": {
|
|
1585
1622
|
"id": "hidden"
|
|
@@ -1734,7 +1771,7 @@
|
|
|
1734
1771
|
"type": "array",
|
|
1735
1772
|
"title": "Initial value",
|
|
1736
1773
|
"visibleIf": {
|
|
1737
|
-
"type": ["$EXP$ target.value != 'group' && target.value != 'display'"]
|
|
1774
|
+
"/type": ["$EXP$ target.value != 'group' && target.value != 'display'"]
|
|
1738
1775
|
},
|
|
1739
1776
|
"widget": {
|
|
1740
1777
|
"id": "initial",
|
|
@@ -1776,6 +1813,21 @@
|
|
|
1776
1813
|
"type": ["$EXP$ target.value != 'display'"]
|
|
1777
1814
|
}
|
|
1778
1815
|
},
|
|
1816
|
+
"__$observationExtract": {
|
|
1817
|
+
"description": "If true, indicates that the observation-based approach should be used to extract the particular item.",
|
|
1818
|
+
"title": "Use FHIR Observation extraction?",
|
|
1819
|
+
"pattern": "^true|false$",
|
|
1820
|
+
"type": "boolean",
|
|
1821
|
+
"widget": {
|
|
1822
|
+
"id": "observation-extract",
|
|
1823
|
+
"labelPosition": "left",
|
|
1824
|
+
"labelWidthClass": "col-sm-2 pr-1",
|
|
1825
|
+
"controlWidthClass": "col-sm-10"
|
|
1826
|
+
},
|
|
1827
|
+
"visibleIf": {
|
|
1828
|
+
"type": ["$EXP$ target.value != 'display'"]
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1779
1831
|
"__$units": {
|
|
1780
1832
|
"description": "The units for answers. They are applicable for integer, decimal, and quantity types.",
|
|
1781
1833
|
"title": "Units",
|
|
@@ -4999,6 +5051,12 @@
|
|
|
4999
5051
|
{ "field": "__$units", "col": 12 }
|
|
5000
5052
|
]
|
|
5001
5053
|
},
|
|
5054
|
+
{
|
|
5055
|
+
"fields": ["__$answerOptionMethods"],
|
|
5056
|
+
"showFields": [
|
|
5057
|
+
{ "field": "__$answerOptionMethods", "col": 12 }
|
|
5058
|
+
]
|
|
5059
|
+
},
|
|
5002
5060
|
{
|
|
5003
5061
|
"fields": ["answerValueSet"],
|
|
5004
5062
|
"showFields": [
|
|
@@ -5011,6 +5069,12 @@
|
|
|
5011
5069
|
{ "field": "answerOption", "col": 12 }
|
|
5012
5070
|
]
|
|
5013
5071
|
},
|
|
5072
|
+
{
|
|
5073
|
+
"fields": ["__$terminologyServer"],
|
|
5074
|
+
"showFields": [
|
|
5075
|
+
{ "field": "__$terminologyServer", "col": 12 }
|
|
5076
|
+
]
|
|
5077
|
+
},
|
|
5014
5078
|
{
|
|
5015
5079
|
"fields": ["__$units"],
|
|
5016
5080
|
"showFields": [
|
|
@@ -5043,6 +5107,10 @@
|
|
|
5043
5107
|
"fields": ["__$observationLinkPeriod"],
|
|
5044
5108
|
"showFields": [{"field": "__$observationLinkPeriod", "col": 10}]
|
|
5045
5109
|
},
|
|
5110
|
+
{
|
|
5111
|
+
"fields": ["__$observationExtract"],
|
|
5112
|
+
"showFields": [{"field": "__$observationExtract", "col": 10}]
|
|
5113
|
+
},
|
|
5046
5114
|
{
|
|
5047
5115
|
"fields": ["id", "extension", "modifierExtension", "definition"]
|
|
5048
5116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version": "8.0.
|
|
1
|
+
{"version": "8.0.11"}
|
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
7
7
|
<style type="text/css">@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fABc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fCBc4AMP6lbBP.woff2) format('woff2');unicode-range:U+1F00-1FFF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBxc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0370-03FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fCxc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fChc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu5mxKKTU1Kvnz.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu7mxKKTU1Kvnz.woff2) format('woff2');unicode-range:U+1F00-1FFF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4WxKKTU1Kvnz.woff2) format('woff2');unicode-range:U+0370-03FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu7WxKKTU1Kvnz.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2) format('woff2');unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fCRc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fCBc4AMP6lbBP.woff2) format('woff2');unicode-range:U+1F00-1FFF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fBxc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0370-03FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fCxc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fChc4AMP6lbBP.woff2) format('woff2');unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}</style>
|
|
8
|
-
<style type="text/css">@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/
|
|
8
|
+
<style type="text/css">@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}</style>
|
|
9
9
|
<style>body,html{height:100%;width:100%}html{-webkit-tap-highlight-color:transparent}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;--antd-wave-shadow-color:#1890ff;--scroll-bar:0}body{margin:0;color:#000000d9;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-variant:tabular-nums;line-height:1.5715;background-color:#fff;font-feature-settings:"tnum","tnum"}</style><link href="lforms/lib/elements/styles.css" rel="stylesheet" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="lforms/lib/elements/styles.css"></noscript>
|
|
10
10
|
<script src="webcomponents/webcomponents-loader.js"></script>
|
|
11
11
|
<script>
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
}
|
|
17
17
|
</script></script>
|
|
18
18
|
<!-- ! DO NOT REMOVE THIS COMMENT, WE NEED ITS CLOSING MARKER -->
|
|
19
|
-
<style>:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}.bg-
|
|
20
|
-
<body class="bg-
|
|
19
|
+
<style>:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}.bg-secondary{background-color:#6c757d!important}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important}@page{size:a3}body{min-width:992px!important}}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}</style><link rel="stylesheet" href="styles.dc28741b58d0a96f.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.dc28741b58d0a96f.css"></noscript></head>
|
|
20
|
+
<body class="bg-secondary">
|
|
21
21
|
<lfb-root></lfb-root>
|
|
22
22
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
23
23
|
<script src="lforms/lib/elements/assets/lib/zone.min.js"></script>
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
<script src="lforms/lib/elements/scripts.js"></script>
|
|
27
27
|
<script src="lforms/lib/elements/main.js"></script>
|
|
28
28
|
<script src="lforms/lib/fhir/lformsFHIRAll.min.js"></script>
|
|
29
|
-
<script src="runtime.e3d955f506921cad.js" type="module"></script><script src="polyfills.896ec7ce0831df76.js" type="module"></script><script src="scripts.
|
|
29
|
+
<script src="runtime.e3d955f506921cad.js" type="module"></script><script src="polyfills.896ec7ce0831df76.js" type="module"></script><script src="scripts.4b8a3ee4fa171a2f.js" defer></script><script src="main.e630b3fe056548e3.js" type="module"></script>
|
|
30
30
|
|
|
31
31
|
</body></html>
|