|
| 1 | +--- |
| 2 | +description: Follow this rules for every request |
| 3 | +globs: |
| 4 | +alwaysApply: true |
| 5 | +--- |
| 6 | + |
| 7 | +- Project Proposal Overview: This project proposes an AI-powered medical report translator that simplifies complex medical documents for patients and caregivers. By leveraging AI-driven text extraction and natural language processing (NLP), the system translates medical jargon into plain language, helping users understand their health conditions, diagnoses, and test results without relying on unreliable online searches. |
| 8 | + |
| 9 | +- Why are we doing this? Patients often receive medical reports full of complex terminology, abbreviations, and technical language that they don’t understand, causing confusion, stress, and potential misinterpretation of their health conditions. Many resort to Google searches or unreliable forums to decipher their reports, leading to misinformation and anxiety. By automating medical report simplification, we help patients take control of their healthcare, make informed decisions, and reduce the dependency on doctors for basic explanations. |
| 10 | + |
| 11 | +Features: |
| 12 | +Authentication |
| 13 | +The platform shall allow new users to register, creating a platform account to which all of their uploaded content and reports will be associated. |
| 14 | +The platform shall allow existing users to authenticate using (credentials, Google?, other?), so that they may upload new files or access previously uploaded files. |
| 15 | + |
| 16 | +Upload Medical Reports |
| 17 | +The platform shall allow users to upload PDF medical documents for analysis. |
| 18 | +The platform shall allow users to upload images of medical documents for analysis. |
| 19 | +The platform shall allow users to use the device camera to capture and upload images of medical documents for analysis. |
| 20 | + |
| 21 | +Process Medical Reports |
| 22 | +The platform shall extract text from uploaded files. |
| 23 | +The platform shall partition the text of a file into manageable chunks, e.g. paragraphs. |
| 24 | +The platform shall use AI to generate simplified explanations of the chunks of text. |
| 25 | +The platform shall display an alert if the contents of the uploaded files indicate the user should seek assistance from a medical professional. |
| 26 | +The platform shall store all uploaded files and the generated insights derived from them so that the user may review the information at a later date. |
| 27 | + |
| 28 | +Provide Medical References |
| 29 | +The platform shall provide relevant references to trusted medical sources of information so that users may read more about the topics related to uploaded files. |
| 30 | + |
| 31 | +Conversational AI |
| 32 | +The platform shall allow users to ask follow up questions regarding their uploaded files. |
| 33 | + |
| 34 | +Responsive |
| 35 | +The solution supports native mobile devices only; no browser support is required. The solution is designed for both phone and tablet viewport sizes. |
| 36 | + |
| 37 | +Accessibility |
| 38 | +The application should be constructed with accessibility best practices; however, the client is not seeking to meet any specific accessibility level. |
| 39 | + |
| 40 | +Testing |
| 41 | +Unit |
| 42 | +All components will have a base suite of unit tests and the application must have a minimum of 60% code coverage. |
| 43 | + |
| 44 | + |
| 45 | +Technologies: |
| 46 | + - Ionic + React - Cross-platform user interface core |
| 47 | + - Axios - HTTP client |
| 48 | + - TanStack Query - Asynchronous state management, caching, and data fetching |
| 49 | + - Remark Markdown - Markdown renderer |
| 50 | + - Tailwind |
| 51 | + - Vitest - Core test framework |
| 52 | + - React Testing Library - User-centric approach for UI component tests |
| 53 | + - Mock Service Worker - API mocking |
| 54 | + - Perplexity API |
| 55 | + - Amazon Bedrock |
| 56 | + |
| 57 | + For visual context, you can use this images: |
| 58 | + |
| 59 | + [1 - Home.png](mdc:docs/assets/images/1 - Home.png) |
| 60 | + [3 - upload2.png](mdc:docs/assets/images/3 - upload2.png) |
| 61 | + [4 - processing.png](mdc:docs/assets/images/4 - processing.png) |
| 62 | + [5 - Results analysis.png](mdc:docs/assets/images/5 - Results analysis.png) |
| 63 | + [6 - Results Archive.png](mdc:docs/assets/images/6 - Results Archive.png) |
| 64 | + [8 - AI.png](mdc:docs/assets/images/8 - AI.png) |
| 65 | + |
0 commit comments