Skip to content

v1.6.0

Latest

Choose a tag to compare

@leoniedickson leoniedickson released this 03 Dec 03:51
f34addf

[1.6.0] - 2026-12-03

Added

  • Added a fetchTerminologyCallback option, set via terminologyServerStore.getState().setRequestOptions(), so hosts without a browser fetch (e.g. React Native) can route the renderer's terminology requests through their own HTTP client. setRequestOptions() also accepts requestTimeoutMs (default 5000) for value set expansion during form build. See issue #2060
  • Added a clear button to slider items so an answer can be removed (rather than set to 0). It respects the hideClearButton renderer config. See issue #2094
  • Added renderer strings for attachment upload messages: attachedFile, attachmentTypeUnknown, attachmentEmpty and attachmentReadError. Consumers supplying their own rendererStrings translations should add these; until then they fall back to the English defaults.

Fixed

  • Fixed calculatedExpression on repeating items keeping only the first member of the result - the whole collection is now kept as answers, with UCUM quantity conversion applied to each member. Non-repeating items and presentation expressions still use the first member. See PR #2215
  • Fixed calculatedExpression answers carrying extensions from the source resource (e.g. the AU-base medication-type extension on a MedicationStatement coding), which are not conformant on a QuestionnaireResponse answer. Extensions are now stripped from source-derived Coding and Quantity values, while Questionnaire-authored codings keep theirs. Quantity.comparator is also now preserved. See issue #2087
  • Fixed answerOption.initialSelected being ignored on open-choice items when the renderer initialises a form without $populate, and aligned the padding of selected values in open-choice selects with choice selects. See issue #2197
  • Fixed answerOptions with valueInteger: 0 or valueString: '' being dropped from radio and checkbox lists, shown with an empty label in selects, and ignored by initialSelected. See issue #2108
  • Fixed keyboard (Arrow/Enter) option selection in choice and open-choice autocomplete fields, while long selected values still wrap rather than being cut off. Also fixed free text typed just before selecting an option overwriting the selected coding, and open-choice free text typed in the last 300 ms being lost when the field unmounts (e.g. on a tab switch). See PR #2214
  • Fixed repeating attachment items not repeating unless both a URL and a file were provided. See PR #2129
  • Fixed attachment answers being lost when an upload fails. A file with no MIME type or that cannot be read now shows an inline error and keeps the last accepted file, URL and title. Reopened responses with embedded file data now show the saved file and allow removing it. See issue #2175
  • Fixed attachments saving the whole data URL (data:<mime>;base64,...) as Attachment.data, which is invalid base64Binary - only the base64 data is saved now. Empty files are rejected. See issue #2222

Changed

  • Upgraded fhirpath from 4.x to 5.x.