Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing client-registry branch with main #1282

Closed
wants to merge 92 commits into from
Closed

Conversation

alaboso
Copy link
Contributor

@alaboso alaboso commented Aug 14, 2024

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

Screenshots

Related Issue

Other

usamaidrsk and others added 30 commits June 12, 2024 18:52
…iew Appointment Form (#1187)

* fix: fix duoble date formating dayjs

* fix: use dayjs toDate

* Fix failing E2E tests

---------

Co-authored-by: Jayasanka Weerasinghe <[email protected]>
…ointments for Same Service at Same Location (#1185)

Co-authored-by: Jayasanka Weerasinghe <[email protected]>
* configure-patient-header

* WIP patient header address extension

* configure-patient-header

* WIP

* WIP

* restructure config-schema

* correct tests

* added tests for occupied-bed

* stash

* WIP

* remove WIP admission workspace for purpose of PR

* ready for PR

* address a few PR comments

* rename bento box to patient card row

* remove WardPatientStatus type

* provide default value for addressFields

* update config to allow for multiple rows

* misc

* Update packages/esm-ward-app/src/beds/occupied-bed.test.tsx

Co-authored-by: Brandon Istenes <[email protected]>

---------

Co-authored-by: Bhargav Kodali <[email protected]>
Co-authored-by: Brandon Istenes <[email protected]>
Co-authored-by: Mark Goodrich <[email protected]>
Co-authored-by: Jayasanka Weerasinghe <[email protected]>
…ointments for Same Service at Same Location

(tweak to error text)
…ckend dependency checking to allow SNAPSHOT version (#1192)
…queues page (#1195)

* Service queue data to be stored in session storage

* In case of a single queue location, it should be selected by default

* If the user session location is a queue location, it should be selected by default

* Fix failing tests
#1193)

* (feat) O3-3215 - ward app - add patient card element to display obs for a particular concept

* add more configurations to ward-patient-obs element

* make useObs API call take in concept

* remove displayType for obs element
* (fix): Update date picker props and add mock for date picker

* (fix): Temp disable test case

* (fix): add error text for date picker

* (fix): update props in obs date field

* (fix): disable failing test cases

* (fix): disable failing e2e tests

* fix 'Playwright Test did not expect test.describe() to be called here' error

* (refactor): replace skip with fixme

---------

Co-authored-by: Chi Bong Ho <[email protected]>
…k factor obs within the current visi (#1211)

* O3-3475 - ward app - update to use latest backend bed-management module

* (feat) - O3-3222 - ward app - add patient card element to include risk factor obs within the current visit

* wording changes in schema config

* rename codedObs to codedObsTags

* styling of bed divider and row divider lines in patient card
* (fix): Update onChange function in obs date field

* (fix): fix param in onChange
…eues (#1158)

* Improve UI for Queue by status view in the service queues

* Update prop hideLocationDropdown to showLocationDropdown and update all implementation of the same

* Remove Metric card for average waiting time

* Update UI as per ticket description

* Added better skeleton when queue data is being loaded

* Update translations

* Better error notification

* Reverting allowed status table order as per review

* Updated style for queue table header

* Remove '.reverse()' instance
…ce on the default service table (#1154)

* Add new hooks to fetch queue properties

* Add new filter for queue status and replace queue filter with service filter

* Updated store structure for queue status

* Update translations

* Update labels and replaced queue filter in metrics card with service filter

* PR Reviews

* Update translations

* Review changes

* Update translations

* Fix failing tests
…d to view admission / transfer requests (#1191)

* configure-patient-header

* WIP patient header address extension

* configure-patient-header

* WIP

* WIP

* restructure config-schema

* correct tests

* added tests for occupied-bed

* admission-workspace

* stash

* WIP

* remove WIP admission workspace for purpose of PR

* completed-admission-card-header-configuration

* correct config schema

* added tests for admission Requests Workspace

* ready for pr

* correct todo

* resolve request bar conflicts

---------

Co-authored-by: Chi Bong Ho <[email protected]>
…t endpoints in EMR API (#1219)

* (chore) add datatypes from emrapi and corresponding mocks

* (feat) O3-3502 - ward app - add REST calls and datatypes for inpatient endpoints in EMR API

* Update packages/esm-ward-app/src/ward-view/ward-view.component.tsx

Co-authored-by: Brandon Istenes <[email protected]>

* address PR comments

---------

Co-authored-by: Brandon Istenes <[email protected]>
…tIdentifierTypes` (#1061)

* refactor: move OpenMRS ID identifier to defaultIdentifierTypes in the config-schema

* refactor: proper description to defaultIndentifierTypes

* feat: use preferred identifier as fallback

* fix: fix tests

* fix: remove unrelated comment

---------

Co-authored-by: Brandon Istenes <[email protected]>
chibongho and others added 29 commits July 29, 2024 11:57
)

* feat: Add useEmrConfiguration hook

* Update translations

* Fix the api endpoint
* (test) Remove unnecessary partial mocks and improve typing

* Review feedback

* Type openmrsFetch mocks
* (chore): Update OpenmrsDatePicker props

* (chore): Remove unused import
* (fix) Update failing tests

* Default location to ward location for various hooks

* Completed the admission request workspace

* Added the form for selecting a bed and assigning the patient to a bed

* User can assign requested patients to bed in a ward

* Update failing tests

* Review changes

* Updated patient admission form and added tests to verify the changes

* Fix conflicting keys in translations

* Make bed assignment optional

* Updated translations

* Textual changes

* Fixed failing test and bump @openmrs/esm-framework
…onent is used in a workspace (#1257)

* fix: ui bug that jumbles up ui on small windows

* refactor: scope patient search bar rule to only searchBarWrapper

* refactor: use carbon styling for height

* fix: 50vw width on small windows

---------

Co-authored-by: Dennis Kigen <[email protected]>
…and Transfer requests (#1255)



---------

Co-authored-by: Brandon Istenes <[email protected]>
…and Transfer requests (#1255)

(follow-on update after merging)
Update link to E2E testing guide.
* (fix) E2E tests failing due to OpenmrsDatePicker

* (chore) fix lint issues and remove unnecessary awaits

* (fix) Update locator selector for date picker

* (refactor) remove function def

* Update e2e/specs/register-new-patient.spec.ts

Co-authored-by: Jayasanka Weerasinghe <[email protected]>

* (chore): Disable eslint rules for e2e

---------

Co-authored-by: Jayasanka Weerasinghe <[email protected]>
* (feat) O3-3213, O3-3214 - ward app - add elements to display time since admission and time on ward

* add comment regarding getting bed assignment encounter from backend
…kspace banner, Also save provider details with Notes (#1268)

* feat: add the name and bed number to the patient-banner on in-patient workspace

* fix: fix tests

* Update packages/esm-ward-app/src/ward-workspace/patient-banner/patient-banner.component.tsx

---------

Co-authored-by: Mark Goodrich <[email protected]>
…ents form submission due to duration field error (#1149)
…ts (#1271)

* added data-openmrs-role for patient search app

* added data-openmrs-role for patient-list-management-app

* (fix) : typo
…e left empty (#1182)

* (fix) fix typo on recurring appointment label (#1047)

* (fix) service queues - make edit queue entry modal body scrollable if content is too long (#1042)

* (fix) O3-2471 recommended visit type tab should only show if configured to do so (#1045)

* (fix) service queues - unescape queue name when passed into t() (#1043)

Co-authored-by: Jayasanka Weerasinghe <[email protected]>

* (refactor) O3-2891: Refactor Patient Appointments ESM into Appointments ESM (#1048)

* (feat) re-use upcomming appointment work to mark appointments as `Checked In` (#1050)

* (chore) Update translations from Transifex (#1011)

Co-authored-by: OpenMRS Bot <[email protected]>
Co-authored-by: Mark Goodrich <[email protected]>

* (feat) use configured identifier type on appointment table (#1054)

* (fix) add `@openmrs/esm-patient-common-lib` as peer dependency and register appointment workspace correctly (#1053)

* (fix): Enhanced Tablet View: Service Queues Metrics Header Overhaul (#1046)

* (fix): Tablet-UI. Making Tablet Service-queues metrics header responsive on tablet mode

Signed-off-by: Joshua Murithi <[email protected]>

* Fixup

---------

Signed-off-by: Joshua Murithi <[email protected]>
Co-authored-by: Dennis Kigen <[email protected]>

* (chore) Update translations from Transifex (#1055)

Co-authored-by: OpenMRS Bot <[email protected]>
Co-authored-by: Mark Goodrich <[email protected]>

* Enhanced Monthly Calendar UI for Appointment Scheduler (#1049)

* Enhanced Monthly Calendar UI for Appointment Scheduler

* clicking on a day from within the month to change the appointment date

* Localized days in weeks

* Removed weekly calendar view on appointment scheduler

---------

Co-authored-by: Donald Kibet <[email protected]>

* (BREAKING) O3-2748 service queues - add ability to undo transitions and void queue entries (#1052)

* (BREAKGING) O3-2748 service queues - add ability to undo transitions and void queue entries

* add tests

* minor wording fixup

* remove unused imports

* change undo transition route per update in backend PR

* address PR comments

* (chore) O3-2989 service queues - refactor <PatientSearch> to not have things unrelated to patient serach (#1058)

* (feat) O3-2892: Add Patient-Centric View within the Appointments App (#1057)

* O3-2788 (fix) appointments table should correctly search by patient name or identifier (#1067)

* (fix) O3-3009 Appointment form should limit location to those tagged as 'Appointment Location' (#1066)

* (fix) O3-3013 Appointment Form should validate invalid time values (#1069)

* (fix) O3-3013 appointment time validation should match entire string (#1073)

* (feature) O3-2930: Add date of birth to patient details in Appointments Module

Co-authored-by: Mark Goodrich <[email protected]>

* (feat) O3-3025: Add validation in change status modal for service queues (#1076)

* (feat) O3-3025: Add validation in change status modal for service queues

* (test) updated test to reflect changes

* (fix) O3-2748 service queue - fix NPE in undo transition dialog (#1077)

* (fix) Fix queue filtering by location (#1078)

* (chore) Separate linting and formatting concerns (#1080)

* (feat) O3-3030 - make new queue table support creating new queue entry (#1079)

* (feat) O3-3030 - make new queue table support creating new queue entry

* fix metrics

* address PR comment

* (fix):O3-3039-Fix Incorrect Client Selection Issue When Navigating Pages in Queue Table (#1082)

* (refactor) O3-3012: Switch registering appointments form workspace ba… (#1068)

* (fix) Fix error for undifined attribute type (#1083)

* (test) O3-3005: Add E2E test for registering an unknown patient (#1070)

Co-authored-by: Dennis Kigen <[email protected]>

* (fix) Handle null start date on patient list details (#1081)

* Handle null start date on list details

* Removed unnecessary optional chaining

---------

Co-authored-by: Dennis Kigen <[email protected]>

* (chore) Update translations from Transifex (#1059)

Co-authored-by: OpenMRS Bot <[email protected]>
Co-authored-by: Ian <[email protected]>

* (refactor) O3-2685: Inconsistent / Duplicated Appointments List UI between Home App and Appointments App (#1084)

* (chore) Fix Prettier glob patterns

* O3-3030 service queues: fix NPE in mapVisitQueueEntryProperties (#1085)

* O3-3030 service queues: fix NPE in mapVisitQueueEntryProperties

* change default rep string for queue entries to include visit encounters

---------

Co-authored-by: Makombe Kennedy <[email protected]>

* (test) Remove mock implementations of usePagination (#1088)

* (test) Remove mock implementations of usePagination

* Fixup

* (chore) Bump playwright (#1090)

* O3-3043 - (feat) service queues - add new view of queue entries showin… (#1086)

* O3-3043 - (feat) service queues - add new view of queue entries showing one table per status

* move queue-table-for-all-statuses into view/

* (chore) Flag rules-of-hooks lint violations (#1091)

* (chore) Flag rules-of-hooks lint violations

* Fix e2e tests

* (chore) Update translations from Transifex (#1087)

Co-authored-by: OpenMRS Bot <[email protected]>
Co-authored-by: Ian <[email protected]>

* (feat) O3-3063: UI tweaks for the Today's appointments widget (#1092)

* (feat) UI tweaks for the Today's appointments widget

* Appointments dashboard fixes

* (fix) O3-3063: Fix appointments table empty state text (#1094)

* (feat) O3:3063: Appointments dashboard UI tweaks (#1096)

* (fix) Fix appointment metrics error state

* Enhanced relationship display logic to differentiate 'Patient' roles (#1089)

* (fix): improve client side form validation

* (fix): error validation

* Fixup

---------

Signed-off-by: Joshua Murithi <[email protected]>
Co-authored-by: Donald Kibet <[email protected]>
Co-authored-by: chibongho <[email protected]>
Co-authored-by: Michael Seaton <[email protected]>
Co-authored-by: Jayasanka Weerasinghe <[email protected]>
Co-authored-by: Mark Goodrich <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: OpenMRS Bot <[email protected]>
Co-authored-by: Joshua Murithi <[email protected]>
Co-authored-by: Dennis Kigen <[email protected]>
Co-authored-by: Gabriel Mbatha Ngao <[email protected]>
Co-authored-by: sparsh989 <[email protected]>
Co-authored-by: Makombe Kennedy <[email protected]>
Co-authored-by: Daud Kakumirizi <[email protected]>
Co-authored-by: Pedro Sousa - ICRC <[email protected]>
Co-authored-by: Ian <[email protected]>
Co-authored-by: Piyush Mishra <[email protected]>
…1272)

(add visit note parameter to resource that fetches notes)
* change WardPatient type

* refactor ward patient workspace

* comments and tests

* make bed field non-optional
* Added workspace for bed swapping

* Completed work on Transfer form

* Update translations

* Bump framework

* Final changes

* Update translations

* Review changes

* Update failing test

* Fix the value prop for radio button group

* Fix the workspace name for patient card

* Add custom rep to fetch location tag name and other fixes
* fix reading from undefined wardPatient

* fix: add bottom padding on notes history container

* fix: fix tests
* (refactor) Update Carbon styling import paths and tokens

* Fixup
@alaboso alaboso closed this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.