FHIR IG analytics| Package | io.health-samurai.sdc.r4b |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-QuestionnaireTheme.json |
| FHIR Version | R4B |
| Source | https://simplifier.net/resolve?scope=io.health-samurai.sdc.r4b@0.2601.0&canonical=http://health-samurai.io/fhir/sdc/StructureDefinition/QuestionnaireTheme |
| URL | http://health-samurai.io/fhir/sdc/StructureDefinition/QuestionnaireTheme |
| Version | 0.2601.0 |
| Status | active |
| Name | QuestionnaireTheme |
| Description | Theme styling for SDC questionnaire forms including colors, fonts, and component styles. |
| Type | QuestionnaireTheme |
| Kind | resource |
| StructureDefinition | |
| SDCConfig | SDCConfig |
No resources found
No narrative content found in resource
{
"description": "Theme styling for SDC questionnaire forms including colors, fonts, and component styles.",
"derivation": "specialization",
"fhirVersion": "4.3.0",
"name": "QuestionnaireTheme",
"abstract": false,
"type": "QuestionnaireTheme",
"resourceType": "StructureDefinition",
"status": "active",
"id": "QuestionnaireTheme",
"kind": "resource",
"url": "http://health-samurai.io/fhir/sdc/StructureDefinition/QuestionnaireTheme",
"version": "0.2601.0",
"differential": {
"element": [
{
"id": "QuestionnaireTheme",
"path": "QuestionnaireTheme",
"min": 0,
"max": "*"
},
{
"id": "QuestionnaireTheme.theme-name",
"path": "QuestionnaireTheme.theme-name",
"short": "Theme Title",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.language",
"path": "QuestionnaireTheme.language",
"short": "Theme Language",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/all-languages"
}
},
{
"id": "QuestionnaireTheme.design-system",
"path": "QuestionnaireTheme.design-system",
"short": "Design System used in form components",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "enum-1",
"severity": "error",
"expression": "%context.subsetOf('aidbox-desktop' | 'aidbox-mobile' | 'NHS')",
"human": "Design system must be one of: aidbox-desktop, aidbox-mobile, NHS"
}
]
},
{
"id": "QuestionnaireTheme.main-color",
"path": "QuestionnaireTheme.main-color",
"short": "Main accent color (RGB hex)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.font-family",
"path": "QuestionnaireTheme.font-family",
"short": "Font-Family",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "enum-2",
"severity": "error",
"expression": "%context.subsetOf('Product Sans' | 'Metropolis' | 'Inter')",
"human": "Font family must be one of: Product Sans, Metropolis, Inter"
}
]
},
{
"id": "QuestionnaireTheme.base-font-size",
"path": "QuestionnaireTheme.base-font-size",
"short": "Minimal text size (px)",
"min": 0,
"max": "1",
"type": [
{
"code": "decimal"
}
]
},
{
"id": "QuestionnaireTheme.brand-image",
"path": "QuestionnaireTheme.brand-image",
"short": "Brand images",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "QuestionnaireTheme.brand-image.top-right",
"path": "QuestionnaireTheme.brand-image.top-right",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "QuestionnaireTheme.brand-image.top-right.url",
"path": "QuestionnaireTheme.brand-image.top-right.url",
"short": "Web link to top-right image",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.brand-image.bottom-left",
"path": "QuestionnaireTheme.brand-image.bottom-left",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "QuestionnaireTheme.brand-image.bottom-left.url",
"path": "QuestionnaireTheme.brand-image.bottom-left.url",
"short": "Web link to bottom-left image",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.background",
"path": "QuestionnaireTheme.background",
"short": "Background styles",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "QuestionnaireTheme.background.main-color",
"path": "QuestionnaireTheme.background.main-color",
"short": "Main background color (RGB hex)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.background.form-color",
"path": "QuestionnaireTheme.background.form-color",
"short": "Background color for form (RGB hex)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.background.toolbar-color",
"path": "QuestionnaireTheme.background.toolbar-color",
"short": "Background color for toolbar that displays below the form (with submit button) (RGB hex)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.input",
"path": "QuestionnaireTheme.input",
"short": "Input styles",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "QuestionnaireTheme.input.accent-color",
"path": "QuestionnaireTheme.input.accent-color",
"short": "Main color for inputs (border color for text inputs, background for checkbox, etc.) (RGB hex)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.input.text-color",
"path": "QuestionnaireTheme.input.text-color",
"short": "Text color (RGB hex)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.input.background-color",
"path": "QuestionnaireTheme.input.background-color",
"short": "Background color (RGB hex)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.input.font-size",
"path": "QuestionnaireTheme.input.font-size",
"short": "Input font size (px)",
"min": 0,
"max": "1",
"type": [
{
"code": "decimal"
}
]
},
{
"id": "QuestionnaireTheme.button",
"path": "QuestionnaireTheme.button",
"short": "Button styles",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "QuestionnaireTheme.button.print-text",
"path": "QuestionnaireTheme.button.print-text",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button._print-text",
"path": "QuestionnaireTheme.button._print-text",
"min": 0,
"max": "1",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
}
]
},
{
"id": "QuestionnaireTheme.button.print-color",
"path": "QuestionnaireTheme.button.print-color",
"short": "Background color for Print button",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.print-text-color",
"path": "QuestionnaireTheme.button.print-text-color",
"short": "Text color for Print button",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.amend-text",
"path": "QuestionnaireTheme.button.amend-text",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button._amend-text",
"path": "QuestionnaireTheme.button._amend-text",
"min": 0,
"max": "1",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
}
]
},
{
"id": "QuestionnaireTheme.button.amend-color",
"path": "QuestionnaireTheme.button.amend-color",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.amend-text-color",
"path": "QuestionnaireTheme.button.amend-text-color",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button._redirect-text",
"path": "QuestionnaireTheme.button._redirect-text",
"min": 0,
"max": "1",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
}
]
},
{
"id": "QuestionnaireTheme.button.redirect-color",
"path": "QuestionnaireTheme.button.redirect-color",
"short": "Background color for Save & Close button",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.redirect-text",
"path": "QuestionnaireTheme.button.redirect-text",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.redirect-text-color",
"path": "QuestionnaireTheme.button.redirect-text-color",
"short": "Text color for Save & Close button",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.submit-color",
"path": "QuestionnaireTheme.button.submit-color",
"short": "Background color for Submit button",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.submit-text-color",
"path": "QuestionnaireTheme.button.submit-text-color",
"short": "Text color for Submit button",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.submit-text",
"path": "QuestionnaireTheme.button.submit-text",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button._submit-text",
"path": "QuestionnaireTheme.button._submit-text",
"min": 0,
"max": "1",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
}
]
},
{
"id": "QuestionnaireTheme.button.accent-color",
"path": "QuestionnaireTheme.button.accent-color",
"short": "Background color for filled buttons, border color for outlined buttons. Deprecated.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "QuestionnaireTheme.button.text-color",
"path": "QuestionnaireTheme.button.text-color",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
}
]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}