Spaces:
Build error
Build error
import streamlit as st | |
import pandas as pd | |
def create_free_resource_list(): | |
st.markdown(""" | |
1. Alcohol Use Disorder: | |
- Join a support group such as Alcoholics Anonymous (AA) for peer support and accountability. (https://www.aa.org/) | |
- Set a goal to reduce alcohol consumption or quit drinking completely. | |
- Utilize free online resources such as AlcoholHelp (https://alcoholhelp.com/) and Ria Health (https://riahealth.com/) to track progress, receive personalized coaching, and access self-help tools. | |
2. Anorexia Nervosa: | |
- Connect with a support group such as ANAD (Anorexia Nervosa and Associated Disorders) for peer support and encouragement. (https://anad.org/) | |
- Set a goal to increase caloric intake and develop a healthy meal plan. | |
- Utilize free online resources such as Eating Disorder Hope (https://www.eatingdisorderhope.com/) and NEDA (National Eating Disorders Association) (https://www.nationaleatingdisorders.org/) for information, self-help tools, and support. | |
3. Anxiety Disorders: | |
- Practice mindfulness and relaxation techniques such as deep breathing, meditation, or yoga to reduce stress and anxiety. | |
- Engage in physical activity or exercise to improve overall well-being and release tension. | |
- Utilize free online resources such as Anxiety and Depression Association of America (https://adaa.org/) and 7 Cups (https://www.7cups.com/) to access self-help tools, connect with a trained listener, or receive support from an online community. | |
4. Bipolar Disorder: | |
- Create a daily routine to promote stability and reduce the risk of mood swings. | |
- Identify triggers and develop coping strategies. | |
- Utilize free online resources such as Depression and Bipolar Support Alliance (https://www.dbsalliance.org/) and International Bipolar Foundation (https://ibpf.org/) for information, support, and resources. | |
5. Disruptive Mood Dysregulation Disorder: | |
- Develop a behavior plan to manage emotions and reduce disruptive behavior. | |
- Utilize free online resources such as Child Mind Institute (https://childmind.org/) and American Academy of Child and Adolescent Psychiatry (https://www.aacap.org/) for information and support. | |
6. Behavioral Health: | |
- Identify sources of stress and develop coping strategies. | |
- Utilize free online resources such as Mental Health America (https://www.mhanational.org/) and SAMHSA (https://www.samhsa.gov/) for information, support, and resources. | |
7. Major Depressive Disorder: | |
- Develop a self-care plan that includes activities that promote enjoyment and relaxation. | |
- Connect with a support group such as Depression and Bipolar Support Alliance (https://www.dbsalliance.org/) for peer support and encouragement. | |
- Utilize free online resources such as National Alliance on Mental Illness (https://www.nami.org/) and Crisis Text Line (https://www.crisistextline.org/) for information, support, and crisis intervention. | |
8. Neurocognitive Disorders: | |
- Establish a routine and engage in activities that promote mental stimulation. | |
- Utilize free online resources such as Alzheimer's Association (https://www.alz.org/) and Lewy Body Dementia Association (https://www.lbda.org/) for information and support. | |
9. Obsessive-Compulsive Disorder: | |
- Identify triggers and develop coping strategies such as exposure and response prevention therapy. | |
- Utilize free online resources such as International OCD Foundation (https://iocdf.org/) and OCD Center of Los Angeles (https://ocdla.com/) for information, support, and resources. | |
10. Opioid Use Disorder: | |
- Join a support group such as Narcotics Anonymous (NA) for peer support and accountability. (https://www.na.org/) | |
- Seta goal to reduce or quit opioid use. | |
- Utilize free online resources such as Substance Abuse and Mental Health Services Administration (SAMHSA) (https://www.samhsa.gov/) and National Institute on Drug Abuse (NIDA) (https://www.drugabuse.gov/) for information, support, and resources. | |
11. Post-Traumatic Stress Disorder: | |
- Practice relaxation techniques such as deep breathing and progressive muscle relaxation to reduce stress and anxiety. | |
- Connect with a support group such as Sidran Institute (https://www.sidran.org/) for peer support and encouragement. | |
- Utilize free online resources such as National Center for PTSD (https://www.ptsd.va.gov/) and PTSD Alliance (https://www.ptsdalliance.org/) for information, self-help tools, and support. | |
12. Schizophrenia: | |
- Establish a routine and engage in activities that promote mental stimulation and socialization. | |
- Connect with a support group such as National Alliance on Mental Illness (NAMI) (https://www.nami.org/) for peer support and encouragement. | |
- Utilize free online resources such as Schizophrenia and Related Disorders Alliance of America (https://www.sardaa.org/) and Schizophrenia.com (https://www.schizophrenia.com/) for information, support, and resources. | |
13. Schizoaffective Disorder: | |
- Create a daily routine to promote stability and reduce the risk of mood swings. | |
- Connect with a support group such as Depression and Bipolar Support Alliance (DBSA) (https://www.dbsalliance.org/) for peer support and encouragement. | |
- Utilize free online resources such as Schizoaffective Disorder Resource Center (https://www.schizoaffective.org/) and National Alliance on Mental Illness (NAMI) (https://www.nami.org/) for information, support, and resources. | |
14. Stimulant Use Disorder: | |
- Join a support group such as Cocaine Anonymous (https://ca.org/) or Crystal Meth Anonymous (https://crystalmeth.org/) for peer support and accountability. | |
- Set a goal to reduce or quit stimulant use. | |
- Utilize free online resources such as Substance Abuse and Mental Health Services Administration (SAMHSA) (https://www.samhsa.gov/) and National Institute on Drug Abuse (NIDA) (https://www.drugabuse.gov/) for information, support, and resources. | |
""") | |
def create_topic_cross_reference(): | |
topics = [ | |
{'Number': 1, 'Topic': 'Alcohol Use Disorder', 'ICD-10 Code': 'F10', 'DSM Code': '303.9'}, | |
{'Number': 2, 'Topic': 'Anorexia Nervosa', 'ICD-10 Code': 'F50.0', 'DSM Code': '307.1'}, | |
{'Number': 3, 'Topic': 'Anxiety Disorders', 'ICD-10 Code': 'F41.0', 'DSM Code': '300.00'}, | |
{'Number': 4, 'Topic': 'Bipolar Disorder', 'ICD-10 Code': 'F31.9', 'DSM Code': '296.8'}, | |
{'Number': 5, 'Topic': 'Disruptive Mood Dysregulation Disorder', 'ICD-10 Code': 'F34.1', 'DSM Code': '296.99'}, | |
{'Number': 6, 'Topic': 'Behavioral Health', 'ICD-10 Code': 'Z71.9', 'DSM Code': 'V62.89'}, | |
{'Number': 7, 'Topic': 'Major Depressive Disorder', 'ICD-10 Code': 'F32.9', 'DSM Code': '296.2'}, | |
{'Number': 8, 'Topic': 'Neurocognitive Disorders', 'ICD-10 Code': 'F06.7', 'DSM Code': '294.9'}, | |
{'Number': 9, 'Topic': 'Obsessive-Compulsive Disorder', 'ICD-10 Code': 'F42', 'DSM Code': '300.3'}, | |
{'Number': 10, 'Topic': 'Opioid Use Disorder', 'ICD-10 Code': 'F11.9', 'DSM Code': '304.00'}, | |
{'Number': 11, 'Topic': 'Post-Traumatic Stress Disorder', 'ICD-10 Code': 'F43.1', 'DSM Code': '309.81'}, | |
{'Number': 12, 'Topic': 'Schizophrenia', 'ICD-10 Code': 'F20.9', 'DSM Code': '295.90'}, | |
{'Number': 13, 'Topic': 'Schizoaffective Disorder', 'ICD-10 Code': 'F25.9', 'DSM Code': '295.70'}, | |
{'Number': 14, 'Topic': 'Stimulant Use Disorder', 'ICD-10 Code': 'F15.9', 'DSM Code': '304.00'} | |
] | |
df = pd.DataFrame(topics) | |
return df | |
def main(): | |
st.title("Mental-Health-ICD10-to-DSM-Care-Needs") | |
df = create_topic_cross_reference() | |
st.markdown(df.to_html(index=False, justify='center', classes=['dataframe']), unsafe_allow_html=True) | |
create_free_resource_list() | |
if __name__ == "__main__": | |
main() | |