ClinicalGen aims to streamline the process of generating comprehensive data quality reports tailored for clinical data. By automating the evaluation of data integrity and presenting insights in a clear, actionable format, ClinicalGen empowers researchers and healthcare professionals to enhance data reliability and improve clinical outcomes.
ClinicalGen is hosted at clinicalgen.straive.app. It offers:
- Data Quality Report/Regulatory Report Generation: Generate a Data Quality report/Regulatory report from pre-loaded data.
- Custom Report Generation: Upload your own Excel report for analysis.
- Visit clinicalgen.straive.app
- Log in to LLM Foundry if prompted
- Choose one of the following options:
- Click "Generate" under "Data Quality Report" or "Regulatory Report" to use pre-loaded data
- Click "Upload your Excel file here" under "Custom Report" to use your own data
- View the generated report, including:
- Executive Summary
- Analysis of data quality
- AI-generated recommendations
- Interactive charts for bandwidth and session usage
- AI-powered recommendations based on report data
- Responsive design for various screen sizes
- Dark mode toggle
index.html
: Main HTML filescript.js
: Core JavaScript functionalityimg/
: Directory for images used in the report
To add a new demo:
- Update the
#demos
section inindex.html
- Create a new Excel file (e.g.,
new-demo.xlsx
) with the required data structure:- Include a "Summary" sheet with key-value pairs
- Add additional sheets for specific data sections
- Update the
qualityReport
function inscript.js
to handle the new data structure if needed - Modify the chart generation code if the new demo requires different visualizations
- HTML5, CSS3 (Bootstrap 5.3.3)
- JavaScript (ES6+)
- lit-html for templating
- Chart.js for data visualization
- XLSX library for Excel file parsing
- Marked for Markdown parsing
- LLM Foundry API for AI-generated recommendations
- Clone the repository
- Serve the project using a local web server (e.g.,
python -m http.server
) - Open
http://localhost:8000
in your browser
The project uses the LLM Foundry API for generating recommendations. Ensure you have the necessary credentials and update the token retrieval logic in script.js
if needed.
- Modify the
qualityReport
function inscript.js
to change the report structure - Update styles in
index.html
to customize the appearance - Adjust chart configurations in
script.js
for different visualizations