Refactor project structure and implement prescription management features#234
Open
harshiill wants to merge 10 commits into
Open
Refactor project structure and implement prescription management features#234harshiill wants to merge 10 commits into
harshiill wants to merge 10 commits into
Conversation
- Added CompPrescription component for managing prescriptions, including follow-up forms and medicine entries. - Created CompounderPrescriptionPage to handle prescription creation and history display. - Introduced PrescriptionForm for creating new prescriptions with validation. - Developed PrescriptionTable for displaying prescription history. - Integrated API calls for fetching and creating prescriptions. - Updated RequiredMedicine component to fetch required medicines using a new API service. - Enhanced routing to include new prescription management pages.
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.
This pull request introduces a new Health Center module to the application and refactors several parts of the existing Health Center compounder codebase for improved maintainability, user experience, and code consistency. Key changes include the addition of a dashboard for compounders, improvements to error handling and data validation, and the consolidation of breadcrumb imports. There are also enhancements to feedback, history, and patient update flows.
Health Center Module Integration:
HealthCentermodule and route to the main application, enabling/healthcenter/*navigation. [1] [2]CompounderDashboard.jsx, providing a user-friendly dashboard for compounders to manage patients, stock, schedules, feedback, announcements, and more.Code Refactoring and Consistency:
../../components/common/Breadcrumbs. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]API and Data Handling Improvements:
axioscalls with dedicated API utility functions (e.g.,createAnnouncementApi,getAnnouncementsApi) for announcements, improving code modularity and maintainability. [1] [2]User Experience Enhancements:
These updates collectively improve the modularity, usability, and robustness of the Health Center compounder module.