MEDLAB banner

MEDLAB

84 devlogs
50h 22m 8s

MEDLAB is a project designed to take in symptoms and other details such as age, gender, etc and give a possible diagnosis.
My goal with this project was to help people analyze their symptoms quickly without much effort.
Instead of searching thro…

MEDLAB is a project designed to take in symptoms and other details such as age, gender, etc and give a possible diagnosis.
My goal with this project was to help people analyze their symptoms quickly without much effort.
Instead of searching through many websites, users can simply enter their symptoms and basic information.
The system then processes the data and tries to match the symptoms with possible conditions.
I also built this project to explore how symptom-based diagnostic systems can work using programming.
It shows how technology can be used to organize and analyze medical information in a simple way.
Note: This is for educational purposes only and is not 100% accurate, so it should not be used for real life medical decisions.

This project uses AI

I used github copilot for helping me to build the server.js and to push into vercel

Demo Repository

Loading README...

Cyber Ninja

Shipped this project!

Hours: 2.93
Cookies: 🍪 30
Multiplier: 10.11 cookies/hr

MEDLAB is a project designed to take in symptoms and other details such as age, gender, etc and give a possible diagnosis.
My goal with this project was to help people analyze their symptoms quickly without much effort.
Instead of searching through many websites, users can simply enter their symptoms and basic information.
The system then processes the data and tries to match the symptoms with possible conditions.
I also built this project to explore how symptom-based diagnostic systems can work using programming.
It shows how technology can be used to organize and analyze medical information in a simple way.
Note: This is for educational purposes only and is not 100% accurate, so it should not be used for real life medical decisions.

Cyber Ninja

i added name tags as well as more symptoms.

Attachment
2

Comments

Kavya Dalmia
Kavya Dalmia 12 days ago

heyy, i had a look on your project.. its actually quite great😊

Cyber Ninja
Cyber Ninja 12 days ago

thanks a lot for the feedback, really helps me to improve my project. If any issues feel free to complain.

Cyber Ninja

I made common diseases to work. I used github copilot for this as i was not able to figure out why the common diseases were not coming apparently i had a api/diagnose file which was routing the diagnosing
logic into full.json(rare diseases database). So i fixed that and then it started to work!!!.

Attachment
0
Cyber Ninja

I made the homepage work for smaller screen sizes.

Attachment
0
Cyber Ninja

Sorry for this guy, But i decided to get rid of login and signup because i could not find any good use cases for it. So there is no more need for login and signup. I also got rid of the OAuth system

Attachment
0
Cyber Ninja

I wrote my readme and an preparing for first ship

Attachment
Attachment
0
Cyber Ninja

I got rid of login and signup sorry for this but i did not really find any use for people to log in to my website work this time. I also am making my details age responsive.

Attachment
Attachment
0
Cyber Ninja

i am starting to add backend for login and signup. I will make it so that if the user isn’t signed in there will be no confidence level and reasons for disease being taken. I am also going to introduce a guest mode for users who are not comfortable signing in to the website. I also bought a domain. And about the files that i used AI(GitHub copilot) for writing i will rewrite them again by myself.

Attachment
0
Cyber Ninja

Shipped this project!

Hours: 47.44
Cookies: 🍪 572
Multiplier: 12.06 cookies/hr

MEDLAB is a project designed to take in symptoms and other details such as age, gender, etc. My goal was for this project to help people to analyze their symptoms without much effort.

Cyber Ninja

i got back my js files turns out the python was a flop so i got back my js. So much for simplicity

Attachment
0
Cyber Ninja

i added age and gender filters. But i wrote it in python so now i have to change all of my js files into python

Attachment
0
Cyber Ninja

i am making the gender and age filtering system.

Attachment
Attachment
0
Cyber Ninja

i made the results page responsive. It wasn’t too hard as i had to only make a few small changes. NOW medlab is completely responsive

Attachment
0
Cyber Ninja

i fixed the responsiveness on the button issues

Attachment
0
Cyber Ninja

i was fixing some deployment issues along with ensuring responsiveness works properly

