What's changed
Breaking changes
- BREAKING: O3-2563 Rename esm-patient-labs-app to esm-patient-tests-app by @brandones in #1935
Features
- (feat) O3-2163: Add support for editing end visit data/time on current visits by @usamaidrsk in #1712
- (feat) O3-3797: Add the Encounter List Table and Tabs to Patient Chart by @hadijahkyampeire in #1987
- (feat) O3-3901: Add support for program states in esm-patient-programs by @ynurmahomed in #1989
- (feat) O3-3899: Tweak photo picker in the registration form by @Twiineenock in #1994
- (feat) O3-3909: Change the styling of abnormal and dangerous lab results in timeline view by @CynthiaKamau in #1999
- (feat) O3-3921: Change
End date
toDiscontinue date
in medications table by @Vijaykv5 in #2003 - (feat) Pass default form session intent to form Engine by @kajambiya in #2004
- (feat) Test types should be filterable by synonyms by @denniskigen in #2006
- (feat) O3-3655: Change the behaviour of the results view switchers by @CynthiaKamau in #2007
- (feat) Comboboxes in the order form should filter out non-matching items by @denniskigen in #2008
- (feat) More order basket tweaks by @denniskigen in #2009
- (feat) Add zebra styles to individual test datatable in results viewer by @arodidev in #2010
- (feat) O3-3818: Extend clinical forms workspace by @usamaidrsk in #2017
- (feat) O3-3818 Add support for other form workspaces by @usamaidrsk in #2018
- (feat) O3-3866: Allow customized message/dialog for warning when clos… by @mogoodrich in #2020
- (feat) Tweak Test results dashboard sticky header UI by @CynthiaKamau in #2021
- (feat) O3-4064: Print patient information with modified configuration by @vasharma05 in #2022
- (feat) O3-4009: Display stock and price information upon ordering by @usamaidrsk in #2028
- (feat) O3-4014: Add ability to warn user of unsaved changes on form-entry-app by @donaldkibet in #2031
- (feat) O3-2825: Flag discontinued medications with a tag by @jwnasambu in #2037
- (feat) Add an empty state view to BaseVisitType by @denniskigen in #2045
- (feat) Add an empty state view to MarkPatientDeceased component by @denniskigen in #2046
- (feat) Order basket UI tweaks by @denniskigen in #2054
- (feat) O3-4084: Implement numeric validation for lab results entry form by @donaldkibet in #2061
- (feat) O3-4087: Enable input for set-based lab tests on lab results form and handle partial set results by @donaldkibet in #2062
- (feat) O3-3839 Allowing of printing lab request by @CynthiaKamau in #2063
- (feat) O3-4088: Sort diagnoses tags in visit summary by rank by @usamaidrsk in #2064
- (feat) Vitals header UI enhancements by @denniskigen in #2069
- (feat) O3-4117: Add decimal point validation for numeric test results fields by @donaldkibet in #2074
- (feat) O3-4166: add option to hide links in vitals header by @chibongho in #2090
- (feat) O3-4186: Allow sorting in the attachments table by @vasharma05 in #2099
- (feat) O3-4175: add ability to view and edit completed lab results by @Omoshlawi in #2100
- (feat) O3-4071: Improve Start Visit Form to support "Visit Locations" by @mogoodrich in #2103
- (feat) O3-4190 Add ability to filter lab orders by type and date by @CynthiaKamau in #2104
- (feat) O3-4223: Allow adding different order types in the order basket by @vasharma05 in #2109
- (feat) O3-4208: Add Configuration to Display Lab Reference Number Input on the Test Order Form by @usamaidrsk in #2111
- (feat) O3-4238: Mutate the vitals and biometrics data when vitals O3 form is submitted by @vasharma05 in #2126
- (feat) O3-4200: Make visit form usable in other apps by @chibongho in #2134
- (feat) Config to scale the patient identifier sticker content by @vasharma05 in #2135
- (feat) O3-3741: Enable form navigation via sidebar by @samuelmale in #2142
- (feat) order-basket: Improve a11y and styling of status tags by @denniskigen in #2152
Refactors
- (refactor) Port modal registrations to use the modal system by @denniskigen in #2044
- (refactor) Refactor requests to REST endpoints to use restBaseUrl by @denniskigen in #2072
- (refactor) Switch visit requests to use promises instead of observables by @denniskigen in #2073
- (refactor) Remove the dependency of using
patientUuid
from the URL by @vasharma05 in #2080 - (refactor) O3-4108: Remove test counts of lab results on lab tests panel by @CynthiaKamau in #2082
- (refactor) O3-4125: Vitals and Biometrics should not rely on concept search by @D-matz in #2125
- (refactor) Use react hook form's isSubmitting state by @denniskigen in #2141
- (refactor) Use concept resource for conditions search by @denniskigen in #2143
- (refactor) programs-form: Improve error handling and loading states by @denniskigen in #2160
Bug fixes
- (fix) O3-2579 Lab results: Too much grey space by @suubi-joshua in #1925
- (fix) O3-3982: Validate against starting a visit at a future time by @njiddasalifu in #2013
- (fix) O3-3992: Add safeguards for service queue entry creation to visit form by @makombe in #2014
- (fix) Pass patient as a prop where-ever possible in the chart by @ibacher in #2015
- (fix) O3-3979: Visit start date field not populating correctly when editing a visit by @Vijaykv5 in #2019
- (fix) O3-3897: Improvements to the 'all encounters' tab on the visits page by @mccarthyaaron in #2024
- (fix) Fix required validation in Visit Note form by @denniskigen in #2025
- (fix) UI fixes for the Individual Tests view of the Results dashboard by @denniskigen in #2026
- (fix) Visit summary medications list fixes by @denniskigen in #2029
- (fix) Remove automatic appending of Zeros to numeric lab results by @makombe in #2030
- (fix) Fix styling on vitals header by @donaldkibet in #2032
- (fix) Pass patient object to banner actions menu by @denniskigen in #2040
- (fix) Fix invalid prop warning for some Carbon components by @denniskigen in #2048
- (fix) Miscellaneous test results viewer fixes by @denniskigen in #2050
- (fix) O3-3978: Fix error in orders details table when orders are potentially undefined by @mccarthyaaron in #2058
- (fix) Fix
Last completed date
in forms dashboard by @denniskigen in #2059 - (fix) O3-4059 Fix Inaccurate Test Result Time Stamps by @CynthiaKamau in #2067
- (fix) O3-3627: Hide filetype extension for image attachment by @suubi-joshua in #2071
- (fix) O3-3614: Fix handling of the priority field in the lab results form by @jwnasambu in #2092
- (fix) O3-4144: Use allowedFileExtension Hook rather than allowedExtensions from Context type. by @suubi-joshua in #2107
- (fix) O3-4208: Fix
accessionNumber
validation to be nullable by @usamaidrsk in #2119 - (fix) O3-4009: Display stock information only when available by @usamaidrsk in #2128
- (fix) Update the description of the
printScale
configuration by @vasharma05 in #2136 - (fix) Add keys to visit attribute tags by @denniskigen in #2137
- (fix) Conditions list not updating after deleting a condition by @denniskigen in #2138
- (fix) Attempt to fix e2e test errors by @ibacher in #2149
- (fix) O3-4271: Fix callback registration in visit form by @chibongho in #2151
- (fix) Prevent status button text wrapping in the visit header by @denniskigen in #2158
- (fix) O3-2846: Adding Medications from Past Medications Section Places Them in Active Medications List by @jwnasambu in #2120
Housekeeping
- (chore) Updates @carbon/react dependency to match FE requirement by @pirupius in #1891
- (chore) O3-3917: Cache playwright browsers install step in E2E workflow by @virajwathsalag in #2000
- (chore) bump RFE to pick bug fixes by @pirupius in #2001
- (chore) Update react form engine lib by @NethmiRodrigo in #2036
- (chore) Bump RFE version with fixes for QA by @pirupius in #2055
- (chore) Bump RFE with expression logic, collapse toggle and other fixes by @pirupius in #2065
- (chore) Update translations from Transifex by @github-actions in #2056
- (chore) Bump RFE with calculate expression initialization fix by @pirupius in #2068
- (chore) Update translations from Transifex by @github-actions in #2070
- (chore) Bump Playwright by @kdaud in #2083
- (chore) Bump express from 4.19.2 to 4.21.0 by @dependabot in #2011
- (chore) Bump dompurify from 2.4.7 to 2.5.6 by @dependabot in #2012
- (chore) Bump body-parser from 1.20.2 to 1.20.3 by @dependabot in #2066
- (chore) Bump rollup from 2.75.7 to 2.79.2 by @dependabot in #2077
- (chore) Flag duplicate imports by @denniskigen in #2106
- (chore) Bump RFE version for QA by @pirupius in #2110
- (chore) Bump form engine version by @samuelmale in #2112
- (Chore) Bump RFE sidenav and calculated value null safety by @pirupius in #2116
- (chore) Update translations from Transifex by @github-actions in #2117
- (chore) Bump form engine version by @usamaidrsk in #2118
- (chore) Bump RFE with bug fixes to obsGroup and condition sections by @pirupius in #2122
- (chore) Update translations from Transifex by @github-actions in #2123
- (chore) RFE 3.0.0 Release by @pirupius in #2127
- (chore) Bump nanoid from 3.3.6 to 3.3.8 by @dependabot in #2145
- (chore) Update translations from Transifex by @github-actions in #2131
- (chore) Bump rfe with translation and calcMonthsOnART fixes by @pirupius in #2144
- (chore) Extract translations from extension, hook and workspace files by @vasharma05 in #2146
- (chore) Scope testing-library plugin to lint tests only by @denniskigen in #2153
Testing
- (test) O3-3862: add e2e tests to modify and discontinue lab test order by @chimanwadike in #1973
- (test) Add tests for the Results Viewer tree view wrapper by @ODORA0 in #2084
- (test) Add tests for lab tests panel view by @ODORA0 in #2086
- (test) O3-4153: Add tests for results viewer main extension component by @CynthiaKamau in #2087
- (test) O3-4165: Add tests for lab test panel view by @ODORA0 in #2088
- (test) O3-4156: Add tests for grouped timeline component by @CynthiaKamau in #2093
- (test) O3-4179: Add tests for the Results viewer Trendline component by @CynthiaKamau in #2097
- (test) O3-4152: Add tests for range selector component by @CynthiaKamau in #2105
- (test) Add tests for order details component by @CynthiaKamau in #2115
- (test) Add tests for the Delete Condition modal by @denniskigen in #2140
New contributors
- @virajwathsalag made their first contribution in #2000
- @ynurmahomed made their first contribution in #1989
- @D-matz made their first contribution in #2125
- @Omoshlawi made their first contribution in #2100
Full Changelog: v8.2.0...v9.0.0