formbuilder-lhcforms 7.0.12 → 7.0.13
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 +4 -0
- package/dist/formbuilder-lhcforms/assets/items-layout.json +0 -6
- package/dist/formbuilder-lhcforms/assets/ngx-item.schema.json +119 -113
- package/dist/formbuilder-lhcforms/main-es2015.js +240 -438
- package/dist/formbuilder-lhcforms/main-es2015.js.map +1 -1
- package/dist/formbuilder-lhcforms/main-es5.js +774 -1104
- package/dist/formbuilder-lhcforms/main-es5.js.map +1 -1
- package/dist/formbuilder-lhcforms/styles.css +5 -1
- package/dist/formbuilder-lhcforms/styles.css.map +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ module.exports = __webpack_require__(/*! /home/akanduru/formbuilder/src/main.ts
|
|
|
19
19
|
/*! exports provided: formLayout, propertyLabels, default */
|
|
20
20
|
/***/ (function(module) {
|
|
21
21
|
|
|
22
|
-
module.exports = JSON.parse("{\"formLayout\":{\"rows\":[{\"showFields\":[{\"field\":\"text\",\"col\":12},{\"field\":\"prefix\",\"col\":12},{\"field\":\"linkId\",\"col\":12},{\"field\":\"__$codeYesNo\",\"col\":12},{\"field\":\"code\",\"col\":12},{\"field\":\"__$helpText\",\"col\":12},{\"field\":\"type\",\"col\":12},{\"field\":\"initial\",\"title\":\"Default value\",\"col\":12},{\"field\":\"answerValueSet\",\"col\":12},{\"field\":\"answerOption\",\"title\":\"Answer choices\",\"col\":12},{\"field\":\"__$units\",\"col\":12}]},{\"showFields\":[{\"field\":\"repeats\",\"col\":12},{\"field\":\"required\",\"col\":12},{\"field\":\"readOnly\",\"col\":12},{\"field\":\"maxLength\",\"col\":12},{\"field\":\"__$restrictions\",\"col\":12}]},{\"showFields\":[{\"field\":\"enableWhen\",\"col\":12},{\"field\":\"enableBehavior\",\"col\":12}]},{\"showFields\":[{\"field\":\"__$observationLinkPeriod\",\"col\":12}]}
|
|
22
|
+
module.exports = JSON.parse("{\"formLayout\":{\"rows\":[{\"showFields\":[{\"field\":\"text\",\"col\":12},{\"field\":\"prefix\",\"col\":12},{\"field\":\"linkId\",\"col\":12},{\"field\":\"__$codeYesNo\",\"col\":12},{\"field\":\"code\",\"col\":12},{\"field\":\"__$helpText\",\"col\":12},{\"field\":\"type\",\"col\":12},{\"field\":\"initial\",\"title\":\"Default value\",\"col\":12},{\"field\":\"answerValueSet\",\"col\":12},{\"field\":\"answerOption\",\"title\":\"Answer choices\",\"col\":12},{\"field\":\"__$units\",\"col\":12}]},{\"showFields\":[{\"field\":\"repeats\",\"col\":12},{\"field\":\"required\",\"col\":12},{\"field\":\"readOnly\",\"col\":12},{\"field\":\"maxLength\",\"col\":12},{\"field\":\"__$restrictions\",\"col\":12}]},{\"showFields\":[{\"field\":\"enableWhen\",\"col\":12},{\"field\":\"enableBehavior\",\"col\":12}]},{\"showFields\":[{\"field\":\"__$observationLinkPeriod\",\"col\":12}]}]},\"propertyLabels\":{\"text\":\"Question text\",\"type\":\"Item type\",\"initial\":\"Initial value (default)\",\"enableWhen\":\"Conditional display\"}}");
|
|
23
23
|
|
|
24
24
|
/***/ }),
|
|
25
25
|
|
|
@@ -34,79 +34,19 @@ module.exports = JSON.parse("{\"formLayout\":{\"rows\":[{\"showFields\":[{\"fiel
|
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgxSchemaFormComponent", function() { return NgxSchemaFormComponent; });
|
|
36
36
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
37
|
-
/* harmony import */ var
|
|
38
|
-
/* harmony import */ var _sf_form_wrapper_sf_form_wrapper_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sf-form-wrapper/sf-form-wrapper.component */ "DLBw");
|
|
39
|
-
/* harmony import */ var _services_shared_object_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../services/shared-object.service */ "jOxg");
|
|
40
|
-
/* harmony import */ var _services_form_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../services/form.service */ "md+p");
|
|
37
|
+
/* harmony import */ var _services_shared_object_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../services/shared-object.service */ "jOxg");
|
|
41
38
|
/**
|
|
42
39
|
* Handle layout and editing of item level fields
|
|
43
40
|
*/
|
|
44
41
|
|
|
45
42
|
|
|
46
43
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const _c0 = ["viewContainer"];
|
|
51
44
|
class NgxSchemaFormComponent {
|
|
52
|
-
constructor(modelService
|
|
45
|
+
constructor(modelService) {
|
|
53
46
|
this.modelService = modelService;
|
|
54
|
-
this.formService = formService;
|
|
55
|
-
this.cfr = cfr;
|
|
56
|
-
this.cd = cd;
|
|
57
47
|
this._id = ++NgxSchemaFormComponent.ID;
|
|
58
|
-
this.mySchema = { properties: {} };
|
|
59
48
|
this.setLinkId = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
60
|
-
this.modelChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
61
49
|
this.valueChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
62
|
-
this.linkIdCollection = new _item_item_component__WEBPACK_IMPORTED_MODULE_1__["LinkIdCollection"]();
|
|
63
|
-
/**
|
|
64
|
-
* Setup form validators
|
|
65
|
-
* TODO - link id is hidden for time being.
|
|
66
|
-
*/
|
|
67
|
-
this.myValidators = {
|
|
68
|
-
// Should have a value and should not exist in the form.
|
|
69
|
-
'/linkId': (value, property, form) => {
|
|
70
|
-
if (value.trim().length === 0 || this.linkIdCollection.hasLinkId(value)) {
|
|
71
|
-
return [{
|
|
72
|
-
linkId: { expectedValue: 'Unique linkId in the form' }
|
|
73
|
-
}];
|
|
74
|
-
}
|
|
75
|
-
return null;
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Field bindings
|
|
80
|
-
*/
|
|
81
|
-
this.myFieldBindings = {
|
|
82
|
-
/*
|
|
83
|
-
'/linkId': {
|
|
84
|
-
change: (event, formProperty: FormProperty) => {
|
|
85
|
-
if (!formProperty.value && this.node) {
|
|
86
|
-
formProperty.setValue(this.node.id, true);
|
|
87
|
-
}
|
|
88
|
-
if (formProperty.valid) {
|
|
89
|
-
this.setLinkId.emit(formProperty.value);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
*/
|
|
94
|
-
};
|
|
95
|
-
this.mySchema = formService.getItemSchema();
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Merge schema and layout jsons
|
|
99
|
-
*/
|
|
100
|
-
ngOnInit() {
|
|
101
|
-
this.mySchema = this.formService.getItemSchema();
|
|
102
|
-
}
|
|
103
|
-
ngAfterViewInit() {
|
|
104
|
-
// this.resetForm(this.model);
|
|
105
|
-
}
|
|
106
|
-
ngOnChanges(changes) {
|
|
107
|
-
if (changes.model) {
|
|
108
|
-
this.resetForm(changes.model.currentValue);
|
|
109
|
-
}
|
|
110
50
|
}
|
|
111
51
|
/**
|
|
112
52
|
* The model is changed, emit the event.
|
|
@@ -116,36 +56,18 @@ class NgxSchemaFormComponent {
|
|
|
116
56
|
this.valueChange.emit(value);
|
|
117
57
|
this.modelService.currentItem = value;
|
|
118
58
|
}
|
|
119
|
-
/**
|
|
120
|
-
* Reset ngx- form with new model
|
|
121
|
-
*/
|
|
122
|
-
resetForm(model) {
|
|
123
|
-
if (!this.containerRef) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
const resolver = this.cfr.resolveComponentFactory(_sf_form_wrapper_sf_form_wrapper_component__WEBPACK_IMPORTED_MODULE_2__["SfFormWrapperComponent"]);
|
|
127
|
-
this.containerRef.clear();
|
|
128
|
-
const componentRef = this.containerRef.createComponent(resolver);
|
|
129
|
-
this.model = model;
|
|
130
|
-
componentRef.instance.model = this.model;
|
|
131
|
-
componentRef.instance.valueChange.subscribe((value) => {
|
|
132
|
-
this.updateValue(value);
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
ngOnDestroy() {
|
|
136
|
-
}
|
|
137
59
|
}
|
|
138
60
|
NgxSchemaFormComponent.ID = 0;
|
|
139
|
-
NgxSchemaFormComponent.ɵfac = function NgxSchemaFormComponent_Factory(t) { return new (t || NgxSchemaFormComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](
|
|
140
|
-
NgxSchemaFormComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NgxSchemaFormComponent, selectors: [["lfb-ngx-schema-form"]],
|
|
141
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]);
|
|
142
|
-
} if (rf & 2) {
|
|
143
|
-
let _t;
|
|
144
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.containerRef = _t.first);
|
|
145
|
-
} }, inputs: { model: "model", linkIdCollection: "linkIdCollection" }, outputs: { setLinkId: "setLinkId", modelChange: "modelChange", valueChange: "valueChange" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]], decls: 3, vars: 0, consts: [[1, "container"], ["viewContainer", ""]], template: function NgxSchemaFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
61
|
+
NgxSchemaFormComponent.ɵfac = function NgxSchemaFormComponent_Factory(t) { return new (t || NgxSchemaFormComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_shared_object_service__WEBPACK_IMPORTED_MODULE_1__["SharedObjectService"])); };
|
|
62
|
+
NgxSchemaFormComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NgxSchemaFormComponent, selectors: [["lfb-ngx-schema-form"]], inputs: { model: "model" }, outputs: { setLinkId: "setLinkId", valueChange: "valueChange" }, decls: 2, vars: 1, consts: [[1, "container"], [3, "model", "valueChange"]], template: function NgxSchemaFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
146
63
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
|
|
147
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["
|
|
64
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "lfb-sf-form-wrapper", 1);
|
|
65
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("valueChange", function NgxSchemaFormComponent_Template_lfb_sf_form_wrapper_valueChange_1_listener($event) { return ctx.updateValue($event); });
|
|
148
66
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
67
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
68
|
+
} if (rf & 2) {
|
|
69
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
70
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("model", ctx.model);
|
|
149
71
|
} }, styles: ["pre[_ngcontent-%COMP%] {\n padding: 02em;\n border: solid 1px black;\n background: #eee;\n }\n\n \n [_nghost-%COMP%] .formHelp {\n display: block;\n font-size: 0.7em;\n }\n\n [_nghost-%COMP%] sf-form-element > div {\n margin-top: 1em;\n margin-bottom: 1em;\n }\n\n [_nghost-%COMP%] .form-control {\n height: calc(1.0em + .75rem + 2px);\n padding: 0 3px 0 3px;\n }\n\n [_nghost-%COMP%] fieldset {\n border: 0;\n }\n\n .title[_ngcontent-%COMP%] {\n margin-top: 10px;\n font-size: 20px;\n font-weight: bold;\n }"] });
|
|
150
72
|
|
|
151
73
|
|
|
@@ -712,7 +634,6 @@ class BasePageComponent {
|
|
|
712
634
|
Object.assign(this.questionnaire, formChanges);
|
|
713
635
|
Object.assign(this.formFields, formChanges);
|
|
714
636
|
this.notifyChange(this.formValue);
|
|
715
|
-
this.modelService.questionnaire = this.questionnaire;
|
|
716
637
|
}
|
|
717
638
|
/**
|
|
718
639
|
* Handle value changes in item-component.
|
|
@@ -729,6 +650,7 @@ class BasePageComponent {
|
|
|
729
650
|
*/
|
|
730
651
|
setQuestionnaire(questionnaire) {
|
|
731
652
|
this.questionnaire = questionnaire;
|
|
653
|
+
this.modelService.questionnaire = this.questionnaire;
|
|
732
654
|
this.formValue = Object.assign({}, questionnaire);
|
|
733
655
|
this.formFields = Object.assign({}, questionnaire);
|
|
734
656
|
delete this.formFields.item;
|
|
@@ -2847,6 +2769,14 @@ class InitialComponent extends _table_table_component__WEBPACK_IMPORTED_MODULE_0
|
|
|
2847
2769
|
constructor() {
|
|
2848
2770
|
super();
|
|
2849
2771
|
}
|
|
2772
|
+
/**
|
|
2773
|
+
* Make sure there is at least one item in the table.
|
|
2774
|
+
*/
|
|
2775
|
+
ngDoCheck() {
|
|
2776
|
+
if (this.formProperty.properties.length === 0) {
|
|
2777
|
+
this.addItem();
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2850
2780
|
}
|
|
2851
2781
|
InitialComponent.ɵfac = function InitialComponent_Factory(t) { return new (t || InitialComponent)(); };
|
|
2852
2782
|
InitialComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: InitialComponent, selectors: [["lfb-initial"]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]], decls: 2, vars: 2, consts: [[4, "ngIf"], ["class", "widget form-group m-0", 3, "ngClass", 4, "ngIf"], [3, "bool", "controlWidthClass", "labelWidthClass", "label", "labelPosition", "helpMessage", "boolChange"], [1, "widget", "form-group", "m-0", 3, "ngClass"], [3, "ngClass"], ["href", "#", "type", "button", "class", "btn btn-default collapse-button", 3, "ngClass", "click", 4, "ngIf"], [3, "title", "helpMessage", "for", 4, "ngIf"], ["class", "table table-borderless table-sm lfb-table", 4, "ngIf"], ["class", "btn-sm btn-light btn-link array-add-button", "triggers", "manual", "placement", "bottom top", "popoverClass", "", 3, "ngbPopover", "click", 4, "ngIf"], ["href", "#", "type", "button", 1, "btn", "btn-default", "collapse-button", 3, "ngClass", "click"], ["aria-hidden", "true", 3, "icon"], [3, "title", "helpMessage", "for"], [1, "table", "table-borderless", "table-sm", "lfb-table"], ["class", "thead-light", 4, "ngIf"], [3, "ngbCollapse"], ["class", "d-flex", 4, "ngFor", "ngForOf"], [1, "thead-light"], [1, "d-flex"], ["scope", "col", 3, "class", 4, "ngFor", "ngForOf"], ["class", "col-sm-2", 4, "ngIf"], ["class", "col-sm-1", 4, "ngIf"], ["scope", "col"], [3, "title", "helpMessage"], [1, "col-sm-2"], ["title", "Default", "helpMessage", "Pick a default item"], [1, "col-sm-1"], [3, "class", 4, "ngFor", "ngForOf"], ["class", "col-sm-2 text-center align-self-center", 4, "ngIf"], [1, "col-sm-1", "align-middle", "action-column", 3, "ngClass"], ["class", "btn btn-default btn-link btn-sm array-remove-button", "matTooltip", "Remove", "aria-label", "Remove", 3, "click", 4, "ngIf"], ["nolabel", "true", 3, "formProperty"], [1, "col-sm-2", "text-center", "align-self-center"], ["type", "radio", 3, "ngModel", "value", "ngModelChange"], ["type", "checkbox", 3, "ngModel", "ngModelChange"], ["matTooltip", "Remove", "aria-label", "Remove", 1, "btn", "btn-default", "btn-link", "btn-sm", "array-remove-button", 3, "click"], ["triggers", "manual", "placement", "bottom top", "popoverClass", "", 1, "btn-sm", "btn-light", "btn-link", "array-add-button", 3, "ngbPopover", "click"], ["alertPopover", "ngbPopover"]], template: function InitialComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2868,7 +2798,7 @@ InitialComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineC
|
|
|
2868
2798
|
/*! exports provided: description, type, properties, required, additionalProperties, definitions, fieldsets, steps, widget, default */
|
|
2869
2799
|
/***/ (function(module) {
|
|
2870
2800
|
|
|
2871
|
-
module.exports = JSON.parse("{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"type\":\"object\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"linkId\":{\"description\":\"An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.\",\"title\":\"Link id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"definition\":{\"description\":\"This element is a URI that refers to an [[[ElementDefinition]]] that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\\n\\n* code (ElementDefinition.code) \\n* type (ElementDefinition.type) \\n* required (ElementDefinition.min) \\n* repeats (ElementDefinition.max) \\n* maxLength (ElementDefinition.maxLength) \\n* answerValueSet (ElementDefinition.binding)\\n* options (ElementDefinition.binding).\",\"title\":\"Definition\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"__$codeYesNo\":{\"description\":\"\",\"enum\":[\"No\",\"Yes\"],\"default\":\"Yes\",\"type\":\"string\",\"title\":\"Use code(s)?\",\"widget\":{\"id\":\"hidden\",\"layout\":\"row\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-3\"}},\"code\":{\"description\":\"A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).\",\"items\":{\"description\":\"A reference to a code defined by a terminology system.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Code\",\"visibleIf\":{\"allOf\":[{\"type\":[\"$EXP$ target.value != 'display'\"]}]},\"widget\":{\"id\":\"table\",\"noTableLabel\":true,\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\",\"noCollapseButton\":true,\"addButtonLabel\":\"Add new code\",\"singleItem\":true,\"booleanControlled\":true,\"booleanLabel\":\"Use question code?\",\"booleanControlledInitial\":false,\"showFields\":[{\"field\":\"code\",\"col\":4,\"nolabel\":true},{\"field\":\"system\",\"col\":7,\"nolabel\":true}]}},\"prefix\":{\"description\":\"A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.\",\"title\":\"Prefix\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"string-with-css\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-3\"}},\"_prefix\":{\"description\":\"Extensions for prefix\",\"title\":\"Questionnaire prefix extensions\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"title\":\"Extensions for prefix\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"valueString\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"type\":\"object\",\"additionalProperties\":false},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"hidden\"}},\"text\":{\"description\":\"The name of a section, the text of a question or text content for a display item.\",\"title\":\"Question text\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"string-with-css\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"}},\"_text\":{\"description\":\"Extensions for text\",\"title\":\"Questionnaire text extensions\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"title\":\"Extensions for text\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"valueString\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"type\":\"object\",\"additionalProperties\":false},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).\",\"enum\":[\"boolean\",\"decimal\",\"integer\",\"date\",\"dateTime\",\"time\",\"string\",\"text\",\"url\",\"choice\",\"open-choice\",\"attachment\",\"reference\",\"quantity\",\"group\",\"display\"],\"type\":\"string\",\"title\":\"Data type\",\"widget\":{\"id\":\"type\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"selectOptionsMap\":{\"remove\":[\"display\",\"reference\",\"attachment\"],\"map\":{\"group\":\"header\"}}},\"default\":\"string\"},\"enableWhen\":{\"description\":\"A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"__$answerType\":{\"title\":\"Source question type\",\"type\":\"string\",\"default\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"question\":{\"description\":\"The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.\",\"title\":\"Question\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"enable-when-source\"}},\"operator\":{\"description\":\"Specifies the criteria by which the question is enabled.\",\"enum\":[\"exists\",\"=\",\"!=\",\">\",\"<\",\">=\",\"<=\"],\"type\":\"string\",\"title\":\"Operator\",\"widget\":{\"id\":\"enable-operator\"}},\"answerBoolean\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"oneOf\":[{\"__$answerType\":[\"boolean\"]}]}},\"answerDecimal\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"decimal\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerInteger\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"integer\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerDate\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"date\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerDateTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"dateTime\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"time\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerString\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"$EXP$ target.value == 'string' || target.value == 'text' || target.value == 'url'\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerCoding\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"},\"__$score\":{\"description\":\"If desired, enter a number to assign a numerical value to this answer for scoring purposes.\",\"type\":\"number\",\"title\":\"Score\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"$EXP$ target.value == 'choice' || target.value == 'open-choice'\"]},{\"operator\":[\"$EXP$ target.value == '=' || target.value == '!='\"]}]},\"widget\":{\"id\":\"enable-when-answer-choice\"}},\"answerQuantity\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"quantity\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]},\"widget\":{\"id\":\"left-label-form-group\",\"labelWidth\":4,\"controlWidth\":8,\"label\":true,\"showFields\":[{\"field\":\"value\",\"col\":3}]}},\"answerReference\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"reference\"]},{\"operator\":[\"$EXP$ target.value == 'exists' || target.value == '='\"]}]},\"widget\":{\"id\":\"left-label-form-group\",\"labelWidth\":4,\"controlWidth\":8,\"label\":true,\"showFields\":[{\"field\":\"reference\",\"col\":4},{\"field\":\"type\",\"col\":4},{\"field\":\"display\",\"col\":4}]}}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Conditional display\",\"widget\":{\"noCollapseButton\":true,\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"addButtonLabel\":\"Add another condition\",\"id\":\"table\",\"showFields\":[{\"field\":\"question\",\"nolabel\":true,\"col\":5,\"title\":\"Question\"},{\"field\":\"operator\",\"nolabel\":true,\"col\":2,\"title\":\"Operator\"},{\"field\":\"answerBoolean\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerDecimal\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerInteger\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerDate\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerDateTime\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerTime\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerString\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerCoding\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerQuantity\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"}]}},\"enableBehavior\":{\"description\":\"Controls how multiple enableWhen values are interpreted - whether all or any must be true.\",\"enum\":[\"all\",\"any\"],\"type\":\"string\",\"title\":\"Show this item when\",\"widget\":{\"id\":\"enable-behavior\",\"layout\":\"row\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-6\"}},\"required\":{\"description\":\"An indication, if true, that the item must be present in a \\\"completed\\\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.\",\"title\":\"Answer required\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]},\"widget\":{\"id\":\"boolean-radio\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\"}},\"repeats\":{\"description\":\"An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.\",\"title\":\"Allow repeating question?\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]},\"widget\":{\"id\":\"boolean-radio\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\"}},\"readOnly\":{\"description\":\"An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.\",\"title\":\"Read only\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]},\"widget\":{\"id\":\"boolean-radio\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\"}},\"maxLength\":{\"description\":\"The maximum number of characters that are permitted in the answer to be considered a \\\"valid\\\" QuestionnaireResponse.\",\"title\":\"Maximum number of char.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'boolean' || target.value == 'decimal' || target.value == 'integer' || target.value == 'string' || target.value == 'text' || target.value == 'url' || target.value == 'open-choice'\"]},\"widget\":{\"id\":\"hidden\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-1\"}},\"answerValueSet\":{\"description\":\"A reference to a value set containing a list of codes representing permitted answers for a \\\"choice\\\" or \\\"open-choice\\\" question.\",\"title\":\"Answer value set\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'open-choice' || target.value == 'choice'\"]}},\"answerOption\":{\"description\":\"One of the permitted answers for a \\\"choice\\\" or \\\"open-choice\\\" question.\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueInteger\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\",\"visibleIf\":{\"/type\":[\"integer\"]}},\"valueDate\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\",\"visibleIf\":{\"/type\":[\"date\"]}},\"valueTime\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\",\"visibleIf\":{\"/type\":[\"time\"]}},\"valueString\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'string' || target.value == 'text'\"]}},\"valueCoding\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"__$score\":{\"description\":\"If desired, enter a number to assign a numerical value to this answer for scoring purposes.\",\"type\":\"number\",\"title\":\"Score\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'choice' || target.value == 'open-choice'\"]}},\"valueReference\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"reference\"]}},\"initialSelected\":{\"description\":\"Indicates whether the answer value is selected when the list of possible answers is initially shown.\",\"title\":\"Initial selected\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Answer choices\",\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'open-choice' || target.value == 'choice'\"]},\"widget\":{\"id\":\"answer-option\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"addButtonLabel\":\"Add another answer\",\"rowSelection\":true,\"multipleSelectionEnableSource\":\"repeats\",\"showFields\":[{\"field\":\"valueInteger\",\"col\":9,\"nolabel\":true},{\"field\":\"valueDate\",\"col\":9,\"nolabel\":true},{\"field\":\"valueTime\",\"col\":9,\"nolabel\":true},{\"field\":\"valueString\",\"col\":9,\"nolabel\":true},{\"field\":\"valueCoding.display\",\"title\":\"Display\",\"col\":3,\"nolabel\":true},{\"field\":\"valueCoding.code\",\"title\":\"Code\",\"col\":2,\"nolabel\":true},{\"field\":\"valueCoding.system\",\"title\":\"System\",\"col\":2,\"nolabel\":true},{\"field\":\"valueCoding.__$score\",\"title\":\"Score\",\"col\":2,\"nolabel\":true},{\"field\":\"valueReference\",\"col\":9,\"nolabel\":true}]}},\"initial\":{\"description\":\"One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueBoolean\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"title\":\"Value boolean\",\"visibleIf\":{\"/type\":[\"boolean\"]},\"widget\":{\"id\":\"boolean-radio\",\"nolabel\":true}},\"valueDecimal\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"title\":\"Value decimal\",\"visibleIf\":{\"/type\":[\"decimal\"]}},\"valueInteger\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\",\"visibleIf\":{\"/type\":[\"integer\"]}},\"valueDate\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\",\"visibleIf\":{\"/type\":[\"date\"]}},\"valueDateTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"title\":\"Value date time\",\"visibleIf\":{\"/type\":[\"dateTime\"]}},\"valueTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\",\"visibleIf\":{\"/type\":[\"time\"]}},\"valueString\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'string' || target.value == 'text'\"]}},\"valueUri\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"title\":\"Value uri\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'uri' || target.value == 'url'\"]}},\"valueAttachment\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value attachment\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"contentType\":{\"description\":\"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"language\":{\"description\":\"The human language of the content. The value can be any valid value according to BCP 47.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"data\":{\"description\":\"The actual data of the attachment - a sequence of bytes, base64 encoded.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"A location where the data can be accessed.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"size\":{\"description\":\"The number of bytes of data that make up this attachment (before base64 encoding, if that is done).\",\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"hash\":{\"description\":\"The calculated hash of the data using SHA-1. Represented using base64.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"title\":{\"description\":\"A label or set of text to display in place of the data.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"creation\":{\"description\":\"The date that the attachment was first created.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"attachment\"]}},\"valueCoding\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'choice' || target.value == 'open-choice'\"]},\"widget\":{\"id\":\"hidden\"}},\"valueQuantity\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value quantity\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"units\"}},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"quantity\"]}},\"valueReference\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"reference\"]}}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Initial value\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'group' && target.value != 'display'\"]},\"widget\":{\"id\":\"initial\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"addButtonLabel\":\"Add another value\",\"singleItemEnableSource\":\"repeats\",\"showFields\":[{\"field\":\"valueBoolean\",\"noHeader\":true,\"title\":\"\",\"nolabel\":true},{\"field\":\"valueDecimal\",\"noHeader\":true,\"title\":\"\",\"nolabel\":true},{\"field\":\"valueInteger\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueDate\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueDateTime\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueTime\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueString\",\"noHeader\":true,\"title\":\"\",\"nolabel\":true},{\"field\":\"valueUri\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueCoding.display\",\"title\":\"Display\",\"col\":4,\"nolabel\":true},{\"field\":\"valueCoding.code\",\"title\":\"Code\",\"col\":3,\"nolabel\":true},{\"field\":\"valueCoding.system\",\"title\":\"System\",\"col\":4,\"nolabel\":true},{\"field\":\"valueQuantity.value\",\"title\":\"Value\",\"col\":6,\"nolabel\":true},{\"field\":\"valueQuantity.unit\",\"title\":\"Units\",\"col\":5,\"nolabel\":true},{\"field\":\"valueReference\",\"noHeader\":true,\"nolabel\":true}]}},\"__$observationLinkPeriod\":{\"description\":\"Sets a time window within which to look for an Observation with a matching code, for pre-population. Requires that a code be assigned to this item.\",\"title\":\"Add link to pre-populate FHIR Observation?\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"observation-link-period\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]}},\"__$units\":{\"description\":\"The units for answers. They are applicable for integer, decimal, and quantity types.\",\"title\":\"Units\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"units\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'integer' || target.value == 'decimal' || target.value == 'quantity'\"]}},\"__$totalScoreItem\":{\"type\":\"boolean\",\"default\":\"true\",\"widget\":{\"id\":\"hidden\"}},\"__$totalScore\":{\"description\":\"Makes this as an item with total score, i.e. totaling scores in pre-defined answers of the choice type items.\",\"title\":\"Make this a total score item\",\"pattern\":\"^true|false$\",\"default\":\"false\",\"type\":\"boolean\",\"widget\":{\"id\":\"totalScore\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"},\"visibleIf\":{\"__$totalScoreItem\":[\"$EXP$ target.value == 'true'\"]}},\"__$helpText\":{\"description\":\"Text is displayed in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'help' for a question, group or the questionnaire as a whole (depending what the text is nested within)\",\"title\":\"Help text\",\"type\":\"string\",\"widget\":{\"id\":\"help-text\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"}},\"__$restrictions\":{\"description\":\"Choose to add value restrictions to the input.\",\"title\":\"Restrictions\",\"type\":\"array\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"operator\":{\"description\":\"Comparing operator to restrict the input value\",\"type\":\"string\",\"enum\":[\"maxLength\",\"minLength\",\"regex\",\"minValue\",\"maxValue\",\"mazSize\",\"mimeType\"],\"title\":\"Restriction\",\"widget\":{\"id\":\"restrictions-operator\"}},\"value\":{\"description\":\"Value to restrict the input\",\"type\":\"string\",\"title\":\"Value\"}},\"additionalProperties\":false,\"type\":\"object\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'decimal' || target.value == 'integer' || target.value == 'string' || target.value == 'text' || target.value == 'url' || target.value == 'open-choice'\"]},\"widget\":{\"id\":\"restrictions\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"noTableLabel\":true,\"noCollapseButton\":true,\"addButtonLabel\":\"Add new restriction\",\"booleanControlled\":true,\"booleanLabel\":\"Use restrictions?\",\"booleanControlledInitial\":false,\"showFields\":[{\"field\":\"operator\",\"col\":7,\"nolabel\":true},{\"field\":\"value\",\"col\":4,\"nolabel\":true}]}}},\"required\":[\"text\",\"type\",\"linkId\"],\"additionalProperties\":false,\"definitions\":{\"string\":{\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"Extension\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"uri\":{\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"Address\":{\"description\":\"An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"use\":{\"description\":\"The purpose of this address.\",\"enum\":[\"home\",\"work\",\"temp\",\"old\",\"billing\"],\"type\":\"string\"},\"type\":{\"description\":\"Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.\",\"enum\":[\"postal\",\"physical\",\"both\"],\"type\":\"string\"},\"text\":{\"description\":\"Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.\",\"$ref\":\"#/definitions/string\"},\"line\":{\"description\":\"This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"city\":{\"description\":\"The name of the city, town, suburb, village or other community or delivery center.\",\"$ref\":\"#/definitions/string\"},\"district\":{\"description\":\"The name of the administrative area (county).\",\"$ref\":\"#/definitions/string\"},\"state\":{\"description\":\"Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).\",\"$ref\":\"#/definitions/string\"},\"postalCode\":{\"description\":\"A postal code designating a region defined by the postal service.\",\"$ref\":\"#/definitions/string\"},\"country\":{\"description\":\"Country - a nation as commonly understood or generally accepted.\",\"$ref\":\"#/definitions/string\"},\"period\":{\"description\":\"Time period when address was/is in use.\",\"$ref\":\"#/definitions/Period\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Period\":{\"description\":\"A time period defined by a start and end date and optionally time.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"start\":{\"description\":\"The start of the period. The boundary is inclusive.\",\"$ref\":\"#/definitions/dateTime\"},\"end\":{\"description\":\"The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.\",\"$ref\":\"#/definitions/dateTime\"}},\"additionalProperties\":false,\"type\":\"object\"},\"dateTime\":{\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"},\"Age\":{\"description\":\"A duration of time during which an organism (or a process) has existed.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"decimal\":{\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"code\":{\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"Annotation\":{\"description\":\"A text note which also contains information about who made the statement and when.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"authorReference\":{\"description\":\"The individual responsible for making the annotation.\",\"$ref\":\"#/definitions/Reference\"},\"authorString\":{\"description\":\"The individual responsible for making the annotation.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"time\":{\"description\":\"Indicates when this particular annotation was made.\",\"$ref\":\"#/definitions/dateTime\"},\"text\":{\"description\":\"The text of the annotation in markdown format.\",\"$ref\":\"#/definitions/markdown\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Reference\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Identifier\":{\"description\":\"An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"use\":{\"description\":\"The purpose of this identifier.\",\"enum\":[\"usual\",\"official\",\"temp\",\"secondary\",\"old\"],\"type\":\"string\"},\"type\":{\"description\":\"A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"system\":{\"description\":\"Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\",\"$ref\":\"#/definitions/uri\"},\"value\":{\"description\":\"The portion of the identifier typically relevant to the user and which is unique within the context of the system.\",\"$ref\":\"#/definitions/string\"},\"period\":{\"description\":\"Time period during which identifier is/was valid for use.\",\"$ref\":\"#/definitions/Period\"},\"assigner\":{\"description\":\"Organization that issued/manages the identifier.\",\"$ref\":\"#/definitions/Reference\"}},\"additionalProperties\":false,\"type\":\"object\"},\"CodeableConcept\":{\"description\":\"A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"coding\":{\"description\":\"A reference to a code defined by a terminology system.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"},\"text\":{\"description\":\"A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.\",\"$ref\":\"#/definitions/string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Coding\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"grid\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"field\":\"code\",\"col\":2},{\"field\":\"system\",\"col\":5},{\"field\":\"display\",\"col\":5}]}]},\"boolean\":{\"pattern\":\"^true|false$\",\"type\":\"boolean\"},\"markdown\":{\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"description\":\"A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine\"},\"Attachment\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"contentType\":{\"description\":\"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"language\":{\"description\":\"The human language of the content. The value can be any valid value according to BCP 47.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"data\":{\"description\":\"The actual data of the attachment - a sequence of bytes, base64 encoded.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"A location where the data can be accessed.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"size\":{\"description\":\"The number of bytes of data that make up this attachment (before base64 encoding, if that is done).\",\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"hash\":{\"description\":\"The calculated hash of the data using SHA-1. Represented using base64.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"title\":{\"description\":\"A label or set of text to display in place of the data.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"creation\":{\"description\":\"The date that the attachment was first created.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"base64Binary\":{\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"unsignedInt\":{\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"ContactPoint\":{\"description\":\"Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"Telecommunications form for contact point - what communications system is required to make use of the contact.\",\"enum\":[\"phone\",\"fax\",\"email\",\"pager\",\"url\",\"sms\",\"other\"],\"type\":\"string\"},\"value\":{\"description\":\"The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).\",\"$ref\":\"#/definitions/string\"},\"use\":{\"description\":\"Identifies the purpose for the contact point.\",\"enum\":[\"home\",\"work\",\"temp\",\"old\",\"mobile\"],\"type\":\"string\"},\"rank\":{\"description\":\"Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.\",\"$ref\":\"#/definitions/positiveInt\"},\"period\":{\"description\":\"Time period when the contact point was/is in use.\",\"$ref\":\"#/definitions/Period\"}},\"additionalProperties\":false,\"type\":\"object\"},\"positiveInt\":{\"pattern\":\"^[1-9][0-9]*$\",\"type\":\"number\",\"description\":\"An integer with a value that is positive (e.g. >0)\"},\"Count\":{\"description\":\"A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Distance\":{\"description\":\"A length - a value with a unit that is a physical distance.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Duration\":{\"description\":\"A length of time.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"HumanName\":{\"description\":\"A human's name with the ability to identify parts and usage.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"use\":{\"description\":\"Identifies the purpose for this name.\",\"enum\":[\"usual\",\"official\",\"temp\",\"nickname\",\"anonymous\",\"old\",\"maiden\"],\"type\":\"string\"},\"text\":{\"description\":\"Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.\",\"$ref\":\"#/definitions/string\"},\"family\":{\"description\":\"The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.\",\"$ref\":\"#/definitions/string\"},\"given\":{\"description\":\"Given name.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"prefix\":{\"description\":\"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"suffix\":{\"description\":\"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"period\":{\"description\":\"Indicates the period of time when this name was valid for the named person.\",\"$ref\":\"#/definitions/Period\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Money\":{\"description\":\"An amount of economic utility in some recognized currency.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"Numerical value (with implicit precision).\",\"$ref\":\"#/definitions/decimal\"},\"currency\":{\"description\":\"ISO 4217 Currency Code.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Quantity\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Range\":{\"description\":\"A set of ordered Quantities defined by a low and high limit.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"low\":{\"description\":\"The low limit. The boundary is inclusive.\",\"$ref\":\"#/definitions/Quantity\"},\"high\":{\"description\":\"The high limit. The boundary is inclusive.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Ratio\":{\"description\":\"A relationship of two Quantity values - expressed as a numerator and a denominator.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"numerator\":{\"description\":\"The value of the numerator.\",\"$ref\":\"#/definitions/Quantity\"},\"denominator\":{\"description\":\"The value of the denominator.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"SampledData\":{\"description\":\"A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"origin\":{\"description\":\"The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.\",\"$ref\":\"#/definitions/Quantity\"},\"period\":{\"description\":\"The length of time between sampling times, measured in milliseconds.\",\"$ref\":\"#/definitions/decimal\"},\"factor\":{\"description\":\"A correction factor that is applied to the sampled data points before they are added to the origin.\",\"$ref\":\"#/definitions/decimal\"},\"lowerLimit\":{\"description\":\"The lower limit of detection of the measured points. This is needed if any of the data points have the value \\\"L\\\" (lower than detection limit).\",\"$ref\":\"#/definitions/decimal\"},\"upperLimit\":{\"description\":\"The upper limit of detection of the measured points. This is needed if any of the data points have the value \\\"U\\\" (higher than detection limit).\",\"$ref\":\"#/definitions/decimal\"},\"dimensions\":{\"description\":\"The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.\",\"$ref\":\"#/definitions/positiveInt\"},\"data\":{\"description\":\"A series of data points which are decimal values separated by a single space (character u20). The special values \\\"E\\\" (error), \\\"L\\\" (below detection limit) and \\\"U\\\" (above detection limit) can also be used in place of a decimal value.\",\"$ref\":\"#/definitions/string\"}},\"additionalProperties\":false,\"required\":[\"origin\"],\"type\":\"object\"},\"Signature\":{\"description\":\"A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"},\"when\":{\"description\":\"When the digital signature was signed.\",\"$ref\":\"#/definitions/instant\"},\"who\":{\"description\":\"A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).\",\"$ref\":\"#/definitions/Reference\"},\"onBehalfOf\":{\"description\":\"A reference to an application-usable description of the identity that is represented by the signature.\",\"$ref\":\"#/definitions/Reference\"},\"targetFormat\":{\"description\":\"A mime type that indicates the technical format of the target resources signed by the signature.\",\"$ref\":\"#/definitions/code\"},\"sigFormat\":{\"description\":\"A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.\",\"$ref\":\"#/definitions/code\"},\"data\":{\"description\":\"The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.\",\"$ref\":\"#/definitions/base64Binary\"}},\"additionalProperties\":false,\"required\":[\"type\",\"who\"],\"type\":\"object\"},\"instant\":{\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$\",\"type\":\"string\",\"description\":\"An instant in time - known at least to the second\"},\"Timing\":{\"description\":\"Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"event\":{\"description\":\"Identifies specific times when the event occurs.\",\"items\":{\"$ref\":\"#/definitions/dateTime\"},\"type\":\"array\"},\"repeat\":{\"description\":\"A set of rules that describe when the event is scheduled.\",\"$ref\":\"#/definitions/Timing_Repeat\"},\"code\":{\"description\":\"A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).\",\"$ref\":\"#/definitions/CodeableConcept\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Timing_Repeat\":{\"description\":\"Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"boundsDuration\":{\"description\":\"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.\",\"$ref\":\"#/definitions/Duration\"},\"boundsRange\":{\"description\":\"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.\",\"$ref\":\"#/definitions/Range\"},\"boundsPeriod\":{\"description\":\"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.\",\"$ref\":\"#/definitions/Period\"},\"count\":{\"description\":\"A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.\",\"$ref\":\"#/definitions/positiveInt\"},\"countMax\":{\"description\":\"If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.\",\"$ref\":\"#/definitions/positiveInt\"},\"duration\":{\"description\":\"How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.\",\"$ref\":\"#/definitions/decimal\"},\"durationMax\":{\"description\":\"If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.\",\"$ref\":\"#/definitions/decimal\"},\"durationUnit\":{\"description\":\"The units of time for the duration, in UCUM units.\",\"enum\":[\"s\",\"min\",\"h\",\"d\",\"wk\",\"mo\",\"a\"],\"type\":\"string\"},\"frequency\":{\"description\":\"The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.\",\"$ref\":\"#/definitions/positiveInt\"},\"frequencyMax\":{\"description\":\"If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.\",\"$ref\":\"#/definitions/positiveInt\"},\"period\":{\"description\":\"Indicates the duration of time over which repetitions are to occur; e.g. to express \\\"3 times per day\\\", 3 would be the frequency and \\\"1 day\\\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.\",\"$ref\":\"#/definitions/decimal\"},\"periodMax\":{\"description\":\"If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \\\"do this once every 3-5 days.\",\"$ref\":\"#/definitions/decimal\"},\"periodUnit\":{\"description\":\"The units of time for the period in UCUM units.\",\"enum\":[\"s\",\"min\",\"h\",\"d\",\"wk\",\"mo\",\"a\"],\"type\":\"string\"},\"dayOfWeek\":{\"description\":\"If one or more days of week is provided, then the action happens only on the specified day(s).\",\"items\":{\"$ref\":\"#/definitions/code\"},\"type\":\"array\"},\"timeOfDay\":{\"description\":\"Specified time of day for action to take place.\",\"items\":{\"$ref\":\"#/definitions/time\"},\"type\":\"array\"},\"when\":{\"description\":\"An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.\",\"items\":{\"enum\":[\"MORN\",\"MORN.early\",\"MORN.late\",\"NOON\",\"AFT\",\"AFT.early\",\"AFT.late\",\"EVE\",\"EVE.early\",\"EVE.late\",\"NIGHT\",\"PHS\",\"HS\",\"WAKE\",\"C\",\"CM\",\"CD\",\"CV\",\"AC\",\"ACM\",\"ACD\",\"ACV\",\"PC\",\"PCM\",\"PCD\",\"PCV\"],\"type\":\"string\"},\"type\":\"array\"},\"offset\":{\"description\":\"The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.\",\"$ref\":\"#/definitions/unsignedInt\"}},\"additionalProperties\":false,\"type\":\"object\"},\"time\":{\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"description\":\"A time during the day, with no date specified\"},\"ContactDetail\":{\"description\":\"Specifies contact information for a person or organization.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"name\":{\"description\":\"The name of an individual to contact.\",\"$ref\":\"#/definitions/string\"},\"telecom\":{\"description\":\"The contact details for the individual (if a name was provided) or the organization.\",\"items\":{\"$ref\":\"#/definitions/ContactPoint\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Contributor\":{\"description\":\"A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of contributor.\",\"enum\":[\"author\",\"editor\",\"reviewer\",\"endorser\"],\"type\":\"string\"},\"name\":{\"description\":\"The name of the individual or organization responsible for the contribution.\",\"$ref\":\"#/definitions/string\"},\"contact\":{\"description\":\"Contact details to assist a user in finding and communicating with the contributor.\",\"items\":{\"$ref\":\"#/definitions/ContactDetail\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"DataRequirement\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.\",\"$ref\":\"#/definitions/code\"},\"profile\":{\"description\":\"The profile of the required data, specified as the uri of the profile definition.\",\"items\":{\"$ref\":\"#/definitions/canonical\"},\"type\":\"array\"},\"subjectCodeableConcept\":{\"description\":\"The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"subjectReference\":{\"description\":\"The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.\",\"$ref\":\"#/definitions/Reference\"},\"mustSupport\":{\"description\":\"Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \\n\\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"codeFilter\":{\"description\":\"Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement_CodeFilter\"},\"type\":\"array\"},\"dateFilter\":{\"description\":\"Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement_DateFilter\"},\"type\":\"array\"},\"limit\":{\"description\":\"Specifies a maximum number of results that are required (uses the _count search parameter).\",\"$ref\":\"#/definitions/positiveInt\"},\"sort\":{\"description\":\"Specifies the order of the results to be returned.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement_Sort\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"canonical\":{\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"DataRequirement_CodeFilter\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"path\":{\"description\":\"The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.\",\"$ref\":\"#/definitions/string\"},\"searchParam\":{\"description\":\"A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.\",\"$ref\":\"#/definitions/string\"},\"valueSet\":{\"description\":\"The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.\",\"$ref\":\"#/definitions/canonical\"},\"code\":{\"description\":\"The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"DataRequirement_DateFilter\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"path\":{\"description\":\"The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.\",\"$ref\":\"#/definitions/string\"},\"searchParam\":{\"description\":\"A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.\",\"$ref\":\"#/definitions/string\"},\"valueDateTime\":{\"description\":\"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"},\"valuePeriod\":{\"description\":\"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.\",\"$ref\":\"#/definitions/Period\"},\"valueDuration\":{\"description\":\"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.\",\"$ref\":\"#/definitions/Duration\"}},\"additionalProperties\":false,\"type\":\"object\"},\"DataRequirement_Sort\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"path\":{\"description\":\"The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.\",\"$ref\":\"#/definitions/string\"},\"direction\":{\"description\":\"The direction of the sort, ascending or descending.\",\"enum\":[\"ascending\",\"descending\"],\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Expression\":{\"description\":\"A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"description\":{\"description\":\"A brief, natural language description of the condition that effectively communicates the intended semantics.\",\"$ref\":\"#/definitions/string\"},\"name\":{\"description\":\"A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.\",\"$ref\":\"#/definitions/id\"},\"language\":{\"description\":\"The media type of the language for the expression.\",\"enum\":[\"text/cql\",\"text/fhirpath\",\"application/x-fhir-query\"],\"type\":\"string\"},\"expression\":{\"description\":\"An expression in the specified language that returns a value.\",\"$ref\":\"#/definitions/string\"},\"reference\":{\"description\":\"A URI that defines where the expression is found.\",\"$ref\":\"#/definitions/uri\"}},\"additionalProperties\":false,\"type\":\"object\"},\"id\":{\"pattern\":\"^[A-Za-z0-9\\\\-\\\\.]{1,64}$\",\"type\":\"string\",\"description\":\"Any combination of letters, numerals, \\\"-\\\" and \\\".\\\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.\"},\"ParameterDefinition\":{\"description\":\"The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"name\":{\"description\":\"The name of the parameter used to allow access to the value of the parameter in evaluation contexts.\",\"$ref\":\"#/definitions/code\"},\"use\":{\"description\":\"Whether the parameter is input or output for the module.\",\"$ref\":\"#/definitions/code\"},\"min\":{\"description\":\"The minimum number of times this parameter SHALL appear in the request or response.\",\"$ref\":\"#/definitions/integer\"},\"max\":{\"description\":\"The maximum number of times this element is permitted to appear in the request or response.\",\"$ref\":\"#/definitions/string\"},\"documentation\":{\"description\":\"A brief discussion of what the parameter is for and how it is used by the module.\",\"$ref\":\"#/definitions/string\"},\"type\":{\"description\":\"The type of the parameter.\",\"$ref\":\"#/definitions/code\"},\"profile\":{\"description\":\"If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.\",\"$ref\":\"#/definitions/canonical\"}},\"additionalProperties\":false,\"type\":\"object\"},\"integer\":{\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\"},\"RelatedArtifact\":{\"description\":\"Related artifacts such as additional documentation, justification, or bibliographic references.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of relationship to the related artifact.\",\"enum\":[\"documentation\",\"justification\",\"citation\",\"predecessor\",\"successor\",\"derived-from\",\"depends-on\",\"composed-of\"],\"type\":\"string\"},\"label\":{\"description\":\"A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.\",\"$ref\":\"#/definitions/string\"},\"display\":{\"description\":\"A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.\",\"$ref\":\"#/definitions/string\"},\"citation\":{\"description\":\"A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.\",\"$ref\":\"#/definitions/markdown\"},\"url\":{\"description\":\"A url for the artifact that can be followed to access the actual content.\",\"$ref\":\"#/definitions/url\"},\"document\":{\"description\":\"The document being referenced, represented as an attachment. This is exclusive with the resource element.\",\"$ref\":\"#/definitions/Attachment\"},\"resource\":{\"description\":\"The related resource, such as a library, value set, profile, or other knowledge resource.\",\"$ref\":\"#/definitions/canonical\"}},\"additionalProperties\":false,\"type\":\"object\"},\"TriggerDefinition\":{\"description\":\"A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of triggering event.\",\"enum\":[\"named-event\",\"periodic\",\"data-changed\",\"data-added\",\"data-modified\",\"data-removed\",\"data-accessed\",\"data-access-ended\"],\"type\":\"string\"},\"name\":{\"description\":\"A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.\",\"$ref\":\"#/definitions/string\"},\"timingTiming\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"$ref\":\"#/definitions/Timing\"},\"timingReference\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"$ref\":\"#/definitions/Reference\"},\"timingDate\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\"},\"timingDateTime\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"},\"data\":{\"description\":\"The triggering data of the event (if this is a data trigger). If more than one data is requirement is specified, then all the data requirements must be true.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement\"},\"type\":\"array\"},\"condition\":{\"description\":\"A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.\",\"$ref\":\"#/definitions/Expression\"}},\"additionalProperties\":false,\"type\":\"object\"},\"UsageContext\":{\"description\":\"Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"code\":{\"description\":\"A code that identifies the type of context being specified by this usage context.\",\"$ref\":\"#/definitions/Coding\"},\"valueCodeableConcept\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"valueQuantity\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/Quantity\"},\"valueRange\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/Range\"},\"valueReference\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/Reference\"}},\"additionalProperties\":false,\"required\":[\"code\"],\"type\":\"object\"},\"Dosage\":{\"description\":\"Indicates how the medication is/was taken or should be taken by the patient.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"sequence\":{\"description\":\"Indicates the order in which the dosage instructions should be applied or interpreted.\",\"$ref\":\"#/definitions/integer\"},\"text\":{\"description\":\"Free text dosage instructions e.g. SIG.\",\"$ref\":\"#/definitions/string\"},\"additionalInstruction\":{\"description\":\"Supplemental instructions to the patient on how to take the medication (e.g. \\\"with meals\\\" or\\\"take half to one hour before food\\\") or warnings for the patient about the medication (e.g. \\\"may cause drowsiness\\\" or \\\"avoid exposure of skin to direct sunlight or sunlamps\\\").\",\"items\":{\"$ref\":\"#/definitions/CodeableConcept\"},\"type\":\"array\"},\"patientInstruction\":{\"description\":\"Instructions in terms that are understood by the patient or consumer.\",\"$ref\":\"#/definitions/string\"},\"timing\":{\"description\":\"When medication should be administered.\",\"$ref\":\"#/definitions/Timing\"},\"asNeededBoolean\":{\"description\":\"Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"},\"asNeededCodeableConcept\":{\"description\":\"Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).\",\"$ref\":\"#/definitions/CodeableConcept\"},\"site\":{\"description\":\"Body site to administer to.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"route\":{\"description\":\"How drug should enter body.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"method\":{\"description\":\"Technique for administering medication.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"doseAndRate\":{\"description\":\"The amount of medication administered.\",\"items\":{\"$ref\":\"#/definitions/Dosage_DoseAndRate\"},\"type\":\"array\"},\"maxDosePerPeriod\":{\"description\":\"Upper limit on medication per unit of time.\",\"$ref\":\"#/definitions/Ratio\"},\"maxDosePerAdministration\":{\"description\":\"Upper limit on medication per administration.\",\"$ref\":\"#/definitions/Quantity\"},\"maxDosePerLifetime\":{\"description\":\"Upper limit on medication per lifetime of the patient.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Dosage_DoseAndRate\":{\"description\":\"Indicates how the medication is/was taken or should be taken by the patient.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The kind of dose or rate specified, for example, ordered or calculated.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"doseRange\":{\"description\":\"Amount of medication per dose.\",\"$ref\":\"#/definitions/Range\"},\"doseQuantity\":{\"description\":\"Amount of medication per dose.\",\"$ref\":\"#/definitions/Quantity\"},\"rateRatio\":{\"description\":\"Amount of medication per unit of time.\",\"$ref\":\"#/definitions/Ratio\"},\"rateRange\":{\"description\":\"Amount of medication per unit of time.\",\"$ref\":\"#/definitions/Range\"},\"rateQuantity\":{\"description\":\"Amount of medication per unit of time.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Meta\":{\"description\":\"The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"versionId\":{\"description\":\"The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.\",\"$ref\":\"#/definitions/id\"},\"lastUpdated\":{\"description\":\"When the resource last changed - e.g. when the version changed.\",\"$ref\":\"#/definitions/instant\"},\"source\":{\"description\":\"A uri that identifies the source system of the resource. This provides a minimal amount of [[[Provenance]]] information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\",\"$ref\":\"#/definitions/uri\"},\"profile\":{\"description\":\"A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].\",\"items\":{\"$ref\":\"#/definitions/canonical\"},\"type\":\"array\"},\"security\":{\"description\":\"Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"},\"tag\":{\"description\":\"Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Questionnaire_EnableWhen\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"question\":{\"description\":\"The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.\",\"title\":\"Question\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"operator\":{\"description\":\"Specifies the criteria by which the question is enabled.\",\"enum\":[\"exists\",\"=\",\"!=\",\">\",\"<\",\">=\",\"<=\"],\"type\":\"string\",\"title\":\"Operator\"},\"answerBoolean\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"title\":\"Answer boolean\"},\"answerDecimal\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"title\":\"Answer decimal\"},\"answerInteger\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Answer integer\"},\"answerDate\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Answer date\"},\"answerDateTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"title\":\"Answer date time\"},\"answerTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Answer time\"},\"answerString\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Answer string\"},\"answerCoding\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"title\":\"Answer coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"row-layout\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"code\":{\"col\":2}},{\"system\":{\"col\":6}},{\"display\":{\"col\":4}}]}]},\"answerQuantity\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"title\":\"Answer quantity\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"answerReference\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"title\":\"Answer reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Questionnaire_AnswerOption\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueInteger\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\"},\"valueDate\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\"},\"valueTime\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\"},\"valueString\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\"},\"valueCoding\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"row-layout\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"code\":{\"col\":2}},{\"system\":{\"col\":6}},{\"display\":{\"col\":4}}]}]},\"valueReference\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"initialSelected\":{\"description\":\"Indicates whether the answer value is selected when the list of possible answers is initially shown.\",\"title\":\"Initial selected\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Questionnaire_Initial\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueBoolean\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"title\":\"Value boolean\"},\"valueDecimal\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"title\":\"Value decimal\"},\"valueInteger\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\"},\"valueDate\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\"},\"valueDateTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"title\":\"Value date time\"},\"valueTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\"},\"valueString\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\"},\"valueUri\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"title\":\"Value uri\"},\"valueAttachment\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value attachment\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"contentType\":{\"description\":\"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"language\":{\"description\":\"The human language of the content. The value can be any valid value according to BCP 47.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"data\":{\"description\":\"The actual data of the attachment - a sequence of bytes, base64 encoded.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"A location where the data can be accessed.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"size\":{\"description\":\"The number of bytes of data that make up this attachment (before base64 encoding, if that is done).\",\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"hash\":{\"description\":\"The calculated hash of the data using SHA-1. Represented using base64.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"title\":{\"description\":\"A label or set of text to display in place of the data.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"creation\":{\"description\":\"The date that the attachment was first created.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"valueCoding\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"grid\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"field\":\"code\",\"col\":2},{\"field\":\"sytem\",\"col\":5},{\"field\":\"display\",\"col\":5}]}]},\"valueQuantity\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value quantity\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"valueReference\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"}},\"additionalProperties\":false,\"type\":\"object\"},\"xhtml\":{\"$ref\":\"#/definitions/string\"},\"__$Item\":{}},\"fieldsets\":[{\"fields\":[\"type\",\"linkId\",\"maxLength\"],\"showFields\":[{\"field\":\"linkId\",\"col\":3},{\"field\":\"type\",\"col\":3},{\"field\":\"maxLength\",\"col\":2}]},{\"fields\":[\"prefix\",\"text\",\"_text\",\"_prefix\"],\"showFields\":[{\"field\":\"prefix\",\"col\":1},{\"field\":\"text\",\"col\":11}]},{\"fields\":[\"required\",\"readOnly\",\"repeats\"],\"showFields\":[{\"field\":\"repeats\",\"col\":4},{\"field\":\"readOnly\",\"col\":4},{\"field\":\"required\",\"col\":4}]},{\"fields\":[\"code\",\"__$codeYesNo\"],\"showFields\":[{\"field\":\"__$codeYesNo\",\"col\":12},{\"field\":\"code\",\"col\":12}]},{\"fields\":[\"__$helpText\"],\"showFields\":[{\"field\":\"__$units\",\"col\":12}]},{\"fields\":[\"answerValueSet\"],\"showFields\":[{\"field\":\"answerValueSet\",\"col\":12}]},{\"fields\":[\"answerOption\"],\"showFields\":[{\"field\":\"answerOption\",\"col\":12}]},{\"fields\":[\"__$units\"],\"showFields\":[{\"field\":\"__$units\",\"col\":12}]},{\"fields\":[\"__$totalScoreItem\",\"__$totalScore\"],\"showFields\":[{\"field\":\"__$totalScore\",\"col\":12}]},{\"fields\":[\"initial\"],\"showFields\":[{\"field\":\"initial\",\"col\":12}]},{\"fields\":[\"__$restrictions\"],\"showFields\":[{\"field\":\"__$restrictions\",\"col\":12}]},{\"fields\":[\"enableWhen\"],\"showFields\":[{\"field\":\"enableWhen\",\"col\":12}]},{\"fields\":[\"enableBehavior\"],\"showFields\":[{\"field\":\"enableBehavior\",\"col\":3}]},{\"fields\":[\"__$observationLinkPeriod\"],\"showFields\":[{\"field\":\"__$observationLinkPeriod\",\"col\":10}]},{\"fields\":[\"id\",\"extension\",\"modifierExtension\",\"definition\"]}],\"steps\":[{\"title\":\"Specify basic properties\",\"optional\":false,\"rows\":[{\"showFields\":[{\"field\":\"type\",\"col\":12},{\"field\":\"linkId\",\"col\":12}]},{\"showFields\":[{\"field\":\"text\",\"col\":12},{\"field\":\"__$codeYesNo\",\"col\":12},{\"field\":\"code\",\"col\":12},{\"field\":\"prefix\",\"col\":12}]},{\"showFields\":[{\"field\":\"repeats\",\"col\":12},{\"field\":\"required\",\"col\":12},{\"field\":\"readOnly\",\"col\":12},{\"field\":\"maxLength\",\"col\":12},{\"field\":\"answerValueSet\",\"col\":12},{\"field\":\"answerOption\",\"title\":\"Answer choices\",\"col\":12},{\"field\":\"initial\",\"title\":\"Default value\",\"col\":12}]}]},{\"title\":\"Conditions to display\",\"description\":\"A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.\",\"optional\":false,\"rows\":[{\"showFields\":[{\"field\":\"enableWhen\",\"col\":12}]},{\"showFields\":[{\"field\":\"enableBehavior\",\"col\":3}]}]}],\"widget\":{\"keyField\":\"type\",\"id\":\"row-layout\"}}");
|
|
2801
|
+
module.exports = JSON.parse("{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"type\":\"object\",\"properties\":{\"__$start\":{\"description\":\"An internal field to indicate start of loading item. User should not see this.\",\"title\":\"Start - Should be invisible.\",\"type\":\"boolean\",\"widget\":{\"id\":\"hidden\"}},\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).\",\"enum\":[\"boolean\",\"decimal\",\"integer\",\"date\",\"dateTime\",\"time\",\"string\",\"text\",\"url\",\"choice\",\"open-choice\",\"attachment\",\"reference\",\"quantity\",\"group\",\"display\"],\"type\":\"string\",\"title\":\"Data type\",\"widget\":{\"id\":\"type\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"selectOptionsMap\":{\"remove\":[\"display\",\"reference\",\"attachment\"],\"map\":{\"group\":\"header\"}}},\"default\":\"string\"},\"__$restrictions\":{\"description\":\"Choose to add value restrictions to the input.\",\"title\":\"Restrictions\",\"type\":\"array\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"operator\":{\"description\":\"Comparing operator to restrict the input value\",\"type\":\"string\",\"enum\":[\"maxLength\",\"minLength\",\"regex\",\"minValue\",\"maxValue\",\"mazSize\",\"mimeType\"],\"title\":\"Restriction\",\"widget\":{\"id\":\"restrictions-operator\"}},\"value\":{\"description\":\"Value to restrict the input\",\"type\":\"string\",\"title\":\"Value\"}},\"additionalProperties\":false,\"type\":\"object\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'decimal' || target.value == 'integer' || target.value == 'string' || target.value == 'text' || target.value == 'url' || target.value == 'open-choice'\"]},\"widget\":{\"id\":\"restrictions\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"noTableLabel\":true,\"noCollapseButton\":true,\"addButtonLabel\":\"Add new restriction\",\"booleanControlled\":true,\"booleanLabel\":\"Use restrictions?\",\"booleanControlledInitial\":false,\"showFields\":[{\"field\":\"operator\",\"col\":7,\"nolabel\":true},{\"field\":\"value\",\"col\":4,\"nolabel\":true}]}},\"maxLength\":{\"description\":\"The maximum number of characters that are permitted in the answer to be considered a \\\"valid\\\" QuestionnaireResponse.\",\"title\":\"Maximum number of char.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'boolean' || target.value == 'decimal' || target.value == 'integer' || target.value == 'string' || target.value == 'text' || target.value == 'url' || target.value == 'open-choice'\"]},\"widget\":{\"id\":\"hidden\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-1\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"linkId\":{\"description\":\"An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.\",\"title\":\"Link id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"definition\":{\"description\":\"This element is a URI that refers to an [[[ElementDefinition]]] that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\\n\\n* code (ElementDefinition.code) \\n* type (ElementDefinition.type) \\n* required (ElementDefinition.min) \\n* repeats (ElementDefinition.max) \\n* maxLength (ElementDefinition.maxLength) \\n* answerValueSet (ElementDefinition.binding)\\n* options (ElementDefinition.binding).\",\"title\":\"Definition\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"__$codeYesNo\":{\"description\":\"\",\"enum\":[\"No\",\"Yes\"],\"default\":\"Yes\",\"type\":\"string\",\"title\":\"Use code(s)?\",\"widget\":{\"id\":\"hidden\",\"layout\":\"row\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-3\"}},\"code\":{\"description\":\"A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).\",\"items\":{\"description\":\"A reference to a code defined by a terminology system.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Code\",\"visibleIf\":{\"allOf\":[{\"type\":[\"$EXP$ target.value != 'display'\"]}]},\"widget\":{\"id\":\"table\",\"noTableLabel\":true,\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\",\"noCollapseButton\":true,\"addButtonLabel\":\"Add new code\",\"singleItem\":true,\"booleanControlled\":true,\"booleanLabel\":\"Use question code?\",\"booleanControlledInitial\":false,\"showFields\":[{\"field\":\"code\",\"col\":4,\"nolabel\":true},{\"field\":\"system\",\"col\":7,\"nolabel\":true}]}},\"prefix\":{\"description\":\"A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.\",\"title\":\"Prefix\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"string-with-css\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-3\"}},\"_prefix\":{\"description\":\"Extensions for prefix\",\"title\":\"Questionnaire prefix extensions\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"title\":\"Extensions for prefix\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"valueString\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"type\":\"object\",\"additionalProperties\":false},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"hidden\"}},\"text\":{\"description\":\"The name of a section, the text of a question or text content for a display item.\",\"title\":\"Question text\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"string-with-css\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"}},\"_text\":{\"description\":\"Extensions for text\",\"title\":\"Questionnaire text extensions\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"title\":\"Extensions for text\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"valueString\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"type\":\"object\",\"additionalProperties\":false},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"hidden\"}},\"enableWhen\":{\"description\":\"A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"__$answerType\":{\"title\":\"Source question type\",\"type\":\"string\",\"default\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"question\":{\"description\":\"The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.\",\"title\":\"Question\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"enable-when-source\"}},\"operator\":{\"description\":\"Specifies the criteria by which the question is enabled.\",\"enum\":[\"exists\",\"=\",\"!=\",\">\",\"<\",\">=\",\"<=\"],\"type\":\"string\",\"title\":\"Operator\",\"widget\":{\"id\":\"enable-operator\"}},\"answerBoolean\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"oneOf\":[{\"__$answerType\":[\"boolean\"]}]}},\"answerDecimal\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"decimal\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerInteger\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"integer\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerDate\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"date\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerDateTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"dateTime\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"time\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerString\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"$EXP$ target.value == 'string' || target.value == 'text' || target.value == 'url'\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]}},\"answerCoding\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"},\"__$score\":{\"description\":\"If desired, enter a number to assign a numerical value to this answer for scoring purposes.\",\"type\":\"number\",\"title\":\"Score\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"$EXP$ target.value == 'choice' || target.value == 'open-choice'\"]},{\"operator\":[\"$EXP$ target.value == '=' || target.value == '!='\"]}]},\"widget\":{\"id\":\"enable-when-answer-choice\"}},\"answerQuantity\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"quantity\"]},{\"operator\":[\"$EXP$ target.value != 'exists'\"]}]},\"widget\":{\"id\":\"left-label-form-group\",\"labelWidth\":4,\"controlWidth\":8,\"label\":true,\"showFields\":[{\"field\":\"value\",\"col\":3}]}},\"answerReference\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"allOf\":[{\"__$answerType\":[\"reference\"]},{\"operator\":[\"$EXP$ target.value == 'exists' || target.value == '='\"]}]},\"widget\":{\"id\":\"left-label-form-group\",\"labelWidth\":4,\"controlWidth\":8,\"label\":true,\"showFields\":[{\"field\":\"reference\",\"col\":4},{\"field\":\"type\",\"col\":4},{\"field\":\"display\",\"col\":4}]}}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Conditional display\",\"widget\":{\"noCollapseButton\":true,\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"addButtonLabel\":\"Add another condition\",\"id\":\"table\",\"showFields\":[{\"field\":\"question\",\"nolabel\":true,\"col\":5,\"title\":\"Question\"},{\"field\":\"operator\",\"nolabel\":true,\"col\":2,\"title\":\"Operator\"},{\"field\":\"answerBoolean\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerDecimal\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerInteger\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerDate\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerDateTime\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerTime\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerString\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerCoding\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"},{\"field\":\"answerQuantity\",\"nolabel\":true,\"col\":4,\"title\":\"Answer\"}]}},\"enableBehavior\":{\"description\":\"Controls how multiple enableWhen values are interpreted - whether all or any must be true.\",\"enum\":[\"all\",\"any\"],\"type\":\"string\",\"title\":\"Show this item when\",\"widget\":{\"id\":\"enable-behavior\",\"layout\":\"row\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-6\"}},\"required\":{\"description\":\"An indication, if true, that the item must be present in a \\\"completed\\\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.\",\"title\":\"Answer required\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]},\"widget\":{\"id\":\"boolean-radio\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\"}},\"repeats\":{\"description\":\"An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.\",\"title\":\"Allow repeating question?\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]},\"widget\":{\"id\":\"boolean-radio\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\"}},\"readOnly\":{\"description\":\"An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.\",\"title\":\"Read only\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]},\"widget\":{\"id\":\"boolean-radio\",\"labelWidthClass\":\"col-sm-2\",\"controlWidthClass\":\"col-sm-10\"}},\"answerValueSet\":{\"description\":\"A reference to a value set containing a list of codes representing permitted answers for a \\\"choice\\\" or \\\"open-choice\\\" question.\",\"title\":\"Answer value set\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'open-choice' || target.value == 'choice'\"]}},\"answerOption\":{\"description\":\"One of the permitted answers for a \\\"choice\\\" or \\\"open-choice\\\" question.\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueInteger\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\",\"visibleIf\":{\"/type\":[\"integer\"]}},\"valueDate\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\",\"visibleIf\":{\"/type\":[\"date\"]}},\"valueTime\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\",\"visibleIf\":{\"/type\":[\"time\"]}},\"valueString\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'string' || target.value == 'text'\"]}},\"valueCoding\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"__$score\":{\"description\":\"If desired, enter a number to assign a numerical value to this answer for scoring purposes.\",\"type\":\"number\",\"title\":\"Score\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'choice' || target.value == 'open-choice'\"]}},\"valueReference\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"reference\"]}},\"initialSelected\":{\"description\":\"Indicates whether the answer value is selected when the list of possible answers is initially shown.\",\"title\":\"Initial selected\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Answer choices\",\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'open-choice' || target.value == 'choice'\"]},\"widget\":{\"id\":\"answer-option\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"addButtonLabel\":\"Add another answer\",\"rowSelection\":true,\"multipleSelectionEnableSource\":\"repeats\",\"showFields\":[{\"field\":\"valueInteger\",\"col\":9,\"nolabel\":true},{\"field\":\"valueDate\",\"col\":9,\"nolabel\":true},{\"field\":\"valueTime\",\"col\":9,\"nolabel\":true},{\"field\":\"valueString\",\"col\":9,\"nolabel\":true},{\"field\":\"valueCoding.display\",\"title\":\"Display\",\"col\":3,\"nolabel\":true},{\"field\":\"valueCoding.code\",\"title\":\"Code\",\"col\":2,\"nolabel\":true},{\"field\":\"valueCoding.system\",\"title\":\"System\",\"col\":2,\"nolabel\":true},{\"field\":\"valueCoding.__$score\",\"title\":\"Score\",\"col\":2,\"nolabel\":true},{\"field\":\"valueReference\",\"col\":9,\"nolabel\":true}]}},\"initial\":{\"description\":\"One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.\",\"items\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"hidden\"}},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueBoolean\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"title\":\"Value boolean\",\"visibleIf\":{\"/type\":[\"boolean\"]},\"widget\":{\"id\":\"boolean-radio\",\"nolabel\":true}},\"valueDecimal\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"title\":\"Value decimal\",\"visibleIf\":{\"/type\":[\"decimal\"]}},\"valueInteger\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\",\"visibleIf\":{\"/type\":[\"integer\"]}},\"valueDate\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\",\"visibleIf\":{\"/type\":[\"date\"]}},\"valueDateTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"title\":\"Value date time\",\"visibleIf\":{\"/type\":[\"dateTime\"]}},\"valueTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\",\"visibleIf\":{\"/type\":[\"time\"]}},\"valueString\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'string' || target.value == 'text'\"]}},\"valueUri\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"title\":\"Value uri\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'uri' || target.value == 'url'\"]}},\"valueAttachment\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value attachment\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"contentType\":{\"description\":\"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"language\":{\"description\":\"The human language of the content. The value can be any valid value according to BCP 47.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"data\":{\"description\":\"The actual data of the attachment - a sequence of bytes, base64 encoded.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"A location where the data can be accessed.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"size\":{\"description\":\"The number of bytes of data that make up this attachment (before base64 encoding, if that is done).\",\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"hash\":{\"description\":\"The calculated hash of the data using SHA-1. Represented using base64.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"title\":{\"description\":\"A label or set of text to display in place of the data.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"creation\":{\"description\":\"The date that the attachment was first created.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"attachment\"]}},\"valueCoding\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"$EXP$ target.value == 'choice' || target.value == 'open-choice'\"]},\"widget\":{\"id\":\"hidden\"}},\"valueQuantity\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value quantity\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"units\"}},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"quantity\"]}},\"valueReference\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\",\"visibleIf\":{\"/type\":[\"reference\"]}}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Initial value\",\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'group' && target.value != 'display'\"]},\"widget\":{\"id\":\"initial\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\",\"addButtonLabel\":\"Add another value\",\"singleItemEnableSource\":\"repeats\",\"showFields\":[{\"field\":\"valueBoolean\",\"noHeader\":true,\"title\":\"\",\"nolabel\":true},{\"field\":\"valueDecimal\",\"noHeader\":true,\"title\":\"\",\"nolabel\":true},{\"field\":\"valueInteger\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueDate\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueDateTime\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueTime\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueString\",\"noHeader\":true,\"title\":\"\",\"nolabel\":true},{\"field\":\"valueUri\",\"noHeader\":true,\"nolabel\":true},{\"field\":\"valueCoding.display\",\"title\":\"Display\",\"col\":4,\"nolabel\":true},{\"field\":\"valueCoding.code\",\"title\":\"Code\",\"col\":3,\"nolabel\":true},{\"field\":\"valueCoding.system\",\"title\":\"System\",\"col\":4,\"nolabel\":true},{\"field\":\"valueQuantity.value\",\"title\":\"Value\",\"col\":6,\"nolabel\":true},{\"field\":\"valueQuantity.unit\",\"title\":\"Units\",\"col\":5,\"nolabel\":true},{\"field\":\"valueReference\",\"noHeader\":true,\"nolabel\":true}]}},\"__$observationLinkPeriod\":{\"description\":\"Sets a time window within which to look for an Observation with a matching code, for pre-population. Requires that a code be assigned to this item.\",\"title\":\"Add link to pre-populate FHIR Observation?\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"observation-link-period\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value != 'display'\"]}},\"__$units\":{\"description\":\"The units for answers. They are applicable for integer, decimal, and quantity types.\",\"title\":\"Units\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"widget\":{\"id\":\"units\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"},\"visibleIf\":{\"type\":[\"$EXP$ target.value == 'integer' || target.value == 'decimal' || target.value == 'quantity'\"]}},\"__$totalScore\":{\"description\":\"Makes this as an item with total score, i.e. totaling scores in pre-defined answers of the choice type items.\",\"title\":\"Make this a total score item\",\"pattern\":\"^true|false$\",\"default\":\"false\",\"type\":\"boolean\",\"widget\":{\"id\":\"hidden\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"}},\"__$helpText\":{\"description\":\"Text is displayed in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'help' for a question, group or the questionnaire as a whole (depending what the text is nested within)\",\"title\":\"Help text\",\"type\":\"string\",\"widget\":{\"id\":\"help-text\",\"labelPosition\":\"left\",\"labelWidthClass\":\"col-sm-2 pr-1\",\"controlWidthClass\":\"col-sm-10\"}},\"__$end\":{\"description\":\"An internal field to indicate end of loading an item. User should not see this.\",\"title\":\"End - Should be invisible\",\"type\":\"boolean\",\"widget\":{\"id\":\"hidden\"}}},\"required\":[\"text\",\"type\",\"linkId\"],\"additionalProperties\":false,\"definitions\":{\"string\":{\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"Extension\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"uri\":{\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"Address\":{\"description\":\"An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"use\":{\"description\":\"The purpose of this address.\",\"enum\":[\"home\",\"work\",\"temp\",\"old\",\"billing\"],\"type\":\"string\"},\"type\":{\"description\":\"Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.\",\"enum\":[\"postal\",\"physical\",\"both\"],\"type\":\"string\"},\"text\":{\"description\":\"Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.\",\"$ref\":\"#/definitions/string\"},\"line\":{\"description\":\"This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"city\":{\"description\":\"The name of the city, town, suburb, village or other community or delivery center.\",\"$ref\":\"#/definitions/string\"},\"district\":{\"description\":\"The name of the administrative area (county).\",\"$ref\":\"#/definitions/string\"},\"state\":{\"description\":\"Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).\",\"$ref\":\"#/definitions/string\"},\"postalCode\":{\"description\":\"A postal code designating a region defined by the postal service.\",\"$ref\":\"#/definitions/string\"},\"country\":{\"description\":\"Country - a nation as commonly understood or generally accepted.\",\"$ref\":\"#/definitions/string\"},\"period\":{\"description\":\"Time period when address was/is in use.\",\"$ref\":\"#/definitions/Period\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Period\":{\"description\":\"A time period defined by a start and end date and optionally time.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"start\":{\"description\":\"The start of the period. The boundary is inclusive.\",\"$ref\":\"#/definitions/dateTime\"},\"end\":{\"description\":\"The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.\",\"$ref\":\"#/definitions/dateTime\"}},\"additionalProperties\":false,\"type\":\"object\"},\"dateTime\":{\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"},\"Age\":{\"description\":\"A duration of time during which an organism (or a process) has existed.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"decimal\":{\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"code\":{\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"Annotation\":{\"description\":\"A text note which also contains information about who made the statement and when.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"authorReference\":{\"description\":\"The individual responsible for making the annotation.\",\"$ref\":\"#/definitions/Reference\"},\"authorString\":{\"description\":\"The individual responsible for making the annotation.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"time\":{\"description\":\"Indicates when this particular annotation was made.\",\"$ref\":\"#/definitions/dateTime\"},\"text\":{\"description\":\"The text of the annotation in markdown format.\",\"$ref\":\"#/definitions/markdown\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Reference\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Identifier\":{\"description\":\"An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"use\":{\"description\":\"The purpose of this identifier.\",\"enum\":[\"usual\",\"official\",\"temp\",\"secondary\",\"old\"],\"type\":\"string\"},\"type\":{\"description\":\"A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"system\":{\"description\":\"Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\",\"$ref\":\"#/definitions/uri\"},\"value\":{\"description\":\"The portion of the identifier typically relevant to the user and which is unique within the context of the system.\",\"$ref\":\"#/definitions/string\"},\"period\":{\"description\":\"Time period during which identifier is/was valid for use.\",\"$ref\":\"#/definitions/Period\"},\"assigner\":{\"description\":\"Organization that issued/manages the identifier.\",\"$ref\":\"#/definitions/Reference\"}},\"additionalProperties\":false,\"type\":\"object\"},\"CodeableConcept\":{\"description\":\"A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"coding\":{\"description\":\"A reference to a code defined by a terminology system.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"},\"text\":{\"description\":\"A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.\",\"$ref\":\"#/definitions/string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Coding\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"grid\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"field\":\"code\",\"col\":2},{\"field\":\"system\",\"col\":5},{\"field\":\"display\",\"col\":5}]}]},\"boolean\":{\"pattern\":\"^true|false$\",\"type\":\"boolean\"},\"markdown\":{\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"description\":\"A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine\"},\"Attachment\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"contentType\":{\"description\":\"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"language\":{\"description\":\"The human language of the content. The value can be any valid value according to BCP 47.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"data\":{\"description\":\"The actual data of the attachment - a sequence of bytes, base64 encoded.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"A location where the data can be accessed.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"size\":{\"description\":\"The number of bytes of data that make up this attachment (before base64 encoding, if that is done).\",\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"hash\":{\"description\":\"The calculated hash of the data using SHA-1. Represented using base64.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"title\":{\"description\":\"A label or set of text to display in place of the data.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"creation\":{\"description\":\"The date that the attachment was first created.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"base64Binary\":{\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"unsignedInt\":{\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"ContactPoint\":{\"description\":\"Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"Telecommunications form for contact point - what communications system is required to make use of the contact.\",\"enum\":[\"phone\",\"fax\",\"email\",\"pager\",\"url\",\"sms\",\"other\"],\"type\":\"string\"},\"value\":{\"description\":\"The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).\",\"$ref\":\"#/definitions/string\"},\"use\":{\"description\":\"Identifies the purpose for the contact point.\",\"enum\":[\"home\",\"work\",\"temp\",\"old\",\"mobile\"],\"type\":\"string\"},\"rank\":{\"description\":\"Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.\",\"$ref\":\"#/definitions/positiveInt\"},\"period\":{\"description\":\"Time period when the contact point was/is in use.\",\"$ref\":\"#/definitions/Period\"}},\"additionalProperties\":false,\"type\":\"object\"},\"positiveInt\":{\"pattern\":\"^[1-9][0-9]*$\",\"type\":\"number\",\"description\":\"An integer with a value that is positive (e.g. >0)\"},\"Count\":{\"description\":\"A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Distance\":{\"description\":\"A length - a value with a unit that is a physical distance.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Duration\":{\"description\":\"A length of time.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"$ref\":\"#/definitions/decimal\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"$ref\":\"#/definitions/string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"$ref\":\"#/definitions/uri\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"HumanName\":{\"description\":\"A human's name with the ability to identify parts and usage.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"use\":{\"description\":\"Identifies the purpose for this name.\",\"enum\":[\"usual\",\"official\",\"temp\",\"nickname\",\"anonymous\",\"old\",\"maiden\"],\"type\":\"string\"},\"text\":{\"description\":\"Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.\",\"$ref\":\"#/definitions/string\"},\"family\":{\"description\":\"The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.\",\"$ref\":\"#/definitions/string\"},\"given\":{\"description\":\"Given name.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"prefix\":{\"description\":\"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"suffix\":{\"description\":\"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"period\":{\"description\":\"Indicates the period of time when this name was valid for the named person.\",\"$ref\":\"#/definitions/Period\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Money\":{\"description\":\"An amount of economic utility in some recognized currency.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"Numerical value (with implicit precision).\",\"$ref\":\"#/definitions/decimal\"},\"currency\":{\"description\":\"ISO 4217 Currency Code.\",\"$ref\":\"#/definitions/code\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Quantity\":{\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Range\":{\"description\":\"A set of ordered Quantities defined by a low and high limit.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"low\":{\"description\":\"The low limit. The boundary is inclusive.\",\"$ref\":\"#/definitions/Quantity\"},\"high\":{\"description\":\"The high limit. The boundary is inclusive.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Ratio\":{\"description\":\"A relationship of two Quantity values - expressed as a numerator and a denominator.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"numerator\":{\"description\":\"The value of the numerator.\",\"$ref\":\"#/definitions/Quantity\"},\"denominator\":{\"description\":\"The value of the denominator.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"SampledData\":{\"description\":\"A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"origin\":{\"description\":\"The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.\",\"$ref\":\"#/definitions/Quantity\"},\"period\":{\"description\":\"The length of time between sampling times, measured in milliseconds.\",\"$ref\":\"#/definitions/decimal\"},\"factor\":{\"description\":\"A correction factor that is applied to the sampled data points before they are added to the origin.\",\"$ref\":\"#/definitions/decimal\"},\"lowerLimit\":{\"description\":\"The lower limit of detection of the measured points. This is needed if any of the data points have the value \\\"L\\\" (lower than detection limit).\",\"$ref\":\"#/definitions/decimal\"},\"upperLimit\":{\"description\":\"The upper limit of detection of the measured points. This is needed if any of the data points have the value \\\"U\\\" (higher than detection limit).\",\"$ref\":\"#/definitions/decimal\"},\"dimensions\":{\"description\":\"The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.\",\"$ref\":\"#/definitions/positiveInt\"},\"data\":{\"description\":\"A series of data points which are decimal values separated by a single space (character u20). The special values \\\"E\\\" (error), \\\"L\\\" (below detection limit) and \\\"U\\\" (above detection limit) can also be used in place of a decimal value.\",\"$ref\":\"#/definitions/string\"}},\"additionalProperties\":false,\"required\":[\"origin\"],\"type\":\"object\"},\"Signature\":{\"description\":\"A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"},\"when\":{\"description\":\"When the digital signature was signed.\",\"$ref\":\"#/definitions/instant\"},\"who\":{\"description\":\"A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).\",\"$ref\":\"#/definitions/Reference\"},\"onBehalfOf\":{\"description\":\"A reference to an application-usable description of the identity that is represented by the signature.\",\"$ref\":\"#/definitions/Reference\"},\"targetFormat\":{\"description\":\"A mime type that indicates the technical format of the target resources signed by the signature.\",\"$ref\":\"#/definitions/code\"},\"sigFormat\":{\"description\":\"A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.\",\"$ref\":\"#/definitions/code\"},\"data\":{\"description\":\"The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.\",\"$ref\":\"#/definitions/base64Binary\"}},\"additionalProperties\":false,\"required\":[\"type\",\"who\"],\"type\":\"object\"},\"instant\":{\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$\",\"type\":\"string\",\"description\":\"An instant in time - known at least to the second\"},\"Timing\":{\"description\":\"Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"event\":{\"description\":\"Identifies specific times when the event occurs.\",\"items\":{\"$ref\":\"#/definitions/dateTime\"},\"type\":\"array\"},\"repeat\":{\"description\":\"A set of rules that describe when the event is scheduled.\",\"$ref\":\"#/definitions/Timing_Repeat\"},\"code\":{\"description\":\"A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).\",\"$ref\":\"#/definitions/CodeableConcept\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Timing_Repeat\":{\"description\":\"Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"boundsDuration\":{\"description\":\"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.\",\"$ref\":\"#/definitions/Duration\"},\"boundsRange\":{\"description\":\"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.\",\"$ref\":\"#/definitions/Range\"},\"boundsPeriod\":{\"description\":\"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.\",\"$ref\":\"#/definitions/Period\"},\"count\":{\"description\":\"A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.\",\"$ref\":\"#/definitions/positiveInt\"},\"countMax\":{\"description\":\"If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.\",\"$ref\":\"#/definitions/positiveInt\"},\"duration\":{\"description\":\"How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.\",\"$ref\":\"#/definitions/decimal\"},\"durationMax\":{\"description\":\"If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.\",\"$ref\":\"#/definitions/decimal\"},\"durationUnit\":{\"description\":\"The units of time for the duration, in UCUM units.\",\"enum\":[\"s\",\"min\",\"h\",\"d\",\"wk\",\"mo\",\"a\"],\"type\":\"string\"},\"frequency\":{\"description\":\"The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.\",\"$ref\":\"#/definitions/positiveInt\"},\"frequencyMax\":{\"description\":\"If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.\",\"$ref\":\"#/definitions/positiveInt\"},\"period\":{\"description\":\"Indicates the duration of time over which repetitions are to occur; e.g. to express \\\"3 times per day\\\", 3 would be the frequency and \\\"1 day\\\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.\",\"$ref\":\"#/definitions/decimal\"},\"periodMax\":{\"description\":\"If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \\\"do this once every 3-5 days.\",\"$ref\":\"#/definitions/decimal\"},\"periodUnit\":{\"description\":\"The units of time for the period in UCUM units.\",\"enum\":[\"s\",\"min\",\"h\",\"d\",\"wk\",\"mo\",\"a\"],\"type\":\"string\"},\"dayOfWeek\":{\"description\":\"If one or more days of week is provided, then the action happens only on the specified day(s).\",\"items\":{\"$ref\":\"#/definitions/code\"},\"type\":\"array\"},\"timeOfDay\":{\"description\":\"Specified time of day for action to take place.\",\"items\":{\"$ref\":\"#/definitions/time\"},\"type\":\"array\"},\"when\":{\"description\":\"An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.\",\"items\":{\"enum\":[\"MORN\",\"MORN.early\",\"MORN.late\",\"NOON\",\"AFT\",\"AFT.early\",\"AFT.late\",\"EVE\",\"EVE.early\",\"EVE.late\",\"NIGHT\",\"PHS\",\"HS\",\"WAKE\",\"C\",\"CM\",\"CD\",\"CV\",\"AC\",\"ACM\",\"ACD\",\"ACV\",\"PC\",\"PCM\",\"PCD\",\"PCV\"],\"type\":\"string\"},\"type\":\"array\"},\"offset\":{\"description\":\"The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.\",\"$ref\":\"#/definitions/unsignedInt\"}},\"additionalProperties\":false,\"type\":\"object\"},\"time\":{\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"description\":\"A time during the day, with no date specified\"},\"ContactDetail\":{\"description\":\"Specifies contact information for a person or organization.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"name\":{\"description\":\"The name of an individual to contact.\",\"$ref\":\"#/definitions/string\"},\"telecom\":{\"description\":\"The contact details for the individual (if a name was provided) or the organization.\",\"items\":{\"$ref\":\"#/definitions/ContactPoint\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Contributor\":{\"description\":\"A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of contributor.\",\"enum\":[\"author\",\"editor\",\"reviewer\",\"endorser\"],\"type\":\"string\"},\"name\":{\"description\":\"The name of the individual or organization responsible for the contribution.\",\"$ref\":\"#/definitions/string\"},\"contact\":{\"description\":\"Contact details to assist a user in finding and communicating with the contributor.\",\"items\":{\"$ref\":\"#/definitions/ContactDetail\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"DataRequirement\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.\",\"$ref\":\"#/definitions/code\"},\"profile\":{\"description\":\"The profile of the required data, specified as the uri of the profile definition.\",\"items\":{\"$ref\":\"#/definitions/canonical\"},\"type\":\"array\"},\"subjectCodeableConcept\":{\"description\":\"The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"subjectReference\":{\"description\":\"The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.\",\"$ref\":\"#/definitions/Reference\"},\"mustSupport\":{\"description\":\"Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \\n\\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).\",\"items\":{\"$ref\":\"#/definitions/string\"},\"type\":\"array\"},\"codeFilter\":{\"description\":\"Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement_CodeFilter\"},\"type\":\"array\"},\"dateFilter\":{\"description\":\"Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement_DateFilter\"},\"type\":\"array\"},\"limit\":{\"description\":\"Specifies a maximum number of results that are required (uses the _count search parameter).\",\"$ref\":\"#/definitions/positiveInt\"},\"sort\":{\"description\":\"Specifies the order of the results to be returned.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement_Sort\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"canonical\":{\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"DataRequirement_CodeFilter\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"path\":{\"description\":\"The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.\",\"$ref\":\"#/definitions/string\"},\"searchParam\":{\"description\":\"A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.\",\"$ref\":\"#/definitions/string\"},\"valueSet\":{\"description\":\"The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.\",\"$ref\":\"#/definitions/canonical\"},\"code\":{\"description\":\"The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"DataRequirement_DateFilter\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"path\":{\"description\":\"The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.\",\"$ref\":\"#/definitions/string\"},\"searchParam\":{\"description\":\"A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.\",\"$ref\":\"#/definitions/string\"},\"valueDateTime\":{\"description\":\"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"},\"valuePeriod\":{\"description\":\"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.\",\"$ref\":\"#/definitions/Period\"},\"valueDuration\":{\"description\":\"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.\",\"$ref\":\"#/definitions/Duration\"}},\"additionalProperties\":false,\"type\":\"object\"},\"DataRequirement_Sort\":{\"description\":\"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"path\":{\"description\":\"The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.\",\"$ref\":\"#/definitions/string\"},\"direction\":{\"description\":\"The direction of the sort, ascending or descending.\",\"enum\":[\"ascending\",\"descending\"],\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Expression\":{\"description\":\"A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"description\":{\"description\":\"A brief, natural language description of the condition that effectively communicates the intended semantics.\",\"$ref\":\"#/definitions/string\"},\"name\":{\"description\":\"A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.\",\"$ref\":\"#/definitions/id\"},\"language\":{\"description\":\"The media type of the language for the expression.\",\"enum\":[\"text/cql\",\"text/fhirpath\",\"application/x-fhir-query\"],\"type\":\"string\"},\"expression\":{\"description\":\"An expression in the specified language that returns a value.\",\"$ref\":\"#/definitions/string\"},\"reference\":{\"description\":\"A URI that defines where the expression is found.\",\"$ref\":\"#/definitions/uri\"}},\"additionalProperties\":false,\"type\":\"object\"},\"id\":{\"pattern\":\"^[A-Za-z0-9\\\\-\\\\.]{1,64}$\",\"type\":\"string\",\"description\":\"Any combination of letters, numerals, \\\"-\\\" and \\\".\\\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.\"},\"ParameterDefinition\":{\"description\":\"The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"name\":{\"description\":\"The name of the parameter used to allow access to the value of the parameter in evaluation contexts.\",\"$ref\":\"#/definitions/code\"},\"use\":{\"description\":\"Whether the parameter is input or output for the module.\",\"$ref\":\"#/definitions/code\"},\"min\":{\"description\":\"The minimum number of times this parameter SHALL appear in the request or response.\",\"$ref\":\"#/definitions/integer\"},\"max\":{\"description\":\"The maximum number of times this element is permitted to appear in the request or response.\",\"$ref\":\"#/definitions/string\"},\"documentation\":{\"description\":\"A brief discussion of what the parameter is for and how it is used by the module.\",\"$ref\":\"#/definitions/string\"},\"type\":{\"description\":\"The type of the parameter.\",\"$ref\":\"#/definitions/code\"},\"profile\":{\"description\":\"If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.\",\"$ref\":\"#/definitions/canonical\"}},\"additionalProperties\":false,\"type\":\"object\"},\"integer\":{\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\"},\"RelatedArtifact\":{\"description\":\"Related artifacts such as additional documentation, justification, or bibliographic references.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of relationship to the related artifact.\",\"enum\":[\"documentation\",\"justification\",\"citation\",\"predecessor\",\"successor\",\"derived-from\",\"depends-on\",\"composed-of\"],\"type\":\"string\"},\"label\":{\"description\":\"A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.\",\"$ref\":\"#/definitions/string\"},\"display\":{\"description\":\"A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.\",\"$ref\":\"#/definitions/string\"},\"citation\":{\"description\":\"A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.\",\"$ref\":\"#/definitions/markdown\"},\"url\":{\"description\":\"A url for the artifact that can be followed to access the actual content.\",\"$ref\":\"#/definitions/url\"},\"document\":{\"description\":\"The document being referenced, represented as an attachment. This is exclusive with the resource element.\",\"$ref\":\"#/definitions/Attachment\"},\"resource\":{\"description\":\"The related resource, such as a library, value set, profile, or other knowledge resource.\",\"$ref\":\"#/definitions/canonical\"}},\"additionalProperties\":false,\"type\":\"object\"},\"TriggerDefinition\":{\"description\":\"A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The type of triggering event.\",\"enum\":[\"named-event\",\"periodic\",\"data-changed\",\"data-added\",\"data-modified\",\"data-removed\",\"data-accessed\",\"data-access-ended\"],\"type\":\"string\"},\"name\":{\"description\":\"A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.\",\"$ref\":\"#/definitions/string\"},\"timingTiming\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"$ref\":\"#/definitions/Timing\"},\"timingReference\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"$ref\":\"#/definitions/Reference\"},\"timingDate\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\"},\"timingDateTime\":{\"description\":\"The timing of the event (if this is a periodic trigger).\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"},\"data\":{\"description\":\"The triggering data of the event (if this is a data trigger). If more than one data is requirement is specified, then all the data requirements must be true.\",\"items\":{\"$ref\":\"#/definitions/DataRequirement\"},\"type\":\"array\"},\"condition\":{\"description\":\"A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.\",\"$ref\":\"#/definitions/Expression\"}},\"additionalProperties\":false,\"type\":\"object\"},\"UsageContext\":{\"description\":\"Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"code\":{\"description\":\"A code that identifies the type of context being specified by this usage context.\",\"$ref\":\"#/definitions/Coding\"},\"valueCodeableConcept\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"valueQuantity\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/Quantity\"},\"valueRange\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/Range\"},\"valueReference\":{\"description\":\"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.\",\"$ref\":\"#/definitions/Reference\"}},\"additionalProperties\":false,\"required\":[\"code\"],\"type\":\"object\"},\"Dosage\":{\"description\":\"Indicates how the medication is/was taken or should be taken by the patient.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"sequence\":{\"description\":\"Indicates the order in which the dosage instructions should be applied or interpreted.\",\"$ref\":\"#/definitions/integer\"},\"text\":{\"description\":\"Free text dosage instructions e.g. SIG.\",\"$ref\":\"#/definitions/string\"},\"additionalInstruction\":{\"description\":\"Supplemental instructions to the patient on how to take the medication (e.g. \\\"with meals\\\" or\\\"take half to one hour before food\\\") or warnings for the patient about the medication (e.g. \\\"may cause drowsiness\\\" or \\\"avoid exposure of skin to direct sunlight or sunlamps\\\").\",\"items\":{\"$ref\":\"#/definitions/CodeableConcept\"},\"type\":\"array\"},\"patientInstruction\":{\"description\":\"Instructions in terms that are understood by the patient or consumer.\",\"$ref\":\"#/definitions/string\"},\"timing\":{\"description\":\"When medication should be administered.\",\"$ref\":\"#/definitions/Timing\"},\"asNeededBoolean\":{\"description\":\"Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"},\"asNeededCodeableConcept\":{\"description\":\"Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).\",\"$ref\":\"#/definitions/CodeableConcept\"},\"site\":{\"description\":\"Body site to administer to.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"route\":{\"description\":\"How drug should enter body.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"method\":{\"description\":\"Technique for administering medication.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"doseAndRate\":{\"description\":\"The amount of medication administered.\",\"items\":{\"$ref\":\"#/definitions/Dosage_DoseAndRate\"},\"type\":\"array\"},\"maxDosePerPeriod\":{\"description\":\"Upper limit on medication per unit of time.\",\"$ref\":\"#/definitions/Ratio\"},\"maxDosePerAdministration\":{\"description\":\"Upper limit on medication per administration.\",\"$ref\":\"#/definitions/Quantity\"},\"maxDosePerLifetime\":{\"description\":\"Upper limit on medication per lifetime of the patient.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Dosage_DoseAndRate\":{\"description\":\"Indicates how the medication is/was taken or should be taken by the patient.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"type\":{\"description\":\"The kind of dose or rate specified, for example, ordered or calculated.\",\"$ref\":\"#/definitions/CodeableConcept\"},\"doseRange\":{\"description\":\"Amount of medication per dose.\",\"$ref\":\"#/definitions/Range\"},\"doseQuantity\":{\"description\":\"Amount of medication per dose.\",\"$ref\":\"#/definitions/Quantity\"},\"rateRatio\":{\"description\":\"Amount of medication per unit of time.\",\"$ref\":\"#/definitions/Ratio\"},\"rateRange\":{\"description\":\"Amount of medication per unit of time.\",\"$ref\":\"#/definitions/Range\"},\"rateQuantity\":{\"description\":\"Amount of medication per unit of time.\",\"$ref\":\"#/definitions/Quantity\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Meta\":{\"description\":\"The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"$ref\":\"#/definitions/string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"$ref\":\"#/definitions/Extension\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"versionId\":{\"description\":\"The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.\",\"$ref\":\"#/definitions/id\"},\"lastUpdated\":{\"description\":\"When the resource last changed - e.g. when the version changed.\",\"$ref\":\"#/definitions/instant\"},\"source\":{\"description\":\"A uri that identifies the source system of the resource. This provides a minimal amount of [[[Provenance]]] information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\",\"$ref\":\"#/definitions/uri\"},\"profile\":{\"description\":\"A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].\",\"items\":{\"$ref\":\"#/definitions/canonical\"},\"type\":\"array\"},\"security\":{\"description\":\"Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"},\"tag\":{\"description\":\"Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.\",\"items\":{\"$ref\":\"#/definitions/Coding\"},\"type\":\"array\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Questionnaire_EnableWhen\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"question\":{\"description\":\"The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.\",\"title\":\"Question\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"operator\":{\"description\":\"Specifies the criteria by which the question is enabled.\",\"enum\":[\"exists\",\"=\",\"!=\",\">\",\"<\",\">=\",\"<=\"],\"type\":\"string\",\"title\":\"Operator\"},\"answerBoolean\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"title\":\"Answer boolean\"},\"answerDecimal\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"title\":\"Answer decimal\"},\"answerInteger\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Answer integer\"},\"answerDate\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Answer date\"},\"answerDateTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"title\":\"Answer date time\"},\"answerTime\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Answer time\"},\"answerString\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Answer string\"},\"answerCoding\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"title\":\"Answer coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"row-layout\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"code\":{\"col\":2}},{\"system\":{\"col\":6}},{\"display\":{\"col\":4}}]}]},\"answerQuantity\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"title\":\"Answer quantity\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"answerReference\":{\"description\":\"A value that the referenced question is tested using the specified operator in order for the item to be enabled.\",\"title\":\"Answer reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Questionnaire_AnswerOption\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueInteger\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\"},\"valueDate\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\"},\"valueTime\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\"},\"valueString\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\"},\"valueCoding\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"row-layout\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"code\":{\"col\":2}},{\"system\":{\"col\":6}},{\"display\":{\"col\":4}}]}]},\"valueReference\":{\"description\":\"A potential answer that's allowed as the answer to this question.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"initialSelected\":{\"description\":\"Indicates whether the answer value is selected when the list of possible answers is initially shown.\",\"title\":\"Initial selected\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\"},\"Questionnaire_Initial\":{\"description\":\"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"title\":\"Id\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Extension\",\"widget\":{\"id\":\"hidden\"}},\"modifierExtension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\\n\\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"title\":\"Modifier extension\",\"widget\":{\"id\":\"hidden\"}},\"valueBoolean\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^true|false$\",\"type\":\"boolean\",\"title\":\"Value boolean\"},\"valueDecimal\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\",\"title\":\"Value decimal\"},\"valueInteger\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^-?([0]|([1-9][0-9]*))$\",\"type\":\"number\",\"title\":\"Value integer\"},\"valueDate\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$\",\"type\":\"string\",\"title\":\"Value date\"},\"valueDateTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\",\"title\":\"Value date time\"},\"valueTime\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?$\",\"type\":\"string\",\"title\":\"Value time\"},\"valueString\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\",\"title\":\"Value string\"},\"valueUri\":{\"description\":\"The actual value to for an initial answer.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\",\"title\":\"Value uri\"},\"valueAttachment\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value attachment\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"contentType\":{\"description\":\"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"language\":{\"description\":\"The human language of the content. The value can be any valid value according to BCP 47.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"data\":{\"description\":\"The actual data of the attachment - a sequence of bytes, base64 encoded.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"A location where the data can be accessed.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"size\":{\"description\":\"The number of bytes of data that make up this attachment (before base64 encoding, if that is done).\",\"pattern\":\"^[0]|([1-9][0-9]*)$\",\"type\":\"number\"},\"hash\":{\"description\":\"The calculated hash of the data using SHA-1. Represented using base64.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"title\":{\"description\":\"A label or set of text to display in place of the data.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"creation\":{\"description\":\"The date that the attachment was first created.\",\"pattern\":\"^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\.[0-9]+)?(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"valueCoding\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value coding\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"system\":{\"description\":\"The identification of the code system that defines the meaning of the symbol in the code.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"version\":{\"description\":\"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.\",\"widget\":{\"id\":\"hidden\"},\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"code\":{\"description\":\"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"},\"display\":{\"description\":\"A representation of the meaning of the code in the system, following the rules of the system.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"userSelected\":{\"description\":\"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).\",\"pattern\":\"^true|false$\",\"type\":\"boolean\"}},\"additionalProperties\":false,\"type\":\"object\",\"widget\":{\"id\":\"grid\"},\"fieldsets\":[{\"fields\":[\"id\",\"extension\",\"code\",\"system\",\"display\",\"version\",\"userSelected\"],\"showFields\":[{\"field\":\"code\",\"col\":2},{\"field\":\"sytem\",\"col\":5},{\"field\":\"display\",\"col\":5}]}]},\"valueQuantity\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value quantity\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"value\":{\"description\":\"The value of the measured amount. The value includes an implicit precision in the presentation of the value.\",\"pattern\":\"^-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([eE][+-]?[0-9]+)?$\",\"type\":\"number\"},\"comparator\":{\"description\":\"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\\"<\\\" , then the real value is < stated value.\",\"enum\":[\"<\",\"<=\",\">=\",\">\"],\"type\":\"string\"},\"unit\":{\"description\":\"A human-readable form of the unit.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"system\":{\"description\":\"The identification of the system that provides the coded form of the unit.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"code\":{\"description\":\"A computer processable form of the unit in some unit representation system.\",\"pattern\":\"^[^\\\\s]+(\\\\s[^\\\\s]+)*$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"valueReference\":{\"description\":\"The actual value to for an initial answer.\",\"title\":\"Value reference\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"extension\":{\"description\":\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\",\"items\":{\"description\":\"Optional Extension Element - found in all resources.\",\"properties\":{\"id\":{\"description\":\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"url\":{\"description\":\"Source of the definition for the extension code - a logical name or a URL.\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"value\":{\"description\":\"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"},\"type\":\"array\",\"widget\":{\"id\":\"hidden\"}},\"reference\":{\"description\":\"A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"},\"type\":{\"description\":\"The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\\n\\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \\\"Patient\\\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).\",\"pattern\":\"^\\\\S*$\",\"type\":\"string\"},\"display\":{\"description\":\"Plain text narrative that identifies the resource in addition to the resource reference.\",\"pattern\":\"^[ \\\\r\\\\n\\\\t\\\\S]+$\",\"type\":\"string\"}},\"additionalProperties\":false,\"type\":\"object\"}},\"additionalProperties\":false,\"type\":\"object\"},\"xhtml\":{\"$ref\":\"#/definitions/string\"},\"__$Item\":{}},\"fieldsets\":[{\"fields\":[\"type\",\"linkId\",\"maxLength\",\"__$start\",\"__$end\"],\"showFields\":[{\"field\":\"linkId\",\"col\":3},{\"field\":\"type\",\"col\":3},{\"field\":\"maxLength\",\"col\":2}]},{\"fields\":[\"prefix\",\"text\",\"_text\",\"_prefix\"],\"showFields\":[{\"field\":\"prefix\",\"col\":1},{\"field\":\"text\",\"col\":11}]},{\"fields\":[\"required\",\"readOnly\",\"repeats\"],\"showFields\":[{\"field\":\"repeats\",\"col\":4},{\"field\":\"readOnly\",\"col\":4},{\"field\":\"required\",\"col\":4}]},{\"fields\":[\"code\",\"__$codeYesNo\"],\"showFields\":[{\"field\":\"__$codeYesNo\",\"col\":12},{\"field\":\"code\",\"col\":12}]},{\"fields\":[\"__$helpText\"],\"showFields\":[{\"field\":\"__$units\",\"col\":12}]},{\"fields\":[\"answerValueSet\"],\"showFields\":[{\"field\":\"answerValueSet\",\"col\":12}]},{\"fields\":[\"answerOption\"],\"showFields\":[{\"field\":\"answerOption\",\"col\":12}]},{\"fields\":[\"__$units\"],\"showFields\":[{\"field\":\"__$units\",\"col\":12}]},{\"fields\":[\"__$totalScore\"],\"showFields\":[{\"field\":\"__$totalScore\",\"col\":12}]},{\"fields\":[\"initial\"],\"showFields\":[{\"field\":\"initial\",\"col\":12}]},{\"fields\":[\"__$restrictions\"],\"showFields\":[{\"field\":\"__$restrictions\",\"col\":12}]},{\"fields\":[\"enableWhen\"],\"showFields\":[{\"field\":\"enableWhen\",\"col\":12}]},{\"fields\":[\"enableBehavior\"],\"showFields\":[{\"field\":\"enableBehavior\",\"col\":3}]},{\"fields\":[\"__$observationLinkPeriod\"],\"showFields\":[{\"field\":\"__$observationLinkPeriod\",\"col\":10}]},{\"fields\":[\"id\",\"extension\",\"modifierExtension\",\"definition\"]}],\"steps\":[{\"title\":\"Specify basic properties\",\"optional\":false,\"rows\":[{\"showFields\":[{\"field\":\"type\",\"col\":12},{\"field\":\"linkId\",\"col\":12}]},{\"showFields\":[{\"field\":\"text\",\"col\":12},{\"field\":\"__$codeYesNo\",\"col\":12},{\"field\":\"code\",\"col\":12},{\"field\":\"prefix\",\"col\":12}]},{\"showFields\":[{\"field\":\"repeats\",\"col\":12},{\"field\":\"required\",\"col\":12},{\"field\":\"readOnly\",\"col\":12},{\"field\":\"maxLength\",\"col\":12},{\"field\":\"answerValueSet\",\"col\":12},{\"field\":\"answerOption\",\"title\":\"Answer choices\",\"col\":12},{\"field\":\"initial\",\"title\":\"Default value\",\"col\":12}]}]},{\"title\":\"Conditions to display\",\"description\":\"A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.\",\"optional\":false,\"rows\":[{\"showFields\":[{\"field\":\"enableWhen\",\"col\":12}]},{\"showFields\":[{\"field\":\"enableBehavior\",\"col\":3}]}]}],\"widget\":{\"keyField\":\"type\",\"id\":\"row-layout\"}}");
|
|
2872
2802
|
|
|
2873
2803
|
/***/ }),
|
|
2874
2804
|
|
|
@@ -2915,36 +2845,50 @@ class SfFormWrapperComponent {
|
|
|
2915
2845
|
this.extensionsService = extensionsService;
|
|
2916
2846
|
this.modelService = modelService;
|
|
2917
2847
|
this.formService = formService;
|
|
2848
|
+
this.validators = {
|
|
2849
|
+
/**
|
|
2850
|
+
* __$start and ++$end are custom internal fields. They are used to identify item loading into the editor.
|
|
2851
|
+
* These fields are hidden type. Their validation runs only once when the item is loaded.
|
|
2852
|
+
*/
|
|
2853
|
+
'/__$start': (value, formProperty, rootProperty) => {
|
|
2854
|
+
//
|
|
2855
|
+
this.formService.loading = true;
|
|
2856
|
+
return null;
|
|
2857
|
+
},
|
|
2858
|
+
'/__$end': (value, formProperty, rootProperty) => {
|
|
2859
|
+
// At the end of loading, setup extensions service.
|
|
2860
|
+
const extensionsProp = rootProperty.getProperty('extension');
|
|
2861
|
+
const formPropertyChanged = extensionsProp !== this.extensionsService.extensionsProp;
|
|
2862
|
+
if (formPropertyChanged) {
|
|
2863
|
+
this.extensionsService.setExtensions(extensionsProp);
|
|
2864
|
+
}
|
|
2865
|
+
this.formService.loading = false;
|
|
2866
|
+
return null;
|
|
2867
|
+
},
|
|
2868
|
+
'/type': (value, formProperty, rootProperty) => {
|
|
2869
|
+
// Internally represent display type as group. Identifying display/group type is deferred until
|
|
2870
|
+
// the form is converted to json output.
|
|
2871
|
+
if (value === 'display') {
|
|
2872
|
+
formProperty.setValue('group', true);
|
|
2873
|
+
}
|
|
2874
|
+
return null;
|
|
2875
|
+
}
|
|
2876
|
+
};
|
|
2918
2877
|
this.mySchema = { properties: {} };
|
|
2919
2878
|
this.setLinkId = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
2920
|
-
this.modelChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
2921
2879
|
this.valueChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
2922
2880
|
this.linkIdCollection = new _item_item_component__WEBPACK_IMPORTED_MODULE_1__["LinkIdCollection"]();
|
|
2923
2881
|
this.mySchema = formService.getItemSchema();
|
|
2924
2882
|
}
|
|
2925
|
-
ngAfterViewInit() {
|
|
2926
|
-
this.extensionsService.setExtensions(this.itemForm.rootProperty.getProperty('extension'));
|
|
2927
|
-
}
|
|
2928
|
-
/**
|
|
2929
|
-
* Handle onChange event.
|
|
2930
|
-
* @param changes - Changes from host component.
|
|
2931
|
-
*/
|
|
2932
|
-
ngOnChanges(changes) {
|
|
2933
|
-
console.log('sf-form-wrapper.ngOnChanges()');
|
|
2934
|
-
if (changes.model) {
|
|
2935
|
-
console.log('sf-form-wrapper.ngOnChanges(): model changed');
|
|
2936
|
-
this.extensionsService.setExtensions(this.itemForm.rootProperty.getProperty('extension'));
|
|
2937
|
-
}
|
|
2938
|
-
}
|
|
2939
2883
|
/**
|
|
2940
2884
|
* Handle value change event.
|
|
2941
2885
|
* @param value - Angular event
|
|
2942
2886
|
*/
|
|
2943
2887
|
updateValue(value) {
|
|
2944
|
-
this.
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2888
|
+
if (!this.formService.loading) { // Avoid emitting the changes while loading.
|
|
2889
|
+
console.log('sf-form.onChange() emitted:');
|
|
2890
|
+
this.valueChange.emit(value);
|
|
2891
|
+
}
|
|
2948
2892
|
}
|
|
2949
2893
|
}
|
|
2950
2894
|
SfFormWrapperComponent.ɵfac = function SfFormWrapperComponent_Factory(t) { return new (t || SfFormWrapperComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_extensions_service__WEBPACK_IMPORTED_MODULE_2__["ExtensionsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_shared_object_service__WEBPACK_IMPORTED_MODULE_3__["SharedObjectService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_form_service__WEBPACK_IMPORTED_MODULE_4__["FormService"])); };
|
|
@@ -2953,7 +2897,7 @@ SfFormWrapperComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵd
|
|
|
2953
2897
|
} if (rf & 2) {
|
|
2954
2898
|
let _t;
|
|
2955
2899
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.itemForm = _t.first);
|
|
2956
|
-
} }, inputs: { model: "model", linkIdCollection: "linkIdCollection" }, outputs: { setLinkId: "setLinkId",
|
|
2900
|
+
} }, inputs: { model: "model", linkIdCollection: "linkIdCollection" }, outputs: { setLinkId: "setLinkId", valueChange: "valueChange" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([_services_extensions_service__WEBPACK_IMPORTED_MODULE_2__["ExtensionsService"]])], decls: 3, vars: 7, consts: [["class", "container-fluid", 4, "ngIf"], [3, "schema", "ngClass", "model", "validators", "onChange"], ["itemForm", ""], [1, "container-fluid"]], template: function SfFormWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2957
2901
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SfFormWrapperComponent_div_0_Template, 3, 0, "div", 0);
|
|
2958
2902
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "sf-form", 1, 2);
|
|
2959
2903
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("onChange", function SfFormWrapperComponent_Template_sf_form_onChange_1_listener($event) { return ctx.updateValue($event.value); });
|
|
@@ -2961,7 +2905,7 @@ SfFormWrapperComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵd
|
|
|
2961
2905
|
} if (rf & 2) {
|
|
2962
2906
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.model);
|
|
2963
2907
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
2964
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("schema", ctx.mySchema)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](
|
|
2908
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("schema", ctx.mySchema)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](5, _c1, !ctx.model))("model", ctx.model)("validators", ctx.validators);
|
|
2965
2909
|
} }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], ngx_schema_form__WEBPACK_IMPORTED_MODULE_6__["FormComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgClass"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzZi1mb3JtLXdyYXBwZXIuY29tcG9uZW50LmNzcyJ9 */"] });
|
|
2966
2910
|
|
|
2967
2911
|
|
|
@@ -2977,12 +2921,14 @@ SfFormWrapperComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵd
|
|
|
2977
2921
|
"use strict";
|
|
2978
2922
|
__webpack_require__.r(__webpack_exports__);
|
|
2979
2923
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UnitsComponent", function() { return UnitsComponent; });
|
|
2980
|
-
/* harmony import */ var
|
|
2981
|
-
/* harmony import */ var
|
|
2982
|
-
/* harmony import */ var
|
|
2924
|
+
/* harmony import */ var autocomplete_lhc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! autocomplete-lhc */ "0QMv");
|
|
2925
|
+
/* harmony import */ var autocomplete_lhc__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(autocomplete_lhc__WEBPACK_IMPORTED_MODULE_0__);
|
|
2926
|
+
/* harmony import */ var _lfb_array_widget_lfb_array_widget_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../lfb-array-widget/lfb-array-widget.component */ "QfDG");
|
|
2983
2927
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
2984
|
-
/* harmony import */ var
|
|
2985
|
-
/* harmony import */ var
|
|
2928
|
+
/* harmony import */ var _services_extensions_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/extensions.service */ "sFzh");
|
|
2929
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
2930
|
+
/* harmony import */ var _label_label_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../label/label.component */ "2GUZ");
|
|
2931
|
+
|
|
2986
2932
|
|
|
2987
2933
|
|
|
2988
2934
|
|
|
@@ -2995,14 +2941,15 @@ function UnitsComponent_lfb_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
2995
2941
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("for", ctx_r0.id)("title", ctx_r0.schema.title)("helpMessage", ctx_r0.schema.description)("ngClass", ctx_r0.labelWidthClass + " pl-0 pr-1");
|
|
2996
2942
|
} }
|
|
2997
2943
|
const _c0 = function (a0) { return { "row": a0, "m-0": true }; };
|
|
2998
|
-
class UnitsComponent extends
|
|
2999
|
-
constructor() {
|
|
2944
|
+
class UnitsComponent extends _lfb_array_widget_lfb_array_widget_component__WEBPACK_IMPORTED_MODULE_1__["LfbArrayWidgetComponent"] {
|
|
2945
|
+
constructor(extensionsService) {
|
|
3000
2946
|
super();
|
|
2947
|
+
this.extensionsService = extensionsService;
|
|
3001
2948
|
this.unitsSearchUrl = 'https://clinicaltables.nlm.nih.gov/api/ucum/v3/search?df=cs_code,name,guidance';
|
|
3002
2949
|
this.options = {
|
|
3003
2950
|
matchListValue: false,
|
|
3004
2951
|
maxSelect: 1,
|
|
3005
|
-
suggestionMode:
|
|
2952
|
+
suggestionMode: autocomplete_lhc__WEBPACK_IMPORTED_MODULE_0___default.a.Autocompleter.USE_STATISTICS,
|
|
3006
2953
|
autocomp: true,
|
|
3007
2954
|
tableFormat: true,
|
|
3008
2955
|
colHeaders: [
|
|
@@ -3023,14 +2970,14 @@ class UnitsComponent extends _extensions_extensions_component__WEBPACK_IMPORTED_
|
|
|
3023
2970
|
.valueChanges.subscribe((changedValue) => {
|
|
3024
2971
|
if (this.dataType !== changedValue) {
|
|
3025
2972
|
if (changedValue === 'quantity') {
|
|
3026
|
-
this.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.decimal);
|
|
2973
|
+
this.extensionsService.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.decimal);
|
|
3027
2974
|
}
|
|
3028
2975
|
else if (changedValue === 'decimal' || changedValue === 'integer') {
|
|
3029
|
-
this.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.quantity);
|
|
2976
|
+
this.extensionsService.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.quantity);
|
|
3030
2977
|
}
|
|
3031
2978
|
else {
|
|
3032
|
-
this.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.decimal);
|
|
3033
|
-
this.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.quantity);
|
|
2979
|
+
this.extensionsService.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.decimal);
|
|
2980
|
+
this.extensionsService.removeExtensionsByUrl(UnitsComponent.unitsExtUrl.quantity);
|
|
3034
2981
|
}
|
|
3035
2982
|
this.options.maxSelect = changedValue === 'quantity' ? '*' : 1;
|
|
3036
2983
|
if (changedValue === 'quantity' || changedValue === 'decimal' || changedValue === 'integer') {
|
|
@@ -3042,11 +2989,9 @@ class UnitsComponent extends _extensions_extensions_component__WEBPACK_IMPORTED_
|
|
|
3042
2989
|
this.subscriptions.push(sub);
|
|
3043
2990
|
sub = this.formProperty.valueChanges.subscribe(() => {
|
|
3044
2991
|
this.resetAutocomplete();
|
|
3045
|
-
const initialUnits = this.
|
|
3046
|
-
return p.value.url === UnitsComponent.unitsExtUrl[this.dataType];
|
|
3047
|
-
});
|
|
2992
|
+
const initialUnits = this.extensionsService.getExtensionsByUrl(UnitsComponent.unitsExtUrl[this.dataType]) || [];
|
|
3048
2993
|
for (let i = 0, len = initialUnits.length; i < len; ++i) {
|
|
3049
|
-
const dispVal = initialUnits[i].
|
|
2994
|
+
const dispVal = initialUnits[i].valueCoding.code || initialUnits[i].valueCoding.display;
|
|
3050
2995
|
this.autoComp.storeSelectedItem(dispVal, dispVal);
|
|
3051
2996
|
if (this.options.maxSelect === '*') {
|
|
3052
2997
|
this.autoComp.addToSelectedArea(dispVal);
|
|
@@ -3055,18 +3000,21 @@ class UnitsComponent extends _extensions_extensions_component__WEBPACK_IMPORTED_
|
|
|
3055
3000
|
});
|
|
3056
3001
|
this.subscriptions.push(sub);
|
|
3057
3002
|
// Setup selection handler
|
|
3058
|
-
|
|
3003
|
+
autocomplete_lhc__WEBPACK_IMPORTED_MODULE_0___default.a.Autocompleter.Event.observeListSelections(this.elementId, (data) => {
|
|
3059
3004
|
if (data.removed) {
|
|
3060
|
-
this.
|
|
3005
|
+
this.extensionsService.removeExtension((ext) => {
|
|
3006
|
+
return ext.value.url === UnitsComponent.unitsExtUrl[this.dataType] &&
|
|
3007
|
+
ext.value.valueCoding.code === data.final_val;
|
|
3008
|
+
});
|
|
3061
3009
|
}
|
|
3062
3010
|
else if (data.used_list) {
|
|
3063
3011
|
const selectedUnit = data.list.find((unit) => {
|
|
3064
3012
|
return unit[0] === data.item_code;
|
|
3065
3013
|
});
|
|
3066
|
-
this.addExtension(this.createUnitExt(UnitsComponent.unitsExtUrl[this.dataType], UnitsComponent.ucumSystemUrl, data.item_code, selectedUnit[1]), 'valueCoding');
|
|
3014
|
+
this.extensionsService.addExtension(this.createUnitExt(UnitsComponent.unitsExtUrl[this.dataType], UnitsComponent.ucumSystemUrl, data.item_code, selectedUnit[1]), 'valueCoding');
|
|
3067
3015
|
}
|
|
3068
3016
|
else {
|
|
3069
|
-
this.addExtension(this.createUnitExt(UnitsComponent.unitsExtUrl[this.dataType], null, data.final_val, data.final_val), 'valueCoding');
|
|
3017
|
+
this.extensionsService.addExtension(this.createUnitExt(UnitsComponent.unitsExtUrl[this.dataType], null, data.final_val, data.final_val), 'valueCoding');
|
|
3070
3018
|
}
|
|
3071
3019
|
});
|
|
3072
3020
|
}
|
|
@@ -3086,14 +3034,7 @@ class UnitsComponent extends _extensions_extensions_component__WEBPACK_IMPORTED_
|
|
|
3086
3034
|
*/
|
|
3087
3035
|
resetAutocomplete() {
|
|
3088
3036
|
this.destroyAutocomplete();
|
|
3089
|
-
this.autoComp = new
|
|
3090
|
-
}
|
|
3091
|
-
/**
|
|
3092
|
-
* Delete unit extension object from the extension array.
|
|
3093
|
-
* @param unit - FHIR extension represented as unit
|
|
3094
|
-
*/
|
|
3095
|
-
deleteUnit(unit) {
|
|
3096
|
-
this.removeExtension(unit);
|
|
3037
|
+
this.autoComp = new autocomplete_lhc__WEBPACK_IMPORTED_MODULE_0___default.a.Autocompleter.Search(this.elementId, this.unitsSearchUrl, this.options);
|
|
3097
3038
|
}
|
|
3098
3039
|
/**
|
|
3099
3040
|
* Create unit extension object
|
|
@@ -3138,7 +3079,7 @@ UnitsComponent.unitsExtUrl = {
|
|
|
3138
3079
|
decimal: UnitsComponent.questionUnitExtUrl,
|
|
3139
3080
|
integer: UnitsComponent.questionUnitExtUrl
|
|
3140
3081
|
};
|
|
3141
|
-
UnitsComponent.ɵfac = function UnitsComponent_Factory(t) { return new (t || UnitsComponent)(); };
|
|
3082
|
+
UnitsComponent.ɵfac = function UnitsComponent_Factory(t) { return new (t || UnitsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_services_extensions_service__WEBPACK_IMPORTED_MODULE_3__["ExtensionsService"])); };
|
|
3142
3083
|
UnitsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: UnitsComponent, selectors: [["lfb-units"]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]], decls: 4, vars: 8, consts: [[3, "ngClass"], [3, "for", "title", "helpMessage", "ngClass", 4, "ngIf"], ["autocomplete", "off", "type", "text", "placeholder", "Search for UCUM units or type your own", 1, "form-control"], [3, "for", "title", "helpMessage", "ngClass"]], template: function UnitsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3143
3084
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 0);
|
|
3144
3085
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, UnitsComponent_lfb_label_1_Template, 1, 4, "lfb-label", 1);
|
|
@@ -3154,7 +3095,7 @@ UnitsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineCom
|
|
|
3154
3095
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵclassMapInterpolate1"]("", ctx.controlWidthClass, " p-0");
|
|
3155
3096
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
3156
3097
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵattribute"]("id", ctx.elementId);
|
|
3157
|
-
} }, directives: [
|
|
3098
|
+
} }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgClass"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _label_label_component__WEBPACK_IMPORTED_MODULE_5__["LabelComponent"]], styles: [".autocomp_selected {\n width: 100%;\n border: 0;\n padding: 0;\n }\n .autocomp_selected ul {\n margin: 0;\n }"] });
|
|
3158
3099
|
|
|
3159
3100
|
|
|
3160
3101
|
/***/ }),
|
|
@@ -3827,152 +3768,6 @@ FhirServersDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵ
|
|
|
3827
3768
|
} }, 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 }"] });
|
|
3828
3769
|
|
|
3829
3770
|
|
|
3830
|
-
/***/ }),
|
|
3831
|
-
|
|
3832
|
-
/***/ "JQeg":
|
|
3833
|
-
/*!******************************************************************!*\
|
|
3834
|
-
!*** ./src/app/lib/widgets/total-score/total-score.component.ts ***!
|
|
3835
|
-
\******************************************************************/
|
|
3836
|
-
/*! exports provided: TotalScoreComponent */
|
|
3837
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3838
|
-
|
|
3839
|
-
"use strict";
|
|
3840
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3841
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TotalScoreComponent", function() { return TotalScoreComponent; });
|
|
3842
|
-
/* harmony import */ var _extensions_extensions_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../extensions/extensions.component */ "Rf/+");
|
|
3843
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
3844
|
-
/* harmony import */ var rule_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rule-editor */ "G6Js");
|
|
3845
|
-
/* harmony import */ var _services_shared_object_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/shared-object.service */ "jOxg");
|
|
3846
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
3847
|
-
/* harmony import */ var _label_label_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../label/label.component */ "2GUZ");
|
|
3848
|
-
/* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "G0yt");
|
|
3849
|
-
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ "s7LF");
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
function TotalScoreComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
3859
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 4);
|
|
3860
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "label", 5);
|
|
3861
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "input", 6);
|
|
3862
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
|
|
3863
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3864
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
|
|
3865
|
-
} if (rf & 2) {
|
|
3866
|
-
const option_r1 = ctx.$implicit;
|
|
3867
|
-
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
|
|
3868
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
3869
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("value", option_r1 === "Yes");
|
|
3870
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("disabled", ctx_r0.schema.readOnly ? "" : null);
|
|
3871
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
3872
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", option_r1, " ");
|
|
3873
|
-
} }
|
|
3874
|
-
const _c0 = function (a0) { return { "row": a0, "m-0": true, "widget": true }; };
|
|
3875
|
-
const _c1 = function () { return ["No", "Yes"]; };
|
|
3876
|
-
class TotalScoreComponent extends _extensions_extensions_component__WEBPACK_IMPORTED_MODULE_0__["ExtensionsComponent"] {
|
|
3877
|
-
constructor(ruleEditorService, modelService) {
|
|
3878
|
-
super();
|
|
3879
|
-
this.ruleEditorService = ruleEditorService;
|
|
3880
|
-
this.modelService = modelService;
|
|
3881
|
-
this.selected = false;
|
|
3882
|
-
this.subscriptions = [];
|
|
3883
|
-
}
|
|
3884
|
-
ngOnInit() {
|
|
3885
|
-
super.ngOnInit();
|
|
3886
|
-
const eligibleIndicator = this.formProperty.searchProperty('__$totalScoreItem');
|
|
3887
|
-
// TODO - Use rule-editor service to determine eligibility.
|
|
3888
|
-
const eligible = 'true';
|
|
3889
|
-
eligibleIndicator.setValue(eligible, true);
|
|
3890
|
-
let subscrption = eligibleIndicator.valueChanges.subscribe((value) => {
|
|
3891
|
-
if (value) {
|
|
3892
|
-
this.selected = this.isTotalScoreAssigned(this.extensionsProp.properties);
|
|
3893
|
-
}
|
|
3894
|
-
});
|
|
3895
|
-
this.subscriptions.push(subscrption);
|
|
3896
|
-
// Listen to changes in questionnaire and item.
|
|
3897
|
-
subscrption = this.modelService.currentItem$.subscribe((item) => {
|
|
3898
|
-
this.item = item;
|
|
3899
|
-
});
|
|
3900
|
-
this.subscriptions.push(subscrption);
|
|
3901
|
-
subscrption = this.modelService.questionnaire$.subscribe((q) => {
|
|
3902
|
-
this.questionnaire = q;
|
|
3903
|
-
});
|
|
3904
|
-
this.subscriptions.push(subscrption);
|
|
3905
|
-
}
|
|
3906
|
-
/**
|
|
3907
|
-
* Handle user interactions with this widget.
|
|
3908
|
-
*
|
|
3909
|
-
* @param selected - boolean from radio box.
|
|
3910
|
-
*/
|
|
3911
|
-
onChange(selected) {
|
|
3912
|
-
if (selected) {
|
|
3913
|
-
this.ruleEditorService.addTotalScoreRule(this.questionnaire, this.item.linkId);
|
|
3914
|
-
}
|
|
3915
|
-
else {
|
|
3916
|
-
this.removeTotalScore();
|
|
3917
|
-
}
|
|
3918
|
-
}
|
|
3919
|
-
/**
|
|
3920
|
-
* TODO - Use rule-editor service to find if total score extension is present.
|
|
3921
|
-
* Check if extensions have total score included.
|
|
3922
|
-
* @param extensions - FHIR extension array to search for total score extension.
|
|
3923
|
-
* @return boolean
|
|
3924
|
-
*/
|
|
3925
|
-
isTotalScoreAssigned(props) {
|
|
3926
|
-
if (!props || props.length === 0) {
|
|
3927
|
-
return false;
|
|
3928
|
-
}
|
|
3929
|
-
return props.some((p) => {
|
|
3930
|
-
return p.value.url === TotalScoreComponent.CALCULATED_EXPRESSION &&
|
|
3931
|
-
p.value.valueExpression.description.toLowerCase().isEqual('total score calculation');
|
|
3932
|
-
});
|
|
3933
|
-
}
|
|
3934
|
-
/**
|
|
3935
|
-
* Remove any existing total score extension.
|
|
3936
|
-
*/
|
|
3937
|
-
removeTotalScore() {
|
|
3938
|
-
const props = this.extensionsProp.properties;
|
|
3939
|
-
if (props && props.length > 0) {
|
|
3940
|
-
const i = props.findIndex((p) => {
|
|
3941
|
-
return p.value.url === TotalScoreComponent.CALCULATED_EXPRESSION && p.value.valueExpression.description.toLowerCase().isEqual('total score calculation');
|
|
3942
|
-
});
|
|
3943
|
-
if (i >= 0) {
|
|
3944
|
-
props.splice(i, 1);
|
|
3945
|
-
}
|
|
3946
|
-
}
|
|
3947
|
-
}
|
|
3948
|
-
ngOnDestroy() {
|
|
3949
|
-
this.subscriptions.forEach((s) => {
|
|
3950
|
-
s.unsubscribe();
|
|
3951
|
-
});
|
|
3952
|
-
}
|
|
3953
|
-
}
|
|
3954
|
-
TotalScoreComponent.CALCULATED_EXPRESSION = 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression';
|
|
3955
|
-
TotalScoreComponent.ɵfac = function TotalScoreComponent_Factory(t) { return new (t || TotalScoreComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](rule_editor__WEBPACK_IMPORTED_MODULE_2__["RuleEditorService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_shared_object_service__WEBPACK_IMPORTED_MODULE_3__["SharedObjectService"])); };
|
|
3956
|
-
TotalScoreComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: TotalScoreComponent, selectors: [["lfb-total-score"]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]], decls: 4, vars: 10, consts: [[3, "ngClass"], [3, "title", "helpMessage", "ngClass"], ["ngbRadioGroup", "", 1, "btn-group", "form-check-inline", "btn-group-sm", "btn-group-toggle", 3, "ngModel", "ngModelChange"], ["class", "radio", 4, "ngFor", "ngForOf"], [1, "radio"], ["ngbButtonLabel", "", 1, "btn-outline-success", "m-0"], ["ngbButton", "", "type", "radio", 3, "value"]], template: function TotalScoreComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3957
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
|
|
3958
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "lfb-label", 1);
|
|
3959
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
|
|
3960
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function TotalScoreComponent_Template_div_ngModelChange_2_listener($event) { return ctx.onChange($event); });
|
|
3961
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, TotalScoreComponent_ng_container_3_Template, 4, 3, "ng-container", 3);
|
|
3962
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3963
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
3964
|
-
} if (rf & 2) {
|
|
3965
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](7, _c0, ctx.labelPosition === "left"));
|
|
3966
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
3967
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("title", ctx.schema.title)("helpMessage", ctx.schema.description)("ngClass", ctx.labelWidthClass + " pl-0 pr-1");
|
|
3968
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
3969
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", ctx.selected);
|
|
3970
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("name", ctx.name);
|
|
3971
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
3972
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](9, _c1));
|
|
3973
|
-
} }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgClass"], _label_label_component__WEBPACK_IMPORTED_MODULE_5__["LabelComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbRadioGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_7__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_7__["NgModel"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbButtonLabel"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbRadio"]], encapsulation: 2 });
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
3771
|
/***/ }),
|
|
3977
3772
|
|
|
3978
3773
|
/***/ "JY6+":
|
|
@@ -4174,7 +3969,7 @@ class FetchService {
|
|
|
4174
3969
|
.set('df', 'LOINC_NUM,text')
|
|
4175
3970
|
.set('type', 'form_and_section')
|
|
4176
3971
|
.set('available', 'true');
|
|
4177
|
-
return this.http.get(FetchService.loincSearchUrl, options).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["
|
|
3972
|
+
return this.http.get(FetchService.loincSearchUrl, options).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((resp) => {
|
|
4178
3973
|
return resp[3].map((e) => {
|
|
4179
3974
|
return { id: e[0], title: e[1] };
|
|
4180
3975
|
});
|
|
@@ -4350,13 +4145,6 @@ class FhirService {
|
|
|
4350
4145
|
endpoint: 'http://hapi.fhir.org/baseDstu3',
|
|
4351
4146
|
desc: 'UHN Test Server (STU3 Resources)',
|
|
4352
4147
|
version: 'STU3'
|
|
4353
|
-
},
|
|
4354
|
-
{
|
|
4355
|
-
id: 1,
|
|
4356
|
-
displayName: 'clinFHIR R3',
|
|
4357
|
-
endpoint: 'http://snapp.clinfhir.com:8081/baseDstu3',
|
|
4358
|
-
desc: 'Example Server',
|
|
4359
|
-
version: 'STU3'
|
|
4360
4148
|
}
|
|
4361
4149
|
];
|
|
4362
4150
|
// this.smartClient = FHIR.client(window.location.href+'fhir-api');
|
|
@@ -5382,30 +5170,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5382
5170
|
/* harmony import */ var _lib_widgets_boolean_radio_boolean_radio_component__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./lib/widgets/boolean-radio/boolean-radio.component */ "lW1P");
|
|
5383
5171
|
/* harmony import */ var _lib_widgets_units_units_component__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./lib/widgets/units/units.component */ "E+b4");
|
|
5384
5172
|
/* harmony import */ var _lib_widgets_extensions_extensions_component__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./lib/widgets/extensions/extensions.component */ "Rf/+");
|
|
5385
|
-
/* harmony import */ var
|
|
5386
|
-
/* harmony import */ var
|
|
5387
|
-
/* harmony import */ var
|
|
5388
|
-
/* harmony import */ var
|
|
5389
|
-
/* harmony import */ var
|
|
5390
|
-
/* harmony import */ var
|
|
5391
|
-
/* harmony import */ var
|
|
5392
|
-
/* harmony import */ var
|
|
5393
|
-
/* harmony import */ var
|
|
5394
|
-
/* harmony import */ var
|
|
5395
|
-
/* harmony import */ var
|
|
5396
|
-
/* harmony import */ var
|
|
5397
|
-
/* harmony import */ var
|
|
5398
|
-
/* harmony import */ var
|
|
5399
|
-
/* harmony import */ var
|
|
5400
|
-
/* harmony import */ var
|
|
5401
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
5402
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5173
|
+
/* harmony import */ var rule_editor__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! rule-editor */ "G6Js");
|
|
5174
|
+
/* harmony import */ var _lib_widgets_answer_option_answer_option_component__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./lib/widgets/answer-option/answer-option.component */ "waZ+");
|
|
5175
|
+
/* harmony import */ var _lib_widgets_initial_initial_component__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./lib/widgets/initial/initial.component */ "CvSm");
|
|
5176
|
+
/* harmony import */ var _lib_widgets_help_text_help_text_component__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./lib/widgets/help-text/help-text.component */ "VhIx");
|
|
5177
|
+
/* harmony import */ var _sf_form_wrapper_sf_form_wrapper_component__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./sf-form-wrapper/sf-form-wrapper.component */ "DLBw");
|
|
5178
|
+
/* harmony import */ var _lib_widgets_type_type_component__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./lib/widgets/type/type.component */ "wUBX");
|
|
5179
|
+
/* harmony import */ var _lib_widgets_preview_dlg_preview_dlg_component__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./lib/widgets/preview-dlg/preview-dlg.component */ "w73l");
|
|
5180
|
+
/* harmony import */ var _lib_widgets_fhir_export_dlg_fhir_export_dlg_component__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./lib/widgets/fhir-export-dlg/fhir-export-dlg.component */ "rV6X");
|
|
5181
|
+
/* harmony import */ var _lib_widgets_loinc_notice_loinc_notice_component__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./lib/widgets/loinc-notice/loinc-notice.component */ "c/CK");
|
|
5182
|
+
/* harmony import */ var _lib_widgets_string_with_css_string_with_css_component__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./lib/widgets/string-with-css/string-with-css.component */ "Qva7");
|
|
5183
|
+
/* harmony import */ var _lib_widgets_restrictions_restrictions_component__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./lib/widgets/restrictions/restrictions.component */ "ySaZ");
|
|
5184
|
+
/* harmony import */ var _lib_widgets_restrictions_operator_restrictions_operator_component__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./lib/widgets/restrictions-operator/restrictions-operator.component */ "W1P/");
|
|
5185
|
+
/* harmony import */ var _lib_widgets_observation_link_period_observation_link_period_component__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./lib/widgets/observation-link-period/observation-link-period.component */ "fDl6");
|
|
5186
|
+
/* harmony import */ var _lib_directives_lfb_disable_control_directive__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./lib/directives/lfb-disable-control.directive */ "tz5A");
|
|
5187
|
+
/* harmony import */ var _lib_widgets_lfb_spinner_lfb_spinner_component__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./lib/widgets/lfb-spinner/lfb-spinner.component */ "v9ty");
|
|
5188
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
5409
5189
|
|
|
5410
5190
|
|
|
5411
5191
|
|
|
@@ -5473,6 +5253,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5473
5253
|
|
|
5474
5254
|
|
|
5475
5255
|
|
|
5256
|
+
// import { TotalScoreComponent } from './lib/widgets/total-score/total-score.component';
|
|
5476
5257
|
|
|
5477
5258
|
|
|
5478
5259
|
|
|
@@ -5493,8 +5274,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5493
5274
|
class AppModule {
|
|
5494
5275
|
}
|
|
5495
5276
|
AppModule.ɵfac = function AppModule_Factory(t) { return new (t || AppModule)(); };
|
|
5496
|
-
AppModule.ɵmod =
|
|
5497
|
-
AppModule.ɵinj =
|
|
5277
|
+
AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_82__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_2__["AppComponent"]] });
|
|
5278
|
+
AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_82__["ɵɵdefineInjector"]({ providers: [{ provide: 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: [[
|
|
5498
5279
|
_app_routing_module__WEBPACK_IMPORTED_MODULE_3__["AppRoutingModule"],
|
|
5499
5280
|
_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
|
|
5500
5281
|
_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__["BrowserAnimationsModule"],
|
|
@@ -5517,7 +5298,7 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_83__["ɵɵdefineInjecto
|
|
|
5517
5298
|
_angular_material_toolbar__WEBPACK_IMPORTED_MODULE_23__["MatToolbarModule"],
|
|
5518
5299
|
_angular_material_tooltip__WEBPACK_IMPORTED_MODULE_24__["MatTooltipModule"],
|
|
5519
5300
|
_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbModule"],
|
|
5520
|
-
|
|
5301
|
+
rule_editor__WEBPACK_IMPORTED_MODULE_67__["RuleEditorModule"],
|
|
5521
5302
|
ngx_schema_form__WEBPACK_IMPORTED_MODULE_1__["SchemaFormModule"].forRoot(),
|
|
5522
5303
|
_circlon_angular_tree_component__WEBPACK_IMPORTED_MODULE_27__["TreeModule"],
|
|
5523
5304
|
_angular_forms__WEBPACK_IMPORTED_MODULE_5__["ReactiveFormsModule"],
|
|
@@ -5525,7 +5306,7 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_83__["ɵɵdefineInjecto
|
|
|
5525
5306
|
_angular_material_select__WEBPACK_IMPORTED_MODULE_45__["MatSelectModule"],
|
|
5526
5307
|
_angular_material_dialog__WEBPACK_IMPORTED_MODULE_12__["MatDialogModule"],
|
|
5527
5308
|
]] });
|
|
5528
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) &&
|
|
5309
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_82__["ɵɵsetNgModuleScope"](AppModule, { declarations: [_app_component__WEBPACK_IMPORTED_MODULE_2__["AppComponent"],
|
|
5529
5310
|
_ngx_schema_form_ngx_schema_form_component__WEBPACK_IMPORTED_MODULE_26__["NgxSchemaFormComponent"],
|
|
5530
5311
|
_item_item_component__WEBPACK_IMPORTED_MODULE_8__["ItemComponent"],
|
|
5531
5312
|
_lib_widgets_item_json_editor_item_json_editor_component__WEBPACK_IMPORTED_MODULE_28__["ItemJsonEditorComponent"],
|
|
@@ -5565,21 +5346,21 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_83__["ɵɵdefineInjecto
|
|
|
5565
5346
|
_lib_widgets_boolean_radio_boolean_radio_component__WEBPACK_IMPORTED_MODULE_64__["BooleanRadioComponent"],
|
|
5566
5347
|
_lib_widgets_units_units_component__WEBPACK_IMPORTED_MODULE_65__["UnitsComponent"],
|
|
5567
5348
|
_lib_widgets_extensions_extensions_component__WEBPACK_IMPORTED_MODULE_66__["ExtensionsComponent"],
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5349
|
+
// TotalScoreComponent,
|
|
5350
|
+
_lib_widgets_answer_option_answer_option_component__WEBPACK_IMPORTED_MODULE_68__["AnswerOptionComponent"],
|
|
5351
|
+
_lib_widgets_initial_initial_component__WEBPACK_IMPORTED_MODULE_69__["InitialComponent"],
|
|
5352
|
+
_lib_widgets_help_text_help_text_component__WEBPACK_IMPORTED_MODULE_70__["HelpTextComponent"],
|
|
5353
|
+
_sf_form_wrapper_sf_form_wrapper_component__WEBPACK_IMPORTED_MODULE_71__["SfFormWrapperComponent"],
|
|
5354
|
+
_lib_widgets_type_type_component__WEBPACK_IMPORTED_MODULE_72__["TypeComponent"],
|
|
5355
|
+
_lib_widgets_preview_dlg_preview_dlg_component__WEBPACK_IMPORTED_MODULE_73__["PreviewDlgComponent"],
|
|
5356
|
+
_lib_widgets_fhir_export_dlg_fhir_export_dlg_component__WEBPACK_IMPORTED_MODULE_74__["FhirExportDlgComponent"],
|
|
5357
|
+
_lib_widgets_loinc_notice_loinc_notice_component__WEBPACK_IMPORTED_MODULE_75__["LoincNoticeComponent"],
|
|
5358
|
+
_lib_widgets_string_with_css_string_with_css_component__WEBPACK_IMPORTED_MODULE_76__["StringWithCssComponent"],
|
|
5359
|
+
_lib_widgets_restrictions_restrictions_component__WEBPACK_IMPORTED_MODULE_77__["RestrictionsComponent"],
|
|
5360
|
+
_lib_widgets_restrictions_operator_restrictions_operator_component__WEBPACK_IMPORTED_MODULE_78__["RestrictionsOperatorComponent"],
|
|
5361
|
+
_lib_widgets_observation_link_period_observation_link_period_component__WEBPACK_IMPORTED_MODULE_79__["ObservationLinkPeriodComponent"],
|
|
5362
|
+
_lib_directives_lfb_disable_control_directive__WEBPACK_IMPORTED_MODULE_80__["LfbDisableControlDirective"],
|
|
5363
|
+
_lib_widgets_lfb_spinner_lfb_spinner_component__WEBPACK_IMPORTED_MODULE_81__["LfbSpinnerComponent"]], imports: [_app_routing_module__WEBPACK_IMPORTED_MODULE_3__["AppRoutingModule"],
|
|
5583
5364
|
_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
|
|
5584
5365
|
_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__["BrowserAnimationsModule"],
|
|
5585
5366
|
_angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"],
|
|
@@ -5601,14 +5382,12 @@ AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_83__["ɵɵdefineInjecto
|
|
|
5601
5382
|
_angular_material_toolbar__WEBPACK_IMPORTED_MODULE_23__["MatToolbarModule"],
|
|
5602
5383
|
_angular_material_tooltip__WEBPACK_IMPORTED_MODULE_24__["MatTooltipModule"],
|
|
5603
5384
|
_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__["NgbModule"],
|
|
5604
|
-
|
|
5385
|
+
rule_editor__WEBPACK_IMPORTED_MODULE_67__["RuleEditorModule"], ngx_schema_form__WEBPACK_IMPORTED_MODULE_1__["SchemaFormModule"], _circlon_angular_tree_component__WEBPACK_IMPORTED_MODULE_27__["TreeModule"],
|
|
5605
5386
|
_angular_forms__WEBPACK_IMPORTED_MODULE_5__["ReactiveFormsModule"],
|
|
5606
5387
|
_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_10__["MatAutocompleteModule"],
|
|
5607
5388
|
_angular_material_select__WEBPACK_IMPORTED_MODULE_45__["MatSelectModule"],
|
|
5608
5389
|
_angular_material_dialog__WEBPACK_IMPORTED_MODULE_12__["MatDialogModule"]] }); })();
|
|
5609
|
-
|
|
5610
|
-
_ngx_schema_form_ngx_schema_form_component__WEBPACK_IMPORTED_MODULE_26__["NgxSchemaFormComponent"],
|
|
5611
|
-
_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_84__["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"]], [_angular_common__WEBPACK_IMPORTED_MODULE_84__["AsyncPipe"]]);
|
|
5390
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_82__["ɵɵsetComponentScope"](_ngx_schema_form_ngx_schema_form_component__WEBPACK_IMPORTED_MODULE_26__["NgxSchemaFormComponent"], [_sf_form_wrapper_sf_form_wrapper_component__WEBPACK_IMPORTED_MODULE_71__["SfFormWrapperComponent"]], []);
|
|
5612
5391
|
|
|
5613
5392
|
|
|
5614
5393
|
/***/ }),
|
|
@@ -5633,6 +5412,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5633
5412
|
/* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "G0yt");
|
|
5634
5413
|
/* harmony import */ var _services_tree_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../services/tree.service */ "n7/I");
|
|
5635
5414
|
/* harmony import */ var _services_form_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../services/form.service */ "md+p");
|
|
5415
|
+
/* harmony import */ var _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/sidenav */ "q7Ft");
|
|
5416
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
5417
|
+
/* harmony import */ var _lib_widgets_lfb_spinner_lfb_spinner_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../lib/widgets/lfb-spinner/lfb-spinner.component */ "v9ty");
|
|
5418
|
+
/* harmony import */ var _ngx_schema_form_ngx_schema_form_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ngx-schema-form/ngx-schema-form.component */ "2B7d");
|
|
5419
|
+
/* harmony import */ var _lib_widgets_item_json_editor_item_json_editor_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../lib/widgets/item-json-editor/item-json-editor.component */ "oT83");
|
|
5420
|
+
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/forms */ "s7LF");
|
|
5636
5421
|
/**
|
|
5637
5422
|
* Handle side bar tree, item level fields editing in ui and editing in json
|
|
5638
5423
|
*/
|
|
@@ -5647,6 +5432,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5647
5432
|
|
|
5648
5433
|
|
|
5649
5434
|
|
|
5435
|
+
|
|
5436
|
+
|
|
5437
|
+
|
|
5438
|
+
|
|
5439
|
+
|
|
5440
|
+
|
|
5441
|
+
|
|
5650
5442
|
const _c0 = ["tree"];
|
|
5651
5443
|
const _c1 = ["jsonEditor"];
|
|
5652
5444
|
const _c2 = ["uiEditor"];
|
|
@@ -5804,8 +5596,7 @@ class LinkIdCollection {
|
|
|
5804
5596
|
}
|
|
5805
5597
|
}
|
|
5806
5598
|
class ItemComponent {
|
|
5807
|
-
constructor(
|
|
5808
|
-
this.zone = zone;
|
|
5599
|
+
constructor(dialog, modalService, treeService, formService, dataSrv) {
|
|
5809
5600
|
this.dialog = dialog;
|
|
5810
5601
|
this.modalService = modalService;
|
|
5811
5602
|
this.treeService = treeService;
|
|
@@ -5883,11 +5674,6 @@ class ItemComponent {
|
|
|
5883
5674
|
this.subscriptions.push(subscription);
|
|
5884
5675
|
}
|
|
5885
5676
|
ngOnInit() {
|
|
5886
|
-
this.itemLoading$.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["debounceTime"])(100))
|
|
5887
|
-
.subscribe(() => {
|
|
5888
|
-
// No activity of updates, turn off the spinner.
|
|
5889
|
-
this.spinner$.next(false);
|
|
5890
|
-
});
|
|
5891
5677
|
}
|
|
5892
5678
|
/**
|
|
5893
5679
|
* Initialize component
|
|
@@ -5905,6 +5691,7 @@ class ItemComponent {
|
|
|
5905
5691
|
this.itemList = this.itemList || [];
|
|
5906
5692
|
if (this.itemList.length === 0) {
|
|
5907
5693
|
this.itemList.push({ text: 'Item 0', type: 'string' });
|
|
5694
|
+
this.itemData = this.itemList[0];
|
|
5908
5695
|
}
|
|
5909
5696
|
if ((_b = this.treeComponent) === null || _b === void 0 ? void 0 : _b.treeModel) {
|
|
5910
5697
|
(_c = this.treeComponent) === null || _c === void 0 ? void 0 : _c.treeModel.update();
|
|
@@ -5914,11 +5701,10 @@ class ItemComponent {
|
|
|
5914
5701
|
* Inform the change to host element.
|
|
5915
5702
|
*/
|
|
5916
5703
|
itemChanged(item) {
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
this.itemData = this.itemData ? Object.assign(this.itemData, item) : null;
|
|
5704
|
+
this.itemData = this.itemData ? Object.assign(this.itemData, item) : null;
|
|
5705
|
+
if (!this.formService.loading) {
|
|
5920
5706
|
this.itemChange.emit(this.itemList);
|
|
5921
|
-
}
|
|
5707
|
+
}
|
|
5922
5708
|
}
|
|
5923
5709
|
/**
|
|
5924
5710
|
* Handles tree update event
|
|
@@ -5936,42 +5722,39 @@ class ItemComponent {
|
|
|
5936
5722
|
* Handle tree events
|
|
5937
5723
|
* @param event - The event.
|
|
5938
5724
|
*/
|
|
5939
|
-
|
|
5725
|
+
onTreeEvent(event) {
|
|
5940
5726
|
switch (event.eventName) {
|
|
5941
5727
|
case 'activate':
|
|
5942
5728
|
this.startSpinner();
|
|
5943
5729
|
setTimeout(() => {
|
|
5944
5730
|
this.setNode(event.node);
|
|
5731
|
+
this.stopSpinner();
|
|
5945
5732
|
});
|
|
5946
5733
|
break;
|
|
5947
5734
|
case 'updateData':
|
|
5948
5735
|
this.startSpinner();
|
|
5949
5736
|
setTimeout(() => {
|
|
5950
5737
|
this.onTreeUpdated();
|
|
5738
|
+
this.stopSpinner();
|
|
5951
5739
|
});
|
|
5952
5740
|
break;
|
|
5953
|
-
case 'initialized':
|
|
5954
|
-
this.startSpinner();
|
|
5955
|
-
break;
|
|
5956
|
-
case 'moveNode':
|
|
5957
|
-
this.startSpinner();
|
|
5958
|
-
break;
|
|
5959
5741
|
default:
|
|
5960
5742
|
break;
|
|
5961
5743
|
}
|
|
5962
5744
|
}
|
|
5963
5745
|
/**
|
|
5964
|
-
* Trigger
|
|
5965
|
-
*
|
|
5966
|
-
* and there are no updates, the itemLoading is never triggered, which leaves spinner
|
|
5967
|
-
* running without stop.
|
|
5968
|
-
*
|
|
5969
|
-
* Call this when not sure if itemLoading is triggered.
|
|
5746
|
+
* Trigger spinner. It is a modal dialog disabling user actions.
|
|
5747
|
+
* Match this with stopSpinner.
|
|
5970
5748
|
*/
|
|
5971
5749
|
startSpinner() {
|
|
5972
|
-
this.itemLoading$.next(true);
|
|
5973
5750
|
this.spinner$.next(true);
|
|
5974
5751
|
}
|
|
5752
|
+
/**
|
|
5753
|
+
* Stop spinner.
|
|
5754
|
+
*/
|
|
5755
|
+
stopSpinner() {
|
|
5756
|
+
this.spinner$.next(false);
|
|
5757
|
+
}
|
|
5975
5758
|
/**
|
|
5976
5759
|
* Set selected node, typically invoked when user clicks a node on the tree.
|
|
5977
5760
|
* @param node - Selected node.
|
|
@@ -6050,6 +5833,7 @@ class ItemComponent {
|
|
|
6050
5833
|
this.treeComponent.treeModel.focusNextNode();
|
|
6051
5834
|
this.setNode(this.treeComponent.treeModel.getFocusedNode());
|
|
6052
5835
|
document.getElementById('text').focus();
|
|
5836
|
+
this.stopSpinner();
|
|
6053
5837
|
});
|
|
6054
5838
|
}
|
|
6055
5839
|
/**
|
|
@@ -6075,6 +5859,7 @@ class ItemComponent {
|
|
|
6075
5859
|
this.treeComponent.treeModel.update();
|
|
6076
5860
|
// Set the model for item editor.
|
|
6077
5861
|
this.setNode(this.treeComponent.treeModel.getFocusedNode());
|
|
5862
|
+
this.stopSpinner();
|
|
6078
5863
|
});
|
|
6079
5864
|
}
|
|
6080
5865
|
/**
|
|
@@ -6143,7 +5928,7 @@ class ItemComponent {
|
|
|
6143
5928
|
});
|
|
6144
5929
|
}
|
|
6145
5930
|
}
|
|
6146
|
-
ItemComponent.ɵfac = function ItemComponent_Factory(t) { return new (t || ItemComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](
|
|
5931
|
+
ItemComponent.ɵfac = function ItemComponent_Factory(t) { return new (t || ItemComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbModal"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_tree_service__WEBPACK_IMPORTED_MODULE_7__["TreeService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_form_service__WEBPACK_IMPORTED_MODULE_8__["FormService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_fetch_service__WEBPACK_IMPORTED_MODULE_2__["FetchService"])); };
|
|
6147
5932
|
ItemComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ItemComponent, selectors: [["lfb-item-component"]], viewQuery: function ItemComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6148
5933
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, 1);
|
|
6149
5934
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c1, 1);
|
|
@@ -6165,7 +5950,7 @@ ItemComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComp
|
|
|
6165
5950
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "Questions Tree");
|
|
6166
5951
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
6167
5952
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "tree-root", 3, 4);
|
|
6168
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("event", function ItemComponent_Template_tree_root_event_5_listener($event) { return ctx.
|
|
5953
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("event", function ItemComponent_Template_tree_root_event_5_listener($event) { return ctx.onTreeEvent($event); });
|
|
6169
5954
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, ItemComponent_ng_template_7_Template, 5, 4, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
|
|
6170
5955
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
6171
5956
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
@@ -6224,7 +6009,7 @@ ItemComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComp
|
|
|
6224
6009
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.editType === "json");
|
|
6225
6010
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
6226
6011
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", !(ctx.focusNode && ctx.focusNode.parent));
|
|
6227
|
-
} }, styles: [".tree-children.tree-children-no-padding[_ngcontent-%COMP%] { padding-left: 0 }\r\n.tree-children[_ngcontent-%COMP%] { padding-left: 20px; overflow: hidden }\r\n.node-drop-slot[_ngcontent-%COMP%] { display: block; height: 2px }\r\n.node-drop-slot.is-dragging-over[_ngcontent-%COMP%] { background: #ddffee; height: 20px; border: 2px dotted #888; }\r\n.toggle-children-wrapper-expanded[_ngcontent-%COMP%] .toggle-children[_ngcontent-%COMP%] { transform: rotate(90deg) }\r\n.toggle-children-wrapper-collapsed[_ngcontent-%COMP%] .toggle-children[_ngcontent-%COMP%] { transform: rotate(0); }\r\n.toggle-children-wrapper[_ngcontent-%COMP%] {\r\n padding: 2px 3px 5px 1px;\r\n}\r\n\r\n.toggle-children[_ngcontent-%COMP%] {\r\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkYzRkRFQjcxODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkYzRkRFQjcwODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTk5NzA1OGEtZDI3OC00NDZkLWE4ODgtNGM4MGQ4YWI1NzNmIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRkZmQxMGMtY2NlNS0xMTc4LWE5OGQtY2NkZmM5ODk5YWYwIi8+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uczwvcmRmOmxpPiA8L3JkZjpBbHQ+IDwvZGM6dGl0bGU+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+5iogFwAAAGhJREFUeNpiYGBgKABigf///zOQg0EARH4A4gZyDIIZ8B/JoAJKDIDhB0CcQIkBRBtEyABkgxwoMQCGD6AbRKoBGAYxQgXIBRuZGKgAKPIC3QLxArnRSHZCIjspk52ZKMrOFBUoAAEGAKnq593MQAZtAAAAAElFTkSuQmCC');\r\n height: 8px;\r\n width: 9px;\r\n background-size: contain;\r\n display: inline-block;\r\n position: relative;\r\n top: 1px;\r\n background-repeat: no-repeat;\r\n background-position: center;\r\n}\r\n.toggle-children-placeholder[_ngcontent-%COMP%] {\r\n display: inline-block;\r\n height: 10px;\r\n width: 10px;\r\n position: relative;\r\n top: 1px;\r\n padding-right: 3px;\r\n}\r\n.node-content-wrapper[_ngcontent-%COMP%] {\r\n display: inline-block;\r\n padding: 2px 5px;\r\n border-radius: 2px;\r\n transition: background-color .15s,box-shadow .15s;\r\n}\r\n.node-wrapper[_ngcontent-%COMP%] {display: flex; align-items: flex-start;}\r\n.node-content-wrapper-active[_ngcontent-%COMP%], .node-content-wrapper.node-content-wrapper-active[_ngcontent-%COMP%]:hover, .node-content-wrapper-active.node-content-wrapper-focused[_ngcontent-%COMP%] {\r\n background: #beebff;\r\n}\r\n.node-content-wrapper-focused[_ngcontent-%COMP%] { background: #e7f4f9 }\r\n.node-content-wrapper[_ngcontent-%COMP%]:hover { background: #f7fbff }\r\n.node-content-wrapper-active[_ngcontent-%COMP%], .node-content-wrapper-focused[_ngcontent-%COMP%], .node-content-wrapper[_ngcontent-%COMP%]:hover {\r\n box-shadow: inset 0 0 1px #999;\r\n}\r\n.node-content-wrapper.is-dragging-over[_ngcontent-%COMP%] { background: #ddffee; box-shadow: inset 0 0 1px #999; }\r\n.node-content-wrapper.is-dragging-over-disabled[_ngcontent-%COMP%] { opacity: 0.5 }\r\ntree-viewport[_ngcontent-%COMP%] {\r\n -webkit-tap-highlight-color: transparent;\r\n height: 100%;\r\n overflow: auto;\r\n display: block;\r\n}\r\n.tree-children[_ngcontent-%COMP%] { padding-left: 20px }\r\n.empty-tree-drop-slot[_ngcontent-%COMP%] .node-drop-slot[_ngcontent-%COMP%] { height: 20px; min-width: 100px }\r\n.angular-tree-component[_ngcontent-%COMP%] {\r\n width: 100%;\r\n position:relative;\r\n display: inline-block;\r\n cursor: pointer;\r\n -webkit-touch-callout: none; \r\n -webkit-user-select: none; \r\n -moz-user-select: none; \r\n -ms-user-select: none; \r\n user-select: none; \r\n}\r\ntree-root[_ngcontent-%COMP%] .angular-tree-component-rtl[_ngcontent-%COMP%] {\r\n direction: rtl;\r\n}\r\ntree-root[_ngcontent-%COMP%] .angular-tree-component-rtl[_ngcontent-%COMP%] .toggle-children-wrapper-collapsed[_ngcontent-%COMP%] .toggle-children[_ngcontent-%COMP%] {\r\n transform: rotate(180deg) !important;\r\n}\r\ntree-root[_ngcontent-%COMP%] .angular-tree-component-rtl[_ngcontent-%COMP%] .tree-children[_ngcontent-%COMP%] {\r\n padding-right: 20px;\r\n padding-left: 0;\r\n}\r\ntree-node-checkbox[_ngcontent-%COMP%] {\r\n padding: 1px;\r\n}\r\n.overlay[_ngcontent-%COMP%] {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 1000;\n top: 40%;\n left: 0;\n opacity: 0.5;\n filter: alpha(opacity=50);\n}\r\n.sidenav-header[_ngcontent-%COMP%] {\n background-color: grey;\n color: white;\n}\r\n.node-display-prefix[_ngcontent-%COMP%] {\n font-weight: bold;\n margin-right: 1rem;\n}\r\n.mat-sidenav[_ngcontent-%COMP%] {\n width: 20%;\n padding: 10px;\n}\r\n.mat-sidenav-content[_ngcontent-%COMP%] {\n padding: 5px;\n}\r\n.mat-tab-body[_ngcontent-%COMP%] {\n background-color: white;\n}\r\n.mat-toolbar.mat-primary[_ngcontent-%COMP%] {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1;\n}\r\n.json-radio-group[_ngcontent-%COMP%] {\n display: flex;\n margin: 5px 0;\n}\r\n.json-radio-button[_ngcontent-%COMP%] {\n margin: 5px;\n}\r\n.search-box[_ngcontent-%COMP%] {\n font-size: small;\n width: 100%;\n align-items: end;\n}\r\n .mat-tooltip {\n font-size: 12px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL25vZGVfbW9kdWxlcy9AY2lyY2xvbi9hbmd1bGFyLXRyZWUtY29tcG9uZW50L2Nzcy9hbmd1bGFyLXRyZWUtY29tcG9uZW50LmNzcyIsIml0ZW0uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwwQ0FBMEMsZ0JBQWdCO0FBQzFELGlCQUFpQixrQkFBa0IsRUFBRSxpQkFBaUI7QUFDdEQsa0JBQWtCLGNBQWMsRUFBRSxZQUFZO0FBQzlDLG1DQUFtQyxtQkFBbUIsRUFBRSxZQUFZLEVBQUUsdUJBQXVCLEVBQUU7QUFDL0YscURBQXFELHlCQUF5QjtBQUM5RSxzREFBc0Qsb0JBQW9CLEVBQUU7QUFDNUU7RUFDRSx3QkFBd0I7QUFDMUI7QUFDQSxtQkFBbUI7QUFDbkI7RUFDRSx1cURBQXVxRDtFQUN2cUQsV0FBVztFQUNYLFVBQVU7RUFDVix3QkFBd0I7RUFDeEIscUJBQXFCO0VBQ3JCLGtCQUFrQjtFQUNsQixRQUFRO0VBQ1IsNEJBQTRCO0VBQzVCLDJCQUEyQjtBQUM3QjtBQUNBO0VBQ0UscUJBQXFCO0VBQ3JCLFlBQVk7RUFDWixXQUFXO0VBQ1gsa0JBQWtCO0VBQ2xCLFFBQVE7RUFDUixrQkFBa0I7QUFDcEI7QUFDQTtFQUNFLHFCQUFxQjtFQUNyQixnQkFBZ0I7RUFDaEIsa0JBQWtCO0VBQ2xCLGlEQUFpRDtBQUNuRDtBQUNBLGVBQWUsYUFBYSxFQUFFLHVCQUF1QixDQUFDO0FBQ3REOzs7RUFHRSxtQkFBbUI7QUFDckI7QUFDQSxnQ0FBZ0Msb0JBQW9CO0FBQ3BELDhCQUE4QixvQkFBb0I7QUFDbEQ7RUFDRSw4QkFBOEI7QUFDaEM7QUFDQSx5Q0FBeUMsbUJBQW1CLEVBQUUsOEJBQThCLEVBQUU7QUFDOUYsa0RBQWtELGFBQWE7QUFFL0Q7RUFDRSx3Q0FBd0M7RUFDeEMsWUFBWTtFQUNaLGNBQWM7RUFDZCxjQUFjO0FBQ2hCO0FBQ0EsaUJBQWlCLG1CQUFtQjtBQUNwQyx3Q0FBd0MsWUFBWSxFQUFFLGlCQUFpQjtBQUN2RTtFQUNFLFdBQVc7RUFDWCxpQkFBaUI7RUFDakIscUJBQXFCO0VBQ3JCLGVBQWU7RUFDZiwyQkFBMkIsRUFBRSxlQUFlO0VBQzVDLHlCQUF5QixJQUFJLHdCQUF3QixLQUN4QixjQUFjO0VBQzNDLHNCQUFzQixPQUFPLFlBQVk7RUFDekMscUJBQXFCLFFBQVEsWUFBWTtFQUN6QyxpQkFBaUIsWUFBWSxpRUFBaUU7QUFDaEc7QUFFQTtFQUNFLGNBQWM7QUFDaEI7QUFDQTtFQUNFLG9DQUFvQztBQUN0QztBQUNBO0VBQ0UsbUJBQW1CO0VBQ25CLGVBQWU7QUFDakI7QUFFQTtFQUNFLFlBQVk7QUFDZDtBQ2pGQTtFQUNFLGVBQWU7RUFDZixXQUFXO0VBQ1gsWUFBWTtFQUNaLGFBQWE7RUFDYixRQUFRO0VBQ1IsT0FBTztFQUNQLFlBQVk7RUFDWix5QkFBeUI7QUFDM0I7QUFFQTtFQUNFLHNCQUFzQjtFQUN0QixZQUFZO0FBQ2Q7QUFDQTtFQUNFLGlCQUFpQjtFQUNqQixrQkFBa0I7QUFDcEI7QUFDQTtFQUNFLFVBQVU7RUFDVixhQUFhO0FBQ2Y7QUFFQTtFQUNFLFlBQVk7QUFDZDtBQUVBO0VBQ0UsdUJBQXVCO0FBQ3pCO0FBRUE7RUFDRSx3QkFBZ0I7RUFBaEIsZ0JBQWdCO0VBQ2hCLE1BQU07RUFDTixVQUFVO0FBQ1o7QUFFQTtFQUNFLGFBQWE7RUFDYixhQUFhO0FBQ2Y7QUFFQTtFQUNFLFdBQVc7QUFDYjtBQUVBO0VBQ0UsZ0JBQWdCO0VBQ2hCLFdBQVc7RUFDWCxnQkFBZ0I7QUFDbEI7QUFFQTtFQUNFLGVBQWU7QUFDakIiLCJmaWxlIjoiaXRlbS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnRyZWUtY2hpbGRyZW4udHJlZS1jaGlsZHJlbi1uby1wYWRkaW5nIHsgcGFkZGluZy1sZWZ0OiAwIH1cclxuLnRyZWUtY2hpbGRyZW4geyBwYWRkaW5nLWxlZnQ6IDIwcHg7IG92ZXJmbG93OiBoaWRkZW4gfVxyXG4ubm9kZS1kcm9wLXNsb3QgeyBkaXNwbGF5OiBibG9jazsgaGVpZ2h0OiAycHggfVxyXG4ubm9kZS1kcm9wLXNsb3QuaXMtZHJhZ2dpbmctb3ZlciB7IGJhY2tncm91bmQ6ICNkZGZmZWU7IGhlaWdodDogMjBweDsgYm9yZGVyOiAycHggZG90dGVkICM4ODg7IH1cclxuLnRvZ2dsZS1jaGlsZHJlbi13cmFwcGVyLWV4cGFuZGVkIC50b2dnbGUtY2hpbGRyZW4geyB0cmFuc2Zvcm06IHJvdGF0ZSg5MGRlZykgfVxyXG4udG9nZ2xlLWNoaWxkcmVuLXdyYXBwZXItY29sbGFwc2VkIC50b2dnbGUtY2hpbGRyZW4geyB0cmFuc2Zvcm06IHJvdGF0ZSgwKTsgfVxyXG4udG9nZ2xlLWNoaWxkcmVuLXdyYXBwZXIge1xyXG4gIHBhZGRpbmc6IDJweCAzcHggNXB4IDFweDtcclxufVxyXG4vKiB0c2xpbnQ6ZGlzYWJsZSAqL1xyXG4udG9nZ2xlLWNoaWxkcmVuIHtcclxuICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoJ2RhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQkFBQUFBU0NBWUFBQUJTTzE1cUFBQUFHWFJGV0hSVGIyWjBkMkZ5WlFCQlpHOWlaU0JKYldGblpWSmxZV1I1Y2NsbFBBQUFCQWhwVkZoMFdFMU1PbU52YlM1aFpHOWlaUzU0YlhBQUFBQUFBRHcvZUhCaFkydGxkQ0JpWldkcGJqMGk3N3UvSWlCcFpEMGlWelZOTUUxd1EyVm9hVWg2Y21WVGVrNVVZM3ByWXpsa0lqOCtJRHg0T25odGNHMWxkR0VnZUcxc2JuTTZlRDBpWVdSdlltVTZibk02YldWMFlTOGlJSGc2ZUcxd2RHczlJa0ZrYjJKbElGaE5VQ0JEYjNKbElEVXVOaTFqTURZM0lEYzVMakUxTnpjME55d2dNakF4TlM4d015OHpNQzB5TXpvME1EbzBNaUFnSUNBZ0lDQWdJajRnUEhKa1pqcFNSRVlnZUcxc2JuTTZjbVJtUFNKb2RIUndPaTh2ZDNkM0xuY3pMbTl5Wnk4eE9UazVMekF5THpJeUxYSmtaaTF6ZVc1MFlYZ3Ribk1qSWo0Z1BISmtaanBFWlhOamNtbHdkR2x2YmlCeVpHWTZZV0p2ZFhROUlpSWdlRzFzYm5NNmVHMXdUVTA5SW1oMGRIQTZMeTl1Y3k1aFpHOWlaUzVqYjIwdmVHRndMekV1TUM5dGJTOGlJSGh0Ykc1ek9uTjBVbVZtUFNKb2RIUndPaTh2Ym5NdVlXUnZZbVV1WTI5dEwzaGhjQzh4TGpBdmMxUjVjR1V2VW1WemIzVnlZMlZTWldZaklpQjRiV3h1Y3pwNGJYQTlJbWgwZEhBNkx5OXVjeTVoWkc5aVpTNWpiMjB2ZUdGd0x6RXVNQzhpSUhodGJHNXpPbVJqUFNKb2RIUndPaTh2Y0hWeWJDNXZjbWN2WkdNdlpXeGxiV1Z1ZEhNdk1TNHhMeUlnZUcxd1RVMDZUM0pwWjJsdVlXeEViMk4xYldWdWRFbEVQU0oxZFdsa09qWTFSVFl6T1RBMk9EWkRSakV4UkVKQk5rVXlSRGc0TjBORlFVTkNOREEzSWlCNGJYQk5UVHBFYjJOMWJXVnVkRWxFUFNKNGJYQXVaR2xrT2tZelJrUkZRamN4T0RVek5URXhSVFU0UlRRd1JrUXdPREZFT1VaRU1FRTNJaUI0YlhCTlRUcEpibk4wWVc1alpVbEVQU0o0YlhBdWFXbGtPa1l6UmtSRlFqY3dPRFV6TlRFeFJUVTRSVFF3UmtRd09ERkVPVVpFTUVFM0lpQjRiWEE2UTNKbFlYUnZjbFJ2YjJ3OUlrRmtiMkpsSUZCb2IzUnZjMmh2Y0NCRFF5QXlNREUxSUNoTllXTnBiblJ2YzJncElqNGdQSGh0Y0UxTk9rUmxjbWwyWldSR2NtOXRJSE4wVW1WbU9tbHVjM1JoYm1ObFNVUTlJbmh0Y0M1cGFXUTZNVGs1TnpBMU9HRXRaREkzT0MwME5EWmtMV0U0T0RndE5HTTRNR1E0WVdJMU56Tm1JaUJ6ZEZKbFpqcGtiMk4xYldWdWRFbEVQU0poWkc5aVpUcGtiMk5wWkRwd2FHOTBiM05vYjNBNll6UmtabVF4TUdNdFkyTmxOUzB4TVRjNExXRTVPR1F0WTJOa1ptTTVPRGs1WVdZd0lpOCtJRHhrWXpwMGFYUnNaVDRnUEhKa1pqcEJiSFErSUR4eVpHWTZiR2tnZUcxc09teGhibWM5SW5ndFpHVm1ZWFZzZENJK1oyeDVjR2hwWTI5dWN6d3ZjbVJtT214cFBpQThMM0prWmpwQmJIUStJRHd2WkdNNmRHbDBiR1UrSUR3dmNtUm1Pa1JsYzJOeWFYQjBhVzl1UGlBOEwzSmtaanBTUkVZK0lEd3ZlRHA0YlhCdFpYUmhQaUE4UDNod1lXTnJaWFFnWlc1a1BTSnlJajgrNWlvZ0Z3QUFBR2hKUkVGVWVOcGlZR0JnS0FCaWdmLy8vek9RZzBFQVJINEE0Z1p5RElJWjhCL0pvQUpLRElEaEIwQ2NRSWtCUkJ0RXlBQmtneHdvTVFDR0Q2QWJSS29CR0FZeFFnWElCUnVaR0tnQUtQSUMzUUx4QXJuUlNIWkNJanNwazUyWktNck9GQlVvQUFFR0FLbnE1OTNNUUFadEFBQUFBRWxGVGtTdVFtQ0MnKTtcclxuICBoZWlnaHQ6IDhweDtcclxuICB3aWR0aDogOXB4O1xyXG4gIGJhY2tncm91bmQtc2l6ZTogY29udGFpbjtcclxuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gIHRvcDogMXB4O1xyXG4gIGJhY2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7XHJcbiAgYmFja2dyb3VuZC1wb3NpdGlvbjogY2VudGVyO1xyXG59XHJcbi50b2dnbGUtY2hpbGRyZW4tcGxhY2Vob2xkZXIge1xyXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICBoZWlnaHQ6IDEwcHg7XHJcbiAgd2lkdGg6IDEwcHg7XHJcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gIHRvcDogMXB4O1xyXG4gIHBhZGRpbmctcmlnaHQ6IDNweDtcclxufVxyXG4ubm9kZS1jb250ZW50LXdyYXBwZXIge1xyXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICBwYWRkaW5nOiAycHggNXB4O1xyXG4gIGJvcmRlci1yYWRpdXM6IDJweDtcclxuICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIC4xNXMsYm94LXNoYWRvdyAuMTVzO1xyXG59XHJcbi5ub2RlLXdyYXBwZXIge2Rpc3BsYXk6IGZsZXg7IGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O31cclxuLm5vZGUtY29udGVudC13cmFwcGVyLWFjdGl2ZSxcclxuLm5vZGUtY29udGVudC13cmFwcGVyLm5vZGUtY29udGVudC13cmFwcGVyLWFjdGl2ZTpob3ZlcixcclxuLm5vZGUtY29udGVudC13cmFwcGVyLWFjdGl2ZS5ub2RlLWNvbnRlbnQtd3JhcHBlci1mb2N1c2VkIHtcclxuICBiYWNrZ3JvdW5kOiAjYmVlYmZmO1xyXG59XHJcbi5ub2RlLWNvbnRlbnQtd3JhcHBlci1mb2N1c2VkIHsgYmFja2dyb3VuZDogI2U3ZjRmOSB9XHJcbi5ub2RlLWNvbnRlbnQtd3JhcHBlcjpob3ZlciB7IGJhY2tncm91bmQ6ICNmN2ZiZmYgfVxyXG4ubm9kZS1jb250ZW50LXdyYXBwZXItYWN0aXZlLCAubm9kZS1jb250ZW50LXdyYXBwZXItZm9jdXNlZCwgLm5vZGUtY29udGVudC13cmFwcGVyOmhvdmVyIHtcclxuICBib3gtc2hhZG93OiBpbnNldCAwIDAgMXB4ICM5OTk7XHJcbn1cclxuLm5vZGUtY29udGVudC13cmFwcGVyLmlzLWRyYWdnaW5nLW92ZXIgeyBiYWNrZ3JvdW5kOiAjZGRmZmVlOyBib3gtc2hhZG93OiBpbnNldCAwIDAgMXB4ICM5OTk7IH1cclxuLm5vZGUtY29udGVudC13cmFwcGVyLmlzLWRyYWdnaW5nLW92ZXItZGlzYWJsZWQgeyBvcGFjaXR5OiAwLjUgfVxyXG5cclxudHJlZS12aWV3cG9ydCB7XHJcbiAgLXdlYmtpdC10YXAtaGlnaGxpZ2h0LWNvbG9yOiB0cmFuc3BhcmVudDtcclxuICBoZWlnaHQ6IDEwMCU7XHJcbiAgb3ZlcmZsb3c6IGF1dG87XHJcbiAgZGlzcGxheTogYmxvY2s7XHJcbn1cclxuLnRyZWUtY2hpbGRyZW4geyBwYWRkaW5nLWxlZnQ6IDIwcHggfVxyXG4uZW1wdHktdHJlZS1kcm9wLXNsb3QgLm5vZGUtZHJvcC1zbG90IHsgaGVpZ2h0OiAyMHB4OyBtaW4td2lkdGg6IDEwMHB4IH1cclxuLmFuZ3VsYXItdHJlZS1jb21wb25lbnQge1xyXG4gIHdpZHRoOiAxMDAlO1xyXG4gIHBvc2l0aW9uOnJlbGF0aXZlO1xyXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgLXdlYmtpdC10b3VjaC1jYWxsb3V0OiBub25lOyAvKiBpT1MgU2FmYXJpICovXHJcbiAgLXdlYmtpdC11c2VyLXNlbGVjdDogbm9uZTsgICAvKiBDaHJvbWUvU2FmYXJpL09wZXJhICovXHJcbiAgLWtodG1sLXVzZXItc2VsZWN0OiBub25lOyAgICAvKiBLb25xdWVyb3IgKi9cclxuICAtbW96LXVzZXItc2VsZWN0OiBub25lOyAgICAgIC8qIEZpcmVmb3ggKi9cclxuICAtbXMtdXNlci1zZWxlY3Q6IG5vbmU7ICAgICAgIC8qIElFL0VkZ2UgKi9cclxuICB1c2VyLXNlbGVjdDogbm9uZTsgICAgICAgICAgIC8qIG5vbi1wcmVmaXhlZCB2ZXJzaW9uLCBjdXJyZW50bHkgbm90IHN1cHBvcnRlZCBieSBhbnkgYnJvd3NlciAqL1xyXG59XHJcblxyXG50cmVlLXJvb3QgLmFuZ3VsYXItdHJlZS1jb21wb25lbnQtcnRsIHtcclxuICBkaXJlY3Rpb246IHJ0bDtcclxufVxyXG50cmVlLXJvb3QgLmFuZ3VsYXItdHJlZS1jb21wb25lbnQtcnRsIC50b2dnbGUtY2hpbGRyZW4td3JhcHBlci1jb2xsYXBzZWQgLnRvZ2dsZS1jaGlsZHJlbiB7XHJcbiAgdHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKSAhaW1wb3J0YW50O1xyXG59XHJcbnRyZWUtcm9vdCAuYW5ndWxhci10cmVlLWNvbXBvbmVudC1ydGwgLnRyZWUtY2hpbGRyZW4ge1xyXG4gIHBhZGRpbmctcmlnaHQ6IDIwcHg7XHJcbiAgcGFkZGluZy1sZWZ0OiAwO1xyXG59XHJcblxyXG50cmVlLW5vZGUtY2hlY2tib3gge1xyXG4gIHBhZGRpbmc6IDFweDtcclxufVxyXG4iLCJAaW1wb3J0ICd+QGNpcmNsb24vYW5ndWxhci10cmVlLWNvbXBvbmVudC9jc3MvYW5ndWxhci10cmVlLWNvbXBvbmVudC5jc3MnO1xuXG4ub3ZlcmxheSB7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgd2lkdGg6IDEwMCU7XG4gIGhlaWdodDogMTAwJTtcbiAgei1pbmRleDogMTAwMDtcbiAgdG9wOiA0MCU7XG4gIGxlZnQ6IDA7XG4gIG9wYWNpdHk6IDAuNTtcbiAgZmlsdGVyOiBhbHBoYShvcGFjaXR5PTUwKTtcbn1cblxuLnNpZGVuYXYtaGVhZGVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogZ3JleTtcbiAgY29sb3I6IHdoaXRlO1xufVxuLm5vZGUtZGlzcGxheS1wcmVmaXgge1xuICBmb250LXdlaWdodDogYm9sZDtcbiAgbWFyZ2luLXJpZ2h0OiAxcmVtO1xufVxuLm1hdC1zaWRlbmF2IHtcbiAgd2lkdGg6IDIwJTtcbiAgcGFkZGluZzogMTBweDtcbn1cblxuLm1hdC1zaWRlbmF2LWNvbnRlbnQge1xuICBwYWRkaW5nOiA1cHg7XG59XG5cbi5tYXQtdGFiLWJvZHkge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbn1cblxuLm1hdC10b29sYmFyLm1hdC1wcmltYXJ5IHtcbiAgcG9zaXRpb246IHN0aWNreTtcbiAgdG9wOiAwO1xuICB6LWluZGV4OiAxO1xufVxuXG4uanNvbi1yYWRpby1ncm91cCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIG1hcmdpbjogNXB4IDA7XG59XG5cbi5qc29uLXJhZGlvLWJ1dHRvbiB7XG4gIG1hcmdpbjogNXB4O1xufVxuXG4uc2VhcmNoLWJveCB7XG4gIGZvbnQtc2l6ZTogc21hbGw7XG4gIHdpZHRoOiAxMDAlO1xuICBhbGlnbi1pdGVtczogZW5kO1xufVxuXG46Om5nLWRlZXAgLm1hdC10b29sdGlwIHtcbiAgZm9udC1zaXplOiAxMnB4O1xufVxuIl19 */"] });
|
|
6012
|
+
} }, directives: [_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_9__["MatSidenavContainer"], _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_9__["MatSidenav"], _circlon_angular_tree_component__WEBPACK_IMPORTED_MODULE_1__["TreeComponent"], _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_9__["MatSidenavContent"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["NgClass"], _lib_widgets_lfb_spinner_lfb_spinner_component__WEBPACK_IMPORTED_MODULE_11__["LfbSpinnerComponent"], _ngx_schema_form_ngx_schema_form_component__WEBPACK_IMPORTED_MODULE_12__["NgxSchemaFormComponent"], _lib_widgets_item_json_editor_item_json_editor_component__WEBPACK_IMPORTED_MODULE_13__["ItemJsonEditorComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["ɵangular_packages_forms_forms_ba"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["NgForm"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbRadioGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["NgModel"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["NgForOf"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["DefaultValueAccessor"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbTypeahead"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbButtonLabel"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbRadio"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_10__["AsyncPipe"]], styles: [".tree-children.tree-children-no-padding[_ngcontent-%COMP%] { padding-left: 0 }\r\n.tree-children[_ngcontent-%COMP%] { padding-left: 20px; overflow: hidden }\r\n.node-drop-slot[_ngcontent-%COMP%] { display: block; height: 2px }\r\n.node-drop-slot.is-dragging-over[_ngcontent-%COMP%] { background: #ddffee; height: 20px; border: 2px dotted #888; }\r\n.toggle-children-wrapper-expanded[_ngcontent-%COMP%] .toggle-children[_ngcontent-%COMP%] { transform: rotate(90deg) }\r\n.toggle-children-wrapper-collapsed[_ngcontent-%COMP%] .toggle-children[_ngcontent-%COMP%] { transform: rotate(0); }\r\n.toggle-children-wrapper[_ngcontent-%COMP%] {\r\n padding: 2px 3px 5px 1px;\r\n}\r\n\r\n.toggle-children[_ngcontent-%COMP%] {\r\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkYzRkRFQjcxODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkYzRkRFQjcwODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTk5NzA1OGEtZDI3OC00NDZkLWE4ODgtNGM4MGQ4YWI1NzNmIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRkZmQxMGMtY2NlNS0xMTc4LWE5OGQtY2NkZmM5ODk5YWYwIi8+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uczwvcmRmOmxpPiA8L3JkZjpBbHQ+IDwvZGM6dGl0bGU+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+5iogFwAAAGhJREFUeNpiYGBgKABigf///zOQg0EARH4A4gZyDIIZ8B/JoAJKDIDhB0CcQIkBRBtEyABkgxwoMQCGD6AbRKoBGAYxQgXIBRuZGKgAKPIC3QLxArnRSHZCIjspk52ZKMrOFBUoAAEGAKnq593MQAZtAAAAAElFTkSuQmCC');\r\n height: 8px;\r\n width: 9px;\r\n background-size: contain;\r\n display: inline-block;\r\n position: relative;\r\n top: 1px;\r\n background-repeat: no-repeat;\r\n background-position: center;\r\n}\r\n.toggle-children-placeholder[_ngcontent-%COMP%] {\r\n display: inline-block;\r\n height: 10px;\r\n width: 10px;\r\n position: relative;\r\n top: 1px;\r\n padding-right: 3px;\r\n}\r\n.node-content-wrapper[_ngcontent-%COMP%] {\r\n display: inline-block;\r\n padding: 2px 5px;\r\n border-radius: 2px;\r\n transition: background-color .15s,box-shadow .15s;\r\n}\r\n.node-wrapper[_ngcontent-%COMP%] {display: flex; align-items: flex-start;}\r\n.node-content-wrapper-active[_ngcontent-%COMP%], .node-content-wrapper.node-content-wrapper-active[_ngcontent-%COMP%]:hover, .node-content-wrapper-active.node-content-wrapper-focused[_ngcontent-%COMP%] {\r\n background: #beebff;\r\n}\r\n.node-content-wrapper-focused[_ngcontent-%COMP%] { background: #e7f4f9 }\r\n.node-content-wrapper[_ngcontent-%COMP%]:hover { background: #f7fbff }\r\n.node-content-wrapper-active[_ngcontent-%COMP%], .node-content-wrapper-focused[_ngcontent-%COMP%], .node-content-wrapper[_ngcontent-%COMP%]:hover {\r\n box-shadow: inset 0 0 1px #999;\r\n}\r\n.node-content-wrapper.is-dragging-over[_ngcontent-%COMP%] { background: #ddffee; box-shadow: inset 0 0 1px #999; }\r\n.node-content-wrapper.is-dragging-over-disabled[_ngcontent-%COMP%] { opacity: 0.5 }\r\ntree-viewport[_ngcontent-%COMP%] {\r\n -webkit-tap-highlight-color: transparent;\r\n height: 100%;\r\n overflow: auto;\r\n display: block;\r\n}\r\n.tree-children[_ngcontent-%COMP%] { padding-left: 20px }\r\n.empty-tree-drop-slot[_ngcontent-%COMP%] .node-drop-slot[_ngcontent-%COMP%] { height: 20px; min-width: 100px }\r\n.angular-tree-component[_ngcontent-%COMP%] {\r\n width: 100%;\r\n position:relative;\r\n display: inline-block;\r\n cursor: pointer;\r\n -webkit-touch-callout: none; \r\n -webkit-user-select: none; \r\n -moz-user-select: none; \r\n -ms-user-select: none; \r\n user-select: none; \r\n}\r\ntree-root[_ngcontent-%COMP%] .angular-tree-component-rtl[_ngcontent-%COMP%] {\r\n direction: rtl;\r\n}\r\ntree-root[_ngcontent-%COMP%] .angular-tree-component-rtl[_ngcontent-%COMP%] .toggle-children-wrapper-collapsed[_ngcontent-%COMP%] .toggle-children[_ngcontent-%COMP%] {\r\n transform: rotate(180deg) !important;\r\n}\r\ntree-root[_ngcontent-%COMP%] .angular-tree-component-rtl[_ngcontent-%COMP%] .tree-children[_ngcontent-%COMP%] {\r\n padding-right: 20px;\r\n padding-left: 0;\r\n}\r\ntree-node-checkbox[_ngcontent-%COMP%] {\r\n padding: 1px;\r\n}\r\n.overlay[_ngcontent-%COMP%] {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 1000;\n top: 40%;\n left: 0;\n opacity: 0.5;\n filter: alpha(opacity=50);\n}\r\n.sidenav-header[_ngcontent-%COMP%] {\n background-color: grey;\n color: white;\n}\r\n.node-display-prefix[_ngcontent-%COMP%] {\n font-weight: bold;\n margin-right: 1rem;\n}\r\n.mat-sidenav[_ngcontent-%COMP%] {\n width: 20%;\n padding: 10px;\n}\r\n.mat-sidenav-content[_ngcontent-%COMP%] {\n padding: 5px;\n}\r\n.mat-tab-body[_ngcontent-%COMP%] {\n background-color: white;\n}\r\n.mat-toolbar.mat-primary[_ngcontent-%COMP%] {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1;\n}\r\n.json-radio-group[_ngcontent-%COMP%] {\n display: flex;\n margin: 5px 0;\n}\r\n.json-radio-button[_ngcontent-%COMP%] {\n margin: 5px;\n}\r\n.search-box[_ngcontent-%COMP%] {\n font-size: small;\n width: 100%;\n align-items: end;\n}\r\n .mat-tooltip {\n font-size: 12px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL25vZGVfbW9kdWxlcy9AY2lyY2xvbi9hbmd1bGFyLXRyZWUtY29tcG9uZW50L2Nzcy9hbmd1bGFyLXRyZWUtY29tcG9uZW50LmNzcyIsIml0ZW0uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwwQ0FBMEMsZ0JBQWdCO0FBQzFELGlCQUFpQixrQkFBa0IsRUFBRSxpQkFBaUI7QUFDdEQsa0JBQWtCLGNBQWMsRUFBRSxZQUFZO0FBQzlDLG1DQUFtQyxtQkFBbUIsRUFBRSxZQUFZLEVBQUUsdUJBQXVCLEVBQUU7QUFDL0YscURBQXFELHlCQUF5QjtBQUM5RSxzREFBc0Qsb0JBQW9CLEVBQUU7QUFDNUU7RUFDRSx3QkFBd0I7QUFDMUI7QUFDQSxtQkFBbUI7QUFDbkI7RUFDRSx1cURBQXVxRDtFQUN2cUQsV0FBVztFQUNYLFVBQVU7RUFDVix3QkFBd0I7RUFDeEIscUJBQXFCO0VBQ3JCLGtCQUFrQjtFQUNsQixRQUFRO0VBQ1IsNEJBQTRCO0VBQzVCLDJCQUEyQjtBQUM3QjtBQUNBO0VBQ0UscUJBQXFCO0VBQ3JCLFlBQVk7RUFDWixXQUFXO0VBQ1gsa0JBQWtCO0VBQ2xCLFFBQVE7RUFDUixrQkFBa0I7QUFDcEI7QUFDQTtFQUNFLHFCQUFxQjtFQUNyQixnQkFBZ0I7RUFDaEIsa0JBQWtCO0VBQ2xCLGlEQUFpRDtBQUNuRDtBQUNBLGVBQWUsYUFBYSxFQUFFLHVCQUF1QixDQUFDO0FBQ3REOzs7RUFHRSxtQkFBbUI7QUFDckI7QUFDQSxnQ0FBZ0Msb0JBQW9CO0FBQ3BELDhCQUE4QixvQkFBb0I7QUFDbEQ7RUFDRSw4QkFBOEI7QUFDaEM7QUFDQSx5Q0FBeUMsbUJBQW1CLEVBQUUsOEJBQThCLEVBQUU7QUFDOUYsa0RBQWtELGFBQWE7QUFFL0Q7RUFDRSx3Q0FBd0M7RUFDeEMsWUFBWTtFQUNaLGNBQWM7RUFDZCxjQUFjO0FBQ2hCO0FBQ0EsaUJBQWlCLG1CQUFtQjtBQUNwQyx3Q0FBd0MsWUFBWSxFQUFFLGlCQUFpQjtBQUN2RTtFQUNFLFdBQVc7RUFDWCxpQkFBaUI7RUFDakIscUJBQXFCO0VBQ3JCLGVBQWU7RUFDZiwyQkFBMkIsRUFBRSxlQUFlO0VBQzVDLHlCQUF5QixJQUFJLHdCQUF3QixLQUN4QixjQUFjO0VBQzNDLHNCQUFzQixPQUFPLFlBQVk7RUFDekMscUJBQXFCLFFBQVEsWUFBWTtFQUN6QyxpQkFBaUIsWUFBWSxpRUFBaUU7QUFDaEc7QUFFQTtFQUNFLGNBQWM7QUFDaEI7QUFDQTtFQUNFLG9DQUFvQztBQUN0QztBQUNBO0VBQ0UsbUJBQW1CO0VBQ25CLGVBQWU7QUFDakI7QUFFQTtFQUNFLFlBQVk7QUFDZDtBQ2pGQTtFQUNFLGVBQWU7RUFDZixXQUFXO0VBQ1gsWUFBWTtFQUNaLGFBQWE7RUFDYixRQUFRO0VBQ1IsT0FBTztFQUNQLFlBQVk7RUFDWix5QkFBeUI7QUFDM0I7QUFFQTtFQUNFLHNCQUFzQjtFQUN0QixZQUFZO0FBQ2Q7QUFDQTtFQUNFLGlCQUFpQjtFQUNqQixrQkFBa0I7QUFDcEI7QUFDQTtFQUNFLFVBQVU7RUFDVixhQUFhO0FBQ2Y7QUFFQTtFQUNFLFlBQVk7QUFDZDtBQUVBO0VBQ0UsdUJBQXVCO0FBQ3pCO0FBRUE7RUFDRSx3QkFBZ0I7RUFBaEIsZ0JBQWdCO0VBQ2hCLE1BQU07RUFDTixVQUFVO0FBQ1o7QUFFQTtFQUNFLGFBQWE7RUFDYixhQUFhO0FBQ2Y7QUFFQTtFQUNFLFdBQVc7QUFDYjtBQUVBO0VBQ0UsZ0JBQWdCO0VBQ2hCLFdBQVc7RUFDWCxnQkFBZ0I7QUFDbEI7QUFFQTtFQUNFLGVBQWU7QUFDakIiLCJmaWxlIjoiaXRlbS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnRyZWUtY2hpbGRyZW4udHJlZS1jaGlsZHJlbi1uby1wYWRkaW5nIHsgcGFkZGluZy1sZWZ0OiAwIH1cclxuLnRyZWUtY2hpbGRyZW4geyBwYWRkaW5nLWxlZnQ6IDIwcHg7IG92ZXJmbG93OiBoaWRkZW4gfVxyXG4ubm9kZS1kcm9wLXNsb3QgeyBkaXNwbGF5OiBibG9jazsgaGVpZ2h0OiAycHggfVxyXG4ubm9kZS1kcm9wLXNsb3QuaXMtZHJhZ2dpbmctb3ZlciB7IGJhY2tncm91bmQ6ICNkZGZmZWU7IGhlaWdodDogMjBweDsgYm9yZGVyOiAycHggZG90dGVkICM4ODg7IH1cclxuLnRvZ2dsZS1jaGlsZHJlbi13cmFwcGVyLWV4cGFuZGVkIC50b2dnbGUtY2hpbGRyZW4geyB0cmFuc2Zvcm06IHJvdGF0ZSg5MGRlZykgfVxyXG4udG9nZ2xlLWNoaWxkcmVuLXdyYXBwZXItY29sbGFwc2VkIC50b2dnbGUtY2hpbGRyZW4geyB0cmFuc2Zvcm06IHJvdGF0ZSgwKTsgfVxyXG4udG9nZ2xlLWNoaWxkcmVuLXdyYXBwZXIge1xyXG4gIHBhZGRpbmc6IDJweCAzcHggNXB4IDFweDtcclxufVxyXG4vKiB0c2xpbnQ6ZGlzYWJsZSAqL1xyXG4udG9nZ2xlLWNoaWxkcmVuIHtcclxuICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoJ2RhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQkFBQUFBU0NBWUFBQUJTTzE1cUFBQUFHWFJGV0hSVGIyWjBkMkZ5WlFCQlpHOWlaU0JKYldGblpWSmxZV1I1Y2NsbFBBQUFCQWhwVkZoMFdFMU1PbU52YlM1aFpHOWlaUzU0YlhBQUFBQUFBRHcvZUhCaFkydGxkQ0JpWldkcGJqMGk3N3UvSWlCcFpEMGlWelZOTUUxd1EyVm9hVWg2Y21WVGVrNVVZM3ByWXpsa0lqOCtJRHg0T25odGNHMWxkR0VnZUcxc2JuTTZlRDBpWVdSdlltVTZibk02YldWMFlTOGlJSGc2ZUcxd2RHczlJa0ZrYjJKbElGaE5VQ0JEYjNKbElEVXVOaTFqTURZM0lEYzVMakUxTnpjME55d2dNakF4TlM4d015OHpNQzB5TXpvME1EbzBNaUFnSUNBZ0lDQWdJajRnUEhKa1pqcFNSRVlnZUcxc2JuTTZjbVJtUFNKb2RIUndPaTh2ZDNkM0xuY3pMbTl5Wnk4eE9UazVMekF5THpJeUxYSmtaaTF6ZVc1MFlYZ3Ribk1qSWo0Z1BISmtaanBFWlhOamNtbHdkR2x2YmlCeVpHWTZZV0p2ZFhROUlpSWdlRzFzYm5NNmVHMXdUVTA5SW1oMGRIQTZMeTl1Y3k1aFpHOWlaUzVqYjIwdmVHRndMekV1TUM5dGJTOGlJSGh0Ykc1ek9uTjBVbVZtUFNKb2RIUndPaTh2Ym5NdVlXUnZZbVV1WTI5dEwzaGhjQzh4TGpBdmMxUjVjR1V2VW1WemIzVnlZMlZTWldZaklpQjRiV3h1Y3pwNGJYQTlJbWgwZEhBNkx5OXVjeTVoWkc5aVpTNWpiMjB2ZUdGd0x6RXVNQzhpSUhodGJHNXpPbVJqUFNKb2RIUndPaTh2Y0hWeWJDNXZjbWN2WkdNdlpXeGxiV1Z1ZEhNdk1TNHhMeUlnZUcxd1RVMDZUM0pwWjJsdVlXeEViMk4xYldWdWRFbEVQU0oxZFdsa09qWTFSVFl6T1RBMk9EWkRSakV4UkVKQk5rVXlSRGc0TjBORlFVTkNOREEzSWlCNGJYQk5UVHBFYjJOMWJXVnVkRWxFUFNKNGJYQXVaR2xrT2tZelJrUkZRamN4T0RVek5URXhSVFU0UlRRd1JrUXdPREZFT1VaRU1FRTNJaUI0YlhCTlRUcEpibk4wWVc1alpVbEVQU0o0YlhBdWFXbGtPa1l6UmtSRlFqY3dPRFV6TlRFeFJUVTRSVFF3UmtRd09ERkVPVVpFTUVFM0lpQjRiWEE2UTNKbFlYUnZjbFJ2YjJ3OUlrRmtiMkpsSUZCb2IzUnZjMmh2Y0NCRFF5QXlNREUxSUNoTllXTnBiblJ2YzJncElqNGdQSGh0Y0UxTk9rUmxjbWwyWldSR2NtOXRJSE4wVW1WbU9tbHVjM1JoYm1ObFNVUTlJbmh0Y0M1cGFXUTZNVGs1TnpBMU9HRXRaREkzT0MwME5EWmtMV0U0T0RndE5HTTRNR1E0WVdJMU56Tm1JaUJ6ZEZKbFpqcGtiMk4xYldWdWRFbEVQU0poWkc5aVpUcGtiMk5wWkRwd2FHOTBiM05vYjNBNll6UmtabVF4TUdNdFkyTmxOUzB4TVRjNExXRTVPR1F0WTJOa1ptTTVPRGs1WVdZd0lpOCtJRHhrWXpwMGFYUnNaVDRnUEhKa1pqcEJiSFErSUR4eVpHWTZiR2tnZUcxc09teGhibWM5SW5ndFpHVm1ZWFZzZENJK1oyeDVjR2hwWTI5dWN6d3ZjbVJtT214cFBpQThMM0prWmpwQmJIUStJRHd2WkdNNmRHbDBiR1UrSUR3dmNtUm1Pa1JsYzJOeWFYQjBhVzl1UGlBOEwzSmtaanBTUkVZK0lEd3ZlRHA0YlhCdFpYUmhQaUE4UDNod1lXTnJaWFFnWlc1a1BTSnlJajgrNWlvZ0Z3QUFBR2hKUkVGVWVOcGlZR0JnS0FCaWdmLy8vek9RZzBFQVJINEE0Z1p5RElJWjhCL0pvQUpLRElEaEIwQ2NRSWtCUkJ0RXlBQmtneHdvTVFDR0Q2QWJSS29CR0FZeFFnWElCUnVaR0tnQUtQSUMzUUx4QXJuUlNIWkNJanNwazUyWktNck9GQlVvQUFFR0FLbnE1OTNNUUFadEFBQUFBRWxGVGtTdVFtQ0MnKTtcclxuICBoZWlnaHQ6IDhweDtcclxuICB3aWR0aDogOXB4O1xyXG4gIGJhY2tncm91bmQtc2l6ZTogY29udGFpbjtcclxuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gIHRvcDogMXB4O1xyXG4gIGJhY2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7XHJcbiAgYmFja2dyb3VuZC1wb3NpdGlvbjogY2VudGVyO1xyXG59XHJcbi50b2dnbGUtY2hpbGRyZW4tcGxhY2Vob2xkZXIge1xyXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICBoZWlnaHQ6IDEwcHg7XHJcbiAgd2lkdGg6IDEwcHg7XHJcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gIHRvcDogMXB4O1xyXG4gIHBhZGRpbmctcmlnaHQ6IDNweDtcclxufVxyXG4ubm9kZS1jb250ZW50LXdyYXBwZXIge1xyXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICBwYWRkaW5nOiAycHggNXB4O1xyXG4gIGJvcmRlci1yYWRpdXM6IDJweDtcclxuICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIC4xNXMsYm94LXNoYWRvdyAuMTVzO1xyXG59XHJcbi5ub2RlLXdyYXBwZXIge2Rpc3BsYXk6IGZsZXg7IGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O31cclxuLm5vZGUtY29udGVudC13cmFwcGVyLWFjdGl2ZSxcclxuLm5vZGUtY29udGVudC13cmFwcGVyLm5vZGUtY29udGVudC13cmFwcGVyLWFjdGl2ZTpob3ZlcixcclxuLm5vZGUtY29udGVudC13cmFwcGVyLWFjdGl2ZS5ub2RlLWNvbnRlbnQtd3JhcHBlci1mb2N1c2VkIHtcclxuICBiYWNrZ3JvdW5kOiAjYmVlYmZmO1xyXG59XHJcbi5ub2RlLWNvbnRlbnQtd3JhcHBlci1mb2N1c2VkIHsgYmFja2dyb3VuZDogI2U3ZjRmOSB9XHJcbi5ub2RlLWNvbnRlbnQtd3JhcHBlcjpob3ZlciB7IGJhY2tncm91bmQ6ICNmN2ZiZmYgfVxyXG4ubm9kZS1jb250ZW50LXdyYXBwZXItYWN0aXZlLCAubm9kZS1jb250ZW50LXdyYXBwZXItZm9jdXNlZCwgLm5vZGUtY29udGVudC13cmFwcGVyOmhvdmVyIHtcclxuICBib3gtc2hhZG93OiBpbnNldCAwIDAgMXB4ICM5OTk7XHJcbn1cclxuLm5vZGUtY29udGVudC13cmFwcGVyLmlzLWRyYWdnaW5nLW92ZXIgeyBiYWNrZ3JvdW5kOiAjZGRmZmVlOyBib3gtc2hhZG93OiBpbnNldCAwIDAgMXB4ICM5OTk7IH1cclxuLm5vZGUtY29udGVudC13cmFwcGVyLmlzLWRyYWdnaW5nLW92ZXItZGlzYWJsZWQgeyBvcGFjaXR5OiAwLjUgfVxyXG5cclxudHJlZS12aWV3cG9ydCB7XHJcbiAgLXdlYmtpdC10YXAtaGlnaGxpZ2h0LWNvbG9yOiB0cmFuc3BhcmVudDtcclxuICBoZWlnaHQ6IDEwMCU7XHJcbiAgb3ZlcmZsb3c6IGF1dG87XHJcbiAgZGlzcGxheTogYmxvY2s7XHJcbn1cclxuLnRyZWUtY2hpbGRyZW4geyBwYWRkaW5nLWxlZnQ6IDIwcHggfVxyXG4uZW1wdHktdHJlZS1kcm9wLXNsb3QgLm5vZGUtZHJvcC1zbG90IHsgaGVpZ2h0OiAyMHB4OyBtaW4td2lkdGg6IDEwMHB4IH1cclxuLmFuZ3VsYXItdHJlZS1jb21wb25lbnQge1xyXG4gIHdpZHRoOiAxMDAlO1xyXG4gIHBvc2l0aW9uOnJlbGF0aXZlO1xyXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgLXdlYmtpdC10b3VjaC1jYWxsb3V0OiBub25lOyAvKiBpT1MgU2FmYXJpICovXHJcbiAgLXdlYmtpdC11c2VyLXNlbGVjdDogbm9uZTsgICAvKiBDaHJvbWUvU2FmYXJpL09wZXJhICovXHJcbiAgLWtodG1sLXVzZXItc2VsZWN0OiBub25lOyAgICAvKiBLb25xdWVyb3IgKi9cclxuICAtbW96LXVzZXItc2VsZWN0OiBub25lOyAgICAgIC8qIEZpcmVmb3ggKi9cclxuICAtbXMtdXNlci1zZWxlY3Q6IG5vbmU7ICAgICAgIC8qIElFL0VkZ2UgKi9cclxuICB1c2VyLXNlbGVjdDogbm9uZTsgICAgICAgICAgIC8qIG5vbi1wcmVmaXhlZCB2ZXJzaW9uLCBjdXJyZW50bHkgbm90IHN1cHBvcnRlZCBieSBhbnkgYnJvd3NlciAqL1xyXG59XHJcblxyXG50cmVlLXJvb3QgLmFuZ3VsYXItdHJlZS1jb21wb25lbnQtcnRsIHtcclxuICBkaXJlY3Rpb246IHJ0bDtcclxufVxyXG50cmVlLXJvb3QgLmFuZ3VsYXItdHJlZS1jb21wb25lbnQtcnRsIC50b2dnbGUtY2hpbGRyZW4td3JhcHBlci1jb2xsYXBzZWQgLnRvZ2dsZS1jaGlsZHJlbiB7XHJcbiAgdHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKSAhaW1wb3J0YW50O1xyXG59XHJcbnRyZWUtcm9vdCAuYW5ndWxhci10cmVlLWNvbXBvbmVudC1ydGwgLnRyZWUtY2hpbGRyZW4ge1xyXG4gIHBhZGRpbmctcmlnaHQ6IDIwcHg7XHJcbiAgcGFkZGluZy1sZWZ0OiAwO1xyXG59XHJcblxyXG50cmVlLW5vZGUtY2hlY2tib3gge1xyXG4gIHBhZGRpbmc6IDFweDtcclxufVxyXG4iLCJAaW1wb3J0ICd+QGNpcmNsb24vYW5ndWxhci10cmVlLWNvbXBvbmVudC9jc3MvYW5ndWxhci10cmVlLWNvbXBvbmVudC5jc3MnO1xuXG4ub3ZlcmxheSB7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgd2lkdGg6IDEwMCU7XG4gIGhlaWdodDogMTAwJTtcbiAgei1pbmRleDogMTAwMDtcbiAgdG9wOiA0MCU7XG4gIGxlZnQ6IDA7XG4gIG9wYWNpdHk6IDAuNTtcbiAgZmlsdGVyOiBhbHBoYShvcGFjaXR5PTUwKTtcbn1cblxuLnNpZGVuYXYtaGVhZGVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogZ3JleTtcbiAgY29sb3I6IHdoaXRlO1xufVxuLm5vZGUtZGlzcGxheS1wcmVmaXgge1xuICBmb250LXdlaWdodDogYm9sZDtcbiAgbWFyZ2luLXJpZ2h0OiAxcmVtO1xufVxuLm1hdC1zaWRlbmF2IHtcbiAgd2lkdGg6IDIwJTtcbiAgcGFkZGluZzogMTBweDtcbn1cblxuLm1hdC1zaWRlbmF2LWNvbnRlbnQge1xuICBwYWRkaW5nOiA1cHg7XG59XG5cbi5tYXQtdGFiLWJvZHkge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbn1cblxuLm1hdC10b29sYmFyLm1hdC1wcmltYXJ5IHtcbiAgcG9zaXRpb246IHN0aWNreTtcbiAgdG9wOiAwO1xuICB6LWluZGV4OiAxO1xufVxuXG4uanNvbi1yYWRpby1ncm91cCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIG1hcmdpbjogNXB4IDA7XG59XG5cbi5qc29uLXJhZGlvLWJ1dHRvbiB7XG4gIG1hcmdpbjogNXB4O1xufVxuXG4uc2VhcmNoLWJveCB7XG4gIGZvbnQtc2l6ZTogc21hbGw7XG4gIHdpZHRoOiAxMDAlO1xuICBhbGlnbi1pdGVtczogZW5kO1xufVxuXG46Om5nLWRlZXAgLm1hdC10b29sdGlwIHtcbiAgZm9udC1zaXplOiAxMnB4O1xufVxuIl19 */"] });
|
|
6228
6013
|
|
|
6229
6014
|
|
|
6230
6015
|
/***/ }),
|
|
@@ -6346,16 +6131,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6346
6131
|
/* harmony import */ var _widgets_enable_behavior_enable_behavior_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./widgets/enable-behavior/enable-behavior.component */ "jOTx");
|
|
6347
6132
|
/* harmony import */ var _widgets_boolean_radio_boolean_radio_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./widgets/boolean-radio/boolean-radio.component */ "lW1P");
|
|
6348
6133
|
/* harmony import */ var _widgets_units_units_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./widgets/units/units.component */ "E+b4");
|
|
6349
|
-
/* harmony import */ var
|
|
6350
|
-
/* harmony import */ var
|
|
6351
|
-
/* harmony import */ var
|
|
6352
|
-
/* harmony import */ var
|
|
6353
|
-
/* harmony import */ var
|
|
6354
|
-
/* harmony import */ var
|
|
6355
|
-
/* harmony import */ var
|
|
6356
|
-
/* harmony import */ var
|
|
6357
|
-
/* harmony import */ var
|
|
6358
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
6134
|
+
/* harmony import */ var _widgets_answer_option_answer_option_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./widgets/answer-option/answer-option.component */ "waZ+");
|
|
6135
|
+
/* harmony import */ var _widgets_initial_initial_component__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./widgets/initial/initial.component */ "CvSm");
|
|
6136
|
+
/* harmony import */ var _widgets_help_text_help_text_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./widgets/help-text/help-text.component */ "VhIx");
|
|
6137
|
+
/* harmony import */ var _widgets_type_type_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./widgets/type/type.component */ "wUBX");
|
|
6138
|
+
/* harmony import */ var _widgets_string_with_css_string_with_css_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./widgets/string-with-css/string-with-css.component */ "Qva7");
|
|
6139
|
+
/* harmony import */ var _widgets_restrictions_restrictions_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./widgets/restrictions/restrictions.component */ "ySaZ");
|
|
6140
|
+
/* harmony import */ var _widgets_restrictions_operator_restrictions_operator_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./widgets/restrictions-operator/restrictions-operator.component */ "W1P/");
|
|
6141
|
+
/* harmony import */ var _widgets_observation_link_period_observation_link_period_component__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./widgets/observation-link-period/observation-link-period.component */ "fDl6");
|
|
6142
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
6359
6143
|
/**
|
|
6360
6144
|
* Registry for custom widgets.
|
|
6361
6145
|
*
|
|
@@ -6380,7 +6164,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6380
6164
|
|
|
6381
6165
|
|
|
6382
6166
|
|
|
6383
|
-
|
|
6167
|
+
// import {TotalScoreComponent} from './widgets/total-score/total-score.component';
|
|
6384
6168
|
|
|
6385
6169
|
|
|
6386
6170
|
|
|
@@ -6412,19 +6196,19 @@ class LformsWidgetRegistry extends ngx_schema_form__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
6412
6196
|
this.register('enable-behavior', _widgets_enable_behavior_enable_behavior_component__WEBPACK_IMPORTED_MODULE_15__["EnableBehaviorComponent"]);
|
|
6413
6197
|
this.register('boolean-radio', _widgets_boolean_radio_boolean_radio_component__WEBPACK_IMPORTED_MODULE_16__["BooleanRadioComponent"]);
|
|
6414
6198
|
this.register('units', _widgets_units_units_component__WEBPACK_IMPORTED_MODULE_17__["UnitsComponent"]);
|
|
6415
|
-
this.register('totalScore',
|
|
6416
|
-
this.register('type',
|
|
6417
|
-
this.register('answer-option',
|
|
6418
|
-
this.register('initial',
|
|
6419
|
-
this.register('help-text',
|
|
6420
|
-
this.register('string-with-css',
|
|
6421
|
-
this.register('restrictions',
|
|
6422
|
-
this.register('restrictions-operator',
|
|
6423
|
-
this.register('observation-link-period',
|
|
6199
|
+
// this.register('totalScore', TotalScoreComponent);
|
|
6200
|
+
this.register('type', _widgets_type_type_component__WEBPACK_IMPORTED_MODULE_21__["TypeComponent"]);
|
|
6201
|
+
this.register('answer-option', _widgets_answer_option_answer_option_component__WEBPACK_IMPORTED_MODULE_18__["AnswerOptionComponent"]);
|
|
6202
|
+
this.register('initial', _widgets_initial_initial_component__WEBPACK_IMPORTED_MODULE_19__["InitialComponent"]);
|
|
6203
|
+
this.register('help-text', _widgets_help_text_help_text_component__WEBPACK_IMPORTED_MODULE_20__["HelpTextComponent"]);
|
|
6204
|
+
this.register('string-with-css', _widgets_string_with_css_string_with_css_component__WEBPACK_IMPORTED_MODULE_22__["StringWithCssComponent"]);
|
|
6205
|
+
this.register('restrictions', _widgets_restrictions_restrictions_component__WEBPACK_IMPORTED_MODULE_23__["RestrictionsComponent"]);
|
|
6206
|
+
this.register('restrictions-operator', _widgets_restrictions_operator_restrictions_operator_component__WEBPACK_IMPORTED_MODULE_24__["RestrictionsOperatorComponent"]);
|
|
6207
|
+
this.register('observation-link-period', _widgets_observation_link_period_observation_link_period_component__WEBPACK_IMPORTED_MODULE_25__["ObservationLinkPeriodComponent"]);
|
|
6424
6208
|
}
|
|
6425
6209
|
}
|
|
6426
6210
|
LformsWidgetRegistry.ɵfac = function LformsWidgetRegistry_Factory(t) { return new (t || LformsWidgetRegistry)(); };
|
|
6427
|
-
LformsWidgetRegistry.ɵprov =
|
|
6211
|
+
LformsWidgetRegistry.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_26__["ɵɵdefineInjectable"]({ token: LformsWidgetRegistry, factory: LformsWidgetRegistry.ɵfac });
|
|
6428
6212
|
|
|
6429
6213
|
|
|
6430
6214
|
/***/ }),
|
|
@@ -6503,7 +6287,7 @@ class RestrictionOperatorService {
|
|
|
6503
6287
|
this.rejectChange.next(reject);
|
|
6504
6288
|
}
|
|
6505
6289
|
subscribe(cb) {
|
|
6506
|
-
this.rejectChange.subscribe(cb);
|
|
6290
|
+
return this.rejectChange.subscribe(cb);
|
|
6507
6291
|
}
|
|
6508
6292
|
}
|
|
6509
6293
|
RestrictionOperatorService.ɵfac = function RestrictionOperatorService_Factory(t) { return new (t || RestrictionOperatorService)(); };
|
|
@@ -8121,6 +7905,7 @@ class FormService {
|
|
|
8121
7905
|
constructor(modalService, http) {
|
|
8122
7906
|
this.modalService = modalService;
|
|
8123
7907
|
this.http = http;
|
|
7908
|
+
this._loading = false;
|
|
8124
7909
|
this._guidingStep$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
|
|
8125
7910
|
this.localStorageError = null;
|
|
8126
7911
|
this.itemSchema = { properties: {} };
|
|
@@ -8166,6 +7951,12 @@ class FormService {
|
|
|
8166
7951
|
}
|
|
8167
7952
|
});
|
|
8168
7953
|
}
|
|
7954
|
+
set loading(loading) {
|
|
7955
|
+
this._loading = loading;
|
|
7956
|
+
}
|
|
7957
|
+
get loading() {
|
|
7958
|
+
return this._loading;
|
|
7959
|
+
}
|
|
8169
7960
|
/**
|
|
8170
7961
|
* Access guiding step observable.
|
|
8171
7962
|
*/
|
|
@@ -9439,11 +9230,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9439
9230
|
|
|
9440
9231
|
const _c0 = ["lhcForm"];
|
|
9441
9232
|
function PreviewDlgComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
9442
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "wc-lhc-form",
|
|
9233
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "wc-lhc-form", 8, 9);
|
|
9443
9234
|
} if (rf & 2) {
|
|
9444
9235
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
9445
9236
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("questionnaire", ctx_r0.data == null ? null : ctx_r0.data.questionnaire);
|
|
9446
9237
|
} }
|
|
9238
|
+
function PreviewDlgComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
9239
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "pre", 10);
|
|
9240
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
9241
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "json");
|
|
9242
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9243
|
+
} if (rf & 2) {
|
|
9244
|
+
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
9245
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
9246
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r1.data == null ? null : ctx_r1.data.questionnaire));
|
|
9247
|
+
} }
|
|
9447
9248
|
class PreviewDlgComponent {
|
|
9448
9249
|
constructor(fhirService, dialogRef, data) {
|
|
9449
9250
|
this.fhirService = fhirService;
|
|
@@ -9458,7 +9259,7 @@ PreviewDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefi
|
|
|
9458
9259
|
} if (rf & 2) {
|
|
9459
9260
|
let _t;
|
|
9460
9261
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.wcForm = _t.first);
|
|
9461
|
-
} }, decls:
|
|
9262
|
+
} }, decls: 14, vars: 2, consts: [["mat-dialog-title", "", 1, "bg-primary", "text-white", "pb-3", "pt-3", "pl-2", "pr-2", "rounded"], ["mat-icon-button", "", 1, "close-button", 3, "mat-dialog-close"], [1, "close-icon"], ["label", "View Rendered Form"], ["matTabContent", ""], ["label", "View Questionnaire JSON"], ["align", "end"], ["mat-button", "", 1, "btn-primary", 3, "mat-dialog-close"], [3, "questionnaire"], ["lhcForm", ""], [1, "fix-pre"]], template: function PreviewDlgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9462
9263
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h2", 0);
|
|
9463
9264
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "Preview of Questionnaire ");
|
|
9464
9265
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 1);
|
|
@@ -9473,24 +9274,19 @@ PreviewDlgComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefi
|
|
|
9473
9274
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, PreviewDlgComponent_ng_template_8_Template, 2, 1, "ng-template", 4);
|
|
9474
9275
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9475
9276
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "mat-tab", 5);
|
|
9476
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["
|
|
9477
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
|
|
9478
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "json");
|
|
9479
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9277
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, PreviewDlgComponent_ng_template_10_Template, 3, 3, "ng-template", 4);
|
|
9480
9278
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9481
9279
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9482
9280
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9483
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](
|
|
9484
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](
|
|
9485
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](
|
|
9281
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "mat-dialog-actions", 6);
|
|
9282
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "button", 7);
|
|
9283
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "Close");
|
|
9486
9284
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9487
9285
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
9488
9286
|
} if (rf & 2) {
|
|
9489
9287
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
9490
9288
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("mat-dialog-close", true);
|
|
9491
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](
|
|
9492
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 3, ctx.data == null ? null : ctx.data.questionnaire));
|
|
9493
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
9289
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](10);
|
|
9494
9290
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("mat-dialog-close", true);
|
|
9495
9291
|
} }, directives: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogTitle"], _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIcon"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogContent"], _angular_material_tabs__WEBPACK_IMPORTED_MODULE_5__["MatTabGroup"], _angular_material_tabs__WEBPACK_IMPORTED_MODULE_5__["MatTab"], _angular_material_tabs__WEBPACK_IMPORTED_MODULE_5__["MatTabContent"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogActions"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["JsonPipe"]], styles: [".close-button[_ngcontent-%COMP%] {\n float: right;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByZXZpZXctZGxnLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxZQUFZO0FBQ2QiLCJmaWxlIjoicHJldmlldy1kbGcuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jbG9zZS1idXR0b24ge1xuICBmbG9hdDogcmlnaHQ7XG59XG4iXX0= */"] });
|
|
9496
9292
|
|
|
@@ -9634,11 +9430,6 @@ class TypeComponent extends _select_select_component__WEBPACK_IMPORTED_MODULE_0_
|
|
|
9634
9430
|
const initialProp = this.formProperty.findRoot().getProperty('initial');
|
|
9635
9431
|
const widget = initialProp.schema.widget;
|
|
9636
9432
|
widget.id = (type === 'choice' || type === 'open-choice') ? 'hidden' : 'initial';
|
|
9637
|
-
// Internally represent display type as group. Identifying display/group type is deferred until
|
|
9638
|
-
// the form is converted to json output.
|
|
9639
|
-
if (type === 'display') {
|
|
9640
|
-
this.formProperty.setValue('group', true);
|
|
9641
|
-
}
|
|
9642
9433
|
});
|
|
9643
9434
|
}
|
|
9644
9435
|
}
|
|
@@ -10156,15 +9947,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10156
9947
|
/* harmony import */ var _table_table_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../table/table.component */ "CCMr");
|
|
10157
9948
|
/* harmony import */ var _services_restriction_operator_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../services/restriction-operator.service */ "doVe");
|
|
10158
9949
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "8Y7J");
|
|
10159
|
-
/* harmony import */ var
|
|
10160
|
-
/* harmony import */ var
|
|
10161
|
-
/* harmony import */ var
|
|
10162
|
-
/* harmony import */ var
|
|
10163
|
-
/* harmony import */ var
|
|
10164
|
-
/* harmony import */ var
|
|
10165
|
-
/* harmony import */ var
|
|
10166
|
-
/* harmony import */ var
|
|
10167
|
-
/* harmony import */ var
|
|
9950
|
+
/* harmony import */ var _services_extensions_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/extensions.service */ "sFzh");
|
|
9951
|
+
/* harmony import */ var _services_form_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../services/form.service */ "md+p");
|
|
9952
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "SVse");
|
|
9953
|
+
/* harmony import */ var _boolean_controlled_boolean_controlled_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../boolean-controlled/boolean-controlled.component */ "azNc");
|
|
9954
|
+
/* harmony import */ var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @fortawesome/angular-fontawesome */ "Nv++");
|
|
9955
|
+
/* harmony import */ var _label_label_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../label/label.component */ "2GUZ");
|
|
9956
|
+
/* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "G0yt");
|
|
9957
|
+
/* harmony import */ var _title_title_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../title/title.component */ "HioL");
|
|
9958
|
+
/* harmony import */ var _form_element_form_element_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../form-element/form-element.component */ "JY6+");
|
|
9959
|
+
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/forms */ "s7LF");
|
|
9960
|
+
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/tooltip */ "ZFy/");
|
|
9961
|
+
|
|
9962
|
+
|
|
10168
9963
|
|
|
10169
9964
|
|
|
10170
9965
|
|
|
@@ -10385,9 +10180,11 @@ function RestrictionsComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10385
10180
|
* Combines maxLength field which is part of standard FHIR with SDC extensions.
|
|
10386
10181
|
*/
|
|
10387
10182
|
class RestrictionsComponent extends _table_table_component__WEBPACK_IMPORTED_MODULE_0__["TableComponent"] {
|
|
10388
|
-
constructor(restrictionOperatorService) {
|
|
10183
|
+
constructor(restrictionOperatorService, extensionsService, formService) {
|
|
10389
10184
|
super();
|
|
10390
10185
|
this.restrictionOperatorService = restrictionOperatorService;
|
|
10186
|
+
this.extensionsService = extensionsService;
|
|
10187
|
+
this.formService = formService;
|
|
10391
10188
|
// maxLength = -1;
|
|
10392
10189
|
this.appliedOptions = [];
|
|
10393
10190
|
this.selectedOptions = new Set();
|
|
@@ -10403,32 +10200,37 @@ class RestrictionsComponent extends _table_table_component__WEBPACK_IMPORTED_MOD
|
|
|
10403
10200
|
}
|
|
10404
10201
|
ngOnInit() {
|
|
10405
10202
|
super.ngOnInit();
|
|
10406
|
-
|
|
10407
|
-
let sub = this.formProperty.root.getProperty('maxLength').valueChanges.subscribe((maxLength) => {
|
|
10408
|
-
this.maxLength = (maxLength > 0 || maxLength > 0) ? maxLength : -1;
|
|
10409
|
-
});
|
|
10410
|
-
this.subscriptions.push(sub);
|
|
10411
|
-
*/
|
|
10412
|
-
const sub = this.formProperty.root.getProperty('type').valueChanges.subscribe((type) => {
|
|
10203
|
+
let sub = this.formProperty.root.getProperty('type').valueChanges.subscribe((type) => {
|
|
10413
10204
|
this.dataType = type;
|
|
10414
10205
|
this.appliedOptions = RestrictionsComponent.typeToOptions[type];
|
|
10415
10206
|
});
|
|
10416
10207
|
this.subscriptions.push(sub);
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
extensionProperty.setValue(extensionProperty.value, true);
|
|
10208
|
+
sub = this.extensionsService.extensionsObservable.subscribe((extensions) => {
|
|
10209
|
+
if (this.formService.loading) {
|
|
10210
|
+
// Initialization. Set up the widget reading the values from extensions.
|
|
10211
|
+
const restrictions = this.getRestrictions(this.formProperty.root, this.appliedOptions);
|
|
10212
|
+
this.updateSelectedOptions(restrictions); // Cache the selections.
|
|
10213
|
+
this.formProperty.setValue(restrictions, true);
|
|
10214
|
+
}
|
|
10425
10215
|
});
|
|
10216
|
+
this.subscriptions.push(sub);
|
|
10217
|
+
sub = this.formProperty.valueChanges.subscribe((restrictionsArray) => {
|
|
10218
|
+
if (!this.formService.loading) {
|
|
10219
|
+
// formProperty => __$restricions. Read all user actions, but not initialization.
|
|
10220
|
+
this.updateSelectedOptions(restrictionsArray); // Reset cache.
|
|
10221
|
+
const extensionProperty = this.formProperty.root.getProperty('extension');
|
|
10222
|
+
this.updateRelevantExtensions(extensionProperty.value, restrictionsArray);
|
|
10223
|
+
extensionProperty.setValue(extensionProperty.value, true);
|
|
10224
|
+
}
|
|
10225
|
+
});
|
|
10226
|
+
this.subscriptions.push(sub);
|
|
10426
10227
|
// Watch changes in operator to reject unwanted selections.
|
|
10427
|
-
this.restrictionOperatorService.subscribe((change) => {
|
|
10228
|
+
sub = this.restrictionOperatorService.subscribe((change) => {
|
|
10428
10229
|
if (this.selectedOptions.has(change.newValue)) {
|
|
10429
10230
|
change.reject = true;
|
|
10430
10231
|
}
|
|
10431
10232
|
});
|
|
10233
|
+
this.subscriptions.push(sub);
|
|
10432
10234
|
}
|
|
10433
10235
|
/**
|
|
10434
10236
|
* Reset cache of selections
|
|
@@ -10649,7 +10451,7 @@ RestrictionsComponent.extUrlToOptionsMap = (() => {
|
|
|
10649
10451
|
});
|
|
10650
10452
|
return ret;
|
|
10651
10453
|
})();
|
|
10652
|
-
RestrictionsComponent.ɵfac = function RestrictionsComponent_Factory(t) { return new (t || RestrictionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_services_restriction_operator_service__WEBPACK_IMPORTED_MODULE_1__["RestrictionOperatorService"])); };
|
|
10454
|
+
RestrictionsComponent.ɵfac = function RestrictionsComponent_Factory(t) { return new (t || RestrictionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_services_restriction_operator_service__WEBPACK_IMPORTED_MODULE_1__["RestrictionOperatorService"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_services_extensions_service__WEBPACK_IMPORTED_MODULE_3__["ExtensionsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_services_form_service__WEBPACK_IMPORTED_MODULE_4__["FormService"])); };
|
|
10653
10455
|
RestrictionsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: RestrictionsComponent, selectors: [["lfb-restrictions"]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([_services_restriction_operator_service__WEBPACK_IMPORTED_MODULE_1__["RestrictionOperatorService"]] // A service for this instance of component.
|
|
10654
10456
|
), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]], decls: 2, vars: 2, consts: [[4, "ngIf"], ["class", "widget form-group m-0", 3, "ngClass", 4, "ngIf"], [3, "bool", "controlWidthClass", "labelWidthClass", "label", "labelPosition", "helpMessage", "boolChange"], [1, "widget", "form-group", "m-0", 3, "ngClass"], [3, "ngClass"], ["href", "#", "type", "button", "class", "btn btn-default collapse-button", 3, "ngClass", "click", 4, "ngIf"], [3, "title", "helpMessage", "for", 4, "ngIf"], ["class", "table table-borderless table-sm lfb-table", 4, "ngIf"], ["class", "btn-sm btn-light btn-link array-add-button", "triggers", "manual", "placement", "bottom top", "popoverClass", "", 3, "ngbPopover", "click", 4, "ngIf"], ["href", "#", "type", "button", 1, "btn", "btn-default", "collapse-button", 3, "ngClass", "click"], ["aria-hidden", "true", 3, "icon"], [3, "title", "helpMessage", "for"], [1, "table", "table-borderless", "table-sm", "lfb-table"], ["class", "thead-light", 4, "ngIf"], [3, "ngbCollapse"], ["class", "d-flex", 4, "ngFor", "ngForOf"], [1, "thead-light"], [1, "d-flex"], ["scope", "col", 3, "class", 4, "ngFor", "ngForOf"], ["class", "col-sm-2", 4, "ngIf"], ["class", "col-sm-1", 4, "ngIf"], ["scope", "col"], [3, "title", "helpMessage"], [1, "col-sm-2"], ["title", "Default", "helpMessage", "Pick a default item"], [1, "col-sm-1"], [3, "class", 4, "ngFor", "ngForOf"], ["class", "col-sm-2 text-center align-self-center", 4, "ngIf"], [1, "col-sm-1", "align-middle", "action-column", 3, "ngClass"], ["class", "btn btn-default btn-link btn-sm array-remove-button", "matTooltip", "Remove", "aria-label", "Remove", 3, "click", 4, "ngIf"], ["nolabel", "true", 3, "formProperty"], [1, "col-sm-2", "text-center", "align-self-center"], ["type", "radio", 3, "ngModel", "value", "ngModelChange"], ["type", "checkbox", 3, "ngModel", "ngModelChange"], ["matTooltip", "Remove", "aria-label", "Remove", 1, "btn", "btn-default", "btn-link", "btn-sm", "array-remove-button", 3, "click"], ["triggers", "manual", "placement", "bottom top", "popoverClass", "", 1, "btn-sm", "btn-light", "btn-link", "array-add-button", 3, "ngbPopover", "click"], ["alertPopover", "ngbPopover"]], template: function RestrictionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10655
10457
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, RestrictionsComponent_ng_container_0_Template, 2, 6, "ng-container", 0);
|
|
@@ -10658,7 +10460,7 @@ RestrictionsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵde
|
|
|
10658
10460
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.booleanControlled);
|
|
10659
10461
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
10660
10462
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx.booleanControlled || ctx.booleanControlledOption);
|
|
10661
|
-
} }, directives: [
|
|
10463
|
+
} }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _boolean_controlled_boolean_controlled_component__WEBPACK_IMPORTED_MODULE_6__["BooleanControlledComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgClass"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_7__["FaIconComponent"], _label_label_component__WEBPACK_IMPORTED_MODULE_8__["LabelComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbCollapse"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _title_title_component__WEBPACK_IMPORTED_MODULE_10__["TitleComponent"], _form_element_form_element_component__WEBPACK_IMPORTED_MODULE_11__["AppFormElementComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["RadioControlValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["NgModel"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["CheckboxControlValueAccessor"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_13__["MatTooltip"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbPopover"]], styles: [".action-column[_ngcontent-%COMP%] {\n text-align: end;\n}\n.collapse-button[_ngcontent-%COMP%] {\n padding-left: 5px;\n padding-right: 5px;\n margin-right: 5px;\n margin-left: 2px;\n}\n.collapse-button.float-sm-right[_ngcontent-%COMP%] {\n margin-right: 0;\n margin-left: 2px;\n}\n.lfb-table[_ngcontent-%COMP%] {\n margin-bottom: 0;\n}\n.lfb-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n text-align: center;\n}\n.lfb-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .lfb-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 0;\n \n}\n.table-header[_ngcontent-%COMP%] {\n font-weight: normal;\n}\n.add-button-alert-popover[_ngcontent-%COMP%] {\n background-color: lightgoldenrodyellow;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRhYmxlLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxlQUFlO0FBQ2pCO0FBQ0E7RUFDRSxpQkFBaUI7RUFDakIsa0JBQWtCO0VBQ2xCLGlCQUFpQjtFQUNqQixnQkFBZ0I7QUFDbEI7QUFFQTtFQUNFLGVBQWU7RUFDZixnQkFBZ0I7QUFDbEI7QUFFQTtFQUNFLGdCQUFnQjtBQUNsQjtBQUNBO0VBQ0Usa0JBQWtCO0FBQ3BCO0FBQ0E7RUFDRSxVQUFVO0VBQ1YsK0JBQStCO0FBQ2pDO0FBQ0E7RUFDRSxtQkFBbUI7QUFDckI7QUFFQTtFQUNFLHNDQUFzQztBQUN4QyIsImZpbGUiOiJ0YWJsZS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmFjdGlvbi1jb2x1bW4ge1xuICB0ZXh0LWFsaWduOiBlbmQ7XG59XG4uY29sbGFwc2UtYnV0dG9uIHtcbiAgcGFkZGluZy1sZWZ0OiA1cHg7XG4gIHBhZGRpbmctcmlnaHQ6IDVweDtcbiAgbWFyZ2luLXJpZ2h0OiA1cHg7XG4gIG1hcmdpbi1sZWZ0OiAycHg7XG59XG5cbi5jb2xsYXBzZS1idXR0b24uZmxvYXQtc20tcmlnaHQge1xuICBtYXJnaW4tcmlnaHQ6IDA7XG4gIG1hcmdpbi1sZWZ0OiAycHg7XG59XG5cbi5sZmItdGFibGUge1xuICBtYXJnaW4tYm90dG9tOiAwO1xufVxuLmxmYi10YWJsZSB0aCB7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbi5sZmItdGFibGUgdGgsIC5sZmItdGFibGUgdGQge1xuICBwYWRkaW5nOiAwO1xuICAvKiAgICB2ZXJ0aWNhbC1hbGlnbjogYm90dG9tOyAqL1xufVxuLnRhYmxlLWhlYWRlciB7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG59XG5cbi5hZGQtYnV0dG9uLWFsZXJ0LXBvcG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiBsaWdodGdvbGRlbnJvZHllbGxvdztcbn1cbiJdfQ== */"] });
|
|
10662
10464
|
|
|
10663
10465
|
|
|
10664
10466
|
/***/ }),
|