Attachment
0
Cyber Ninja

i fixed some more issues and deployed on vercel

Attachment
0
Cyber Ninja

i added hover effects for the nav links and the buttons

0
Cyber Ninja

i made the homepage responsive.

Attachment
0
Cyber Ninja

I changed some colors for the home page

Attachment
1

Comments

Nirvana
Nirvana 17 days ago

I like ur project but the UI can be improved a lil bit like the section where we add the symptoms

Cyber Ninja

I fixed a small bug in the homepage responsiveness.

Attachment
0
Cyber Ninja

i made the homepage responsive and made the hamburger-menu. to work

0
Cyber Ninja

I changed the styling of the symptoms page.

Attachment
0
Cyber Ninja

i changed server from render to vercel and this is the working video from me.

0
Cyber Ninja

I am fixing a few bugs

Attachment
0
Cyber Ninja

I added the type writer effect.

0
Cyber Ninja

i am adding type writer effect on the landing page

Attachment
0
Cyber Ninja

I got rid of unnecessary files and am preparing for the first ship

Attachment
0
Cyber Ninja

i fixed a few bugs i also just found out that my database did not have common diseases so time for another database. I will make it so that the js will go through this and then go to the rarer diseases

Attachment
0
Cyber Ninja

i made a scrolling animation for the page before it renders the results

Attachment
0
Cyber Ninja

I added colors!!

Attachment
0
Cyber Ninja

i made it to show confidence level

Attachment
0
Cyber Ninja

apparently the age slider wasn’t working. but now i fixed it

Attachment
0
Cyber Ninja

I am done fixing and organizing my code for now.

Attachment
0
Cyber Ninja

I am fixing glitches and organizing my code a bit.

Attachment
0
Cyber Ninja

I am writing the script for the non serverless js

Attachment
0
Cyber Ninja

OK so i found an error and its a huge one so basically my server needs to be continuously run for the website to work and i want to be able to deploy this on render and render does not support continuous server.js so i have to replace entire server.js. WAAAAAAAAAAAAAHHHHHHHHHHHH!!!

Attachment
0
Cyber Ninja

i was trying to make the website run without my backend running 24/7 but i have too many files for render and such so i am going to have to buy my own domain. Lets goooo

Attachment
0
Cyber Ninja

OH MY GOD!, I am so sick of this no matter how many barriers i add with keywords,filters etc. Rare diseases keep dominating.
So i am going to add another database which has common diseases and make it so that my js looks through that and then goes to DOID.obo(my actual database) so that i can get common diseases at the top. But the new database does not have symptoms for the diseases so i am going to have to add symptoms for each and every disease(700+). And i dont see any other way around that to add symptoms if there is any solution to this i am missing please share by commenting on this devlog or on flavourtown-help.

Attachment
0
Cyber Ninja

I accidentally screwed up and almost got rid of all my code. Thankfully i went back to my commits and found the original code. this took almost 2hours. Now the OMIM names are coming with names and ids.
This might actually be a good thing as now i can add omim ids to the diseases.

Attachment
0
Cyber Ninja

i am making medlab vercel compatible. please excuse the responsiveness

Attachment
0
Cyber Ninja

i got a backend for the contact form to send the user feedback to my gmail. Please excuse the styling

Attachment
0
Cyber Ninja

i made the login and signup buttons unclickable as in does not direct anywhere and i also made it to show an alert message

Attachment
0
Cyber Ninja

i started working on the feedback form

Attachment
0
Cyber Ninja

I am trying to add gender filtering system using keywords.

Attachment
0
Cyber Ninja

I connected all of the pages. Now i have to add the age and gender filtering system backend.

0
Cyber Ninja

I added the button to go back to the info page

Attachment
0
Cyber Ninja

Done i did the styling now i need to connect all of the pages.

Attachment
0
Cyber Ninja

I started to work on the styling. Not going so well.

Attachment
0
Cyber Ninja

