-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Is your feature request related to a problem? Please describe.
Text styling is implemented for item.text but it doesn't appear to work for answerOption.valueString. Please implement styling extensions to work on this element. Extensions are:
- https://hl7.org/fhir/extensions/StructureDefinition-rendering-style.html
- https://hl7.org/fhir/extensions/StructureDefinition-rendering-markdown.html
- https://hl7.org/fhir/extensions/StructureDefinition-rendering-xhtml.html
This capability is specified in the Advanced Rendering Questionnaire profile.
Their use is also specified on the elements: title and prefix. Would be worth checking these are supported also.
Describe the solution you'd like
Styling extensions work for display of answerOption.valueString
Describe alternatives you've considered
No alternatives
Additional context
Example usage below
{
"resourceType": "Questionnaire",
"id": "answerStringStyling",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"code": "radio-button",
"system": "http://hl7.org/fhir/questionnaire-item-control"
}
]
}
}
],
"answerOption": [
{
"valueString": "Complete"
},
{
"_valueString": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/rendering-style",
"valueString": "font-weight:bold;"
}
]
}
},
{
"valueString": "In progress"
},
{
"valueString": "Requires attention"
}
],
"linkId": "section-completion-status",
"text": "Section completion status",
"type": "choice",
"repeats": false
}
]
}
Metadata
Metadata
Assignees
Labels
No labels