formbuilder-lhcforms 7.0.3 → 7.0.5
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 +9 -0
- package/dist/formbuilder-lhcforms/index.html +5 -2
- package/dist/formbuilder-lhcforms/lforms/lib/elements/main-es5.js +1410 -0
- package/dist/formbuilder-lhcforms/lforms/lib/elements/main-es5.js.map +1 -0
- package/dist/formbuilder-lhcforms/lforms/lib/elements/polyfills-es5.js +49 -0
- package/dist/formbuilder-lhcforms/lforms/lib/elements/polyfills-es5.js.map +1 -0
- package/dist/formbuilder-lhcforms/lforms/lib/elements/runtime-es5.js +2 -0
- package/dist/formbuilder-lhcforms/lforms/lib/elements/runtime-es5.js.map +1 -0
- package/dist/formbuilder-lhcforms/lforms/lib/elements/scripts.js +2 -0
- package/dist/formbuilder-lhcforms/lforms/lib/fhir/lformsFHIRAll.min.js +2 -2
- package/dist/formbuilder-lhcforms/lforms/lib/fhir/lformsFHIRAll.min.js.map +1 -1
- package/dist/formbuilder-lhcforms/main-es2015.js +416 -159
- package/dist/formbuilder-lhcforms/main-es2015.js.map +1 -1
- package/dist/formbuilder-lhcforms/main-es5.js +796 -335
- package/dist/formbuilder-lhcforms/main-es5.js.map +1 -1
- package/dist/formbuilder-lhcforms/styles.css +7 -1
- package/dist/formbuilder-lhcforms/styles.css.map +1 -1
- package/package.json +10 -8
- package/dist/formbuilder-lhcforms/lforms/lib/elements/lhc-forms.es5.js +0 -7
- package/dist/formbuilder-lhcforms/lforms/lib/fhir/R4/lformsFHIR.min.js +0 -6
- package/dist/formbuilder-lhcforms/lforms/lib/fhir/R4/lformsFHIR.min.js.map +0 -1
- package/dist/formbuilder-lhcforms/lforms/lib/fhir/STU3/lformsFHIR.min.js +0 -6
- package/dist/formbuilder-lhcforms/lforms/lib/fhir/STU3/lformsFHIR.min.js.map +0 -1
|
@@ -820,7 +820,12 @@ class BasePageComponent {
|
|
|
820
820
|
* View preview of lforms widget and questionnaire json
|
|
821
821
|
*/
|
|
822
822
|
showPreviewDlg() {
|
|
823
|
-
this.matDlg.open(_lib_widgets_preview_dlg_preview_dlg_component__WEBPACK_IMPORTED_MODULE_7__["PreviewDlgComponent"], { data: {
|
|
823
|
+
this.matDlg.open(_lib_widgets_preview_dlg_preview_dlg_component__WEBPACK_IMPORTED_MODULE_7__["PreviewDlgComponent"], { data: {
|
|
824
|
+
questionnaire: _lib_util__WEBPACK_IMPORTED_MODULE_8__["Util"].convertToQuestionnaireJSON(this.formValue),
|
|
825
|
+
lfData: this.lfData
|
|
826
|
+
},
|
|
827
|
+
width: '80vw', height: '80vh'
|
|
828
|
+
});
|
|
824
829
|
}
|
|
825
830
|
/**
|
|
826
831
|
* Format result item for auto complete.
|
|
@@ -1281,7 +1286,7 @@ function FhirSearchDlgComponent_ng_template_9_option_24_Template(rf, ctx) { if (
|
|
|
1281
1286
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](field_r13.display);
|
|
1282
1287
|
} }
|
|
1283
1288
|
function FhirSearchDlgComponent_ng_template_9_div_25_h4_2_Template(rf, ctx) { if (rf & 1) {
|
|
1284
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4");
|
|
1289
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4", 31);
|
|
1285
1290
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1);
|
|
1286
1291
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1287
1292
|
} if (rf & 2) {
|
|
@@ -1290,7 +1295,7 @@ function FhirSearchDlgComponent_ng_template_9_div_25_h4_2_Template(rf, ctx) { if
|
|
|
1290
1295
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"]("", ctx_r14.total, " resource was found.");
|
|
1291
1296
|
} }
|
|
1292
1297
|
function FhirSearchDlgComponent_ng_template_9_div_25_h4_3_Template(rf, ctx) { if (rf & 1) {
|
|
1293
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4");
|
|
1298
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4", 31);
|
|
1294
1299
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1);
|
|
1295
1300
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1296
1301
|
} if (rf & 2) {
|
|
@@ -1299,12 +1304,12 @@ function FhirSearchDlgComponent_ng_template_9_div_25_h4_3_Template(rf, ctx) { if
|
|
|
1299
1304
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"]("", ctx_r15.total, " resources were found.");
|
|
1300
1305
|
} }
|
|
1301
1306
|
function FhirSearchDlgComponent_ng_template_9_div_25_h4_4_Template(rf, ctx) { if (rf & 1) {
|
|
1302
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4");
|
|
1307
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4", 31);
|
|
1303
1308
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1, "No resources were found.");
|
|
1304
1309
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1305
1310
|
} }
|
|
1306
1311
|
function FhirSearchDlgComponent_ng_template_9_div_25_h4_5_Template(rf, ctx) { if (rf & 1) {
|
|
1307
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4");
|
|
1312
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "h4", 31);
|
|
1308
1313
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1, "The following resources were found.");
|
|
1309
1314
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1310
1315
|
} }
|
|
@@ -1312,17 +1317,17 @@ function FhirSearchDlgComponent_ng_template_9_div_25_Template(rf, ctx) { if (rf
|
|
|
1312
1317
|
const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
|
|
1313
1318
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 9);
|
|
1314
1319
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "div", 10);
|
|
1315
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](2, FhirSearchDlgComponent_ng_template_9_div_25_h4_2_Template, 2, 1, "h4",
|
|
1316
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](3, FhirSearchDlgComponent_ng_template_9_div_25_h4_3_Template, 2, 1, "h4",
|
|
1317
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](4, FhirSearchDlgComponent_ng_template_9_div_25_h4_4_Template, 2, 0, "h4",
|
|
1318
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](5, FhirSearchDlgComponent_ng_template_9_div_25_h4_5_Template, 2, 0, "h4",
|
|
1320
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](2, FhirSearchDlgComponent_ng_template_9_div_25_h4_2_Template, 2, 1, "h4", 28);
|
|
1321
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](3, FhirSearchDlgComponent_ng_template_9_div_25_h4_3_Template, 2, 1, "h4", 28);
|
|
1322
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](4, FhirSearchDlgComponent_ng_template_9_div_25_h4_4_Template, 2, 0, "h4", 28);
|
|
1323
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](5, FhirSearchDlgComponent_ng_template_9_div_25_h4_5_Template, 2, 0, "h4", 28);
|
|
1319
1324
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1320
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "div",
|
|
1321
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](7, "button",
|
|
1325
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "div", 29);
|
|
1326
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](7, "button", 30);
|
|
1322
1327
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function FhirSearchDlgComponent_ng_template_9_div_25_Template_button_click_7_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r19); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); return ctx_r18.prevPage(); });
|
|
1323
1328
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](8, "Previous");
|
|
1324
1329
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1325
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](9, "button",
|
|
1330
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](9, "button", 30);
|
|
1326
1331
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function FhirSearchDlgComponent_ng_template_9_div_25_Template_button_click_9_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r19); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); return ctx_r20.nextPage(); });
|
|
1327
1332
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](10, "Next");
|
|
1328
1333
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
@@ -1458,13 +1463,13 @@ function FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_div_11_Templat
|
|
|
1458
1463
|
} }
|
|
1459
1464
|
function FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
1460
1465
|
const _r40 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
|
|
1461
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "a",
|
|
1466
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "a", 35);
|
|
1462
1467
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r40); const q_r28 = ctx.$implicit; const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](3); return ctx_r39.close(q_r28.id); });
|
|
1463
1468
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "div", 9);
|
|
1464
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "div",
|
|
1469
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "div", 36);
|
|
1465
1470
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3);
|
|
1466
1471
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1467
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "div",
|
|
1472
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "div", 37);
|
|
1468
1473
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](5, FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_div_5_Template, 2, 1, "div", 15);
|
|
1469
1474
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](6, FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_div_6_Template, 2, 0, "div", 15);
|
|
1470
1475
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](7, "div");
|
|
@@ -1497,9 +1502,9 @@ function FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_Template(rf, c
|
|
|
1497
1502
|
} }
|
|
1498
1503
|
function FhirSearchDlgComponent_ng_template_11_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
1499
1504
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0);
|
|
1500
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "div",
|
|
1501
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "div",
|
|
1502
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](3, FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_Template, 12, 7, "a",
|
|
1505
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "div", 32);
|
|
1506
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "div", 33);
|
|
1507
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](3, FhirSearchDlgComponent_ng_template_11_ng_container_0_a_3_Template, 12, 7, "a", 34);
|
|
1503
1508
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1504
1509
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
|
|
1505
1510
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"]();
|
|
@@ -1688,7 +1693,7 @@ class FhirSearchDlgComponent {
|
|
|
1688
1693
|
}
|
|
1689
1694
|
}
|
|
1690
1695
|
FhirSearchDlgComponent.ɵfac = function FhirSearchDlgComponent_Factory(t) { return new (t || FhirSearchDlgComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_services_fhir_service__WEBPACK_IMPORTED_MODULE_4__["FhirService"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbActiveModal"])); };
|
|
1691
|
-
FhirSearchDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: FhirSearchDlgComponent, selectors: [["lfb-fhir-search-dlg"]], decls: 13, vars: 2, consts: [[1, "modal-header", "bg-primary"], [1, "modal-title", "text-white"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true", 1, "text-white"], [1, "modal-header"], [4, "ngTemplateOutlet"], ["search", ""], ["results", ""], [1, "container"], [1, "row"], [1, "col"], [1, "input-group", "input-group-sm"], ["type", "text", "aria-label", "Search term", "aria-describedby", "filterHelp", 1, "form-control", 3, "ngModel", "ngModelOptions", "placeholder", "ngModelChange"], ["type", "button", "id", "button-addon2", 1, "align-self-baseline", "btn", "btn-sm", "btn-primary", "input-group-append", 3, "disabled", "click"], ["class", "spinner-border spinner-border-sm mr-2", "aria-hidden", "true", "role", "status", 4, "ngIf"], [4, "ngIf"], ["ngbTooltip", "Choose a search field and enter the search term. Choosing 'Any text field' implies searching '_content'. Please refer to FHIR REST API for details.", 1, "ml-1", "align-self-end"], [3, "icon"], [1, "col", "form-group", "d-sm-inline-flex"], ["for", "SelectFHIRServer1", 1, "align-self-center", "mb-0", "text-nowrap"], ["id", "SelectFHIRServer1", 1, "form-control", "form-control-sm", 3, "ngModel", "ngModelOptions", "ngModelChange"], [3, "ngValue", 4, "ngFor", "ngForOf"], [1, "m-0", "mb-2", "row"], ["for", "searchField1", 1, "align-self-center", "mb-0", "mr-2", "text-nowrap"], ["id", "searchField1", 1, "form-control", "form-control-sm", "w-auto", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["class", "row", 4, "ngIf"], ["aria-hidden", "true", "role", "status", 1, "spinner-border", "spinner-border-sm", "mr-2"], [3, "ngValue"], ["role", "group", "aria-label", "Navigation", 1, "col-auto", "btn-group", "btn-group-sm", "btn-sm", "float-right"], ["type", "button", 1, "btn", "btn-outline-primary", 3, "disabled", "click"], [1, "modal-body", "bg-light"], [1, "list-group", "list-group-flush"], ["href", "#", "class", "list-group-item list-group-item-action result-item", 3, "click", 4, "ngFor", "ngForOf"], ["href", "#", 1, "list-group-item", "list-group-item-action", "result-item", 3, "click"], [1, "col-1"], [1, "col-11"]], template: function FhirSearchDlgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1696
|
+
FhirSearchDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: FhirSearchDlgComponent, selectors: [["lfb-fhir-search-dlg"]], decls: 13, vars: 2, consts: [["role", "dialog", 1, "modal-header", "bg-primary"], [1, "modal-title", "text-white"], ["type", "button btn-sm", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true", 1, "text-white"], [1, "modal-header"], [4, "ngTemplateOutlet"], ["search", ""], ["results", ""], ["role", "search", "aria-label", "Search selected FHIR server", 1, "container"], [1, "row"], [1, "col"], [1, "input-group", "input-group-sm"], ["type", "text", "aria-label", "Search term", "aria-describedby", "filterHelp", 1, "form-control", 3, "ngModel", "ngModelOptions", "placeholder", "ngModelChange"], ["type", "button", "id", "button-addon2", 1, "align-self-baseline", "btn", "btn-sm", "btn-primary", "input-group-append", 3, "disabled", "click"], ["class", "spinner-border spinner-border-sm mr-2", "aria-hidden", "true", "role", "status", 4, "ngIf"], [4, "ngIf"], ["ngbTooltip", "Choose a search field and enter the search term. Choosing 'Any text field' implies searching '_content'. Please refer to FHIR REST API for details.", 1, "ml-1", "align-self-end"], [3, "icon"], [1, "col", "form-group", "d-sm-inline-flex"], ["for", "SelectFHIRServer1", 1, "align-self-center", "mb-0", "text-nowrap"], ["id", "SelectFHIRServer1", 1, "form-control", "form-control-sm", 3, "ngModel", "ngModelOptions", "ngModelChange"], [3, "ngValue", 4, "ngFor", "ngForOf"], [1, "m-0", "mb-2", "row"], ["for", "searchField1", 1, "align-self-center", "mb-0", "mr-2", "text-nowrap"], ["id", "searchField1", 1, "form-control", "form-control-sm", "w-auto", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["class", "row", 4, "ngIf"], ["aria-hidden", "true", "role", "status", 1, "spinner-border", "spinner-border-sm", "mr-2"], [3, "ngValue"], ["role", "alert", 4, "ngIf"], ["role", "group", "aria-label", "Navigation", 1, "col-auto", "btn-group", "btn-group-sm", "btn-sm", "float-right"], ["type", "button", 1, "btn", "btn-outline-primary", 3, "disabled", "click"], ["role", "alert"], ["aria-live", "polite", 1, "modal-body", "bg-light"], [1, "list-group", "list-group-flush"], ["href", "#", "class", "list-group-item list-group-item-action result-item", 3, "click", 4, "ngFor", "ngForOf"], ["href", "#", 1, "list-group-item", "list-group-item-action", "result-item", 3, "click"], [1, "col-1"], [1, "col-11"]], template: function FhirSearchDlgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1692
1697
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 0);
|
|
1693
1698
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "h4", 1);
|
|
1694
1699
|
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](2, "Import a questionnaire");
|
|
@@ -3582,38 +3587,50 @@ TitleComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineCom
|
|
|
3582
3587
|
"use strict";
|
|
3583
3588
|
__webpack_require__.r(__webpack_exports__);
|
|
3584
3589
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FhirServersDlgComponent", function() { return FhirServersDlgComponent; });
|
|
3585
|
-
/* harmony import */ var
|
|
3586
|
-
/* harmony import */ var
|
|
3587
|
-
/* harmony import */ var
|
|
3588
|
-
/* harmony import */ var
|
|
3589
|
-
/* harmony import */ var
|
|
3590
|
+
/* harmony import */ var _user_specified_server_dlg_user_specified_server_dlg_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../user-specified-server-dlg/user-specified-server-dlg.component */ "pcHo");
|
|
3591
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
3592
|
+
/* harmony import */ var _services_fhir_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../services/fhir.service */ "LV/2");
|
|
3593
|
+
/* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "G0yt");
|
|
3594
|
+
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ "s7LF");
|
|
3595
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
3590
3596
|
|
|
3591
3597
|
|
|
3592
3598
|
|
|
3593
3599
|
|
|
3594
3600
|
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3601
|
+
|
|
3602
|
+
function FhirServersDlgComponent_tr_21_Template(rf, ctx) { if (rf & 1) {
|
|
3603
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "tr");
|
|
3604
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "th", 13);
|
|
3605
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "label", 14);
|
|
3606
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "input", 15);
|
|
3607
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3608
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3609
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "td", 16);
|
|
3610
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "label");
|
|
3611
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6);
|
|
3612
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3613
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3614
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "td", 16);
|
|
3615
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](8);
|
|
3616
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3617
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "td", 16);
|
|
3618
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10);
|
|
3619
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3620
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3609
3621
|
} if (rf & 2) {
|
|
3610
3622
|
const fhirServer_r1 = ctx.$implicit;
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3623
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
3624
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("value", fhirServer_r1);
|
|
3625
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("id", fhirServer_r1.endpoint);
|
|
3626
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
3627
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("for", fhirServer_r1.endpoint);
|
|
3628
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
3629
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](fhirServer_r1.endpoint);
|
|
3630
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
3631
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](fhirServer_r1.version);
|
|
3632
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
3633
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](fhirServer_r1.desc);
|
|
3617
3634
|
} }
|
|
3618
3635
|
class FhirServersDlgComponent {
|
|
3619
3636
|
constructor(fhirService, modalService, activeModal) {
|
|
@@ -3625,6 +3642,18 @@ class FhirServersDlgComponent {
|
|
|
3625
3642
|
}
|
|
3626
3643
|
ngOnInit() {
|
|
3627
3644
|
}
|
|
3645
|
+
/**
|
|
3646
|
+
* Button handler to add user specified FHIR server to the list.
|
|
3647
|
+
*/
|
|
3648
|
+
addFHIRServer() {
|
|
3649
|
+
const modalRef = this.modalService.open(_user_specified_server_dlg_user_specified_server_dlg_component__WEBPACK_IMPORTED_MODULE_0__["UserSpecifiedServerDlgComponent"]);
|
|
3650
|
+
modalRef.result.then((fhirServer) => {
|
|
3651
|
+
if (!this.fhirService.hasFhirServer(fhirServer.endpoint)) {
|
|
3652
|
+
this.fhirService.addNewFhirServer(fhirServer);
|
|
3653
|
+
}
|
|
3654
|
+
this.selectedServer = this.fhirService.getFhirServer();
|
|
3655
|
+
}, (cancelled) => { });
|
|
3656
|
+
}
|
|
3628
3657
|
/**
|
|
3629
3658
|
* Handler for continue button
|
|
3630
3659
|
*/
|
|
@@ -3639,54 +3668,66 @@ class FhirServersDlgComponent {
|
|
|
3639
3668
|
this.activeModal.close(false);
|
|
3640
3669
|
}
|
|
3641
3670
|
}
|
|
3642
|
-
FhirServersDlgComponent.ɵfac = function FhirServersDlgComponent_Factory(t) { return new (t || FhirServersDlgComponent)(
|
|
3643
|
-
FhirServersDlgComponent.ɵcmp =
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3671
|
+
FhirServersDlgComponent.ɵfac = function FhirServersDlgComponent_Factory(t) { return new (t || FhirServersDlgComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_fhir_service__WEBPACK_IMPORTED_MODULE_2__["FhirService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModal"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbActiveModal"])); };
|
|
3672
|
+
FhirServersDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: FhirServersDlgComponent, selectors: [["lfb-fhir-servers-dlg"]], inputs: { fhirServerList: "fhirServerList" }, decls: 29, vars: 2, consts: [["role", "dialog", "aria-labelledby", "serverDlgTitle", "aria-describedby", "ServerListCaption"], [1, "modal-header", "bg-primary"], ["id", "serverDlgTitle", 1, "modal-title", "text-white"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true", 1, "text-white"], [1, "modal-body"], [1, "table", "table-sm", "table-striped", "table-bordered"], ["id", "serverListCaption"], ["scope", "col"], ["ngbRadioGroup", "", "name", "fhirServer", 3, "ngModel", "ngModelChange"], [4, "ngFor", "ngForOf"], [1, "modal-footer", "btn-group-sm", "border-0"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], ["scope", "row", 1, "align-middle"], ["ngbButtonLabel", "", 1, "m-0", "p-0"], ["ngbButton", "", "type", "radio", 3, "value"], [1, "align-middle"]], template: function FhirServersDlgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3673
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
|
|
3674
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
|
|
3675
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "h4", 2);
|
|
3676
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "Choose a FHIR server");
|
|
3677
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3678
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "button", 3);
|
|
3679
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirServersDlgComponent_Template_button_click_4_listener() { return ctx.dismiss(); });
|
|
3680
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "span", 4);
|
|
3681
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6, "\u00D7");
|
|
3682
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3683
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3684
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3685
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "div", 5);
|
|
3686
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "table", 6);
|
|
3687
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "caption", 7);
|
|
3688
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10, "List of available FHIR servers.");
|
|
3689
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3690
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "thead");
|
|
3691
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "tr");
|
|
3692
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](13, "th", 8);
|
|
3693
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "th", 8);
|
|
3694
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](15, "Fhir Server");
|
|
3695
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3696
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "th", 8);
|
|
3697
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](17, "FHIR Version");
|
|
3698
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3699
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](18, "th", 8);
|
|
3700
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](19, "Description");
|
|
3701
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3702
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3703
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3704
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](20, "tbody", 9);
|
|
3705
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function FhirServersDlgComponent_Template_tbody_ngModelChange_20_listener($event) { return ctx.selectedServer = $event; });
|
|
3706
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](21, FhirServersDlgComponent_tr_21_Template, 11, 6, "tr", 10);
|
|
3707
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3708
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3709
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3710
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](22, "div", 11);
|
|
3711
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](23, "button", 12);
|
|
3712
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirServersDlgComponent_Template_button_click_23_listener() { return ctx.addFHIRServer(); });
|
|
3713
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](24, "Add your FHIR server...");
|
|
3714
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3715
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](25, "button", 12);
|
|
3716
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirServersDlgComponent_Template_button_click_25_listener() { return ctx.continue(); });
|
|
3717
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](26, "Continue");
|
|
3718
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3719
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](27, "button", 12);
|
|
3720
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirServersDlgComponent_Template_button_click_27_listener() { return ctx.dismiss(); });
|
|
3721
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](28, "Cancel");
|
|
3722
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3723
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3724
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3684
3725
|
} if (rf & 2) {
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
} }, directives: [
|
|
3726
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](20);
|
|
3727
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", ctx.selectedServer);
|
|
3728
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
3729
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.fhirServerList);
|
|
3730
|
+
} }, directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbRadioGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbButtonLabel"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbRadio"]], styles: ["caption[_ngcontent-%COMP%] {\n caption-side: top;\n font-size: 130%;\n }"] });
|
|
3690
3731
|
|
|
3691
3732
|
|
|
3692
3733
|
/***/ }),
|
|
@@ -4172,6 +4213,23 @@ class FhirService {
|
|
|
4172
4213
|
getSmartClient() {
|
|
4173
4214
|
return this.smartClient;
|
|
4174
4215
|
}
|
|
4216
|
+
/**
|
|
4217
|
+
* Add new FHIR server to the list.
|
|
4218
|
+
* @param newFHIRServer - New server objecy
|
|
4219
|
+
*/
|
|
4220
|
+
addNewFhirServer(newFHIRServer) {
|
|
4221
|
+
this.fhirServerList.unshift(newFHIRServer);
|
|
4222
|
+
this.setFhirServer(newFHIRServer);
|
|
4223
|
+
}
|
|
4224
|
+
/**
|
|
4225
|
+
* Find out if a fhir server object exists for a base url.
|
|
4226
|
+
* @param endpoint - Base url to search.
|
|
4227
|
+
*/
|
|
4228
|
+
hasFhirServer(endpoint) {
|
|
4229
|
+
return this.fhirServerList.some((server) => {
|
|
4230
|
+
return server.endpoint === endpoint;
|
|
4231
|
+
});
|
|
4232
|
+
}
|
|
4175
4233
|
}
|
|
4176
4234
|
FhirService.ɵfac = function FhirService_Factory(t) { return new (t || FhirService)(); };
|
|
4177
4235
|
FhirService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ token: FhirService, factory: FhirService.ɵfac, providedIn: 'root' });
|
|
@@ -5243,25 +5301,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5243
5301
|
/* harmony import */ var _lib_widgets_enable_behavior_enable_behavior_component__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./lib/widgets/enable-behavior/enable-behavior.component */ "jOTx");
|
|
5244
5302
|
/* harmony import */ var _lib_widgets_message_dlg_message_dlg_component__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./lib/widgets/message-dlg/message-dlg.component */ "ylp1");
|
|
5245
5303
|
/* harmony import */ var _lib_widgets_fhir_servers_dlg_fhir_servers_dlg_component__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./lib/widgets/fhir-servers-dlg/fhir-servers-dlg.component */ "I2h3");
|
|
5246
|
-
/* harmony import */ var
|
|
5247
|
-
/* harmony import */ var
|
|
5248
|
-
/* harmony import */ var
|
|
5249
|
-
/* harmony import */ var
|
|
5250
|
-
/* harmony import */ var
|
|
5251
|
-
/* harmony import */ var
|
|
5252
|
-
/* harmony import */ var
|
|
5253
|
-
/* harmony import */ var
|
|
5254
|
-
/* harmony import */ var
|
|
5255
|
-
/* harmony import */ var
|
|
5256
|
-
/* harmony import */ var
|
|
5257
|
-
/* harmony import */ var
|
|
5258
|
-
/* harmony import */ var
|
|
5259
|
-
/* harmony import */ var
|
|
5260
|
-
/* harmony import */ var
|
|
5261
|
-
/* harmony import */ var
|
|
5262
|
-
/* harmony import */ var
|
|
5263
|
-
/* harmony import */ var
|
|
5264
|
-
/* harmony import */ var
|
|
5304
|
+
/* harmony import */ var _lib_widgets_user_specified_server_dlg_user_specified_server_dlg_component__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./lib/widgets/user-specified-server-dlg/user-specified-server-dlg.component */ "pcHo");
|
|
5305
|
+
/* harmony import */ var _lib_widgets_fhir_search_dlg_fhir_search_dlg_component__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./lib/widgets/fhir-search-dlg/fhir-search-dlg.component */ "8v5r");
|
|
5306
|
+
/* harmony import */ var _lib_widgets_boolean_radio_boolean_radio_component__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./lib/widgets/boolean-radio/boolean-radio.component */ "lW1P");
|
|
5307
|
+
/* harmony import */ var _lib_widgets_units_units_component__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./lib/widgets/units/units.component */ "E+b4");
|
|
5308
|
+
/* harmony import */ var _lib_widgets_extensions_extensions_component__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./lib/widgets/extensions/extensions.component */ "Rf/+");
|
|
5309
|
+
/* harmony import */ var _lib_widgets_total_score_total_score_component__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./lib/widgets/total-score/total-score.component */ "JQeg");
|
|
5310
|
+
/* harmony import */ var rule_editor__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! rule-editor */ "G6Js");
|
|
5311
|
+
/* harmony import */ var _lib_widgets_answer_option_answer_option_component__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./lib/widgets/answer-option/answer-option.component */ "waZ+");
|
|
5312
|
+
/* harmony import */ var _lib_widgets_initial_initial_component__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./lib/widgets/initial/initial.component */ "CvSm");
|
|
5313
|
+
/* harmony import */ var _lib_widgets_help_text_help_text_component__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./lib/widgets/help-text/help-text.component */ "VhIx");
|
|
5314
|
+
/* harmony import */ var _sf_form_wrapper_sf_form_wrapper_component__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./sf-form-wrapper/sf-form-wrapper.component */ "DLBw");
|
|
5315
|
+
/* harmony import */ var _lib_widgets_type_type_component__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./lib/widgets/type/type.component */ "wUBX");
|
|
5316
|
+
/* harmony import */ var _lib_widgets_preview_dlg_preview_dlg_component__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./lib/widgets/preview-dlg/preview-dlg.component */ "w73l");
|
|
5317
|
+
/* harmony import */ var _lib_widgets_fhir_export_dlg_fhir_export_dlg_component__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./lib/widgets/fhir-export-dlg/fhir-export-dlg.component */ "rV6X");
|
|
5318
|
+
/* harmony import */ var _lib_widgets_loinc_notice_loinc_notice_component__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./lib/widgets/loinc-notice/loinc-notice.component */ "c/CK");
|
|
5319
|
+
/* harmony import */ var _lib_widgets_string_with_css_string_with_css_component__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./lib/widgets/string-with-css/string-with-css.component */ "Qva7");
|
|
5320
|
+
/* harmony import */ var _lib_widgets_restrictions_restrictions_component__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./lib/widgets/restrictions/restrictions.component */ "ySaZ");
|
|
5321
|
+
/* harmony import */ var _lib_widgets_restrictions_operator_restrictions_operator_component__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./lib/widgets/restrictions-operator/restrictions-operator.component */ "W1P/");
|
|
5322
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
5323
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
5324
|
+
|
|
5265
5325
|
|
|
5266
5326
|
|
|
5267
5327
|
|
|
@@ -5351,8 +5411,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5351
5411
|
class AppModule {
|
|
5352
5412
|
}
|
|
5353
5413
|
AppModule.ɵfac = function AppModule_Factory(t) { return new (t || AppModule)(); };
|
|
5354
|
-
AppModule.ɵmod =
|
|
5355
|
-
AppModule.ɵinj =
|
|
5414
|
+
AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_80__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_2__["AppComponent"]] });
|
|
5415
|
+
AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_80__["ɵɵdefineInjector"]({ providers: [{ provide: _lhncbc_ngx_schema_form__WEBPACK_IMPORTED_MODULE_1__["WidgetRegistry"], useClass: _lib_lforms_widget_registry__WEBPACK_IMPORTED_MODULE_31__["LformsWidgetRegistry"] }, _lib_pipes_app_json_pipe__WEBPACK_IMPORTED_MODULE_53__["AppJsonPipe"]], imports: [[
|
|
5356
5416
|
_app_routing_module__WEBPACK_IMPORTED_MODULE_3__["AppRoutingModule"],
|
|
5357
5417
|
_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
|
|
5358
5418
|
_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__["BrowserAnimationsModule"],
|
|
@@ -5375,7 +5435,7 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_79__["ɵɵdefineInjecto
|
|
|
5375
5435
|
_angular_material_toolbar__WEBPACK_IMPORTED_MODULE_23__["MatToolbarModule"],
|
|
5376
5436
|
_angular_material_tooltip__WEBPACK_IMPORTED_MODULE_24__["MatTooltipModule"],
|
|
5377
5437
|
_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbModule"],
|
|
5378
|
-
|
|
5438
|
+
rule_editor__WEBPACK_IMPORTED_MODULE_68__["RuleEditorModule"],
|
|
5379
5439
|
_lhncbc_ngx_schema_form__WEBPACK_IMPORTED_MODULE_1__["SchemaFormModule"].forRoot(),
|
|
5380
5440
|
_circlon_angular_tree_component__WEBPACK_IMPORTED_MODULE_27__["TreeModule"],
|
|
5381
5441
|
_angular_forms__WEBPACK_IMPORTED_MODULE_5__["ReactiveFormsModule"],
|
|
@@ -5383,7 +5443,7 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_79__["ɵɵdefineInjecto
|
|
|
5383
5443
|
_angular_material_select__WEBPACK_IMPORTED_MODULE_45__["MatSelectModule"],
|
|
5384
5444
|
_angular_material_dialog__WEBPACK_IMPORTED_MODULE_12__["MatDialogModule"],
|
|
5385
5445
|
]] });
|
|
5386
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) &&
|
|
5446
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_80__["ɵɵsetNgModuleScope"](AppModule, { declarations: [_app_component__WEBPACK_IMPORTED_MODULE_2__["AppComponent"],
|
|
5387
5447
|
_ngx_schema_form_ngx_schema_form_component__WEBPACK_IMPORTED_MODULE_26__["NgxSchemaFormComponent"],
|
|
5388
5448
|
_item_item_component__WEBPACK_IMPORTED_MODULE_8__["ItemComponent"],
|
|
5389
5449
|
_lib_widgets_item_json_editor_item_json_editor_component__WEBPACK_IMPORTED_MODULE_28__["ItemJsonEditorComponent"],
|
|
@@ -5418,22 +5478,23 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_79__["ɵɵdefineInjecto
|
|
|
5418
5478
|
_lib_widgets_enable_behavior_enable_behavior_component__WEBPACK_IMPORTED_MODULE_59__["EnableBehaviorComponent"],
|
|
5419
5479
|
_lib_widgets_message_dlg_message_dlg_component__WEBPACK_IMPORTED_MODULE_60__["MessageDlgComponent"],
|
|
5420
5480
|
_lib_widgets_fhir_servers_dlg_fhir_servers_dlg_component__WEBPACK_IMPORTED_MODULE_61__["FhirServersDlgComponent"],
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5481
|
+
_lib_widgets_user_specified_server_dlg_user_specified_server_dlg_component__WEBPACK_IMPORTED_MODULE_62__["UserSpecifiedServerDlgComponent"],
|
|
5482
|
+
_lib_widgets_fhir_search_dlg_fhir_search_dlg_component__WEBPACK_IMPORTED_MODULE_63__["FhirSearchDlgComponent"],
|
|
5483
|
+
_lib_widgets_boolean_radio_boolean_radio_component__WEBPACK_IMPORTED_MODULE_64__["BooleanRadioComponent"],
|
|
5484
|
+
_lib_widgets_units_units_component__WEBPACK_IMPORTED_MODULE_65__["UnitsComponent"],
|
|
5485
|
+
_lib_widgets_extensions_extensions_component__WEBPACK_IMPORTED_MODULE_66__["ExtensionsComponent"],
|
|
5486
|
+
_lib_widgets_total_score_total_score_component__WEBPACK_IMPORTED_MODULE_67__["TotalScoreComponent"],
|
|
5487
|
+
_lib_widgets_answer_option_answer_option_component__WEBPACK_IMPORTED_MODULE_69__["AnswerOptionComponent"],
|
|
5488
|
+
_lib_widgets_initial_initial_component__WEBPACK_IMPORTED_MODULE_70__["InitialComponent"],
|
|
5489
|
+
_lib_widgets_help_text_help_text_component__WEBPACK_IMPORTED_MODULE_71__["HelpTextComponent"],
|
|
5490
|
+
_sf_form_wrapper_sf_form_wrapper_component__WEBPACK_IMPORTED_MODULE_72__["SfFormWrapperComponent"],
|
|
5491
|
+
_lib_widgets_type_type_component__WEBPACK_IMPORTED_MODULE_73__["TypeComponent"],
|
|
5492
|
+
_lib_widgets_preview_dlg_preview_dlg_component__WEBPACK_IMPORTED_MODULE_74__["PreviewDlgComponent"],
|
|
5493
|
+
_lib_widgets_fhir_export_dlg_fhir_export_dlg_component__WEBPACK_IMPORTED_MODULE_75__["FhirExportDlgComponent"],
|
|
5494
|
+
_lib_widgets_loinc_notice_loinc_notice_component__WEBPACK_IMPORTED_MODULE_76__["LoincNoticeComponent"],
|
|
5495
|
+
_lib_widgets_string_with_css_string_with_css_component__WEBPACK_IMPORTED_MODULE_77__["StringWithCssComponent"],
|
|
5496
|
+
_lib_widgets_restrictions_restrictions_component__WEBPACK_IMPORTED_MODULE_78__["RestrictionsComponent"],
|
|
5497
|
+
_lib_widgets_restrictions_operator_restrictions_operator_component__WEBPACK_IMPORTED_MODULE_79__["RestrictionsOperatorComponent"]], imports: [_app_routing_module__WEBPACK_IMPORTED_MODULE_3__["AppRoutingModule"],
|
|
5437
5498
|
_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
|
|
5438
5499
|
_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__["BrowserAnimationsModule"],
|
|
5439
5500
|
_angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"],
|
|
@@ -5455,13 +5516,13 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_79__["ɵɵdefineInjecto
|
|
|
5455
5516
|
_angular_material_toolbar__WEBPACK_IMPORTED_MODULE_23__["MatToolbarModule"],
|
|
5456
5517
|
_angular_material_tooltip__WEBPACK_IMPORTED_MODULE_24__["MatTooltipModule"],
|
|
5457
5518
|
_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbModule"],
|
|
5458
|
-
|
|
5519
|
+
rule_editor__WEBPACK_IMPORTED_MODULE_68__["RuleEditorModule"], _lhncbc_ngx_schema_form__WEBPACK_IMPORTED_MODULE_1__["SchemaFormModule"], _circlon_angular_tree_component__WEBPACK_IMPORTED_MODULE_27__["TreeModule"],
|
|
5459
5520
|
_angular_forms__WEBPACK_IMPORTED_MODULE_5__["ReactiveFormsModule"],
|
|
5460
5521
|
_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_10__["MatAutocompleteModule"],
|
|
5461
5522
|
_angular_material_select__WEBPACK_IMPORTED_MODULE_45__["MatSelectModule"],
|
|
5462
5523
|
_angular_material_dialog__WEBPACK_IMPORTED_MODULE_12__["MatDialogModule"]] }); })();
|
|
5463
|
-
|
|
5464
|
-
_lib_widgets_item_json_editor_item_json_editor_component__WEBPACK_IMPORTED_MODULE_28__["ItemJsonEditorComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_ba"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgForm"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbRadioGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"],
|
|
5524
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_80__["ɵɵsetComponentScope"](_item_item_component__WEBPACK_IMPORTED_MODULE_8__["ItemComponent"], [_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_20__["MatSidenavContainer"], _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_20__["MatSidenav"], _circlon_angular_tree_component__WEBPACK_IMPORTED_MODULE_27__["TreeComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_81__["NgClass"], _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_20__["MatSidenavContent"], _angular_common__WEBPACK_IMPORTED_MODULE_81__["NgIf"], _ngx_schema_form_ngx_schema_form_component__WEBPACK_IMPORTED_MODULE_26__["NgxSchemaFormComponent"],
|
|
5525
|
+
_lib_widgets_item_json_editor_item_json_editor_component__WEBPACK_IMPORTED_MODULE_28__["ItemJsonEditorComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_ba"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgForm"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbRadioGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _angular_common__WEBPACK_IMPORTED_MODULE_81__["NgForOf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbButtonLabel"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbRadio"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbTypeahead"]], []);
|
|
5465
5526
|
|
|
5466
5527
|
|
|
5467
5528
|
/***/ }),
|
|
@@ -6616,7 +6677,7 @@ class FooterComponent {
|
|
|
6616
6677
|
}
|
|
6617
6678
|
}
|
|
6618
6679
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_icon__WEBPACK_IMPORTED_MODULE_1__["MatIconRegistry"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["DomSanitizer"])); };
|
|
6619
|
-
FooterComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: FooterComponent, selectors: [["lfb-footer"]], decls: 30, vars: 0, consts: [["id", "fine-print"], [1, "horz-list"], ["title", "NLM copyright information", "href", "http://www.nlm.nih.gov/copyright.html"], ["title", "NLM privacy policy", "href", "http://www.nlm.nih.gov/privacy.html"], ["title", "NLM accessibility", "href", "http://www.nlm.nih.gov/accessibility.html"], ["title", "NIH Freedom of Information Act office", "href", "http://www.nih.gov/icd/od/foia/index.htm"], [1, "last-item"], ["href", "https://lhncbc.nlm.nih.gov/contact-us"], ["title", "U.S. National Library of Medicine", "href", "http://www.nlm.nih.gov/"], ["title", "U.S. National Institutes of Health", "href", "http://www.nih.gov/"], ["title", "U.S. Department of Health and Human\n Services", "href", "http://www.hhs.gov/"], ["title", "USA.gov", "href", "http://www.usa.gov/"], ["svgIcon", "USAgov", "alt", "USA.gov", "id", "usagov"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6680
|
+
FooterComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: FooterComponent, selectors: [["lfb-footer"]], decls: 30, vars: 0, consts: [["role", "contentinfo", "id", "fine-print"], [1, "horz-list"], ["title", "NLM copyright information", "href", "http://www.nlm.nih.gov/copyright.html"], ["title", "NLM privacy policy", "href", "http://www.nlm.nih.gov/privacy.html"], ["title", "NLM accessibility", "href", "http://www.nlm.nih.gov/accessibility.html"], ["title", "NIH Freedom of Information Act office", "href", "http://www.nih.gov/icd/od/foia/index.htm"], [1, "last-item"], ["href", "https://lhncbc.nlm.nih.gov/contact-us"], ["title", "U.S. National Library of Medicine", "href", "http://www.nlm.nih.gov/"], ["title", "U.S. National Institutes of Health", "href", "http://www.nih.gov/"], ["title", "U.S. Department of Health and Human\n Services", "href", "http://www.hhs.gov/"], ["title", "USA.gov", "href", "http://www.usa.gov/"], ["svgIcon", "USAgov", "alt", "USA.gov", "id", "usagov"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6620
6681
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
|
|
6621
6682
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ul", 1);
|
|
6622
6683
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "li");
|
|
@@ -8010,6 +8071,197 @@ ItemJsonEditorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵ
|
|
|
8010
8071
|
} }, styles: [".app-ace-editor[_ngcontent-%COMP%] {\n border: 2px solid #f8f9fa;\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n }"] });
|
|
8011
8072
|
|
|
8012
8073
|
|
|
8074
|
+
/***/ }),
|
|
8075
|
+
|
|
8076
|
+
/***/ "pcHo":
|
|
8077
|
+
/*!**********************************************************************************************!*\
|
|
8078
|
+
!*** ./src/app/lib/widgets/user-specified-server-dlg/user-specified-server-dlg.component.ts ***!
|
|
8079
|
+
\**********************************************************************************************/
|
|
8080
|
+
/*! exports provided: UserSpecifiedServerDlgComponent */
|
|
8081
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8082
|
+
|
|
8083
|
+
"use strict";
|
|
8084
|
+
__webpack_require__.r(__webpack_exports__);
|
|
8085
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserSpecifiedServerDlgComponent", function() { return UserSpecifiedServerDlgComponent; });
|
|
8086
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
8087
|
+
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "IheW");
|
|
8088
|
+
/* harmony import */ var _services_fhir_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../services/fhir.service */ "LV/2");
|
|
8089
|
+
/* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "G0yt");
|
|
8090
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
8091
|
+
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "s7LF");
|
|
8092
|
+
|
|
8093
|
+
|
|
8094
|
+
|
|
8095
|
+
|
|
8096
|
+
|
|
8097
|
+
|
|
8098
|
+
|
|
8099
|
+
|
|
8100
|
+
const _c0 = ["inputEl"];
|
|
8101
|
+
function UserSpecifiedServerDlgComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
8102
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 18);
|
|
8103
|
+
} }
|
|
8104
|
+
function UserSpecifiedServerDlgComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
8105
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 19);
|
|
8106
|
+
} }
|
|
8107
|
+
function UserSpecifiedServerDlgComponent_p_10_Template(rf, ctx) { if (rf & 1) {
|
|
8108
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p", 20);
|
|
8109
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
8110
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8111
|
+
} if (rf & 2) {
|
|
8112
|
+
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
8113
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
8114
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r2.message);
|
|
8115
|
+
} }
|
|
8116
|
+
function UserSpecifiedServerDlgComponent_p_11_Template(rf, ctx) { if (rf & 1) {
|
|
8117
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p", 21);
|
|
8118
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
8119
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8120
|
+
} if (rf & 2) {
|
|
8121
|
+
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
8122
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
8123
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r3.errorMessage);
|
|
8124
|
+
} }
|
|
8125
|
+
class UserSpecifiedServerDlgComponent {
|
|
8126
|
+
constructor(fhirService, _http, activeModal, modalService) {
|
|
8127
|
+
this.fhirService = fhirService;
|
|
8128
|
+
this._http = _http;
|
|
8129
|
+
this.activeModal = activeModal;
|
|
8130
|
+
this.modalService = modalService;
|
|
8131
|
+
this.valid = null;
|
|
8132
|
+
this.newServerObj = null;
|
|
8133
|
+
this.newServerObj = null;
|
|
8134
|
+
}
|
|
8135
|
+
ngOnInit() {
|
|
8136
|
+
}
|
|
8137
|
+
validateFHIRUrl(baseUrl) {
|
|
8138
|
+
this.message = null;
|
|
8139
|
+
this.errorMessage = null;
|
|
8140
|
+
this.newServerObj = null;
|
|
8141
|
+
const invalidUrlMsg = `You entered an invalid url: ${baseUrl}`;
|
|
8142
|
+
try {
|
|
8143
|
+
const url = new URL(baseUrl);
|
|
8144
|
+
if (!url.origin || !url.origin.match(/^https?:\/\/[^\/]+/i)) {
|
|
8145
|
+
this.errorMessage = invalidUrlMsg;
|
|
8146
|
+
return;
|
|
8147
|
+
}
|
|
8148
|
+
}
|
|
8149
|
+
catch (err) {
|
|
8150
|
+
this.errorMessage = invalidUrlMsg;
|
|
8151
|
+
return;
|
|
8152
|
+
}
|
|
8153
|
+
baseUrl = baseUrl.replace(/\/$/, '');
|
|
8154
|
+
const options = {};
|
|
8155
|
+
options.observe = 'response';
|
|
8156
|
+
options.responseType = 'json';
|
|
8157
|
+
options.params = (new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpParams"]())
|
|
8158
|
+
.set('_format', 'json')
|
|
8159
|
+
.set('_elements', 'fhirVersion,implementation'); // Gives a small response. Is this reliable?
|
|
8160
|
+
this._http.get(baseUrl.replace(/\/$/, '') + '/metadata', options)
|
|
8161
|
+
.subscribe((resp) => {
|
|
8162
|
+
var _a, _b;
|
|
8163
|
+
let ver = null;
|
|
8164
|
+
if (resp.status !== 200) {
|
|
8165
|
+
this.errorMessage = resp.statusText;
|
|
8166
|
+
return;
|
|
8167
|
+
}
|
|
8168
|
+
const body = resp.body;
|
|
8169
|
+
if (body.fhirVersion) {
|
|
8170
|
+
ver = LForms.Util._fhirVersionToRelease(body.fhirVersion); // Convert to R4, STU3 etc.
|
|
8171
|
+
if (ver === body.fhirVersion) {
|
|
8172
|
+
ver = null; // Not converted, unsupported version.
|
|
8173
|
+
}
|
|
8174
|
+
}
|
|
8175
|
+
if (ver) {
|
|
8176
|
+
const newServerObj = {
|
|
8177
|
+
id: this.fhirService.fhirServerList.length + 1,
|
|
8178
|
+
endpoint: ((_a = body.implementation) === null || _a === void 0 ? void 0 : _a.url) || baseUrl,
|
|
8179
|
+
desc: ((_b = body.implementation) === null || _b === void 0 ? void 0 : _b.description) || '',
|
|
8180
|
+
version: ver
|
|
8181
|
+
};
|
|
8182
|
+
// Remove any trailing slashes.
|
|
8183
|
+
newServerObj.endpoint = newServerObj.endpoint.replace(/\/+$/, '');
|
|
8184
|
+
this.message = `${baseUrl} was verified to be a FHIR server.`;
|
|
8185
|
+
this.newServerObj = newServerObj;
|
|
8186
|
+
}
|
|
8187
|
+
else {
|
|
8188
|
+
this.errorMessage = `${baseUrl} returned an unsupported FHIR version: ${body.fhirVersion}`;
|
|
8189
|
+
}
|
|
8190
|
+
}, (error) => {
|
|
8191
|
+
console.error(error.message);
|
|
8192
|
+
this.errorMessage = 'Unable to confirm that that URL is a FHIR server.';
|
|
8193
|
+
});
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8196
|
+
UserSpecifiedServerDlgComponent.ɵfac = function UserSpecifiedServerDlgComponent_Factory(t) { return new (t || UserSpecifiedServerDlgComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_fhir_service__WEBPACK_IMPORTED_MODULE_2__["FhirService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbActiveModal"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModal"])); };
|
|
8197
|
+
UserSpecifiedServerDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: UserSpecifiedServerDlgComponent, selectors: [["lfb-user-server-dlg"]], viewQuery: function UserSpecifiedServerDlgComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8198
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]);
|
|
8199
|
+
} if (rf & 2) {
|
|
8200
|
+
let _t;
|
|
8201
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.inputElRef = _t.first);
|
|
8202
|
+
} }, decls: 25, vars: 7, consts: [["role", "dialog", "aria-labelledby", "userServerDlgTitle"], ["id", "userServerDlgTitle", 1, "modal-header", "bg-primary", "text-white"], [1, "modal-title", "h5"], ["type", "button", "aria-label", "Close", 1, "close", "text-white", 3, "click"], ["aria-hidden", "true"], [1, "modal-body"], ["class", "ng-invalid", 4, "ngIf"], ["class", "ng-valid", 4, "ngIf"], ["class", "text-success", "role", "alert", "aria-atomic", "true", 4, "ngIf"], ["class", "text-danger", "role", "alert", "aria-atomic", "true", 4, "ngIf"], ["for", "urlInput"], [1, "input-group", "input-group-sm"], ["id", "urlInput", "type", "url", "required", "", "placeholder", "Enter valid url of your FHIR server", "aria-label", "", "aria-describedby", "filterHelp", 1, "form-control", 3, "ngModel", "ngModelChange"], ["urlInput", "ngModel"], ["type", "button", "id", "button-addon2", 1, "align-self-baseline", "btn", "btn-sm", "btn-primary", "input-group-append", 3, "disabled", "click"], [1, "modal-footer", "btn-group-sm", "border-0"], ["type", "button", 1, "btn", "btn-sm", "btn-primary", 3, "disabled", "click"], ["type", "button", 1, "btn", "btn-sm", "btn-primary", 3, "click"], [1, "ng-invalid"], [1, "ng-valid"], ["role", "alert", "aria-atomic", "true", 1, "text-success"], ["role", "alert", "aria-atomic", "true", 1, "text-danger"]], template: function UserSpecifiedServerDlgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8203
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
|
|
8204
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
|
|
8205
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 2);
|
|
8206
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "Add your FHIR server");
|
|
8207
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8208
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 3);
|
|
8209
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserSpecifiedServerDlgComponent_Template_button_click_4_listener() { return ctx.activeModal.dismiss("Cancel"); });
|
|
8210
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 4);
|
|
8211
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "\u00D7");
|
|
8212
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8213
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8214
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8215
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 5);
|
|
8216
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, UserSpecifiedServerDlgComponent_div_8_Template, 1, 0, "div", 6);
|
|
8217
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, UserSpecifiedServerDlgComponent_div_9_Template, 1, 0, "div", 7);
|
|
8218
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, UserSpecifiedServerDlgComponent_p_10_Template, 2, 1, "p", 8);
|
|
8219
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, UserSpecifiedServerDlgComponent_p_11_Template, 2, 1, "p", 9);
|
|
8220
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "label", 10);
|
|
8221
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "Specify base URL of your FHIR server");
|
|
8222
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8223
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 11);
|
|
8224
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "input", 12, 13);
|
|
8225
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function UserSpecifiedServerDlgComponent_Template_input_ngModelChange_15_listener($event) { return ctx.inputUrl = $event; });
|
|
8226
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8227
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "button", 14);
|
|
8228
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserSpecifiedServerDlgComponent_Template_button_click_17_listener() { return ctx.validateFHIRUrl(ctx.inputUrl); });
|
|
8229
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "span");
|
|
8230
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "Validate");
|
|
8231
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8232
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8233
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8234
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8235
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 15);
|
|
8236
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "button", 16);
|
|
8237
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserSpecifiedServerDlgComponent_Template_button_click_21_listener() { return ctx.activeModal.close(ctx.newServerObj); });
|
|
8238
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22, "Add");
|
|
8239
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8240
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "button", 17);
|
|
8241
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserSpecifiedServerDlgComponent_Template_button_click_23_listener() { return ctx.activeModal.dismiss("Cancel"); });
|
|
8242
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24, "Cancel");
|
|
8243
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8244
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8245
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
8246
|
+
} if (rf & 2) {
|
|
8247
|
+
const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](16);
|
|
8248
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](8);
|
|
8249
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.valid);
|
|
8250
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
8251
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.valid);
|
|
8252
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
8253
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.message);
|
|
8254
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
8255
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.errorMessage);
|
|
8256
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
8257
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx.inputUrl);
|
|
8258
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
8259
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", _r4.errors);
|
|
8260
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
8261
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", !ctx.newServerObj);
|
|
8262
|
+
} }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["RequiredValidator"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]], encapsulation: 2 });
|
|
8263
|
+
|
|
8264
|
+
|
|
8013
8265
|
/***/ }),
|
|
8014
8266
|
|
|
8015
8267
|
/***/ "pgtu":
|
|
@@ -8240,7 +8492,7 @@ EnableWhenSourceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵ
|
|
|
8240
8492
|
} if (rf & 2) {
|
|
8241
8493
|
let _t;
|
|
8242
8494
|
_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵloadQuery"]()) && (ctx.instance = _t.first);
|
|
8243
|
-
} }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInheritDefinitionFeature"]], decls: 5, vars: 3, consts: [["rt", ""], [3, "for", "title", "helpMessage", 4, "ngIf"], ["type", "text", "class", "form-control", 3, "formControl", "ngModel", "ngbTypeahead", "editable", "inputFormatter", "resultFormatter", "ngModelChange", "focus", "click", "selectItem", 4, "ngIf"], ["type", "hidden", 3, "formControl", 4, "ngIf"], [3, "result", "term"], [3, "for", "title", "helpMessage"], ["type", "text", 1, "form-control", 3, "formControl", "ngModel", "ngbTypeahead", "editable", "inputFormatter", "resultFormatter", "ngModelChange", "focus", "click", "selectItem"], ["instance", "ngbTypeahead"], ["type", "hidden", 3, "formControl"]], template: function EnableWhenSourceComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8495
|
+
} }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInheritDefinitionFeature"]], decls: 5, vars: 3, consts: [["rt", ""], [3, "for", "title", "helpMessage", 4, "ngIf"], ["type", "text", "class", "form-control", "popupClass", "add-scrolling", 3, "formControl", "ngModel", "ngbTypeahead", "editable", "inputFormatter", "resultFormatter", "ngModelChange", "focus", "click", "selectItem", 4, "ngIf"], ["type", "hidden", 3, "formControl", 4, "ngIf"], [3, "result", "term"], [3, "for", "title", "helpMessage"], ["type", "text", "popupClass", "add-scrolling", 1, "form-control", 3, "formControl", "ngModel", "ngbTypeahead", "editable", "inputFormatter", "resultFormatter", "ngModelChange", "focus", "click", "selectItem"], ["instance", "ngbTypeahead"], ["type", "hidden", 3, "formControl"]], template: function EnableWhenSourceComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8244
8496
|
_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](0, EnableWhenSourceComponent_ng_template_0_Template, 1, 2, "ng-template", null, 0, _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplateRefExtractor"]);
|
|
8245
8497
|
_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, EnableWhenSourceComponent_lfb_label_2_Template, 1, 3, "lfb-label", 1);
|
|
8246
8498
|
_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](3, EnableWhenSourceComponent_input_3_Template, 2, 9, "input", 2);
|
|
@@ -8277,21 +8529,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8277
8529
|
|
|
8278
8530
|
|
|
8279
8531
|
|
|
8280
|
-
function
|
|
8281
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div",
|
|
8282
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "
|
|
8283
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
|
|
8284
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["
|
|
8532
|
+
function FhirExportDlgComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
8533
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 9);
|
|
8534
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 10);
|
|
8535
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2, "The questionnaire is successfully created on the server.");
|
|
8536
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8537
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "pre", 11);
|
|
8538
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
|
|
8539
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "json");
|
|
8285
8540
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8286
8541
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8287
8542
|
} if (rf & 2) {
|
|
8288
8543
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
|
|
8289
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](
|
|
8290
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](
|
|
8544
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
|
|
8545
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 1, ctx_r0.serverResponse));
|
|
8291
8546
|
} }
|
|
8292
|
-
function
|
|
8293
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div",
|
|
8294
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "pre",
|
|
8547
|
+
function FhirExportDlgComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
8548
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 12);
|
|
8549
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "pre", 13);
|
|
8295
8550
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
|
|
8296
8551
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8297
8552
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
@@ -8347,28 +8602,30 @@ class FhirExportDlgComponent {
|
|
|
8347
8602
|
}
|
|
8348
8603
|
}
|
|
8349
8604
|
FhirExportDlgComponent.ɵfac = function FhirExportDlgComponent_Factory(t) { return new (t || FhirExportDlgComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_fhir_service__WEBPACK_IMPORTED_MODULE_2__["FhirService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbActiveModal"])); };
|
|
8350
|
-
FhirExportDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: FhirExportDlgComponent, selectors: [["lfb-fhir-export-dlg"]], inputs: { questionnaire: "questionnaire" }, decls:
|
|
8605
|
+
FhirExportDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: FhirExportDlgComponent, selectors: [["lfb-fhir-export-dlg"]], inputs: { questionnaire: "questionnaire" }, decls: 12, vars: 2, consts: [["role", "dialog", "aria-labelledby", "replyTitle"], [1, "modal-header", "bg-primary"], ["id", "replyTitle", "role", "document", 1, "modal-title", "text-white"], ["type", "button", "aria-label", "Close", 1, "close", "text-white", "btn-sm", 3, "click"], ["aria-hidden", "true"], ["class", "modal-body bg-light", "aria-live", "polite", 4, "ngIf"], ["class", "modal-body bg-light", 4, "ngIf"], [1, "modal-footer", "btn-group-sm"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], ["aria-live", "polite", 1, "modal-body", "bg-light"], ["role", "alert", 1, "sr-only"], [1, "fhir-response"], [1, "modal-body", "bg-light"], ["role", "alert", 1, "fhir-response"]], template: function FhirExportDlgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8351
8606
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
|
|
8352
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "
|
|
8353
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["
|
|
8607
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
|
|
8608
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "h4", 2);
|
|
8609
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "FHIR Server Reply");
|
|
8610
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8611
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "button", 3);
|
|
8612
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirExportDlgComponent_Template_button_click_4_listener() { return ctx.close(true); });
|
|
8613
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "span", 4);
|
|
8614
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6, "\u00D7");
|
|
8354
8615
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8355
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "button", 2);
|
|
8356
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirExportDlgComponent_Template_button_click_3_listener() { return ctx.close(true); });
|
|
8357
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span", 3);
|
|
8358
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, "\u00D7");
|
|
8359
8616
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8360
8617
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8618
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, FhirExportDlgComponent_div_7_Template, 6, 3, "div", 5);
|
|
8619
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, FhirExportDlgComponent_div_8_Template, 3, 1, "div", 6);
|
|
8620
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "div", 7);
|
|
8621
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "button", 8);
|
|
8622
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirExportDlgComponent_Template_button_click_10_listener() { return ctx.close(true); });
|
|
8623
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](11, "Close");
|
|
8361
8624
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8362
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, FhirExportDlgComponent_div_6_Template, 4, 3, "div", 4);
|
|
8363
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, FhirExportDlgComponent_div_7_Template, 3, 1, "div", 4);
|
|
8364
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "div", 5);
|
|
8365
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "button", 6);
|
|
8366
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function FhirExportDlgComponent_Template_button_click_9_listener() { return ctx.close(true); });
|
|
8367
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10, "Close");
|
|
8368
8625
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8369
8626
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
8370
8627
|
} if (rf & 2) {
|
|
8371
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](
|
|
8628
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](7);
|
|
8372
8629
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.serverResponse);
|
|
8373
8630
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
8374
8631
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.error);
|