Finally! I found the bug. The server.js for searching for the older form of the json before i converted it from obo to json and also i did not connect it to phenotype.hpoa (symptoms file). Now that i did that, It works. The symptoms now finally show. Next i need to make it so that the common diseases come first because if i just type fever and rash it is giving juvenile arthritis. After that i can focus on styling the page.

Attachment
0
Cyber Ninja

I don’t know what i did but it just started to work i guess now i move to symptoms

Attachment
0
Cyber Ninja

I made it so that it shows ids instead of unknown disease

Attachment
0
Cyber Ninja

I just made myself more bugs. I am sooo sad

Attachment
0
Cyber Ninja

i am fixing some mapping issues the js and json outputs are not matching

Attachment
0
Cyber Ninja

I connected the backend to the fronted and now some symtoms are working
[I USED AI FOR THIS]
I will write the code again in the end myself.

Attachment
0
Cyber Ninja

I added a fun secret feature to this project.[Take it as a challenge and try to find it].If you do add a comment on this devlog on what it is.
Hint: It is based on something google has done for an new iconic action.

Attachment
0
Cyber Ninja

I made a diagnose button

Attachment
0
Cyber Ninja

I started doing the backend to frontend connection

Attachment
0
Cyber Ninja

I added UI changes and also allowed removal of symptoms

Attachment
0
Cyber Ninja

I made the selctor to input

Attachment
0
Cyber Ninja

I made a new page for the symptom selection. Sorry it took such a long time

Attachment
0
Cyber Ninja

I added Hover effects for the buttons and experimented with the color scheme

0
Cyber Ninja

I made a Lot of UI upgrades as it really lacked it.

Attachment
0
Cyber Ninja

I made buttons for selecting gender

Attachment
0
Cyber Ninja

Yeah i am leaving the backend for now i am going to focus on frontend. Based on this

Attachment
0
Cyber Ninja

i found an issue the more dangerous diseases have more symptoms thus being given preference.I need to fix this.

Attachment
0
Cyber Ninja

I added a new symptoms database as the DOID one did not have them. I got it to connect and recognize the symptoms which were encoded

Attachment
Attachment
0
Cyber Ninja

i connected the backend servers

Attachment
0
Cyber Ninja

I fixed a few bugs I turned the entire OWL database into json.

Attachment
0
Cyber Ninja

I found a very large database and i am going to connect to my symptoms and but first i have to convert it to js as it is currently in OWL.

Attachment
Attachment
0
Cyber Ninja

i changed the UI of the buttons

Attachment
0
Cyber Ninja

I just made a lot of bugs and i fixed most of them i also improved the UI an made some warnings for the users.

Attachment
0
Cyber Ninja

Made a another JS update now it stops the symptoms selection at 10 symptoms with an alert.

Attachment
0
Cyber Ninja

I added some styling and tomorrow i am going to make the whole thing responsive

0
Cyber Ninja

fixed the div issue now all are separate planning to add a styling element in the js

0
Cyber Ninja

finally the symptoms are showing now i need to style it

Attachment
0
Cyber Ninja

Starting to create the symptoms reader.

Attachment
1

Comments

chefpenguino
chefpenguino about 1 month ago

this project idea seems really cool bro, hope it all goes to plan. good luck!

Cyber Ninja

I added some UI changes

Attachment
0
Cyber Ninja

Somehow got the JS to work. kinda fried myself…

Attachment
0
Cyber Ninja

Started Making the actual lab it will probably take some time…

Attachment
0
Cyber Ninja

I completed the login UI/UX and also gave both sides a validation check. Now i need to connect it to the backend.

0
Cyber Ninja

I completed the sign up UI

0
Cyber Ninja

Almost Done with the signup Page just need the finishing touches and the javascript. Took a lot of effort and time.

Attachment
0
Cyber Ninja

I am working on the Signup Page following a tutorial and hopefully will finish it by today.

Attachment
0
Cyber Ninja

I added a login and sign up button in the UI

Attachment
0
Cyber Ninja

I made a homepage and i added some links for the home, tutorial, Feedback, About. And i am going to add an about page soon

Attachment
0