{
"description": "Configuration resource for SDC system settings including language, theme, storage, form settings, and builder options.",
"_filename": "StructureDefinition-SDCConfig.json",
"package_name": "io.health-samurai.sdc.r5",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "5.0.0",
"name": "SDCConfig",
"abstract": false,
"type": "SDCConfig",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "3d50303d-6274-4e50-a040-29cb706be592",
"kind": "resource",
"url": "http://health-samurai.io/fhir/sdc/StructureDefinition/SDCConfig",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "SDCConfig",
"max": "*",
"min": 0,
"path": "SDCConfig"
}, {
"id": "SDCConfig.name",
"max": "1",
"min": 1,
"path": "SDCConfig.name",
"type": [ {
"code": "string"
} ],
"short": "Machine readable config name"
}, {
"id": "SDCConfig.description",
"max": "1",
"min": 0,
"path": "SDCConfig.description",
"type": [ {
"code": "string"
} ],
"short": "Human readable config description"
}, {
"id": "SDCConfig.default",
"max": "1",
"min": 0,
"path": "SDCConfig.default",
"type": [ {
"code": "boolean"
} ],
"short": "Sets config as default for system/tenant"
}, {
"id": "SDCConfig.language",
"max": "1",
"min": 0,
"path": "SDCConfig.language",
"type": [ {
"code": "code"
} ],
"short": "Default language for UI",
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/all-languages"
}
}, {
"id": "SDCConfig.theme",
"max": "1",
"min": 0,
"path": "SDCConfig.theme",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/sdc/StructureDefinition/QuestionnaireTheme" ]
} ],
"short": "Default theme"
}, {
"id": "SDCConfig.translations",
"max": "1",
"min": 0,
"path": "SDCConfig.translations",
"short": "Custom translation strings for UI",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "SDCConfig.storage",
"max": "1",
"min": 0,
"path": "SDCConfig.storage",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Storage configuration for attachments"
}, {
"id": "SDCConfig.storage.account",
"max": "1",
"min": 0,
"path": "SDCConfig.storage.account",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/AwsAccount", "http://health-samurai.io/fhir/core/StructureDefinition/GcpServiceAccount", "http://health-samurai.io/fhir/core/StructureDefinition/AzureContainer" ]
} ],
"short": "Storage Account"
}, {
"id": "SDCConfig.storage.bucket",
"max": "1",
"min": 0,
"path": "SDCConfig.storage.bucket",
"type": [ {
"code": "string"
} ],
"short": "Storage bucket (required for GCP and S3)"
}, {
"id": "SDCConfig.storage.store-absolute-url",
"max": "1",
"min": 0,
"path": "SDCConfig.storage.store-absolute-url",
"type": [ {
"code": "boolean"
} ],
"short": "Store absolute url to QuestionnaireResponse attachments"
}, {
"id": "SDCConfig.form-store",
"max": "1",
"min": 0,
"path": "SDCConfig.form-store",
"type": [ {
"code": "BackboneElement"
} ],
"short": "FHIR Server settings for storing/getting Questionnaire"
}, {
"id": "SDCConfig.form-store.endpoint",
"max": "1",
"min": 0,
"path": "SDCConfig.form-store.endpoint",
"type": [ {
"code": "url"
} ],
"short": "FHIR Server that will be used for storing/getting Questionnaire (if not set - use Aidbox)"
}, {
"id": "SDCConfig.form-store.headers",
"max": "1",
"min": 0,
"path": "SDCConfig.form-store.headers",
"short": "Headers with credentials (optional)",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "SDCConfig.term-server",
"max": "1",
"min": 0,
"path": "SDCConfig.term-server",
"type": [ {
"code": "BackboneElement"
} ]
}, {
"id": "SDCConfig.term-server.endpoint",
"max": "1",
"min": 0,
"path": "SDCConfig.term-server.endpoint",
"type": [ {
"code": "url"
} ],
"short": "FHIR Server that stores Terminology (ValueSet/expand$) (if not set - use Aidbox)"
}, {
"id": "SDCConfig.term-server.headers",
"max": "1",
"min": 0,
"path": "SDCConfig.term-server.headers",
"short": "Headers (with credentials) for accessing Service (optional)",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "SDCConfig.data-store",
"max": "1",
"min": 0,
"path": "SDCConfig.data-store",
"type": [ {
"code": "BackboneElement"
} ]
}, {
"id": "SDCConfig.data-store.endpoint",
"max": "1",
"min": 0,
"path": "SDCConfig.data-store.endpoint",
"type": [ {
"code": "url"
} ],
"short": "FHIR Server for storing responses, populating data, and extraction (defaults to Aidbox)"
}, {
"id": "SDCConfig.data-store.headers",
"max": "1",
"min": 0,
"path": "SDCConfig.data-store.headers",
"short": "Headers (with credentials) for accessing Service (optional)",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "SDCConfig.builder",
"max": "1",
"min": 0,
"path": "SDCConfig.builder",
"type": [ {
"code": "BackboneElement"
} ]
}, {
"id": "SDCConfig.builder.custom-renderers",
"max": "*",
"min": 0,
"path": "SDCConfig.builder.custom-renderers",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Custom renderers that can be used to preview form in Form Builder"
}, {
"id": "SDCConfig.builder.custom-renderers.name",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.custom-renderers.name",
"type": [ {
"code": "string"
} ],
"short": "Web component tag name"
}, {
"id": "SDCConfig.builder.custom-renderers.source",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.custom-renderers.source",
"type": [ {
"code": "url"
} ],
"short": "Web component source URL"
}, {
"id": "SDCConfig.builder.custom-renderers.url",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.custom-renderers.url",
"type": [ {
"code": "url"
} ],
"short": "Web component URL"
}, {
"id": "SDCConfig.builder.custom-renderers.title",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.custom-renderers.title",
"type": [ {
"code": "string"
} ],
"short": "Title in Builder"
}, {
"id": "SDCConfig.builder.custom-renderers.default",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.custom-renderers.default",
"type": [ {
"code": "boolean"
} ],
"short": "Whether this is the default renderer for form preview"
}, {
"id": "SDCConfig.builder.form-url-prefix",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.form-url-prefix",
"type": [ {
"code": "url"
} ],
"short": "URL prefix used in URL generation of new forms"
}, {
"id": "SDCConfig.builder.translation-languages",
"max": "*",
"min": 0,
"path": "SDCConfig.builder.translation-languages",
"type": [ {
"code": "string"
} ],
"short": "List of languages that will be used for translation"
}, {
"id": "SDCConfig.builder.hide-back-button",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-back-button",
"type": [ {
"code": "boolean"
} ],
"short": "Hide back button in builder"
}, {
"id": "SDCConfig.builder.hide-publish",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-publish",
"type": [ {
"code": "boolean"
} ],
"short": "Hide Publish button in builder"
}, {
"id": "SDCConfig.builder.disable-publish",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.disable-publish",
"type": [ {
"code": "boolean"
} ],
"short": "Disable publish button"
}, {
"id": "SDCConfig.builder.hide-population",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-population",
"type": [ {
"code": "boolean"
} ],
"short": "Hide population tab in debug instruments"
}, {
"id": "SDCConfig.builder.hide-extraction",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-extraction",
"type": [ {
"code": "boolean"
} ],
"short": "Hide extraction tab in debug instruments"
}, {
"id": "SDCConfig.builder.hide-save",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-save",
"type": [ {
"code": "boolean"
} ],
"short": "Hide save button"
}, {
"id": "SDCConfig.builder.collapse-debugger",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.collapse-debugger",
"type": [ {
"code": "boolean"
} ],
"short": "Collapse debugger by default in builder"
}, {
"id": "SDCConfig.builder.disable-submit-button",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.disable-submit-button",
"type": [ {
"code": "boolean"
} ],
"short": "Disable submit button in the builder's form preview footer"
}, {
"id": "SDCConfig.builder.hide-add-theme",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-add-theme",
"type": [ {
"code": "boolean"
} ],
"short": "Hide add theme button"
}, {
"id": "SDCConfig.builder.disable-use-blank-form",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.disable-use-blank-form",
"type": [ {
"code": "boolean"
} ],
"short": "Disable initializing the builder with a sample form when no form is provided"
}, {
"id": "SDCConfig.builder.enable-share",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.enable-share",
"type": [ {
"code": "boolean"
} ],
"short": "Make share button visible in the builder and enable accepting a serialized questionnaire from query param"
}, {
"id": "SDCConfig.builder.hide-save-theme",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-save-theme",
"type": [ {
"code": "boolean"
} ],
"short": "Hide save theme button"
}, {
"id": "SDCConfig.builder.disable-save",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.disable-save",
"type": [ {
"code": "boolean"
} ],
"short": "Disable save button"
}, {
"id": "SDCConfig.builder.disable-load-fhir-version",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.disable-load-fhir-version",
"type": [ {
"code": "boolean"
} ],
"short": "Deprecated. Has no effect."
}, {
"id": "SDCConfig.builder.hide-edit-theme",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.hide-edit-theme",
"type": [ {
"code": "boolean"
} ],
"short": "Hide edit theme button"
}, {
"id": "SDCConfig.builder.highlight-download-button",
"max": "1",
"min": 0,
"path": "SDCConfig.builder.highlight-download-button",
"type": [ {
"code": "boolean"
} ],
"short": "Highlight download button in the builder's debugger panel"
}, {
"id": "SDCConfig.form",
"max": "1",
"min": 0,
"path": "SDCConfig.form",
"type": [ {
"code": "BackboneElement"
} ]
}, {
"id": "SDCConfig.form.redirect-on-submit",
"max": "1",
"min": 0,
"path": "SDCConfig.form.redirect-on-submit",
"type": [ {
"code": "url"
} ],
"short": "Redirect URI used on form sign/amend"
}, {
"id": "SDCConfig.form.redirect-on-save",
"max": "1",
"min": 0,
"path": "SDCConfig.form.redirect-on-save",
"type": [ {
"code": "url"
} ],
"short": "Redirect URI used on form save/close button"
}, {
"id": "SDCConfig.form.auto-save-interval",
"max": "1",
"min": 0,
"path": "SDCConfig.form.auto-save-interval",
"type": [ {
"code": "integer"
} ],
"short": "Form auto-save interval in milliseconds"
}, {
"id": "SDCConfig.form.read-only",
"max": "1",
"min": 0,
"path": "SDCConfig.form.read-only",
"type": [ {
"code": "boolean"
} ],
"short": "Whether the form should be read-only"
}, {
"id": "SDCConfig.form.default-max-width",
"max": "1",
"min": 0,
"path": "SDCConfig.form.default-max-width",
"type": [ {
"code": "string"
} ],
"short": "Default max width of the form"
}, {
"id": "SDCConfig.form.app-name",
"max": "1",
"min": 0,
"path": "SDCConfig.form.app-name",
"type": [ {
"code": "string"
} ],
"short": "App name that will be mentioned in AuditEvent logs"
}, {
"id": "SDCConfig.form.hide-footer",
"max": "1",
"min": 0,
"path": "SDCConfig.form.hide-footer",
"type": [ {
"code": "boolean"
} ],
"short": "Hide the footer in the renderer altogether"
}, {
"id": "SDCConfig.form.hide-title",
"max": "1",
"min": 0,
"path": "SDCConfig.form.hide-title",
"type": [ {
"code": "boolean"
} ],
"short": "Hide title in the form"
}, {
"id": "SDCConfig.form.non-sticky-footer",
"max": "1",
"min": 0,
"path": "SDCConfig.form.non-sticky-footer",
"type": [ {
"code": "boolean"
} ],
"short": "Non-sticky footer in the form"
}, {
"id": "SDCConfig.form.hide-language-selector",
"max": "1",
"min": 0,
"path": "SDCConfig.form.hide-language-selector",
"type": [ {
"code": "boolean"
} ],
"short": "Hide language selector in the form"
}, {
"id": "SDCConfig.form.hide-print-button",
"max": "1",
"min": 0,
"path": "SDCConfig.form.hide-print-button",
"type": [ {
"code": "boolean"
} ],
"short": "Hide print button from the form"
}, {
"id": "SDCConfig.form.enable-amend-button",
"max": "1",
"min": 0,
"path": "SDCConfig.form.enable-amend-button",
"type": [ {
"code": "boolean"
} ],
"short": "Enable amend button"
}, {
"id": "SDCConfig.form.enable-save-button",
"max": "1",
"min": 0,
"path": "SDCConfig.form.enable-save-button",
"type": [ {
"code": "boolean"
} ],
"short": "Enable save button"
}, {
"id": "SDCConfig.form.allow-repopulate",
"max": "1",
"min": 0,
"path": "SDCConfig.form.allow-repopulate",
"type": [ {
"code": "boolean"
} ],
"short": "Allow repopulate for all forms"
}, {
"id": "SDCConfig.form.hide-download-attachment-button",
"max": "1",
"min": 0,
"path": "SDCConfig.form.hide-download-attachment-button",
"type": [ {
"code": "boolean"
} ],
"short": "Hide download button in attachment widget"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}