Spaces:
Build error
Build error
import streamlit as st | |
st.markdown(""" | |
# Graphs - MeSH Tree Structures: | |
Tree MeSH: | |
https://www.nlm.nih.gov/mesh/intro_trees.html | |
https://meshb.nlm.nih.gov/treeView | |
# Clusters Topic Modeling and NLP: | |
https://www.google.com/search?q=topic+cluster+model+python&rlz=1C1GCEA_enUS969US969&oq=topic+cluster+model+python&aqs=chrome..69i57.5157j0j4&sourceid=chrome&ie=UTF-8#fpstate=ive&vld=cid:a25dde33,vid:0tkg7t2gsfY | |
https://www.surveymonkey.com/mp/natural-language-processing/ | |
https://github.com/NiuTrans/ABigSurvey | |
https://aclanthology.org/2022.aacl-main.46.pdf | |
https://youtu.be/0tkg7t2gsfY | |
https://youtu.be/pZgYRYUc6Mc | |
https://youtu.be/1CJvt4OjWgs | |
https://www.kaggle.com/code/panks03/clustering-with-topic-modeling-using-lda | |
# Knowledge Graphs - Assessment and Care Plan: | |
## Assessment: | |
![image](https://github.optum.com/storage/user/15588/files/4bbee534-f336-4cd1-ae8f-4e37a3e28357) | |
## Care Plan: | |
![image](https://github.optum.com/storage/user/15588/files/1f90120a-597d-4a62-8fdf-1c70015aca25) | |
## Graphs for Public Open Source Taxonomies and Ontologies: | |
ML: https://huggingface.co/spaces/awacke1/VizLib-GraphViz-SwimLanes-Digraph-ForMLLifecycle | |
Demo: https://huggingface.co/spaces/awacke1/CardGameActivity-GraphViz | |
Mermaid: https://huggingface.co/spaces/awacke1/MermaidModelHTML5Demo | |
OMS: https://huggingface.co/spaces/awacke1/CPVisGraph | |
Graphviz: https://huggingface.co/spaces/awacke1/GraphViz-Demo | |
ExamplesOfAI: https://huggingface.co/spaces/awacke1/ExamplesOfAI | |
## FHIR - CT - Graph | |
# FHIR: | |
https://huggingface.co/spaces/awacke1/Clinical-Terminology-FHIR-Assessment | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Observation-SDKs | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Kits-SDC-HL7 | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Blood-Pressure | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Exercise | |
# Clinical Terminology: | |
https://huggingface.co/spaces/awacke1/Ontology-Gradio | |
https://huggingface.co/spaces/awacke1/Biomed-NLP-AI-Clinical-Terminology | |
https://huggingface.co/spaces/awacke1/ClinicalTerminologyNER-Refactored | |
https://huggingface.co/spaces/awacke1/ClinicalTerminologyAISearch | |
https://huggingface.co/spaces/awacke1/ClinicalTerminologyAISearch1215 | |
# Graph, Clinical Terminology, FHIR Apps and Services: | |
https://huggingface.co/spaces/awacke1/Git-GPG-Git-Actions-01-GraphViz | |
https://huggingface.co/spaces/awacke1/Dice-Roll-Treemap-Plotly | |
https://huggingface.co/spaces/awacke1/GraphVis3 | |
https://huggingface.co/spaces/awacke1/GraphViz-Demo | |
https://huggingface.co/spaces/awacke1/StreamlitGraphViz | |
https://huggingface.co/spaces/awacke1/CardGameActivity-GraphViz | |
# CP Matplotlib, NetworkX, Streamlit, PyVis, st-click0detector, graphviz: | |
https://huggingface.co/spaces/awacke1/CPVisGraph | |
# OMS and LOCUS: | |
https://huggingface.co/spaces/awacke1/NLPGraphOMSandLOCUS | |
# Technical Architecture - Open Source Graph ML Libraries: | |
NetworkX: https://networkx.org/ | |
PyTorch GNN: https://github.com/microsoft/ptgnn | |
Jraph: https://github.com/deepmind/jraph | |
Spektral: https://graphneural.network/ | |
Graph Nets: https://github.com/deepmind/graph_nets | |
Deep Graph Library (DGL): https://github.com/dmlc | |
PyTorch Geometric: https://github.com/pyg-team/pytorch_geometric | |
# Provider Graph - Maps of Hospitals | |
https://huggingface.co/spaces/awacke1/MN.Map.Hospitals.Top.Five | |
![image](https://user-images.githubusercontent.com/30595158/226150906-65fcdb27-b234-4500-8cd8-c6b88d1afa05.png) | |
# Technical Architecture - Open Source Graph ML Libraries: | |
NetworkX: https://networkx.org/ | |
PyTorch GNN: https://github.com/microsoft/ptgnn | |
Jraph: https://github.com/deepmind/jraph | |
Spektral: https://graphneural.network/ | |
Graph Nets: https://github.com/deepmind/graph_nets | |
Deep Graph Library (DGL): https://github.com/dmlc | |
PyTorch Geometric: https://github.com/pyg-team/pytorch_geometric | |
# Clinical Terminology: | |
# FHIR: | |
https://huggingface.co/spaces/awacke1/Clinical-Terminology-FHIR-Assessment | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Observation-SDKs | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Kits-SDC-HL7 | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Blood-Pressure | |
https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Exercise | |
# Clinical Terminology: | |
https://huggingface.co/spaces/awacke1/Ontology-Gradio | |
https://huggingface.co/spaces/awacke1/Biomed-NLP-AI-Clinical-Terminology | |
https://huggingface.co/spaces/awacke1/ClinicalTerminologyNER-Refactored | |
https://huggingface.co/spaces/awacke1/ClinicalTerminologyAISearch | |
https://huggingface.co/spaces/awacke1/ClinicalTerminologyAISearch1215 | |
# Maps | |
Space | URL | |
------------------------------------------------------------------------------------------------------------------------------------------- | |
awacke1/VizLib-TopLargeHospitalsNewJersey-03-09-2023 | https://huggingface.co/spaces/awacke1/VizLib-TopLargeHospitalsNewJersey-03-09-2023 | |
awacke1/Bird-Species-Migration-Month-Map | https://huggingface.co/spaces/awacke1/Bird-Species-Migration-Month-Map | |
βοΈπ§ π¬π§¬ Clinical Terminology Auto Mapper AI π©ββοΈπ©ΊβοΈπ | https://huggingface.co/spaces/awacke1/SNOMED-LOINC-eCQM | |
awacke1/Visualization-Plotly-Sunbursts-Treemaps-and-WebGL | https://huggingface.co/spaces/awacke1/Visualization-Plotly-Sunbursts-Treemaps-and-WebGL | |
awacke1/HTML5-Aframe-3D-Maps | https://huggingface.co/spaces/awacke1/HTML5-Aframe-3D-Maps | |
awacke1/HTML5-Aframe-3dMap-Flight | https://huggingface.co/spaces/awacke1/HTML5-Aframe-3dMap-Flight | |
Figures: | |
![image](https://user-images.githubusercontent.com/30595158/226116055-25b8c900-bc10-472d-8b5f-61c7b8b5452b.png) | |
# MediaPipe | |
### A cross language SDK for AI that is real time, 3d, camera responsive, and on any device for nearly any language | |
#### Vision | |
#### Natural Language | |
#### Audio | |
Mediapipe has fast and flexible AI/ML pipelines. | |
Examples with Javascript Links! | |
1. Image Classifier: https://mediapipe-studio.webapps.google.com/demo/image_classifier | |
2. Object Detector: https://mediapipe-studio.webapps.google.com/demo/object_detector | |
3. Text Classification: https://mediapipe-studio.webapps.google.com/demo/text_classifier | |
4. Gesture Recognizer: https://mediapipe-studio.webapps.google.com/demo/gesture_recognizer | |
5. Hand Landmark Detection: https://mediapipe-studio.webapps.google.com/demo/hand_landmarker | |
6. Audio Classifier: https://mediapipe-studio.webapps.google.com/demo/audio_classifier | |
Get started with just Javascript!! | |
Getting Started: https://google.github.io/mediapipe/getting_started/javascript.html | |
Javascript Solutions - Ready to Demo: | |
1. Face Mesh: https://codepen.io/mediapipe/full/KKgVaPJ | |
2. Face Detection: https://codepen.io/mediapipe/full/dyOzvZM | |
3. Hands: https://codepen.io/mediapipe/full/RwGWYJw | |
4. Face, Hands, Body: https://codepen.io/mediapipe/full/LYRRYEw | |
5. Objectron: https://codepen.io/mediapipe/full/BaWvzdY | |
6. Full Skeletal Pose: https://codepen.io/mediapipe/full/jOMbvxw | |
7. Self Segmentation From Background: https://codepen.io/mediapipe/full/wvJyQpq | |
# QA Model Spaces: | |
QA use cases include QA, Semantic Document and FAQ Search. | |
1. Streamlit Question Answering w Hugging Face: https://huggingface.co/spaces/awacke1/Question-answering | |
2. Seq2Seq: | |
- https://huggingface.co/spaces/awacke1/4-Seq2SeqQAT5 | |
- https://huggingface.co/spaces/awacke1/AW-04-GR-Seq-2-Seq-QA-Auto-Gen | |
- | |
3. BioGPT: https://huggingface.co/spaces/awacke1/microsoft-BioGPT-Large-PubMedQA | |
4. NLP QA Context: https://huggingface.co/spaces/awacke1/NLPContextQATransformersRobertaBaseSquad2 | |
- https://huggingface.co/spaces/awacke1/SOTA-Plan | |
5. https://huggingface.co/spaces/awacke1/Question-answering | |
6. QA MLM: https://huggingface.co/spaces/awacke1/SOTA-MedEntity | |
# π€ QA Models and Datasets: | |
- Reader model extracts answers from text using QA pairs. SQuAD is the primary dataset. | |
- Transformers (huggingface) has research momentum and solves real business problems. | |
## π» Process: | |
1. Best practices for QA systems: https://www.youtube.com/playlist?list=PLHgX2IExbFotW6WgDZ-cMzpDBUNKCMBbF | |
2. Optimize Question/Answer Heads for SQuAD. | |
3. QA search to ask questions to textual kb. | |
4. Return text sections as answers. | |
5. Organize text collection. | |
6. Find similar documents to given input. | |
7. Perform semantic and comprehensive word matching. | |
8. Match incoming questions to FAQ KB dataset. | |
## π Tasks: | |
1. Visual, | |
2. Document, and | |
3. Table QA. | |
4. Zero Shot Classification. | |
5. Translation. | |
6. Conversational/Chat. | |
7. Text2Text Generation. | |
8. ASR/TTS. | |
# Mermaid model | |
```mermaid | |
graph LR; | |
A[Reader model]-->B[SQuAD]; | |
C[Transformers from Huggingface]-->D[Real Business Problems]; | |
E[Best practices for QA systems]-->F[Optimize Question/Answer Heads for SQuAD]; | |
G[QA search]-->H[Textual KB]; | |
H-->I[Return text sections as answers]; | |
J[Organize text collection]-->K[Find similar documents to given input]; | |
K-->I; | |
L[Perform semantic and comprehensive word matching]-->I; | |
M[Match incoming questions to FAQ KB dataset]-->I; | |
N[Visual QA]-->O[Document QA]; | |
N-->P[Table QA]; | |
Q[Zero Shot Classification]-->I; | |
R[Translation]-->I; | |
S[Conversational/Chat]-->I; | |
T[Text2Text Generation]-->I; | |
U[ASR/TTS]-->I; | |
``` | |
# Top 50 Assessments in Physical and Mental Health | |
Below are the top 50 mental and physical health assessments. | |
1. **Patient Health Questionnaire (PHQ-9)** π§ - Major depressive disorder (ICD-10: F32) | |
2. **Generalized Anxiety Disorder 7-item Scale (GAD-7)** π° - Generalized anxiety disorder (ICD-10: F41.1) | |
3. **Hamilton Rating Scale for Depression (HRSD)** π§ - Major depressive disorder (ICD-10: F32) | |
4. **World Health Organization Disability Assessment Schedule 2.0 (WHODAS 2.0)** π§ πͺ - Physical and mental disability (ICD-10: Z73.1) | |
5. **Short Form-36 Health Survey (SF-36)** πͺπ§ - Health-related quality of life (CPT: 99499) | |
6. **Health Assessment Questionnaire (HAQ)** πͺ - Functional status assessment (CPT: 97750) | |
7. **EuroQol-5D (EQ-5D)** πͺπ§ - Health-related quality of life (LOINC: 83792-6) | |
8. **Geriatric Depression Scale (GDS)** π§βπ¦³π§ - Depression in older adults (ICD-10: F32.1) | |
9. **Mini-Mental State Examination (MMSE)** π§βπ¦³π - Cognitive impairment (ICD-10: F06.7) | |
10. **Pain Catastrophizing Scale (PCS)** π - Chronic pain (LOINC: 86351-6) | |
11. **Oswestry Disability Index (ODI)** πͺπ - Back pain (CPT: 97750) | |
12. **Fibromyalgia Impact Questionnaire (FIQ)** ππ© - Fibromyalgia (SNOMED: 316962002) | |
13. **Beck Depression Inventory (BDI)** π§ - Depression (ICD-10: F32) | |
14. **Posttraumatic Stress Disorder Checklist (PCL)** π°π - Posttraumatic stress disorder (ICD-10: F43.1) | |
15. **Alcohol Use Disorders Identification Test (AUDIT)** π» - Alcohol use disorder (ICD-10: F10) | |
16. **Drug Abuse Screening Test (DAST)** π - Substance use disorder (ICD-10: F19) | |
17. **Eating Attitudes Test (EAT)** π΄ - Eating disorders (ICD-10: F50) | |
18. **Adolescent Eating Disorder Examination (ADE)** π΄π©βπ¦° - Eating disorders in adolescents (ICD-10: F50) | |
19. **Child Behavior Checklist (CBCL)** π§π§ - Child behavior problems (ICD-10: F90) | |
20. **Autism Spectrum Quotient (AQ)** π§β𦱠- Autism spectrum disorder (ICD-10: F84.0) | |
21. **Columbia-Suicide Severity Rating Scale (C-SSRS)** π©Έ - Suicide risk (ICD-10: Z65.8) | |
22. **Perceived Stress Scale (PSS)** π© - Stress (LOINC: 75217-3) | |
23. **Satisfaction with Life Scale (SWLS)** π - Life satisfaction (LOINC: 69406-9) | |
24. **Health Belief Model Scale (HBM)** ππ - Health beliefs (LOINC: 88018) | |
25. **Multidimensional Health Locus of Control Scale (MHLC)** ππ - Health locus of control (LOINC: 87561-7) | |
26. **Life Orientation Test-Revised (LOT-R)** π - Optimism (LOINC: 75315-5) | |
27. **State-Trait Anxiety Inventory (STAI)** π° - Anxiety (LOINC: 71092-3) | |
28. **Multidimensional Scale of Perceived Social Support (MSPSS)** π₯ - Social support (LOINC: 86649-4) | |
29. **Job Content Questionnaire (JCQ)** πΌ - Job stress (LOINC: 76554-9) | |
30. **Burnout Measure (BO)** π₯ - Burnout (LOINC: 89049-8) | |
31. **Family Assessment Device (FAD)** π¨βπ©βπ§ - Family functioning (LOINC: 84113-2) | |
32. **Perceived Control Scale (PCS)** πͺ - Perceived control (LOINC: 86447-0) | |
33. **General Self-Efficacy Scale (GSES)** πͺ - Self-efficacy (LOINC: 76563-0) | |
34. **Coping Strategies Inventory (CSI)** π - Coping strategies (LOINC: 89057-1) | |
35. **Acceptance and Action Questionnaire (AAQ-II)** π§ - Acceptance and commitment therapy (LOINC: 88027-2) | |
36. **Attention Deficit Hyperactivity Disorder Self-Report Scale (ASRS)** π§π§ - ADHD (ICD-10: F90) | |
37. **Impact of Event Scale-Revised (IES-R)** ππ - Trauma (LOINC: 86237-7) | |
38. **Insomnia Severity Index (ISI)** π€ - Insomnia (LOINC: 82451-5) | |
39. **Social Phobia Inventory (SPIN)** π° - Social anxiety disorder (ICD-10: F40.1) | |
40. **Panic Disorder Severity Scale (PDSS)** π° - Panic disorder (ICD-10: F41.0) | |
41. **Yale-Brown Obsessive Compulsive Scale (Y-BOCS)** π€ - Obsessive-compulsive disorder (ICD-10: F42) | |
42. **Social Interaction Anxiety Scale (SIAS)** π° - Social anxiety disorder (ICD-10: F40.1) | |
43. **Generalized Anxiety Disorder Scale (GADS)** π° - Generalized anxiety disorder (ICD-10: F41.1) | |
44. **Postpartum Depression Screening Scale (PDSS)** π€±π§ - Postpartum depression (ICD-10: F53.0) | |
45. **Child and Adolescent Symptom Inventory (CASI)** π§π§π§ - Child and adolescent mental health (ICD-10: F90) | |
46. **Strengths and Difficulties Questionnaire (SDQ)** π§π§π§ - Child and adolescent mental health (ICD-10: F90) | |
47. **Kessler Psychological Distress Scale (K10)** π§ - Psychological distress (LOINC: 76550-6) | |
48. **World Health Organization Quality of Life Scale (WHOQOL)** πͺπ§ - Quality of life (LOINC: 88055-2) | |
49. **Multidimensional Pain Inventory (MPI)** π - Chronic pain (LOINC: 71808-8) | |
50. **Cornell Scale for Depression in Dementia (CSDD)** π΄π΅π§ - Depression in dementia patients (ICD-10: F03.90) | |
# SMART/FHIR/SDC Survey-Assess-Plan | |
These SMART/FHIR/SDC compatible Surveys demonstrate how to build and conducct surveys with EMR/EHR Compliance Standards | |
1. Smart FHIR Connect and Test BMI Calculator: https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-BMI | |
2. Smart FHIR Kits SDC HL7: https://huggingface.co/spaces/awacke1/SMART-FHIR-Kits-SDC-HL7 | |
3. Smart FHIR Assessment Exercise: https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Exercise | |
4. Smart FHIR Assessment Blood Pressure: https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Blood-Pressure | |
5. Smart FHIR - Observations-Assessments-Rules-Referrals-Providers-Programs-Fulfillment-Alerrts-Notes-SDOH: https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Observation-SDKs | |
# Graphs Survey-Assess-Plan-Goals | |
These top 5 graph examples introduce visual ideas to use to survey, assess, plan and reach goals. | |
1. Graph OMS and LOCUS Standards and Quality Metrics: https://huggingface.co/spaces/awacke1/NLPGraphOMSandLOCUS | |
2. Graph Pain and High Medium Low Confidence: https://huggingface.co/spaces/awacke1/VISNLP-Graph | |
3. Graph Action Mechanics: https://huggingface.co/spaces/awacke1/CardGameActivity-GraphViz | |
4. Graph - OMS, MH, Charts, Maps, DOT lang for Pyvis VisJS: https://huggingface.co/spaces/awacke1/CPVisGraph | |
5. Graph - Plan and Assess: https://huggingface.co/spaces/awacke1/Git-GPG-Git-Actions-01-GraphViz | |
# ICD10, CPT, LOINC, SNOMED, HCPCS, OMS Codes for Top Health Conditions and Treatment Preferences Assessment | |
Assess Topic| Assess Metric | Code Emoji | Code Topic | Code Type | Code | |
------------|---------------|------------|------------|------------|----------- | |
Childhood Immunization| % of children immunized by age two |π§π | Clinical Code| ICD10 | Z28.2 | |
Breast Cancer Screening| % of women with mammogram in past 2 yrs |π©Ίπ | Clinical Code| CPT| 77067 | |
Colorectal Cancer Screening| % of adults screened for colorectal cancer| π©Ίπ© | Clinical Code| CPT| 82274 | |
Comprehensive Diabetes Care| % of diabetic patients who had all recommended tests| π©Ίπ©Ή | Clinical Code| LOINC| 4548-4 | |
Controlling High Blood Pressure| % of patients with controlled blood pressure| π©Ίπ | Clinical Code| ICD10|I10 | |
Medication Management for Asthma| % of asthma patients with proper meds| ππ¬οΈ | Clinical Code| SNOMED|195967001 | |
Follow-up After Mental Illness Hospitalization| % of patients with follow-up care| π©Ίπ₯ | Clinical Code| HCPCS|G0181 | |
Prenatal & Postpartum Care| % of pregnant women with proper care |π€°π©Ί | Clinical Code| ICD10|Z34 | |
Comprehensive Eye Exam| % of diabetic patients with eye exam |π©Ίπ | Clinical Code| CPT| 92014 | |
Childhood Weight Assessment| % of children with BMI assessment |π§π | Clinical Code| ICD10| Z00.121 | |
Chlamydia Screening in Women| % of sexually active women screened| π©Ίπ© | Clinical Code| CPT|87491 | |
Avoidance of Antibiotic Treatment for Acute Bronchitis| % of patients without antibiotics |π©Ίπ | Clinical Code| ICD10|J20.9 | |
Osteoporosis Management in Women|% of women with bone density test |π©Ίπͺ | Clinical Code| CPT|77080 | |
Use of High-Risk Medications in the Elderly| % of elderly with safe meds |ππ΄π΅ | Clinical Code| HCPCS |G9612 | |
Diabetes Screening for Schizophrenia or Bipolar Disorder| % of patients with mental illness screened |π§ π©Ί | Clinical Code| SNOMED| 169609005 | |
All-Cause Readmissions| % of patients readmitted within 30 days |π©Ίπ₯ | Clinical Code| ICD10| Z51.5 | |
Antidepressant Medication Management| % of depressed patients with proper meds & follow-up |π©Ίπ§ | Clinical Code| CPT|96127 | |
Follow-up Care for Children Prescribed ADHD Medication|% of children with follow-up care |π©Ίπ§ | Clinical Code| ICD10|F90 | |
Imaging Studies for Low Back Pain| % of patients without imaging studies|π©Ίπ | Clinical Code| ICD10|M54.5 | |
Spirometry Testing for COPD|% of COPD patients with spirometry testing |π©Ίπ« | Clinical Code|CPT|94010 | |
""") |