Thanks! Here's your updated version with all required hackathon criteria fully addressed—including detailed use of GitHub Copilot, Azure services, and alignment with categories like Best Use of Azure, Best Use of GitHub Copilot, and Best Use of Azure AI. It's cleaned up for clarity and impact:
Inspiration
I’ve always been fascinated by how AI can transform industries, and healthcare felt like the perfect place to make a real difference. With the rise of digital medical records, I saw an opportunity to build something that could save time, reduce human error, and give healthcare professionals quicker insights into a patient’s history.
"Everybody lies", a phrase from one of the medical sitcoms, made me wonder how true this is—and how often it results in tragic outcomes. In many cases, misdiagnosis or delayed treatment stems from incorrect or missing medical history.
After some research, I found the following:
📋 Wrong Medical History
- According to a 2015 study published in BMJ Quality & Safety, 12 million adults in the U.S. are misdiagnosed annually, and incomplete or incorrect medical history is a major factor.
- A study by Johns Hopkins Medicine found that diagnostic errors are the most common, most costly, and most deadly medical errors, often tied to inaccurate or missing patient history.
🧪 Specimen or Result Mismatches
- A 2022 review from the College of American Pathologists (CAP) estimated that specimen mislabeling or identification errors occur in 1 out of every 1,000 specimens, with potentially fatal consequences.
- The ECRI Institute lists specimen mislabeling as one of the Top 10 Patient Safety Concerns, causing delayed or incorrect treatment.
- The Journal of Clinical Pathology found that 60% of lab errors happen during the pre-analytical phase, often due to incorrect specimen handling or patient ID mix-ups.
🏥 Vitals & Appointment Issues
- Appointment scheduling errors, delays, or miscommunication can lead to critical delays in diagnosis or treatment, especially for serious conditions like cancer or cardiac issues.
- A study in JAMA Internal Medicine found that missed follow-ups due to poor appointment tracking contributed to 9.7% of diagnostic delays.
- The Agency for Healthcare Research and Quality (AHRQ) states that errors in recording or interpreting vitals can lead to inappropriate treatment decisions.
- Inconsistent documentation of vital signs was found to be a root cause in 11% of patient safety incidents reported to the UK’s NPSA.
What it does
Medscan - AI Companion is a Universal Health Record system that securely maintains a complete and editable timeline of a patient’s medical journey—from appointments and vital sign logs to test reports and prescriptions. Only authorized healthcare professionals can modify the records, ensuring integrity.
The application is enhanced by Medscan AI, an intelligent assistant that:
- Summarizes patient history, lab results, vitals, and prescriptions
- Answers doctors' questions using context-aware natural language processing
- Handles structured data and scanned/unstructured documents
- Gives quick overviews of key sections like Specimen Register, Appointments, and General Info
How I built it
I built the application using React and TypeScript, bundled with Vite for fast performance and SCSS for modular styling. My backend is hosted using Azure App Services and composed of serverless Azure Functions, API endpoints, and MongoDB via Cosmos DB.
🧠 GitHub Copilot – My Development Companion
Throughout the project, GitHub Copilot significantly accelerated development. It helped me:
- Auto-complete React components and TypeScript interfaces
- Generate REST API handlers and backend logic quickly
- Proper error handling in snippets
- Added comments wherever necessary
- Great at generating components like custom modals and forms
- Helped debug my code or add inline code with inline prompts
- Speed up experimentation with AI prompt formatting and parsing logic
Thanks to Copilot, I could focus more on high-level architecture and problem-solving rather than boilerplate code or repetitive syntax.
☁️ Azure Services I Used (Fully Integrated):
| Azure Service | Purpose |
|---|---|
| Azure OpenAI Service | Powers natural language capabilities: summarization, contextual answers |
| Azure App Services | Hosting backend & frontend with GitHub CI/CD |
| Azure Functions | Serverless tasks like parsing, summaries, patient updates |
| Azure Cosmos DB (MongoDB API) | Stores patient records, vitals, and structured history |
| Azure Cognitive Services – Vision | Performs OCR on scanned medical documents |
| Azure API Management | Organizes and secures backend endpoints |
| Azure Application Insights | Real-time monitoring, performance, and crash reports |
| Azure Resource Group | Manages and organizes all app resources |
| Azure Key Vault | Manages sensitive secrets like API keys securely |
| Azure Blob Storage | For securely storing uploaded medical documents in future |
I chose Azure because of its HIPAA-aligned capabilities and seamless integration with GitHub, which gave me confidence to build for real-world healthcare use cases.
Challenges I ran into
- Getting the Medscan AI Bot to retain context across follow-up questions
- Associating the Medscan AI bot with the current patient record automatically
- Creating prompt structures that understand medical language and multi-modal inputs
- Making sure data security is maintained throughout, using Azure Key Vault and secure API routing
- Managing inter-service communication between Azure Functions, Cosmos DB, and App Services
Accomplishments that I'm proud of
- Built a context-aware AI chatbot that understands and references patient profiles in conversation
- Developed an OCR-to-AI pipeline that converts scanned reports into readable and actionable insights
- Used over 10 Azure services in a cohesive, scalable system
- Learned and applied Azure ML Studio to train a predictive model using mock clinical data
- Fully utilized GitHub Copilot to reduce dev time and maintain clean, reusable code
What I learned
- How to use Azure to build secure, modular, HIPAA-aligned health applications
- How to integrate language models with context and conversational memory
- The value of pre-trained AI vs fine-tuning in clinical document use cases
- How GitHub Copilot helps not only with development but with learning better patterns
- How to set up structured storage (Cosmos DB) and unstructured ingestion (Blob + OCR) in sync
- Using VS Code with TypeScript + Copilot improves accuracy and dev speed significantly
What's next for Medscan - AI Companion
- Add voice/audio support for hands-free interaction
- Enable risk prediction using patient vitals and past diagnosis via Azure ML
- Train the ML model with more document types and more accurate and specific results.
- Expand training data for more accurate summarization of non-standard report types
- Support DICOM and radiology reports
- Launch pilot testing in clinical settings for real-time feedback and iteration
📚 Citations:
📋 Wrong Medical History
🧪 Specimen or Result Mismatches
- College of American Pathologists (2022): https://www.cap.org
- Journal of Clinical Pathology (2010): Link
- ECRI Institute (2023): Link
🏥 Vitals & Appointment Register Issues
✅ Let me know if you want this exported to a Markdown file, Devpost format, PDF, or if you'd like a 3-minute video script to go with it!
Log in or sign up for Devpost to join the conversation.