This project is a full-stack AI-powered healthcare communication platform designed to improve conversations between doctors and patients speaking different languages.
The platform enables:
- π Real-time multilingual communication
- π€ AI-generated medical summaries
- π¬ Persistent healthcare conversations
- π Searchable message history
- β‘ AI-assisted healthcare workflows
The primary objective of the application is to reduce communication barriers in healthcare environments using scalable AI-powered systems.
- Instant multilingual message translation
- OpenAI-powered AI translation workflows
- Dual message rendering:
- Original message
- AI-translated message
The system automatically generates structured AI summaries including:
- Symptoms discussed
- Possible diagnoses
- Medications mentioned
- Suggested follow-up actions
AI responses are processed server-side before being returned to the client.
- PostgreSQL-powered message persistence
- Historical conversation retrieval
- Keyword-based search functionality
- Structured chat storage architecture
Supports:
- Doctor interaction mode
- Patient interaction mode
Designed to simulate real healthcare communication workflows.
- Fully responsive healthcare interface
- Mobile and desktop optimized
- Built using modern frontend technologies
- Smooth and scalable user experience
The project follows a modular full-stack architecture with proper separation between frontend, backend, AI services, and database layers.
Responsible for:
- User interaction
- Rendering translated outputs
- Managing responsive UI workflows
Responsible for:
- REST API routing
- OpenAI API integration
- AI response handling
- Database operations
PostgreSQL is used for:
- Conversation persistence
- Search functionality
- Structured message storage
AI workflows include:
- Real-time translation
- Medical summarization
- Structured response generation
- Modular full-stack architecture
- Clear separation of concerns
- Server-side AI processing
- Scalable REST API structure
- Async API communication handling
- Readable and maintainable codebase
- Optimized UI workflows for healthcare use cases
healthcare-doctor-patient-translation/
β
βββ client/
βββ screenshots/
β βββ home.png
β
βββ attached_assets/
βββ replit_integrations/
β
βββ package.json
βββ vite.config.ts
βββ tailwind.config.ts
βββ drizzle.config.ts
βββ tsconfig.json
βββ README.md- Authentication is not implemented
- Single active conversation workflow
- Demonstration-focused implementation
- Not production-level healthcare compliant
- Secure authentication & authorization
- Multi-session support
- Voice-to-text integration
- Text-to-speech support
- Advanced medical entity extraction
- AI evaluation pipelines
- Production-grade security hardening
git clone https://github.com/shoaib-ahmadd/healthcare-doctor-patient-translation.gitcd healthcare-doctor-patient-translationnpm installCreate a .env file and add:
OPENAI_API_KEY=your_api_key
DATABASE_URL=your_database_urlnpm run devThis project was built to explore:
- AI-assisted healthcare workflows
- Real-time multilingual communication systems
- Practical OpenAI integrations
- Scalable full-stack architecture
- Human-centered AI product development
Contributions, improvements, and suggestions are welcome.
Feel free to fork the repository and submit pull requests.
This project is intended for educational and demonstration purposes.
