fhir_questionnaire 4.0.0
fhir_questionnaire: ^4.0.0 copied to clipboard
A library to render FHIR Questionnaires and generate a QuestionnaireResponse
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Types of changes
Added
for new features.Changed
for changes in existing functionality.Deprecated
for soon-to-be removed features.Removed
for now removed features.Fixed
for any bug fixes.Security
in case of vulnerabilities.
4.0.0 #
Changed #
- Breaking Change:
onGenerateItemResponse
callback changed to also provide the generatedQuestionnaireResponseItem
as an argument of this callback. This way when this callback is being implemented it is also possible to just modify theQuestionnaireResponseItem
and return it. Thanks easazade PR-12 - Breaking Change:
onBuildItemBundle
changed toonBuildItemView
since almost always it is just desired an item view to be customized for a type ofquestionnaireItem
. Thanks easazade PR-12
Fixed #
- Fixed rendering nested questionnaire items. Thanks easazade PR-12
- Fixes the enableWhen not working when the enable.question was not in the same group. Thanks easazade PR-12
- Fix enable-when not working when target question is a checkbox. Thanks easazade PR-13
- Fix text field starting to validate input before user types anything. Thanks easazade PR-14
- Fixed UI bug on hidden components using
enableWhen
ISSUE-16 - Validation added to ensure an open answer manually added is unique in the list of available answer options.
3.0.0 #
Added #
- Added support for Calculated Expression. Thanks tigloo.
- Added
uid
onQuestionnaireItemBundle
, functions for item builder override and response override and other improvements. Thanks easazade.