Skip to content

Releases: openmrs/openmrs-ngx-formentry

v17.0.0

02 Sep 16:32
d36f099
Compare
Choose a tag to compare

What's Changed

Breaking changes

Full Changelog: v5.1.0...v17.0.0

v5.1.0

15 May 20:39
Compare
Choose a tag to compare

What's changed

⭐️ Features

🐛 Bug fixes

  • (fix) Better handling of diagnoses by @icrc-psousa in #103
  • (fix) Resolved issue with incorrect voided diagnosis in the generated payload by @icrc-psousa in #107
  • (fix) Fix ng-select dropdown position by @denniskigen in #108
  • (fix) Clear values of hidden fields by @icrc-jofrancisco in #110
  • (fix) Fix date picker styles in Form Entry preview by @denniskigen in #112
  • (fix) O3-2763: Fix overflow issue affecting multi-select fields by @elimm in #122
  • (fix) O3-2870: Form navigation fixes for RTL languages by @elimm in #124
  • (fix) Fix lab orders UI in clinical forms by @denniskigen in #128
  • (fix) O3-2872: Fix inconsistent data when editing obsGroups in an encounter by @icrc-loliveira in #125
  • (fix) O3-2872: Fixed multiselect in obsgroup by @icrc-loliveira in #130
  • (fix) Remove hidden fields from patient identifier question types by @donaldkibet in #129
  • (fix) O3-3001: Form engine shouldn't send encounterDatetime when saving a new form by @vasharma05 in #131

🧹 Housekeeping

🧪 Tests

New contributors

Full Changelog: v5.0.0...v5.1.0

v5.0.0

17 Nov 18:01
Compare
Choose a tag to compare

Breaking changes

Features

  • (feat) O3-2510: Should be able to launch Add Drug Order workspace from a form by @brandones in #95
  • (feat) O3-2531: Enhance form control sizing for improved UX in tablet mode by @donaldkibet in #97
  • (feat) O3-2531: Fix date-time week list and improve scrollToView by @donaldkibet in #98
  • (feat) Bootstrap hide functionality for workspace launcher by @enyachoke in #100

Bug fixes

  • (fix) Fix overlay stacking context so the Datepicker is not hidden on tablet by @donaldkibet in #96

Housekeeping

Docs

New contributors

Thank you to all our wonderful contributors! 🎉

Full Changelog: v4.0.0...v5.0.0

v4.0.0

18 Oct 17:02
bf1598a
Compare
Choose a tag to compare

Highlights

Angular Form Entry v4.0.0 is a major release that bumps Angular to v13. This release also includes a number of bug fixes and improvements. The most notable changes are highlighted below:

We're now using Angular v14

The version of Angular used by this library has been bumped to v14. This means that you will need to upgrade your Angular application to v14 in order to use this library. See the Angular Update Guide for more information on how to upgrade your application.

i18n everywhere

This release adds support for translating error messages and labels within a form. Currently, only EN and FR locales have corresponding translations, though adding translations for other locales should be straightforward. Try it out by changing the locale in O3 to French and then opening a form.

BREAKING CHANGES

Features

  • (feat) Load observations based on form path by @icrc-loliveira in #61
  • (feat) i18n: Add support to translate error messages and other form fields by @icrc-jofrancisco in #42
  • (feat) i18n: Translations for error messages in the Ampath forms by @vasharma05 in #74
  • (feat) Update diagnosis to support rank and certainty by @donaldkibet in #78
  • (feat) KH-372: Add Khmer translations for openmrs-ngx-formentry by @kazlaw in #80
  • (feat) Update form-entry styling post carbon-styles upgrade by @donaldkibet in #83
  • (feat) Update alert feature to show when an expression evaluates by @donaldkibet in #87
  • (feat) KHP3-4179: Grey out all other options on checkbox when hideExpression is true by @donaldkibet in #91

Bug fixes

Housekeeping

New contributors

Full Changelog: v3.2.0...v4.0.0

v3.2.0

19 Jul 10:35
c381112
Compare
Choose a tag to compare

Form Entry v3.2.0 is a minor release that includes a host of feature improvements.

Highlights

New expression helpers

We’ve added a new calcGravida helper function for computing gravida, which is the number of times a woman has been pregnant, regardless of whether these pregnancies were carried to term.

v3.2.0 also adds a new expression helper that checks whether a provided string value matches a certain regular expression. This helper can then be used to show an error message when the values do not match.

Add an adapter for creating identifiers

