Skip to content

Instantly share code, notes, and snippets.

@denniskigen
Last active July 31, 2025 13:00
Show Gist options
  • Select an option

  • Save denniskigen/b2c5ef8597fbec63c73b80602f1e89aa to your computer and use it in GitHub Desktop.

Select an option

Save denniskigen/b2c5ef8597fbec63c73b80602f1e89aa to your computer and use it in GitHub Desktop.
O3 engineering updates from the week of 24th Jul - 31st Jul
# Engineering updates 24th Jul - 31st Jul
1. Core Framework:
- Added a new DateRangePicker component to the OpenMRS styleguide, enabling applications to capture date ranges (start and end dates) with a consistent Carbon Design System interface. This component is based on React Aria's DateRangePicker and includes support for RTL languages, making it suitable for international deployments. The implementation provides a standardized way for applications to implement date range filtering and selection functionality, with comprehensive testing including Amharic language support. [PR #1428](https://github.com/openmrs/openmrs-esm-core/pull/1428)
- Enhanced the authentication redirect handling in `openmrsFetch()` to use the `Location` header from HTTP responses when the frontend config URL is blank. This improvement allows servers to specify custom redirect locations for authentication failures (401 errors), making the authentication flow more flexible and configurable. The change maintains backward compatibility while providing better support for complex authentication setups. [PR #1430](https://github.com/openmrs/openmrs-esm-core/pull/1430)
- Fixed a bug where the `getCoreTranslation` function was not properly handling translations for the `cancel` and `save` keys. This issue was causing the `cancel` and `save` buttons to display incorrect text in the application. The fix ensures that the correct translation is returned for these keys, ensuring consistent and accurate button labels across the application. [PR #1432](https://github.com/openmrs/openmrs-esm-core/pull/1431)
- Fixed an issue where the date picker calendar was closing when clicking inside the calendar, making it impossible to select dates on tablet viewports. The fix introduces an `AutoCloseDialog` component that properly handles click boundaries, ensuring the calendar only closes when clicking outside. [PR #1432](https://github.com/openmrs/openmrs-esm-core/pull/1432)
2. Patient Management:
- Refactored the service queues configuration structure by moving priority configuration from nested column definitions to the top level. This breaking change simplifies the configuration schema and makes priority color settings more accessible and easier to manage. The restructuring improves maintainability and provides a cleaner configuration interface for service queue implementations. [PR #1546](https://github.com/openmrs/openmrs-esm-patient-management/pull/1546)
- Updated the appointments app to use the new OpenMRS DateRangePicker component for recurring appointment scheduling. This change replaces separate start and end date pickers with a unified date range selection interface, improving the user experience when scheduling recurring appointments. The implementation includes validation to ensure end dates aren't earlier than start dates and updated translations for better internationalization support. [PR #1603](https://github.com/openmrs/openmrs-esm-patient-management/pull/1603)
- Fixed the queue locations data fetching logic in the service queues app to retrieve all available locations instead of being limited to only 10. Updated the `useQueueLocations` hook to use `useFhirFetchAll` and added a loading indicator to improve user experience during data fetching. This ensures healthcare facilities with many locations can access all their queue locations for proper patient flow management. [PR #1810](https://github.com/openmrs/openmrs-esm-patient-management/pull/1810)
3. Patient Chart:
- Fixed compatibility issues between the React Form Engine and Fast Data Entry app by making workspace-related props optional in the FormRenderer component. This enables forms to render correctly in both traditional workspace contexts and the streamlined Fast Data Entry interface, improving the user experience for healthcare providers who need to quickly enter patient data. The fix includes proper typing and support for pre-filled questions in different contexts. [PR #2476](https://github.com/openmrs/openmrs-esm-patient-chart/pull/2476)
- Fixed the order basket functionality to properly record orders under the configured encounter type instead of randomly assigning them to the first available encounter. This ensures clinical data integrity by associating orders with the correct encounter types, which is essential for proper medical record keeping and clinical workflow management. The fix includes backend integration to filter encounters by the configured type. [PR #2619](https://github.com/openmrs/openmrs-esm-patient-chart/pull/2619)
- Fixed immunization records data fetching logic to handle FHIR pagination properly, ensuring all immunization records are retrieved instead of being limited to only the first 10. Updated the immunization module to use `useFhirFetchAll` and enhanced data processing to support both FHIR bundles. [PR #2612](https://github.com/openmrs/openmrs-esm-patient-chart/pull/2612)
- Fixed an issue where encounters created through forms weren't being properly associated with the current patient visit. The form-engine-app was not supporting the `visitUuid` prop exposed by the form-entry workspace, causing encounters to be orphaned without proper visit context. The fix ensures all form submissions maintain proper visit association for data integrity and clinical workflow accuracy. [PR #2620](https://github.com/openmrs/openmrs-esm-patient-chart/pull/2620)
4. Reference Application:
- Updated the FHIR2 module to version 2.6.0-SNAPSHOT to incorporate the latest performance optimization changes and caching improvements. The update includes auto-proxying mechanisms and enhanced caching that should improve response times for FHIR operations across the platform. [PR #929](https://github.com/openmrs/openmrs-distro-referenceapplication/pull/929)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment