This log documents significant changes for the @aehrc/smart-forms-renderer. This project follows Semantic Versioning.
Changelog only includes changes from version 0.36.0 onwards.
- Bump version to set NPM tag to latest.
- Fixed an issue where inputs in checkbox open-choice's open label field does not update the QuestionnaireResponse.
- Fixed unexpected behaviour of open-choice's open label field clearing the answers of previously selected options.
- Fixed an issue where enableWhen logic was not working properly with repeating items.
- Added support for the preferredTerminologyServer SDC extension.
- Completely removed persisting "iframe-resizer" dependencies as a follow-up to v0.43.0.
- Removed external dependency on "iframe-resizer" while retaining dynamically sized Storybook iframes in the documentation.
- Replaced all instances of cloneDeep() with the native structuredClone() function.
- Changed Storybook iframes in the documentation to be dynamically sized based on the content.
- Significantly improved performance by reducing the number of re-renders.
- Adjusted renderer's background color to be #fafafa.
- Removed left and right paddings from the renderer - it now takes up the full width of its container.
- Fixed inconsistencies when syncing the renderer's internal state with externally-generated QuestionnaireResponses.
- Fixed inconsistencies with internal IDs for tracking repeating items and groups.
- Fixed an issue where the renderer's theme was overriding the parent app's styles.
- Fixed issues with lodash dependencies in package.json.
- Added a library function removeInternalIdsFromResponse() to remove internal IDs for tracking repeating items.
- Fix date validation error message for two matches.
- Fix generation of internal IDs for repeat items and groups to be consistent and sync-able with externally-generated QuestionnaireResponses.
- Added a simple, minimal fix to dynamically adjust field positions based on viewport
- Added support for Observation-based extraction as a library function and as a feature in the Playground.
- Refactored
repeat
items so that it tracks item instances using the QuestionnaireResponse, instead of using React'suseState
.
- Fixed an issue where
string
andtext
items were automatically removing inputted trailing whitespaces.
- Fixed support for item.initial and item.answerOption.initialSelected for repeating groups.
- Added support for non-repeating group table (
gtable
) items.
- Added support for
Quantity
items. See documentation and Storybook for more details.
- Fixed a @aehrc/sdc-populate library dependency issue.
- Added support for
page
UI Control code from https://hl7.org/fhir/extensions/ValueSet-questionnaire-item-control.html.
- Add support for
Coding
type in calculatedExpressions for choice and open-choice items.
- Add Save-Extract-Write functionality (StructureMap-based) in the "Save as Final" button in the Smart Forms app.