-
Notifications
You must be signed in to change notification settings - Fork 313
Open
Labels
P2Medium priority issueMedium priority issuegood first issueGood for newcomersGood for newcomerstype:enhancementNew feature or requestNew feature or request
Description
Describe the bug
A question like following will enable mulit-selection but since repeats is false the SDC crashes on selecting the second choice.
{
"type": "choice",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "check-box",
"display": "Check-box"
}
]
}
}
],
"linkId": "2",
"text": "HIV Status",
"required": true,
"repeats": false,
"readOnly": false,
"answerOption": [
{
"valueCoding": {
"display": "Positive"
}
},
{
"valueCoding": {
"display": "Reactive"
}
},
{
"valueCoding": {
"display": "Negative/Non Reactive"
}
}
]
}
Component
SDC library
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: [e.g. Pixel4a emulator]
- Android version: [e.g. Settings -> About phone -> Android version]
- Build number: [e.g. Settings -> About phone -> Build number]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
Metadata
Metadata
Assignees
Labels
P2Medium priority issueMedium priority issuegood first issueGood for newcomersGood for newcomerstype:enhancementNew feature or requestNew feature or request
Type
Projects
Status
New