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
Addedfor new features.Changedfor changes in existing functionality.Deprecatedfor soon-to-be removed features.Removedfor now removed features.Fixedfor any bug fixes.Securityin case of vulnerabilities.
4.0.0 #
Changed #
- Breaking Change:
onGenerateItemResponsecallback changed to also provide the generatedQuestionnaireResponseItemas an argument of this callback. This way when this callback is being implemented it is also possible to just modify theQuestionnaireResponseItemand return it. Thanks easazade PR-12 - Breaking Change:
onBuildItemBundlechanged toonBuildItemViewsince 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
enableWhenISSUE-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
uidonQuestionnaireItemBundle, functions for item builder override and response override and other improvements. Thanks easazade.