Closed santosh-pingle closed 2 years ago
Continuing implementation ...
@shelaghm Sdc library has two views which support a single choice component (radio button).
QuestionnaireItemRadioGroupViewHolderFactory : type is choice as per fhir specification, which can have a number of radio button options, and the user can select one out of them.
QuestionnaireItemBooleanTypePickerViewHolderFactory : type is boolean as per fhir specification, which will have two radio button options yes and no
. And the user can select one out of them.
I am thinking of having 2 separate single choice components for choice and boolean
type in the components list and separate workflow. Is it okay? (if yes then I will create separate issue to implement it.)
cc @jingtang10 @aditya-07
@santosh-pingle this makes sense to me to show both options as separate components. Please create a new githib issue and tag me.
Based on this I'll create a new icon for the Boolean choice and will use different example content for the two different components. I'll update the figma file to reflect this.
@shelaghm Thanks for sharing color palette! Can you please also share color PrimaryVariant and color SecondaryVariant color hex code.
@santosh-pingle Decided we will not use PrimaryVariant and color SecondaryVariant color. Just posting it here so we close the loop on the decision.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request 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.