{"id":19716338,"url":"https://github.com/janduplessis883/diabetes-streamlit","last_synced_at":"2026-06-12T11:31:27.896Z","repository":{"id":261318595,"uuid":"883954687","full_name":"janduplessis883/diabetes-streamlit","owner":"janduplessis883","description":"Diabetes recall system implemented with a Steamlit app","archived":false,"fork":false,"pushed_at":"2025-06-02T23:04:00.000Z","size":9817,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T12:21:42.223Z","etag":null,"topics":["diabetes","ehr","nhs","primary-care"],"latest_commit_sha":null,"homepage":"https://diabetesdashboard.streamlit.app","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janduplessis883.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-11-05T21:50:20.000Z","updated_at":"2025-06-02T23:04:03.000Z","dependencies_parsed_at":"2024-11-05T22:38:47.491Z","dependency_job_id":"738ca941-156b-40fd-aa67-c62b24715a8d","html_url":"https://github.com/janduplessis883/diabetes-streamlit","commit_stats":null,"previous_names":["janduplessis883/diabetes-streamlit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/janduplessis883/diabetes-streamlit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janduplessis883%2Fdiabetes-streamlit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janduplessis883%2Fdiabetes-streamlit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janduplessis883%2Fdiabetes-streamlit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janduplessis883%2Fdiabetes-streamlit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janduplessis883","download_url":"https://codeload.github.com/janduplessis883/diabetes-streamlit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janduplessis883%2Fdiabetes-streamlit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34243051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["diabetes","ehr","nhs","primary-care"],"created_at":"2024-11-11T22:41:49.261Z","updated_at":"2026-06-12T11:31:27.865Z","avatar_url":"https://github.com/janduplessis883.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diabetes Dashboard for Primary Care\n![intro-gif](github.png)\n\nA streamlined **Diabetes Dashboard** for managing diabetes recalls in primary care settings, designed to optimize patient follow-up and streamline assessment, testing, and recall workflows. This tool helps healthcare providers identify, segment, and manage cohorts of diabetic patients for recalls, including online pre-assessments, blood tests, foot checks, and clinician reviews.\n\nThe dashboard integrates with Tally forms and Accurx SMS invites, allowing users to quickly prepare and send cohort-specific SMS invitations. The app is accessible directly online at [diabetesdashboard.streamlit.app](https://diabetesdashboard.streamlit.app/).\n\n---\n\n## Features\n\n- **Guideline-Based Recalls**: Provides guidelines-based recall frequencies for key diabetic metrics including HbA1c, blood pressure, lipid profile, renal function, and more.\n- **Patient Cohort Segmentation**: Enables filtering of patient cohorts based on clinical need, recent results, and due statuses for recalls.\n- **Streamlined Data Processing**: Supports uploading of the latest Diabetes Register and Dashboard files for easy integration and updates.\n- **Tally Form Integration**: Guides cohort selection and prepares patients for online pre-assessment, with integration options for Tally forms and Google Sheets.\n- **Cohort-Specific SMS Generation**: Downloads custom CSV files compatible with the Accurx SMS tool for efficient patient communication.\n- **Visualization**: Displays histograms and other visual summaries of key metrics to help clinicians quickly interpret patient distribution data for key metrics.\n\n---\n\n## Guidelines for Diabetes Management\n\nThe tool supports diabetes management according to NICE (National Institute for Health and Care Excellence) guidelines, with recommendations and recall frequencies for various diabetic metrics:\n\n1. **HbA1c (Glycated Hemoglobin)**:\n   - If **\u003c 53 mmol/mol**: Annual check.\n   - If **53–75 mmol/mol**: Every 3-6 months.\n   - If **\u003e 75 mmol/mol**: Every 3 months.\n\n2. **Blood Pressure**:\n   - **\u003c 140/80 mmHg** or **\u003c 130/80 mmHg** (for those with renal, ocular, or cerebrovascular disease).\n   - Check annually if stable or every 1–3 months if above target.\n\n3. **Lipid Profile (Cholesterol)**:\n   - Annual check if stable and on statins.\n   - Re-check at 3 months when initiating or changing therapy.\n\n4. **Renal Function (eGFR and ACR)**:\n   - Annual check if normal, every 6 months if reduced renal function or albuminuria.\n\n5. **Eye Screening**:\n   - Annual check if no signs of retinopathy; every 6 months if high risk.\n\n6. **Foot Examination**:\n   - Annual check if low risk; more frequent checks if moderate or high risk.\n\n7. **Body Mass Index (BMI) and Weight**:\n   - Annual check if stable or every 6 months if BMI \u003e 30 or weight loss is a goal.\n\n---\n\n## Quick Start Guide\n\n### **Diabetes Recall Workflow**\nThe tool is optimized to assist with the following steps in the diabetes recall process:\n\n1. **Online Pre-Assessment**:\n   - Use Tally forms for the online pre-assessment questionnaire with advanced logic to enhance completion speed. Note: NHS network blocks Tally; set up at home or via a mobile internet connection.\n   - Integrate Tally forms with Google Sheets or Notion for easy management of patient responses.\n\n2. **Recall Tool Usage**:\n   - Prepare your **Diabetes Register SMS CSV** for Accurx invites. Required columns include `NHS number, Preferred Telephone number, Date of birth, First name, Email`.\n   - Save your latest **Diabetes Dashboard** as a CSV file.\n   - Upload both files to the tool.\n   - Navigate through the interface to segment and optimize patient cohorts for recall.\n   - Download targeted SMS CSV files for each patient cohort as needed.\n\n3. **Cohort-Specific SMS Generation**:\n   - Customize and generate downloadable CSV files with patient lists specific to each recall activity.\n   - Send SMS notifications through the Accurx SMS Tool using the generated files.\n\n### **Visualization of Patient Metrics**\n- Access a 2x5 grid of histograms displaying age, diagnosis duration, HbA1c, blood pressure, lipid profiles, and more.\n- Quickly interpret data distributions to inform recall priorities and interventions.\n\n### **Links and Resources**\n- [Tally Form Template](https://tally.so/templates/diabetes-pre-assessment-questionnaire/mYQ4zm): Preview and download a pre-configured Tally form template for online patient assessments.\n- [GitHub Repository](https://github.com/janduplessis883/diabetes-streamlit): Star the project and connect with the developer for support or improvements.\n\nFor questions or assistance with using the tool or setting up Tally integrations, please open a GitHub issue.\n\n---  \n\u003cimg alt='Static Badge' src='https://img.shields.io/badge/GitHub-jandupplessis883-%23f09235?logo=github'\u003e  \n\n\nIf you like this project please STAR it on GitHub\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanduplessis883%2Fdiabetes-streamlit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanduplessis883%2Fdiabetes-streamlit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanduplessis883%2Fdiabetes-streamlit/lists"}