-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(dto): simplify data transfer logic for diabetes risk predict…
…ion request - refactor data transfer logic by: - removing DiabetesRiskModel as it's no longer needed - replacing with more focused PatientRiskRequest DTO - rename PatientRiskInfo to PatientRiskRequest: - improve naming clarity for request/response pattern - ensure consistency across Frontend and Backend services - follow REST API conventions Notes are now fetched directly by backend from elasticsearch, eliminating the need to transfer them through Frontend. Indeed only Id, DateOfBirth and Gender are needed. Id is needed to fetch notes, and Gender and DateOfBirth are needed to calculate diabetes risk.
- Loading branch information
1 parent
0c23ff4
commit 3c5ff20
Showing
8 changed files
with
20 additions
and
64 deletions.
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...sRiskPrediction/Models/PatientRiskInfo.cs → ...skPrediction/Models/PatientRiskRequest.cs
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Frontend/Models/PatientRiskInfo.cs → Frontend/Models/PatientRiskRequest.cs
This file contains 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
This file contains 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