PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.sdc.r5@0.2601.0
    http://health-samurai.io/fhir/sdc/StructureDefinition/SDCConfig
description: Configuration resource for SDC system settings including language, theme, storage, form settings, and builder options.
package_name: io.health-samurai.sdc.r5
derivation: specialization
name: SDCConfig
type: SDCConfig
elements:
  description: {type: string, short: Human readable config description, index: 1}
  default: {type: boolean, short: Sets config as default for system/tenant, index: 2}
  name: {type: string, short: Machine readable config name, index: 0}
  form-store:
    type: BackboneElement
    short: FHIR Server settings for storing/getting Questionnaire
    index: 10
    elements:
      endpoint: {type: url, short: FHIR Server that will be used for storing/getting Questionnaire (if not set - use Aidbox), index: 11}
      headers: {short: Headers with credentials (optional), index: 12}
  builder:
    type: BackboneElement
    index: 19
    elements:
      hide-publish: {type: boolean, short: Hide Publish button in builder, index: 29}
      translation-languages: {type: string, short: List of languages that will be used for translation, array: true, index: 27}
      disable-save: {type: boolean, short: Disable save button, index: 40}
      disable-load-fhir-version: {type: boolean, short: Deprecated. Has no effect., index: 41}
      hide-back-button: {type: boolean, short: Hide back button in builder, index: 28}
      disable-submit-button: {type: boolean, short: Disable submit button in the builder's form preview footer, index: 35}
      form-url-prefix: {type: url, short: URL prefix used in URL generation of new forms, index: 26}
      disable-use-blank-form: {type: boolean, short: Disable initializing the builder with a sample form when no form is provided, index: 37}
      disable-publish: {type: boolean, short: Disable publish button, index: 30}
      collapse-debugger: {type: boolean, short: Collapse debugger by default in builder, index: 34}
      custom-renderers:
        type: BackboneElement
        short: Custom renderers that can be used to preview form in Form Builder
        array: true
        index: 20
        elements:
          name: {type: string, short: Web component tag name, index: 21}
          source: {type: url, short: Web component source URL, index: 22}
          url: {type: url, short: Web component URL, index: 23}
          title: {type: string, short: Title in Builder, index: 24}
          default: {type: boolean, short: Whether this is the default renderer for form preview, index: 25}
      hide-add-theme: {type: boolean, short: Hide add theme button, index: 36}
      hide-edit-theme: {type: boolean, short: Hide edit theme button, index: 42}
      hide-population: {type: boolean, short: Hide population tab in debug instruments, index: 31}
      hide-extraction: {type: boolean, short: Hide extraction tab in debug instruments, index: 32}
      hide-save-theme: {type: boolean, short: Hide save theme button, index: 39}
      highlight-download-button: {type: boolean, short: Highlight download button in the builder's debugger panel, index: 43}
      hide-save: {type: boolean, short: Hide save button, index: 33}
      enable-share: {type: boolean, short: Make share button visible in the builder and enable accepting a serialized questionnaire from query param, index: 38}
  term-server:
    type: BackboneElement
    index: 13
    elements:
      endpoint: {type: url, short: FHIR Server that stores Terminology (ValueSet/expand$) (if not set - use Aidbox), index: 14}
      headers: {short: Headers (with credentials) for accessing Service (optional), index: 15}
  theme:
    type: Reference
    short: Default theme
    refers: ['http://health-samurai.io/fhir/sdc/StructureDefinition/QuestionnaireTheme']
    index: 4
  language:
    type: code
    short: Default language for UI
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/all-languages'}
    index: 3
  data-store:
    type: BackboneElement
    index: 16
    elements:
      endpoint: {type: url, short: 'FHIR Server for storing responses, populating data, and extraction (defaults to Aidbox)', index: 17}
      headers: {short: Headers (with credentials) for accessing Service (optional), index: 18}
  storage:
    type: BackboneElement
    short: Storage configuration for attachments
    index: 6
    elements:
      account:
        type: Reference
        short: Storage Account
        refers: ['http://health-samurai.io/fhir/core/StructureDefinition/AwsAccount', 'http://health-samurai.io/fhir/core/StructureDefinition/AzureContainer', 'http://health-samurai.io/fhir/core/StructureDefinition/GcpServiceAccount']
        index: 7
      bucket: {type: string, short: Storage bucket (required for GCP and S3), index: 8}
      store-absolute-url: {type: boolean, short: Store absolute url to QuestionnaireResponse attachments, index: 9}
  form:
    type: BackboneElement
    index: 44
    elements:
      default-max-width: {type: string, short: Default max width of the form, index: 49}
      auto-save-interval: {type: integer, short: Form auto-save interval in milliseconds, index: 47}
      hide-language-selector: {type: boolean, short: Hide language selector in the form, index: 54}
      allow-repopulate: {type: boolean, short: Allow repopulate for all forms, index: 58}
      hide-title: {type: boolean, short: Hide title in the form, index: 52}
      hide-download-attachment-button: {type: boolean, short: Hide download button in attachment widget, index: 59}
      redirect-on-submit: {type: url, short: Redirect URI used on form sign/amend, index: 45}
      enable-amend-button: {type: boolean, short: Enable amend button, index: 56}
      app-name: {type: string, short: App name that will be mentioned in AuditEvent logs, index: 50}
      hide-footer: {type: boolean, short: Hide the footer in the renderer altogether, index: 51}
      enable-save-button: {type: boolean, short: Enable save button, index: 57}
      read-only: {type: boolean, short: Whether the form should be read-only, index: 48}
      redirect-on-save: {type: url, short: Redirect URI used on form save/close button, index: 46}
      non-sticky-footer: {type: boolean, short: Non-sticky footer in the form, index: 53}
      hide-print-button: {type: boolean, short: Hide print button from the form, index: 55}
  translations: {short: Custom translation strings for UI, index: 5}
package_version: 0.2601.0
class: resource
kind: resource
url: http://health-samurai.io/fhir/sdc/StructureDefinition/SDCConfig
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 0.2601.0
required: [name]