Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,6 +92,33 @@ E08.65 - Diabetes mellitus due to an underlying condition with hyperglycemia
|
|
92 |
E13.65 - Other specified diabetes mellitus with hyperglycemia
|
93 |
""")
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
# Define main function
|
97 |
def main():
|
@@ -128,6 +155,9 @@ def main():
|
|
128 |
questions = create_phq9_questions()
|
129 |
|
130 |
diabetes_code_lookup('E11.9')
|
|
|
|
|
|
|
131 |
|
132 |
# Display each question and an input text field for the answer
|
133 |
keycount=0
|
|
|
92 |
E13.65 - Other specified diabetes mellitus with hyperglycemia
|
93 |
""")
|
94 |
|
95 |
+
def ShowDiabetesAssessment():
|
96 |
+
st.markdown("""
|
97 |
+
# Diabetes Assessment with Code Mapping:
|
98 |
+
## By asking these questions and conducting appropriate tests, healthcare professionals can determine the risk factors for diabetes and pre-diabetes and develop an appropriate treatment plan.
|
99 |
+
|
100 |
+
Medical History: Knowing a person's medical history is important in determining the risk factors for diabetes. Questions may include:
|
101 |
+
Have you ever been diagnosed with diabetes before? (ICD10 code: E11.-)
|
102 |
+
Have any of your family members been diagnosed with diabetes? (ICD10 code: Z83.3)
|
103 |
+
Have you been diagnosed with gestational diabetes during pregnancy? (ICD10 code: O24.4-)
|
104 |
+
Lifestyle Factors: Lifestyle factors such as physical activity, diet, and smoking can also play a role in determining the risk for diabetes. Questions may include:
|
105 |
+
How often do you engage in physical activity? (LOINC code: 8692-2)
|
106 |
+
What types of foods do you typically eat? (LOINC code: 62392-6)
|
107 |
+
Do you smoke or use tobacco products? (SNOMED code: 77176002)
|
108 |
+
Physical Exam: A physical exam can help identify risk factors for diabetes. Questions may include:
|
109 |
+
What is your body mass index (BMI)? (LOINC code: 39156-5)
|
110 |
+
Have you noticed any changes in your vision or eye health? (ICD10 code: H36.9)
|
111 |
+
Have you experienced any numbness or tingling in your hands or feet? (ICD10 code: R20.2)
|
112 |
+
Laboratory Tests: Laboratory tests can help diagnose diabetes and identify risk factors. Questions may include:
|
113 |
+
Have you had a recent blood test to check your blood sugar levels? (LOINC code: 14749-6)
|
114 |
+
Have you had a test to check your HbA1c levels? (LOINC code: 4548-4)
|
115 |
+
Have you had a lipid profile test to check your cholesterol levels? (LOINC code: 24331-1)
|
116 |
+
Other Medical Conditions: Certain medical conditions can increase the risk for diabetes. Questions may include:
|
117 |
+
Have you been diagnosed with polycystic ovary syndrome (PCOS)? (ICD10 code: E28.2)
|
118 |
+
Do you have a history of heart disease? (ICD10 code: I25.10)
|
119 |
+
Have you been diagnosed with sleep apnea? (ICD10 code: G47.33)
|
120 |
+
|
121 |
+
""")
|
122 |
|
123 |
# Define main function
|
124 |
def main():
|
|
|
155 |
questions = create_phq9_questions()
|
156 |
|
157 |
diabetes_code_lookup('E11.9')
|
158 |
+
|
159 |
+
ShowDiabetesAssessment()
|
160 |
+
|
161 |
|
162 |
# Display each question and an input text field for the answer
|
163 |
keycount=0
|