ManuelHettich / MediCAT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MediCAT

Deploy to DO

Live Demo App: https://medicat-t3eqm.ondigitalocean.app/

Medicat fully automates the analysis of clinical guidelines, a critical component in enhancing the Clinical Decision Support System (CDSS). By automating the categorization and extraction of content from clinical guidelines, we aim to ensure the highest possible scientific standard of treatment while significantly reducing the time required for updates.

The process pipeline divides this guideline into specific categories:

  1. Diagnostic recommendations,
  2. Medication and other therapeutic recommendations,
  3. Recommendations of monitoring and follow-up,
  4. Possible interactions with other guidelines, including comorbidities,
  5. Early warning signs, estimation of risk and poor evolution,
  6. None of the above five categories.

Pipeline:

alt1

Guideline used for testing

https://www.nice.org.uk/guidance/ng106/resources/chronic-heart-failure-in-adults-diagnosis-and-management-pdf-66141541311685

Technical details

  1. Medical guideline as PDF
  2. Run plaintext2.py on the PDF to extract plain text or use endpoint /process_pdf
    • Example output: uploads/plain_text_file.txt
  3. Link to preconfigured LLM to refine the plaintext into consistent paragraphs and remove the header, footer, page numbers: https://chat.openai.com/g/g-k6P5O3xjk-cdss2
  4. Example output: uploads/paragraphs.txt
  5. Categorize & Rank

alt1

alt1

Add your OpenAI API Key in your environment as OPENAI_API_KEY:

export OPENAI_API_KEY=<your-key>

About

License:GNU Affero General Public License v3.0


Languages

Language:Python 68.2%Language:Swift 16.8%Language:HTML 14.5%Language:Procfile 0.4%