Skip to content

Questionnaire: based on latest version from formstudio#31

Merged
ArdonToonstra merged 8 commits intodevelopfrom
update-questionnaire
Mar 2, 2026
Merged

Questionnaire: based on latest version from formstudio#31
ArdonToonstra merged 8 commits intodevelopfrom
update-questionnaire

Conversation

@ArdonToonstra
Copy link
Copy Markdown
Collaborator

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.

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.
@ArdonToonstra ArdonToonstra changed the title Questionnaire: bump to rc2 & migrate options Questionnaire: based on latest version from formstudio Mar 2, 2026
Copilot AI and others added 5 commits March 2, 2026 14:28
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
Copy link
Copy Markdown
Collaborator

@MariekeMassa MariekeMassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated questionnaire looks fine.
Having the description etc. in both English and Dutch seemed a bit messy, so I removed the Dutch texts again.

@ArdonToonstra ArdonToonstra merged commit bba5b53 into develop Mar 2, 2026
1 check passed
@ArdonToonstra ArdonToonstra deleted the update-questionnaire branch March 2, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants