Questionnaire: based on latest version from formstudio#31
Merged
ArdonToonstra merged 8 commits intodevelopfrom Mar 2, 2026
Merged
Questionnaire: based on latest version from formstudio#31ArdonToonstra merged 8 commits intodevelopfrom
ArdonToonstra merged 8 commits intodevelopfrom
Conversation
Bump Questionnaire version to 1.0.0-rc2 and set language to nl-NL; update title and bilingual publisher/copyright/purpose/description fields. Convert legacy "option" arrays and "initialCoding" defaults to FHIR R4-style "answerOption" entries and add "initialSelected" where appropriate. Reorganize several items/groups (notably linkId 26 and contact person groups), add explicit enableWhen operators and enableBehavior:"any" for conditional items, and adjust readOnly/choice semantics across many entries. Misc: restore/adjust item ordering, add more Dutch text, and ensure consistent choice/enable structures. No dependency lock changes.
Add 18 enableWhen conditions to the STU3 Questionnaire that were removed during R4 to STU3 conversion in the LHC form builder: - "Anders, namelijk:" fields: show only when "Anders" option is selected (items 411, 408, 412, 413) - First contact person fields: show only when legal representative is NOT the first contact person (items 53, 61, 77) - ICD-related fields: show only when patient has an ICD (items 600, 599, 808, 595) - "Beperkingen" fields: show only when "Ja, maar met beperkingen" is selected (items 122, 123, 124, 125, 126, 127) - Previous treatment agreements: show follow-up only when "Ja" is selected (item 255) Co-authored-by: ArdonToonstra <20518398+ArdonToonstra@users.noreply.github.com>
Restore enableWhen logic in STU3 Questionnaire
MariekeMassa
approved these changes
Mar 2, 2026
Collaborator
MariekeMassa
left a comment
There was a problem hiding this comment.
Updated questionnaire looks fine.
Having the description etc. in both English and Dutch seemed a bit messy, so I removed the Dutch texts again.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump Questionnaire version to 1.0.0-rc2 and set language to nl-NL; update title and bilingual publisher/copyright/purpose/description fields. Convert legacy "option" arrays and "initialCoding" defaults to FHIR R4-style "answerOption" entries and add "initialSelected" where appropriate. Reorganize several items/groups (notably linkId 26 and contact person groups), add explicit enableWhen operators and enableBehavior:"any" for conditional items, and adjust readOnly/choice semantics across many entries. Misc: restore/adjust item ordering, add more Dutch text, and ensure consistent choice/enable structures. No dependency lock changes.