{"id":17494626,"url":"https://github.com/bsenst/llm-enhanced-ehr","last_synced_at":"2025-06-25T00:08:24.580Z","repository":{"id":199777813,"uuid":"703730763","full_name":"bsenst/llm-enhanced-ehr","owner":"bsenst","description":"Contribution to the LabLabAI AI Challenge Hackathon October 2023","archived":false,"fork":false,"pushed_at":"2023-10-16T20:23:33.000Z","size":75,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T23:12:34.453Z","etag":null,"topics":["ehr-notes","langchain-python","llm-inference","streamlit-ui"],"latest_commit_sha":null,"homepage":"https://llm-enhanced-ehr.streamlit.app/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bsenst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-11T19:52:33.000Z","updated_at":"2024-12-17T05:40:06.000Z","dependencies_parsed_at":"2025-03-04T14:42:42.602Z","dependency_job_id":null,"html_url":"https://github.com/bsenst/llm-enhanced-ehr","commit_stats":null,"previous_names":["bsenst/llm-enhanced-ehr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bsenst/llm-enhanced-ehr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsenst%2Fllm-enhanced-ehr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsenst%2Fllm-enhanced-ehr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsenst%2Fllm-enhanced-ehr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsenst%2Fllm-enhanced-ehr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsenst","download_url":"https://codeload.github.com/bsenst/llm-enhanced-ehr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsenst%2Fllm-enhanced-ehr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261777695,"owners_count":23208127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ehr-notes","langchain-python","llm-inference","streamlit-ui"],"created_at":"2024-10-19T13:28:47.529Z","updated_at":"2025-06-25T00:08:24.540Z","avatar_url":"https://github.com/bsenst.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# llm-enhanced-ehr\n\nContribution to the [LabLabAI AI Challenge Hackathon](https://lablab.ai/event/ai-challenge-with-gpt-3-5-codex-dall-e-and-whisper-api) October 2023. The application should allow the user to interact with a large language model (GPT-3.5, GPT-4) and support working on synthetic health data that comes in the electronic health record interoperability format FHIR.\n\n[Project Team Page](https://lablab.ai/event/ai-challenge-with-gpt-3-5-codex-dall-e-and-whisper-api/fritzlabs) \u0026\n[Project Submission Page](https://lablab.ai/event/ai-challenge-with-gpt-3-5-codex-dall-e-and-whisper-api/fritzlabs/llm-enhanced-medical-notes)\n\n![application-architecture](https://github.com/bsenst/llm-enhanced-ehr/assets/8211411/5a946f4b-8ac1-469a-a145-0aa9e7576e28)\n\n# Run the application\n\n```bash\ngit clone https://github.com/bsenst/llm-enhanced-ehr\n```\n\n```bash\ncd llm-enhanced-ehr\n```\n\n```bash\npip install -r streamlit/requirements.txt\n```\n\n```bash\nstreamlit run streamlit/app.py\n```\n\n# ToDo\n\n- [X] explore [synthea dataset](https://github.com/synthetichealth/synthea)\n- [X] create a user interface to display (parts of the) synthea data ([streamlit](https://streamlit.io), [openehr](https://openehr.org), [openemr](https://www.open-emr.org))\n- [X] integrate LLM ([clarifai](https://www.clarifai.com), [sketch](https://pypi.org/project/sketch/))\n- [X] connect synthea data with LLM ([langchain](https://www.langchain.com/), [llama-index](https://www.llamaindex.ai/), RAG)\n- [X] define workflows/queries, document examples\n- [X] prepare submission - screenrecording, presentation\n\nOptional features:\n- [ ] set up free database to store user feedback ([streamlit feedback](https://github.com/trubrics/streamlit-feedback))\n- [ ] implement [LangChain extraction pipeline](https://python.langchain.com/docs/use_cases/extraction) to turn unstructured to structured medical notes (ideally FHIR format)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsenst%2Fllm-enhanced-ehr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsenst%2Fllm-enhanced-ehr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsenst%2Fllm-enhanced-ehr/lists"}