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 """)