We’ve added an adapter to the form engine that handles the creation of identifiers in the form submission payload. This adapter also handles populating patientIdentifier type fields with existing identifiers.

Ability to reset fields dynamically

We’ve added the ability to reset fields when a field further down the hierarchy that they depend on gets disabled.

Features

  • (feat) Reset value on disable by config by @icrc-agomes in #53
  • (feat) KHP3-3708 Add adapter in form engine to handle creating patient identifiers by @donaldkibet in #55
  • (feat) Add ability to evaluate if a string matches regular expression by @CynthiaKamau in #56

Housekeeping

New contributors

Full Changelog: v3.1.1...v3.2.0

v3.1.1

07 Jun 19:13
381c153
Compare
Choose a tag to compare

What's Changed

Bug fixes

Thank you to all our amazing contributors! 🎉

Full Changelog: v3.1.0...v3.1.1

v3.1.0

02 May 08:49
b48f1cd
Compare
Choose a tag to compare

What's Changed

  • (fix):CVD risk calculation should return null if some value is not passed.[KH-62] by @hadijahkyampeire in #32
  • (fix) Fix issue where checkboxes don't correctly reflect the selected options by @icrc-jofrancisco in #18
  • (fix) Fix how we load the translation module by @ibacher in #39
  • (feat) Enable inline horizontal radio buttons via config by @icrc-psousa in #35
  • (fix) Update radio selected option on value modification by @icrc-psousa in #34
  • (docs) Update pull request template with a link to design docs by @Jexsie in #40
  • (fix) Show correct maxLengthValidator error when a value exceeds the maximum length by @makombe in #43
  • (fix) Remove repeated case statement for the textarea rendering type by @makombe in #41
  • (feat) Add support for Diagnoses to form engine by @icrc-loliveira in #37
  • (feat): Add ability to hide form navigation if the form has only one page by @donaldkibet in #33
  • enhancement: Add Number Input directive and UI enhancement by @donaldkibet in #38
  • (feat): Add max and min length validation for number input by @makombe in #44
  • (fix) fix onIncrement and onDecrement on number input when max and min value are absent by @donaldkibet in #45
  • (fix) Display label concept instead of uuid when use previous value on radio buttons by @icrc-jofrancisco in #47
  • (fix) KH-141: Remote Select dropdown at the end of the form content should display above all content. by @hadijahkyampeire in #46
  • (chore) Release v3.1.0 by @rbuisson in #48

New Contributors

Full Changelog: v3.0.1...v3.1.0

v3.0.1

25 Jan 08:37
2d1250a
Compare
Choose a tag to compare

What's New

Features

  • (feat) Support for an encounter of previous obs values by @ibacher in #23
  • (feat) Support for an encounter of previous obs values by @ibacher in #24
  • (feat) Change current language back to en. by @denniskigen in #27
  • (enhancement) bump styling to carbon 11 for form-entry engine by @donaldkibet in #1
  • (feat) Introduce support for maintaining question order when rendering by @enyachoke in #8
  • (feat) Allow radio buttons to be unselectable by @icrc-toliveira in #11
  • (feat) KH-13: CVD risk calculation in Ampath forms. by @hadijahkyampeire in #15
  • (feat) Implementation of min and max atributes for repeating type by @icrc-jofrancisco in #2
  • (feat) 03-1325: Ability to have arbitrary translations for labels in AMPATH forms. by @hadijahkyampeire in #19
  • (feat) Add extractObsValue helper function to extract a value from an encounter payload by @enyachoke in #26

Fixes

  • (fix) Various fixes to the radio buttons by @ibacher in #16
  • (fix) radio button now correctly turns into an Obs by @ibacher in #17
  • (fix) Restore the ability to use historical values by @denniskigen in #25
  • (fix) Restore proper labels for multiselect component (O3-1740) by @ibacher in #28
  • (fix) Add null check for undefined rawPrevObs by @enyachoke in #30
  • (fix) rename the helper extractObsValue to getObsFromControlOrEncounter and change behaviour by @enyachoke in #31
  • (fix) Fix some bugs on checkbox component by @icrc-jofrancisco in #7
  • (fix) Fix extractObsValue helper and remove console.log in radio button by @enyachoke in #29

Housekeeping

Docs

  • (docs) Change npm commands to yarn equivalents by @denniskigen in #5

Tests

  • (test) Fix existing tests and add test job to CI process by @denniskigen in #12

New Contributors

Full Changelog: https://github.com/openmrs/openmrs-ngx-formentry/commits/v1.0.0