Conversation
Feat/data verification
…ts-with-arv-not-in-program Feat/data cleaning patients with arv not in program
…e-amounts add DC tool dispensed-implausible amounts
Fix/hiv htn report
Maria drugs
Enhance LIMS integration and improve drug management
…b identifiers to prevent duplicate notifications
Pre-Eclampsia was missing the boolean-to-text ternary that other history fields (Asthma, Diabetes, Epilepsy) already use, causing raw true/false to print on the visit summary label instead of YES/NO.
andie23
marked this pull request as draft
September 10, 2026 11:20
Timobify
marked this pull request as ready for review
September 11, 2026 07:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
This change introduces a streaming ledger system to manage and track the status of streaming jobs. The goal is to enhance the reliability and traceability of streaming operations, allowing for better error handling and job retries.
Description
The implementation includes a new
StreamingLedgermodel to store the state of each streaming job, along with CRUD operations for managing these records. TheStreamingJobclass has been updated to interact with the ledger, marking jobs as queued, sent, acknowledged, or failed based on their processing status. New routes and controller actions have been added to handle ledger queries and acknowledgments.Changes in the codebase
StreamingLedgermodel with necessary validations and status management.StreamingLedgerServiceto encapsulate business logic related to ledger operations.StreamingJobto create and manage ledger entries during job execution.StreamingServiceto include ledger interactions during the streaming process.Changes outside the codebase
A new database table for
streaming_ledgershas been created to store the ledger entries. This includes fields for tracking the status, response codes, and error messages associated with each streaming job.Additional information
This implementation allows for better monitoring and management of streaming jobs, providing a mechanism to retry failed jobs and track their progress. The design ensures that all relevant information is captured in the ledger for future reference.
Ticket
No specific ticket is referenced for this change.
Screenshots
No visual changes are included in this update.