v6.0.0
Highlights
Chart 6.0.0
brings a breaking change and a number of new features and improvements to O3. Most notably, these are:
BREAKING: Merged vitals and biometrics apps
We've merged vitals and biometrics concerns into one frontend module - @openmrs/esm-patient-vitals-app
. This is a breaking change and will mean that the biometrics frontend module (@openmrs/esm-patient-biometrics-app
) will no longer be available. You'll need to update your distro to remove the biometrics app from your import map. The rationale for this change is to better leverage the shared cache for our SWR requests. Recording a new set of vitals and biometrics using the form would previously result in only the vitals and biometrics datatables being updated. Now, the vitals and biometrics datatables and their chart views, as well as the vitals header, will be updated automatically upon saving a new set of vitals and biometrics. Additionally, merging the two apps allowed us to clean up a lot of shared code and configurations. Thanks to @ibacher for the great work on this!
Improved performance
We've reduced the number of network requests made by the application by reducing the number of Webpack chunks created by the application. This means that the application loads faster than before. Read more about this in the migration guide here and @ibacher's PR here.
Improved highlighting of abnormal values in the vitals and biometrics form
Great work by @hadijahkyampeire means we now have improved highlighting of abnormal values in the vitals and biometrics form in keeping with the excellent vitals input design guidelines.
Ability to launch the Order Basket from a clinical form
Thanks to work by @brandones, you can now launch the Order Basket from a clinical form. This is useful if you want to order a medication or a lab test from a clinical form. Read more about this in the PR here.
New patient lists workspace
v6.0.0 introduces a new patient lists workspace to the side rail. This workspace allows you to view all available patient lists in a tabular format. You can also click on a list to view the patients in that list. This means that the patient list management concerns are now accessible from the Patient Lists app in the home page. See the PR here for more details.
Support for configurable form sections
Thanks to work by @ibacher, you can now configure the forms list to group forms into sections. This is useful if you have a large number of forms and want to group them into sections. Read more about this in the PR here.
Privilege-based ability to edit and delete visits
Thanks to work by @vasharma05, users with the appropriate privileges can now edit and delete visits. Read more about this in the PR here.
i18n support for Arabic and Hebrew
Thanks to @michaelbontyes , @elimm, and @ComradeSwarog.
Clinical forms and visit header layout improvements on tablet
Thanks to @CynthiaKamau and @donaldkibet for the great work on this!
Breaking changes
Features
- (feat) Add Arabic translations by @michaelbontyes in #1407
- (feat) O3-2423: Lab order flow should have test type search page by @brandones in #1371
- (feat) Add translations for generic widget and patient chart pagination by @vasharma05 in #1376
- (feat) Remove implementer-specific logic from Programs widget by @donaldkibet in #1389
- (feat) Add Khmer translations by @kazlaw in #1418
- (feat) Add support for configurable form sections by @ibacher in #1406
- (feat) O3-2485: Allow view only field for visit location in the start visit form by @vasharma05 in #1403
- (feat) Supporting O3-2510: Expose patient-common-lib on window by @brandones in #1430
- (feat) Update the translation for patient chart by @vasharma05 in #1433
- (feat) O3-2528: Hebrew translations for openmrs-ngx-formentry by @elimm in #1436
- (feat) O3-2531: Enhance form control sizing for improved UX in tablet mode by @donaldkibet in #1440
- (feat) O3-2534: Improve visit header layout on tablet by @CynthiaKamau in #1441
- (feat) KH-372: Add missing Khmer translations by @kazlaw in #1448
- (feat) Highlight abnormal values in vitals and biometrics form by @hadijahkyampeire in #1427
- (feat) Update i18next interpolation syntax by @vasharma05 in #1439
- (feat) add config to display encounter type in generic widgets by @icrc-jofrancisco in #1450
- (feat) Support offline in forms dashboard by @icrc-jofrancisco in #1437
- (feat) Preload most extensions and pages by @ibacher in #1461
- (feat) Tweak visit action modal content by @denniskigen in #1465
- (feat) Allow privileged users to edit visit details and delete empty visits by @vasharma05 in #1451
- (feat) Add a patient lists workspace to the side rail by @denniskigen in #1471
- (feat) Update encounter date to pick visitStartDatetime by @donaldkibet in #1405
- (feat) Order basket UI tweaks by @denniskigen in #1484
- (feat) O3-2581: Add hebrew translations by @ComradeSwarog in #1479
- (feat) Improved program enrollment on form entry and updated form-entry props by @donaldkibet in #1438
- (feat) O3-2551 Make hard-coded maximum duration of dispense in medications a… by @CynthiaKamau in #1455
Refactors
- (refactor) Use classNames to apply classes conditionally by @denniskigen in #1454
Bug fixes
- (fix) Increase timeout for conditions-overview test to fix builds by @vasharma05 in #1417
- (fix) O3-2485: Updated the config key for the visit location field in the start visit form by @vasharma05 in #1421
- (fix) Tweak the appearance of flagged vital signs by @denniskigen in #1423
- (fix) O3-2508: Remove sorting functionality in biometrics table by @mccarthyaaron in #1425
- (fix) Fix the appearance of tabs in the vitals and biometrics chart views by @denniskigen in #1424
- (fix) Minimal UI tweaks to the Conditions form by @denniskigen in #1426
- (fix) Mutate visit banner after starting new visit by @CynthiaKamau in #1434
- (fix) Lazy-load Angular locales by @ibacher in #1453
- (fix) Fix translation for height by @denniskigen in #1459
- (fix) Fix error when clearing the test type field of the lab order form by @makombe in #1460
- (fix) Register forms endpoint as dynamic route by @icrc-jofrancisco in #1470
- (fix) O3 Modal confirmation from user to modify visit date to accomodate new encounter date and time by @vasharma05 in #1435
- (fix) Correct o3 forms route for offline caching by @icrc-jofrancisco in #1472
- (fix) Remove unnecessary default HTTP parameter by @icrc-jofrancisco in #1473
- (fix) Restore ability to optionally launch clinical form from vitals and biometrics widget by @donaldkibet in #1474
- (fix) Set the correct time format for both visit start and end datetime by @donaldkibet in #1477
- (fix) Khmer translations added and few textual changes by @vasharma05 in #1467
- (fix)
Add to basket
action on drug tile should mark the order as an incomplete order by @vasharma05 in #1468 - (fix) Vitals form should not render if metadata is loading by @ibacher in #1481
- (fix) Make isValueWithinReferenceRange resilient to missing metadata by @ibacher in #1482
- (fix:form-entry) update search location functionality by @jecihjoy in #1431
- (fix)03-2586: Lab order search should have auto focus by @jwnasambu in #1488
Chore
- (chore) O3-2405: Retrieve Logs in E2E gh action for Improved Issue Tracking by @jayasanka-sack in #1409
- (chore) O3-2494: Add docker setup to run E2E on Bamboo by @jayasanka-sack in #1410
- (chore) Bump
esm-form-entry-app
to Angular v14 by @denniskigen in #1414 - (chore) Bump i18next, react-i18next and i18next-parser and support pluralization by @vasharma05 in #1413
- (chore) Mark SWR as a peer dependency by @ibacher in #1420
- (chore) Disable Angular CLI cache in
esm-form-entry-app
by @denniskigen in #1419 - (chore) Improve forms list and enable patient-chat page while offline by @icrc-jofrancisco in #1422
- (chore) Add translation strings for the Attachments, Biometrics and Vitals apps by @vasharma05 in #1442
- (chore) Bump
@openmrs/openmrs-ngxformentry
by @donaldkibet in #1445 - (chore) Bump
@openmrs/openmrs-form-engine-lib
by @larslemos in #1446 - (chore) Add Khmer translations to patient medications app by @kazlaw in #1449
- (chore) Bump @openmrs/openmrs-ngxformentry by @enyachoke in #1456
- (chore) Bump form entry app to Angular 15 by @denniskigen in #1466
Tests
- (test) Refactor e2e tests to adopt best practices by @denniskigen in #1475
- (e2e) Use more resilient locators by @denniskigen in #1483
- (e2e) More e2e refactors by @denniskigen in #1487
New contributors
- @mccarthyaaron made their first contribution in #1425
- @ImethP2 made their first contribution in #1462
- @ComradeSwarog made their first contribution in #1479
Thank you to all our wonderful contributors 🎉
Full Changelog: v5.1.0...v6.0.0