fhir_questionnaire 6.1.0 copy "fhir_questionnaire: ^6.1.0" to clipboard
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

  • 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.

6.1.0 #

Changed #

  • onSubmit is no longer required on QuestionnaireView (useful when loading readOnly questionnaires).

Fixed #

  • Fixed readOnly behavior on QuestionnaireDateTimeItemView.
  • Fixed readOnly behavior on QuestionnaireAttachmentItemView.

6.0.2 #

Fixed #

  • Required items are validated only if enabled.

6.0.1 #

Fixed #

  • Fixed issue with duplicated title on display items.

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 help and flyover.
  • Added new texts to QuestionnaireBaseLocalization.
  • Added option to useIntlDfaultLocale on QuestionnaireLocalization when 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.1.0 #

Added #

  • Added support to populate questionnaire answers with response.

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? locale to Locale? locale in QuestionnaireView and QuestionnaireBaseLocalization to 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 readOnly property ISSUE-20

4.0.0 #

Changed #

  • Breaking Change: onGenerateItemResponse callback changed to also provide the generated QuestionnaireResponseItem as an argument of this callback. This way when this callback is being implemented it is also possible to just modify the QuestionnaireResponseItem and return it. Thanks easazade for PR-12
  • Breaking Change: onBuildItemBundle changed to onBuildItemView since almost always it is just desired an item view to be customized for a type of questionnaireItem. 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 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 on QuestionnaireItemBundle, functions for item builder override and response override and other improvements. Thanks easazade.

2.0.0 #

Added #

  • Added support for group item type.
  • Added QuestionnaireController? controller as param to QuestionnaireView to allow control over how the items and response are generated for QuestionnaireView.

Changed #

  • QuestionnaireController refactored to support extension and function override.

1.0.1 #

Added #

  • CodeableConcept extension added to easily access title.

1.0.0 #

Added #

  • First release
7
likes
0
points
115
downloads

Publisher

verified publisherdev.lamt.dev

Weekly Downloads

A library to render FHIR Questionnaires and generate a QuestionnaireResponse

Repository (GitHub)
View/report issues

Topics

#fhir #questionnaire #hl7 #r4

License

unknown (license)

Dependencies

collection, fhir, fhir_path, flutter, intl, shimmer, validators

More

Packages that depend on fhir_questionnaire