fhir_questionnaire 6.1.0
fhir_questionnaire: ^6.1.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.
6.1.0 #
6.0.0 #
Breaking Changes #
- Changes may affect devs using custom implementation of UI.
- Changes may affect devs using custom localization due to new texts.
- Minimum Dart version is now 3.8.0.
Added #
- Added an asterisk (
*) to the item title for required items. - Added support for minLength extension.
- Added support for minValue extension.
- Added support for maxValue extension.
- Added support for hint texts using entryFormat extension.
- Added support for helper text or helper button using questionnaire-displayCategory and questionnaire-itemControl extensions with the codes
helpandflyover. - Added new texts to
QuestionnaireBaseLocalization. - Added option to
useIntlDfaultLocaleonQuestionnaireLocalizationwhen localizing items.
Changed #
- Refactored item views for centralized title and validation logic from
QuestionnaireItemView.
Fixed #
- Fixed item validation to consider recursively all nested items.
5.0.0 #
Added #
- Added support for Translation extension according to FHIR Extension Translation definition. Thanks sh1l0n for PR-18
- Added translation extension example to sampleGeneric Questionnaire.
Changed #
- Breaking Change: changed
String? localetoLocale? localeinQuestionnaireViewandQuestionnaireBaseLocalizationto allow better localization support. - Sample project updated to allow adding Questionnaire from JSON and see QuestionnaireResponse as JSON.
Fixed #
- Fixed bug on choice items to properly validate
readOnlyproperty ISSUE-20
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 for PR-12 - Breaking Change:
onBuildItemBundlechanged toonBuildItemViewsince almost always it is just desired an item view to be customized for a type ofquestionnaireItem. Thanks easazade for PR-12
Fixed #
- Fixed rendering nested questionnaire items. Thanks easazade for PR-12
- Fixes the enableWhen not working when the enable.question was not in the same group. Thanks easazade for PR-12
- Fix enable-when not working when target question is a checkbox. Thanks easazade for PR-13
- Fix text field starting to validate input before user types anything. Thanks easazade for 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.