Skip to content

Checkbox itemControl on boolean items #209

Description

@jafeltra

I noticed that when a Questionnaire item has a type boolean, the itemControl extension with the check-box coding does not impact the controls rendered for that question in LForms. The regular boolean Yes/No/Not Answered radio buttons are rendered. I expected that the radio buttons would be replaced with a single checkbox with no text next to it. We'd like to be able to utilize this with LForms. Is this something you would consider adding support for?

I've attached a sample Questionnaire with a single item demonstrating the behavior - Questionnaire-checkbox-boolean.json. In LForms, this Questionnaire just shows one item with the Yes/No/Not Answered radio button options. I also tested this Questionnaire in the FhirPath Form Tester, and I saw the CSIRO Renderer does support rendering a checkbox on the item with the check-box item control, which is the behavior I was hoping to have in LForms.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions