Releases: openmrs/openmrs-esm-patient-chart
v8.2.0
What's Changed
Features
- (feat) O3-3024: Implement a two column layout for large desktops by @jayasanka-sack in #1772
- (feat) O3-3641: Add pagination to the medications table by @donaldkibet in #1938
- (feat) O3-3176: Improvements to the overdue vitals tag by @miirochristopher in #1939
- (feat) O3-3656: Change the style of abnormal and dangerous lab results by @CynthiaKamau in #1942
- (feat) O3-3683: Add aria-labels to Start and End visit buttons in the visit header by @Vijaykv5 in #1946
- (feat) O3-3657: Adapt vitals header styling for small screens by @denniskigen in #1949
- (feat) O3-3657: Tweak styling of abnormal results in the vitals header and data tiles by @Twiineenock in #1951
- (feat) O3-3748: Add
data-openmrs-role
data attributes to DOM elements by @Vijaykv5 in #1953 - (feat) O3-3660: Show trend results view in a modal by @CynthiaKamau in #1948
- (feat) O3-3635: Orders table modify action should launch workspace directly by @jwnasambu in #1950
- (feat) O3-3544: Add search bar to the orders table by @arodidev in #1936
- (feat) O3-3794 Opening of clinical-forms-workspace on form close should be conditional by @kajambiya in #1962
- (feat) O3-3799: Open HTML Form Entry Forms within Form Workspace by @mogoodrich in #1963
- (feat) O3-3865: Avail entire patient object to angular form engine by @donaldkibet in #1975
- (feat) Lab results form improvements by @denniskigen in #1985
- (feat) Remove double bottom borders from datatables by @denniskigen in #1993
- (feat) O3-3866: Allow customized message/dialog for warning when clos… by @mogoodrich in #1982
Refactors
- (refactor) Trivial clean-up in test results viewer by @mccarthyaaron in #1751
- (refactor) Update Carbon styling imports and tokens by @denniskigen in #1941
- (refactor) O3-3654: Results filter refinement by @arodidev in #1943
Bug fixes
- (fix) O3-3621: Lab test type should not be editable in the lab order form by @vasharma05 in #1930
- (fix) O3-3573: The Modify order action should take one to modify the order by @miirochristopher in #1928
- (fix) Fix feature flag for the patient flags app by @ibacher in #1947
- (fix) Correctly pick the current location in the Edit visit form by @denniskigen in #1955
- (fix) O3-3715: Add phone number person attribute to patient banner config by @denniskigen in #1961
- (fix) O3-3781: Custom Widgets throwing error when rendering. by @usamaidrsk in #1967
- (fix) Disable scroll wheel functionality in the drug order form by @denniskigen in #1971
- (fix) Move HtmlFormEntryForm type to patient-common-lib by @ibacher in #1983
- (fix) O3-3622: Allow saving lab reference number with the lab order by @vasharma05 in #1968
- (fix) O3-3845: Editing a visit does not immediately update the displayed values by @mccarthyaaron in #1970
- (fix) Fix DefaultWorkspaceProps type annotations by @denniskigen in #1996
- (fix) O3-3478: Update E2E test for the results viewer by @vasharma05 in #1998
- (fix) O3-3625 Lab Orders Completed via the Orders Section Still Show as Ord… by @CynthiaKamau in #1931
Housekeeping
- (chore) Bump Playwright by @kdaud in #1944
- (chore) Conditionally set server-token for CI workflow jobs by @denniskigen in #1954
- (chore) Bump react form engine library by @kajambiya in #1965
- (chore) Bump react form engine version by @samuelmale in #1977
- (chore) Bump Angular to v17 by @denniskigen in #1976
- (chore) Bump react form engine version by @kajambiya in #1978
- (chore) Bump the react Form Engine version by @hadijahkyampeire in #1995
- (chore) Bump Angular form engine by @denniskigen in #1986
- (chore) Bump webpack from 5.89.0 to 5.94.0 by @dependabot in #1992
- (chore) Release v8.2.0 by @denniskigen in #1988
Tests
- (test) Remove unnecessary partial mocks; improve typing in tests by @denniskigen in #1933
- (test) O3-3679: Test form state retention upon minimizing the forms workspace by @kdaud in #1945
- (test) Fix failing tests due to importDynamic initialization error by @denniskigen in #1952
- (test) Add E2E test for editing existing visits by @denniskigen in #1956
- (test) Amend E2E test for retained inputs in clinical forms workspace by @denniskigen in #1959
- (test) O3-3766: Fill a form with a browser slightly ahead of time. by @kdaud in #1958
- (test) Update vitals & biometrics e2e test by @VeronicaMuthee in #1997
New Contributors
- @miirochristopher made their first contribution in #1928
- @VeronicaMuthee made their first contribution in #1997
Full Changelog: v8.1.0...v8.2.0
v8.1.0
What's Changed
Features
- (feat) Update custom representation to match required properties for encounter observation by @donaldkibet in #1845
- (feat) O3-2626: Add the ability to upload multiple images in the Visit Note form by @jwnasambu in #1826
- (feat) O3-3165: Add confirmation modal when deleting repeat question by @NethmiRodrigo in #1840
- (feat) O3-3253: Move the details panel button below the Patient Header in the workspace by @usamaidrsk in #1844
- (feat) O3-2117: Save orders on a new encounter if there is no encounter by @usamaidrsk in #1727
- (feat) O3-3375: Align visit form queue fields to work in visit start form on patient chart by @donaldkibet in #1860
- (feat) O3-2953: Add the ability to edit and delete vitals and biometrics by @senthil-athiban in #1812
- (feat) O3-3276: Add support for printing patient identification stickers by @jnsereko in #1847
- (feat) O3-3365: Add the ability to record non-coded cause-of-death by @jwnasambu in #1876
- (feat) O3-3365: Make freeTextFieldConceptUuid configurable by @denniskigen in #1880
- (feat) O3-3552: Add feature flag for printing patient identifier stickers by @jnsereko in #1893
- (feat) Minor style tweak to order details table status pills by @denniskigen in #1905
- (feat) O3-3608: Adjust step precision for the dose field in the DrugOrder form by @its-kios09 in #1911
- (feat) O3-3179: Change the styling of the Patient Header for deceased patients by @jwnasambu in #1854
- Revert "(feat) O3-2953: Add the ability to edit and delete vitals and biometrics" by @denniskigen in #1923
Refactors
- (refactor) Refactor modals to match naming conventions by @denniskigen in #1875
- (refactor) O3-3445: Action button items should use the OverflowMenuItem component by @denniskigen in #1869
- (refactor) Refactor Mark patient deceased form and Mark patient alive modal by @denniskigen in #1872
- (refactor) Refactor conditions form validation logic by @denniskigen in #1881
- (refactor) O3-3522: Replace module-local translations with core translations by @jwnasambu in #1895
Bug fixes
- (fix) O3-3158: Restore abortControllers by @ibacher in #1843
- (fix) O3-3175: Remove Breadcrumbs menu from Patient Chart by @kb019 in #1832
- (fix) O3-3284: Display correctly formatted patient name throughout patient chart apps by @xprl-gjf in #1849
- (fix) O3-2654: Process visit attributes separately from the visit payload by @usamaidrsk in #1616
- (fix) O3-3112: Update workspace header slot name in the form-engine-app
routes.json
by @usamaidrsk in #1852 - (fix) O3-3187: Fix borders used to highlight abnormal vitals by @Twiineenock in #1848
- (fix) Change the form collapse toggle color on tablet by @denniskigen in #1857
- (fix) fix handle absence of visit attributes when adding extra visit attributes. by @donaldkibet in #1858
- (fix) Fix duplicate translations by @denniskigen in #1862
- (fix) Replace deprecated displayName with getPatientName by @denniskigen in #1879
- (fix) O3-3473: Fix datepickers in the Print test results modal by @denniskigen in #1878
- (fix) Improvements to workspace system styling (supports O3-3246) by @brandones in #1868
- (fix) O3-3473: Fix results viewer print modal date range selection by @denniskigen in #1883
- (fix) UI fixes for vitals and biometrics form fields by @denniskigen in #1884
- (fix) Use optional chaining to safely access current session provider by @charity553 in #1882
- (fix) It should be possible to place lab orders by @ibacher in #1890
- (fix) Remove deprecated workspace components and fix tests by @denniskigen in #1896
- (fix) Allow cancelling orders and address various small fixes by @ibacher in #1899
- (fix) O3-3469: Fix allergy data tile display for severe allergies by @denniskigen in #1897
- (fix) O3-3547: Handle possibly undefined encounter.obs in LabResultsForm by @PiusKariuki in #1903
- (fix) O3-2843: Ability to re-enroll in completed programs by @jwnasambu in #1720
- (fix) O3-2995: Allow empty quantity to dispense and prescription refills in Drug Order Form by @mccarthyaaron in #1754
- (fix) O3-3543: Fix test types search in the lab order workspace by @arodidev in #1910
- (fix) O3-3545: Remove duplicate lab tests in lab order workspace by @ibacher in #1916
- (fix) Abatement date for a condition should be later than the onset date by @denniskigen in #1920
- (fix) O3-3609: Fix program enrollment eligibility logic by @denniskigen in #1915
- (fix) O3-3571: Use
issued
property to determine when test results were issued by @arodidev in #1907 - Revert "(fix) O3-3571: Use
issued
property to determine when test results were issued" by @brandones in #1924
Housekeeping
- (chore) Bump react and related types by @denniskigen in #1842
- (chore) Bump react form engine by @samuelmale in #1846
- (chore) Bump react form engine by @arodidev in #1853
- (chore) Bump react form engine by @denniskigen in #1863
- (chore) Bump turbo by @denniskigen in #1861
- (chore) Bump react form engine by @kajambiya in #1864
- (chore) Update translations from Transifex by @github-actions in #1795
- (chore) Bump react form engine by @NethmiRodrigo in #1867
- (chore) Bump react form engine by @denniskigen in #1874
- (chore) Update E2E tests to use .env file instead of example.env by @jayasanka-sack in #1877
- (chore) O3-3372: Use React Form Engine in E2E Tests by @jayasanka-sack in #1859
- (chore) Update translations from Transifex by @github-actions in #1866
- (chore) Add remote caching to E2E workflow using turborepo-gh-artifacts by @denniskigen in #1887
- (chore) Bump react form engine by @hadijahkyampeire in #1889
- (chore) Bump RFE version by @kajambiya in #1892
- (chore) Update translations from Transifex by @github-actions in #1904
- (chore) Capture E2E server logs even on failure by @jayasanka-sack in #1888
- (chore) Bump React Form Engine library by @samuelmale in #1913
- (chore) Update translations from Transifex by @github-actions in #1906
- (chore) Update translations from Transifex by @github-actions in #1917
- (chore) Release v8.1.0 by @denniskigen...
v8.0.1
What's Changed
- (feat) O3-2430: User should be able to look up frequency in dropdown by abbreviation by @piyushmishra1416 in #1767
- (chore) Release v8.0.1 by @vasharma05 in #1841
Full Changelog: v8.0.0...v8.0.1
v8.0.0
What's changed
Breaking changes
- (BREAKING) O3-1422 / O3-2724: Move workspace system into the framework by @brandones in #1796
New features
- (feat) O3-2647: Add ability to add lab results and view within orders widget by @pirupius in #1731
- (feat) Only show diagnoses concepts in visit notes diagnosis search by @nanfuka in #1742
- (feat) Reuse upcoming appointment work to mark appointments as
Checked in
by @donaldkibet in #1743 - (feat) Disable encounter date field when pre-filled by @icrc-jofrancisco in #1747
- (feat) O3-2627: Remove leading dot from allowedExtensions MIME types config by @icrc-loliveira in #1780
- (feat) O3-3084: Sort fetched tests alphabetically in the lab order search inside the order basket by @vasharma05 in #1797
- (feat) O3-3077: Add validation to restrict users from initiating future visits by @donaldkibet in #1793
- (feat) Update Angular form engine translations by @denniskigen in #1801
- (feat) O3-3112: Add form collapse toggle to the
esm-form-engine-app
by @usamaidrsk in #1814 - (feat) O3-3133: Adapt cancel logic in the react form engine workspace by @denniskigen in #1816
- (feat) O3 3128: Add extension slots to lab and drug order forms by @donaldkibet in #1818
- (feat) O3-2626: Add useAllowedFileExtensions hook to Common Lib by @denniskigen in #1824
- (feat) O3-3156: Submitting the start visit form should mutate appointments by @mogoodrich in #1825
- (feat) O3-3158: Conditionally render Patient Header in the Start Visit form by @mogoodrich in #1823
Refactors
- (refactor) O3-2831: Move patient banner into styleguide by @brandones in #1645
- (refactor) Refactor move patient to next queue in visit header to ali… by @makombe in #1735
- (refactor) Remove duplicate type from SingleSpaProps type annotation by @denniskigen in #1760
- (refactor) Update PatientProgram interface to display program workflows and states by @CynthiaKamau in #1820
- (refactor) O3-2626: Reuse useAllowedFileExtensions hook from Common Lib by @denniskigen in #1827
- (refactor) O3-2891: Refactor Patient Appointments ESM into Appointments ESM by @mogoodrich in #1739
Bug fixes
- (fix) 03-2959: Update E2E tests for clinical forms workspace by @chimanwadike in #1732
- (fix) O3-2969: The vitals table doesn't display warnings for abnormal values after the first page by @mccarthyaaron in #1738
- (fix) Various fixes for the visit notes form by @denniskigen in #1744
- (fix) O3-2977: Make the end date field editable for inactive conditions by @denniskigen in #1750
- (fix) O3-2978: Update E2E test steps for attachment workflow by @kdaud in #1758
- (fix) O3-2627: Improvements to the visit notes image upload functionality by @jwnasambu in #1748
- (fix) O3-2937: Make clinical status mandatory in the conditions form by @denniskigen in #1757
- (fix) O3-2657: Show inline errors when saving orders fails by @usamaidrsk in #1667
- (fix) O3-2604: Add a “refresh data“ button to the test results viewer by @jwnasambu in #1671
- (fix) O3-3046: Allow sorting by date in vitals and biometrics table by @vasharma05 in #1775
- (fix) O3-2813 disable test type edit when modifying lab orders by @pirupius in #1782
- (fix) O3-3046: Updated the interpretation keys for vital signs matching table headers by @vasharma05 in #1791
- (fix) O3-2975: Encounter datetime should not be sent when saving vitals and biometrics form by @vasharma05 in #1790
- (fix) O3-3093: React form engine workspace should close after submitting a form by @vasharma05 in #1804
- (fix) Use order reasons should correctly chunk concept references and load all of them by @ibacher in #1813
- (fix) O3-3133: Clicking the cancel button should not close the workspace by @denniskigen in #1815
- (fix) O3-2852: Fix the viewport size of the Start Visit form on a tablet by @Madhu-mac in #1765
- (fix) O3-3158: Follow-up commit fixing patientUuid sometimes undefined by @ibacher in #1831
- (fix) O3-3196: Fix diagnoses tags display on tablet by @denniskigen in #1834
- (fix) O3-3195: Fix rendering logic for the weight tile by @jona42-ui in #1835
- (fix) Return encounter type uuid from encounter type object by @arodidev in #1836
- (fix) O3-3046: Allow sorting vitals, biometrics and conditions rows based on different sort functions by @vasharma05 in #1779
- (fix) O3-2717: Form workspace shrinks when opened while on the Vitals & Biometrics page by @mccarthyaaron in #1745
Housekeeping
- (chore) Bump @openmrs/ngx-formentry by @icrc-loliveira in #1740
- (chore) Bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in #1736
- (chore) Bump webpack-dev-middleware from 5.3.3 to 5.3.4 by @dependabot in #1753
- (chore) Bump @openmrs/ngx-formentry by @icrc-loliveira in #1752
- (chore) Bump @openmrs/ngx-formentry by @icrc-jofrancisco in #1769
- (chore) Separate linting and formatting concerns by @denniskigen in #1774
- (chore) Update translations from Transifex by @github-actions in #1707
- (chore) Bump playwright by @kdaud in #1781
- (chore) Add Eslint Rule to validate exhaustive deps on React hooks by @hadijahkyampeire in #1773
- (chore) Flag rules-of-hooks lint violations by @denniskigen in #1784
- (chore) Update translations from Transifex by @github-actions in #1776
- (chore) Bump @openmrs/ngx-formentry by @vasharma05 in #1788
- (chore) Bump @openmrs/esm-form-engine-app by @CynthiaKamau in #1789
- (chore) Remove orders widget feature flag by @pirupius in #1787
- (chore) Bump Angular form engine by @denniskigen in #1799
- (chore) Bump
@openmrs/esm-form-engine-lib
by @vasharma05 in #1807 - (chore) Bump @openmrs/openmrs-form-engine-lib by @denniskigen in #1808
- (chore) O3-3114: Bump react form engine by @CynthiaKamau in #1809
- (chore) Clean up unused webpack config and bumps engine by @pirupius in #1810
- (chore) Bump form-engine with added translations by @vasharma05 in #1811
- (chore) Bump react form engine by @denniskigen in #1817
- (chore) Bump ejs from 3.1.9 to 3.1.10 by @dependabot in #1819
- (chore) Bump playwright by @kdaud in #1822
- (chore) Bump form-engine lib by @samuelmale in https://github.com/openmrs/openmrs-esm-patient-c...
v7.1.0
What's Changed
⭐️ New features
- (feat) O3-2814: Add field validation to the lab order form by @usamaidrsk in #1649
- (feat) O3-2779: Error messages in drug order form should be translated by @vasharma05 in #1652
- (feat) The lab order form should have a reason for ordering field by @makombe in #1458
- (feat) Add mode prop to React Form Engine component to handle different views by @CynthiaKamau in #1678
- (feat) O3-2859: Change Patient Appointments to use shared appointments form by @mogoodrich in #1674
- (feat) O3-2760: Present workspaces should leverage the promptBeforeClosing function by @vasharma05 in #1613
- (feat) O3-2760: Add a closeWorkspaceWithSavedChanges function to the workspace API by @vasharma05 in #1689
- (feat) Add ability to cancel orders by @pirupius in #1640
- (feat) Makes orders widget expandable and adds detailed order view by @pirupius in #1696
- (feat) Add config to handle bill submission in start visit form by @CynthiaKamau in #1700
- (feat) O3-2304: Hide side menu panel on item click by @usamaidrsk in #1693
- (feat) Enhance user experience with clearer error messages on form submission by @donaldkibet in #1697
- (feat) O3-2885: Fix allowed image types in visit notes form image uploader by @jnsereko in #1685
- (feat) Conditionally make the order reason field of the lab order form required when configured by @makombe in #1698
- (feat) Add functionality to allow deleting and editing an allergy by @jnsereko in #1703
- (feat) Update enrollment and discontinuation date to pick correct time zone by @donaldkibet in #1719
🐛 Bug fixes
- (fix) Fix medications not loading when quantity unit property is null by @makombe in #1656
- fix: Allowing image upload from computer by @Pradipram in #1654
- (fix) O3-2807: Quantity Units should be required when a quantity to dispense is specified by @mccarthyaaron in #1636
- (fix) O3-2832 : Implemented validation check for Primary Diagnosis and Secondary Diagnosis in visit-note by @senthil-k8s in #1647
- (fix) O3-2877: Make the drug search debounce delay value configurable by @jwnasambu in #1680
- (fix) O3-2907: Always show order type filters in the order details table by @mccarthyaaron in #1706
- (fix) O3-2867: Add required validation to the conditions form's condition field by @Twiineenock in #1665
- (fix) Revalidate visits after submitting the visit notes form by @nanfuka in #1701
- (fix) O3-2945: Results viewer shows a loading UI infinitely while in Tree View mode by @mccarthyaaron in #1726
- (fix) Fix spacing around address empty state in patient banner by @denniskigen in #1729
🧹 Housekeeping
- (chore) Bump react form engine version by @jabahum in #1655
- (chore) Remove outdated comment by @brandones in #1660
- (chore) Remove duplicated SWR config by @denniskigen in #1675
- (chore) Remove lerna.json by @denniskigen in #1723
- (chore) Upgrade peer-dependancy versions of single-spa and single-spa-react by @jayasanka-sack in #1669
- (chore) Added French translations for "Next" and "Previous" on form entry app by @icrc-psousa in #1677
- (chore) Remove timing env from lint script in all packages by @denniskigen in #1679
- (chore) Update translations from Transifex by @befantasy in #1615
- (chore) Bump ip from 1.1.8 to 1.1.9 by @dependabot in #1682
- (chore) Loosen fhir2 dependency requirement by @denniskigen in #1709
- (chore) Fix-up publish scripts by @ibacher in #1722
- (chore) Switch from lerna to yarn for publishing by @denniskigen in #1718
- (chore) Release v7.1.0 by @jayasanka-sack in #1734
- (chore) Bump @openmrs/ngx-formentry by @icrc-psousa in #1684
- (chore) Bump playwright by @kdaud in #1715
- (chore) O3-2934: Update urls in the PR template by @kdaud in #1717
New Contributors
- @jabahum made their first contribution in #1655
- @senthil-k8s made their first contribution in #1647
- @himanshu-malviya15 made their first contribution in #1673
- @ODORA0 made their first contribution in #1688
- @github-actions made their first contribution in #1683
- @Twiineenock made their first contribution in #1665
Thank you to all contributors for embodying the spirit of 'write code. save lives' in every line committed. Your commitment to OpenMRS is invaluable and truly makes a difference in healthcare worldwide. ❤️
Full Changelog: v7.0.1...7.1.0
v7.0.1
What's Changed
- (fix) Anchor allergy form action buttons to page bottom by @denniskigen in #1644
- (fix) Fix display of menu items in the side rail and bottom nav by @denniskigen in #1648
- (feat) Anchor workspace actions to the bottom of the screen in tablet mode by @donaldkibet in #1650
- (fix) O3-2826: Fix reading properties of null (reading 'deceasedDateTime') when navigating to the patient chart. by @usamaidrsk in #1646
- (fix) Saving the medication should not send the dateActivated in the payload by @vasharma05 in #1635
- (chore) Release v7.0.1 by @jayasanka-sack in #1651
Please check v7.0.0 changelog as both versions ships with 3.0.0.beta.17 release.
Full Changelog: v7.0.0...v7.0.1
v7.0.0
What's Changed
⭐️ New Features
- (feat) Order summary/history by @pirupius in #1463
- (feat) O3-2601: Hide bottom navigation on tablet when filling forms by @usamaidrsk in #1531
- (feat) O3-2614: Move Allergen tabs to a single picker in allergy form by @jayasanka-sack in #1525
- (feat) Revitalized Immunization Support by @samuelmale in #1572
- (feat) O3-2755: Use snackbar notification in allergies app by @njiddasalifu in #1603
- (feat) Added translations for patient flags workspace by @vasharma05 in #1624
- (feat) Restrict attachments to configured allowed extensions by @icrc-loliveira in #1584
- (feat) Support for pre-filled questions by @icrc-jofrancisco in #1602
- (feat) O3-2782: Show an inline notification for camera access errors in the add attachment modal by @usamaidrsk in #1631
- (feat) O3-2716: Prompt users to close workspaces when navigating from the patient chart by @usamaidrsk in #1607
- (feat) Add infinite loading to the visits summary page by @denniskigen in #1643
🔧 Refactors
- (refactor) Separate Tags logic into its own function by @jwnasambu in #1526
🐛 Bug Fixes
- (fix) Make it so visit diagnosis error doesn't crash the app by @brandones in #1521
- (fix) Allow edit O2 form in visits widget by @icrc-jofrancisco in #1489
- (fix) Workspace window should have the size of the preferred window state by @vasharma05 in #1444
- (fix) 03-2577: Results tree view should be collapsed by default by @gitcliff in #1524
- (fix) O3-2642: Add configurable link to patient chart on the relationship by @CynthiaKamau in #1528
- (fix) O3-2609: Fix rendering issue in the patient details tile extension by @hadijahkyampeire in #1533
- (fix) O3-2721: Fix empty state shown when a visit has no encounters by @psworld in #1565
- (fix) O3-2719: Inconsistent UI in visit summaries tabs when Empty State by @psworld in #1567
- (fix) O3-2651: Record Vitals: Error message for invalid values pops up only once by @psworld in #1578
- (fix) O3-2709: Wrong image placeholder used for add image in patient registration by @psworld in #1580
- (fix) O3-2667: Fix appointment form not saving after appointment date change by @chibongho in #1554
- (fix) O3-2671: Lab orders added directly to the basket should be marked incomplete by @jwnasambu in #1552
- (fix) O3-2729: Reduce white space by @jwnasambu in #1583
- (fix) O3-2666: Order getting removed after clicking on Back to order basket by @usamaidrsk in #1549
- (fix) O3-2718: Inconsistent notification style upon cancelling an active visit by @psworld in #1566
- (fix) O3-2707: Patient Search: Start visit button doesn't work by @usamaidrsk in #1570
- (fix) O3-2662: Unable to attach images when registering/editing a patient by @jwnasambu in #1585
- (fix) Fix label rendering bug in Contact details component by @denniskigen in #1641
🧹 Housekeeping
- (chore) Bump @openmrs/openmrs-form-engine-lib by @larslemos in #1537
- (chore) Update Angular form engine version by @ibacher in #1540
- (chore) Bump @openmrs/ngx-formentry by @denniskigen in #1548
- (chore) Update GitHub Actions and Node versions by @denniskigen in #1556
- (chore) Migrate to newer Transifex version by @rbuisson in #1575
- (chore) Bump @openmrs/esm-patient-common-lib peer dependency by @denniskigen in #1574
- (chore) Adjust cron scheduling for tx-pull workflow by @befantasy in #1609
- (chore) Only auto-generate English translations by @ibacher in #1629
- (chore) Add GitHub Actions flows to automate Transifex by @ibacher in #1592
- (chore) Remove biometrics from tx config by @ibacher in #1594
- (chore) Enable continue-on-error for deploy job in CI workflow by @denniskigen in #1593
- (chore) Release v7.0.0 by @jayasanka-sack in #1639
New Contributors
- @gitcliff made their first contribution in #1524
- @usamaidrsk made their first contribution in #1531
- @chibongho made their first contribution in #1554
- @suubi-joshua made their first contribution in #1551
- @psworld made their first contribution in #1565
- @cioan made their first contribution in #1568
- @befantasy made their first contribution in #1582
- @Pradipram made their first contribution in #1604
- @arodidev made their first contribution in #1611
- @Vijaykv5 made their first contribution in #1626
- @sherrif10 made their first contribution in #1621
Thank you to all contributors for embodying the spirit of 'write code. save lives' in every line committed. Your commitment to OpenMRS is invaluable and truly makes a difference in healthcare worldwide.
Full Changelog: v6.1.0...v7.0.0
v6.1.0
What's Changed
This release builds upon the foundation laid by v6.0.1, addressing various issues and incorporating valuable contributions from the community.
Fixes
- (fix) 03-2588: Tweak workspace alert badge UI by @jwnasambu in #1499
- (fix) O3-2611: Workaround for fixing form entry styles by @denniskigen in #1509
- (fix) Fix workspace header action button borders by @denniskigen in #1511
- (fix) Fix rendering error in conditions form by @denniskigen in #1512
- (fix) Missing translations in forms workspace title and vitals overview component by @vasharma05 in #1506
- (fix) Remove form-engine-app by @ibacher in #1514
- (fix) O3-2612: Attachments App Crashes O3, then blocks adding attachments for any patient by @brandones in #1515
- (fix) Fix the workspace maximize action button by @vasharma05 in #1520
Feat
- (feat)O3 2570: Use the new snackbar in patient chart(6 apps) by @jona42-ui in #1478
- (feat) Tweak aspects of the patient lists workspace by @denniskigen in #1496
- (feat) O3-2571: Use new snackbar notification in conditions, notes, orders and vitals apps by @njiddasalifu in #1502
- (feat) O3-2571: Using the new snackbar in programs app by @njiddasalifu in #1503
- (feat) O3-2580: Use the new snackbar in other patient chart apps(part 3) by @hadijahkyampeire in #1476
- (feat) Add ability to conditionally show visit attributes by @donaldkibet in #1513
Tests
- (e2e) Test drug order flow by @denniskigen in #1494
- (test) Remove async waitFor from tests by @denniskigen in #1500
- (e2e) Test clinical forms workflow by @denniskigen in #1504
- (e2e) Test start visit workflow by @denniskigen in #1516
Chore
- (chore) Add common lib devDependency to packages by @denniskigen in #1491
- (chore) ESLint: Add consistent-type-imports and no-console rules by @denniskigen in #1498
- (chore) Bump
@openmrs/openmrs-form-engine-lib
by @larslemos in #1493 - (chore) Bump semver from 5.7.1 to 5.7.2 by @dependabot in #1485
- (chore) Upgrade tree-model to 1.0.7 by @brandones in #1505
- (chore) Bump
@openmrs/openmrs-form-engine-lib
by @larslemos in #1507 - Bump word-wrap from 1.2.3 to 1.2.5 by @dependabot in #1510
- Bump @adobe/css-tools from 4.3.1 to 4.3.2 by @dependabot in #1517
- (chore) Bump @openmrs/ngx-formentry by @vasharma05 in #1519
- (chore) Release v6.1.0 by @jayasanka-sack in #1518
New Contributors
- @jona42-ui made their first contribution in #1478
Full Changelog: v6.0.0...v6.1.0
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 https://github.com/openmrs/openmrs-esm-pati...
v5.1.0
Highlights
React Hook Form and Zod
Following excellent work by @lumuchris256, we've migrated most of the vanilla React forms in the patient chart to use React Hook Form and Zod. This has allowed us to remove a lot of boilerplate code and make the forms more robust. The hope, moving forward, is that these tools will make form validation in React more efficient, maintainable, and less error-prone.
New lab order form and improvements to the order basket
Thanks to excellent work by @brandones, we now have a new lab order form that allows for the ordering of lab tests. Additionally, the medication order form has been improved to match the functionality described in the related design documentation. These changes pave the way for the introduction of various different types of orders in the patient chart.
Forms and Notes widget replaced by the Clinical Form workspace
The forms and notes widget has been replaced by the Clinical Form workspace, which is accessible by clicking its icon in the side rail. The workspace can be collapsed and expanded, and can also be hidden by clicking the "x" icon in the top right corner of the workspace if you have an active form open with unsaved changes.
The Test Results app is now the Labs app
In keeping with the next iteration of the Lab orders functionality, the Test Results
frontend module got renamed to Labs
. With even more iterations on the horizon for the Lab orders feature squad, the app's scope will change significantly.
Broader i18n coverage
Courtesy of great work by @vasharma05 and @icrc-jofrancisco, this release provides various enhancements to our i18n effort. The Angular form engine now loads locale data automatically from O3, amending elements in the form layout to match the selected locale, if translations are provided for it. Translations are now available for components in the common-lib app, which means we're nearing ever closer to a future where strings in the Patient Chart are fully translated.
Improved workspace implementation
We've iterated on the latest design documentation for the workspace to deliver a new and improved workspace experience. @vasharma05 has a handy guide if you want to learn more about all the possibilities available when registering a workspace.
Support for printing test results and vitals
Great work by @nanfuka means we now have the ability to print Vitals and Test Results data. The print button is a configurable property that can be toggled on in each of the frontend module's configuration schemas. Once turned on, a Print button appears in the widget header as the rightmost element. Clicking the button should show you a print preview with a summary of the data in the widget. Future work will involve centralizing the printing logic as well as extending printing support to other areas of O3.
Features
- (feat) Rename test-results-app to labs-app by @brandones in #1360
- (feat) Add an extension slot for additional visit summary items by @ibacher in #1286
- (feat) Implement the print functionality for Vitals lists by @nanfuka in #1196
- (feat) Put the
Patient Flags
feature behind a feature toggle by @denniskigen in #1283 - (feat) Form entry app to use new API endpoint by @ibacher in #1300
- (feat) Migrate appointments form to RHF and Zod by @lumuchris256 in #1295
- (feat) Migrate programs form to use RHF and Zod by @lumuchris256 in #1250
- (feat) Automatically load Angular locale data by @icrc-loliveira in #1320
- (feat) Migrate Medications order form to use RHF and Zod by @lumuchris256 in #1309
- (feat) O3-2195: Implement the print functionality for medications by @nanfuka in #1312
- (feat) Fix Medications order form after RHF and Zod Migration by @lumuchris256 in #1332
- (feat) O3-2196: Implement the print functionality for Test results by @nanfuka in #1306
- (feat) O3-2325 Implement Lab Order form by @brandones in #1328
- (feat) Migrate Vitals and Biometrics form to RHF and Zod by @lumuchris256 in #1310
- (feat) Improved implementation for the siderail nav buttons by @vasharma05 in #1334
- (feat) Migrate start visit form to use RHF and Zod by @lumuchris256 in #1278
- (feat) Remove redundant translation configuration settings by @donaldkibet in #1331
- (feat) Use patient-chart-app namespace for patient-common-lib translations by @vasharma05 in #1344
- (feat) Migrate allergy form to RHF and Zod by @lumuchris256 in #1308
- (feat) O3-2391: Ability to hide observations in encounters via config… by @elimm in #1353
- (feat) Form app: add translations for form-engine strings by @icrc-jofrancisco in #1066
- (feat) Launching workspaces should prompt user for unsaved forms, especially for workspaces that cannot be collapsed or workspaces with same type by @vasharma05 in #1364
- (feat) Add side-nav scrolling in the patient chart on tablet by @Jexsie in #1230
- (feat) Add current visit summary component by @donaldkibet in #1368
- (feat) O3-2437: Restore a left border to the workspace by @njiddasalifu in #1379
- (feat) Resolve template literals in the src prop of the logo config by @samuelmale in #1315
- (feat) O3-2242: 'Retrospective Entry' label on Chart Header when doing RDE by @brandones in #1298
- (feat) Update UI shell component to fix styling issue on workspace by @donaldkibet in #1387
- (feat) O3-1678 Order basket medication search results should have two-button layout by @brandones in #1366
- (feat) KH-372: Add Khmer translations for esm-patient-banner-app by @kazlaw in #1393
- (feat) KH-372: Add Khmer translations for esm-patient-forms-app by @kazlaw in #1391
- (feat) KH-356: Correct the Khmer translation for
Actions
by @kazlaw in #1392 - (feat) Remove RXJS for launching form-entry by @donaldkibet in #1319
- (feat) KH-372: Add Khmer translations for esm-form-entry-app by @kazlaw in #1384
- (feat) O3-1825 Order Basket should have new v2 layout to support additional order types by @brandones in #1316
- (feat) Remove unused forms code and updated forms config by @donaldkibet in #1354
Bug fixes
- (fix) O3-2282: Show phone number in contact details panel by @denniskigen in #1285
- (fix) Fix improper stacking for recurring appointment inputs on tablet by @Jexsie in #1284
- (fix) resolves valid route with grouped chart dashboards by @pirupius in #1287
- (fix) Fix the appearance of the start date column in the medications table by @denniskigen in #1291
- (fix) Fix test script indentation by @denniskigen in #1293
- (fix) Fix broken styles in form view component search by @CynthiaKamau in #1296
- (fix) Restore configurable logo to print preview by @denniskigen in #1299
- (fix) Setting the correct Form UUID in the encounter payload when saving a form by @vasharma05 in #1303
- (fix) O3-2305 + O3-521 Various minor medication order bugs by @brandones in #1302
- (fix) Medications refactor by @brandones in #1307
- (fix) O3-2161: Encounter view doesn't work with multiple pages by @jwnasambu in #1247
- (Fix) full widt...