awacke1 commited on
Commit
7f6fb3a
·
1 Parent(s): 1c88145

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +135 -135
app.py CHANGED
@@ -15,178 +15,178 @@ from st_click_detector import click_detector
15
 
16
  st.graphviz_chart('''
17
  digraph {
18
- PR0001INCOME -> AbleToBuyOnlyNecessities
19
- PR0001INCOME -> DifficultyBuyingNecessities
20
- PR0001INCOME -> DifficultyWithMoneyManagement
21
- PR0001INCOME -> LowNoIncome
22
- PR0001INCOME -> UninsuredMedicalExpenses
23
  }
24
  ''')
25
 
26
  st.graphviz_chart('''
27
  digraph {
28
- PR0001INCOME -> Continuityof -> Care
29
- PR0001INCOME -> Durable -> Medical -> Equipment
30
- PR0001INCOME -> Finances
31
- PR0001INCOME -> LegalSystem
32
- PR0001INCOME -> Medical -> Dental -> Care
33
- PR0001INCOME -> Medication -> Coordination -> Ordering
34
- PR0001INCOME -> Other -> Community -> Resources
35
- PR0001INCOME -> SocialWork -> Counseling -> Care
36
- PR0001INCOME -> Supplies
37
  }
38
  ''')
39
 
40
  st.graphviz_chart('''
41
  digraph {
42
- PR0012MENTALHEALTH -> Apprehension -> Undefined -> Fear -> Anxious
43
- PR0012MENTALHEALTH -> Attempts -> Suicide -> Homicide
44
- PR0012MENTALHEALTH -> Difficulty -> Managing -> Anger
45
- PR0012MENTALHEALTH -> Difficulty -> Managing -> Stress
46
- PR0012MENTALHEALTH -> Expresses -> Suicidal -> Homicidal -> Thoughts
47
- PR0012MENTALHEALTH -> False -> Beliefs -> Delusions
48
- PR0012MENTALHEALTH -> False -> Perceptions -> Hallucinations -> Illusions
49
- PR0012MENTALHEALTH -> FlatAffect -> LackofEmotion
50
- PR0012MENTALHEALTH -> Irritable -> Agitated -> Aggressive
51
- PR0012MENTALHEALTH -> LossofInterest -> Involvementin -> ActivitiesSelfCare
52
- PR0012MENTALHEALTH -> MoodSwings
53
- PR0012MENTALHEALTH -> Narrowedto -> Scattered -> Attention -> Focus
54
- PR0012MENTALHEALTH -> Purposeless -> Compulsive -> RepetitiveActivity
55
- PR0012MENTALHEALTH -> Sadness -> Hopelessness -> Decreased -> SelfEsteem
56
- PR0012MENTALHEALTH -> Somatic -> Complaints -> Fatigue
57
  }
58
  ''')
59
 
60
  st.graphviz_chart('''
61
  digraph {
62
- PR0012MENTALHEALTH -> Anger -> Management
63
- PR0012MENTALHEALTH -> Behavioral -> Health -> Care
64
- PR0012MENTALHEALTH -> Communication
65
- PR0012MENTALHEALTH -> Continuityof -> Care
66
- PR0012MENTALHEALTH -> Coping -> Skills
67
- PR0012MENTALHEALTH -> Dietary -> Management
68
- PR0012MENTALHEALTH -> Discipline
69
- PR0012MENTALHEALTH -> EndofLife -> Care
70
- PR0012MENTALHEALTH -> Interaction
71
- PR0012MENTALHEALTH -> LegalSystem
72
- PR0012MENTALHEALTH -> Medical -> Dental -> Care
73
- PR0012MENTALHEALTH -> Medication -> ActionSideEffects
74
- PR0012MENTALHEALTH -> Medication -> Administration
75
- PR0012MENTALHEALTH -> Medication -> CoordinationOrdering
76
- PR0012MENTALHEALTH -> Nursing -> Care
77
- PR0012MENTALHEALTH -> Nutritionist -> Care
78
- PR0012MENTALHEALTH -> Other -> Community -> Resources
79
- PR0012MENTALHEALTH -> Relaxation -> Breathing -> Techniques
80
- PR0012MENTALHEALTH -> Rest -> Sleep
81
- PR0012MENTALHEALTH -> Safety
82
- PR0012MENTALHEALTH -> Screening -> Procedures
83
- PR0012MENTALHEALTH -> SignsSymptoms -> MentalEmotional
84
- PR0012MENTALHEALTH -> SignsSymptoms -> Physical
85
- PR0012MENTALHEALTH -> SocialWork -> Counseling -> Care
86
- PR0012MENTALHEALTH -> Stress -> Management
87
- PR0012MENTALHEALTH -> Support -> Group
88
- PR0012MENTALHEALTH -> Support -> System
89
- PR0012MENTALHEALTH -> Wellness
90
  }
91
  ''')
92
 
93
 
94
  st.graphviz_chart('''
95
  digraph {
96
- PR0028RESPIRATION -> Abnormal -> BreathSoundsCrackles
97
- PR0028RESPIRATION -> Abnormal -> IrregularBreathPatterns
98
- PR0028RESPIRATION -> Abnormal -> RespiratoryLaboratoryResults
99
- PR0028RESPIRATION -> Abnormal -> Sputum
100
- PR0028RESPIRATION -> Cough
101
- PR0028RESPIRATION -> Noisy -> RespirationswheezingRalesRhonchi
102
- PR0028RESPIRATION -> Rhinorrhea -> NasalCongestion
103
- PR0028RESPIRATION -> UnabletoBreathe -> Independently
104
  }
105
  ''')
106
 
107
  st.graphviz_chart('''
108
  digraph {
109
- PR0028RESPIRATION -> Anatomy -> Physiology
110
- PR0028RESPIRATION -> Continuityof -> Care
111
- PR0028RESPIRATION -> Coping -> Skills
112
- PR0028RESPIRATION -> Dietary -> Management
113
- PR0028RESPIRATION -> Durable -> Medical -> Equipment
114
- PR0028RESPIRATION -> Education
115
- PR0028RESPIRATION -> EndofLife -> Care
116
- PR0028RESPIRATION -> Environment
117
- PR0028RESPIRATION -> Exercises
118
- PR0028RESPIRATION -> Infection -> Precautions
119
- PR0028RESPIRATION -> Laboratory -> Findings
120
- PR0028RESPIRATION -> Medical -> Dental -> Care
121
- PR0028RESPIRATION -> Medication -> Action -> SideEffects
122
- PR0028RESPIRATION -> Medication -> Administration
123
- PR0028RESPIRATION -> Medication -> Prescription
124
- PR0028RESPIRATION -> Medication -> SetUp
125
- PR0028RESPIRATION -> Mobility -> Transfers
126
- PR0028RESPIRATION -> Nursing -> Care
127
- PR0028RESPIRATION -> Positioning
128
- PR0028RESPIRATION -> Relaxation -> Breathing -> Techniques
129
- PR0028RESPIRATION -> Respiratory -> Care
130
- PR0028RESPIRATION -> Respiratory -> Therapy -> Care
131
- PR0028RESPIRATION -> Safety
132
- PR0028RESPIRATION -> Screening -> Procedures
133
- PR0028RESPIRATION -> SignsSymptoms -> MentalEmotional
134
- PR0028RESPIRATION -> SignsSymptoms -> Physical
135
- PR0028RESPIRATION -> Specimen -> Collection
136
- PR0028RESPIRATION -> Supplies
137
- PR0028RESPIRATION -> Support -> Group
138
- PR0028RESPIRATION -> Support -> System
139
- PR0028RESPIRATION -> Wellness
140
  }
141
  ''')
142
 
143
 
144
  st.graphviz_chart('''
145
  digraph {
146
- PR0029CIRCULATION -> Abnormal -> BloodPressureReading
147
- PR0029CIRCULATION -> Abnormal -> CardiacLaboratoryResults
148
- PR0029CIRCULATION -> Abnormal -> Clotting
149
- PR0029CIRCULATION -> Abnormal -> HeartSoundsMurmurs
150
- PR0029CIRCULATION -> Anginal -> Pain
151
- PR0029CIRCULATION -> Cramping -> Pain -> ofExtremities
152
- PR0029CIRCULATION -> Decreased -> Pulses
153
- PR0029CIRCULATION -> Discoloration -> ofSkinCyanosis
154
- PR0029CIRCULATION -> EdemaSwelling -> inlegsarmsfeet
155
- PR0029CIRCULATION -> ExcessivelyRapid -> HeartRate
156
- PR0029CIRCULATION -> IrregularHeartRate
157
- PR0029CIRCULATION -> SyncopalEpisodes -> Fainting -> Dizziness
158
- PR0029CIRCULATION -> TemperatureChange -> inAffectedArea
159
- PR0029CIRCULATION -> Varicosities
160
  }
161
  ''')
162
 
163
  st.graphviz_chart('''
164
  digraph {
165
- PR0029CIRCULATION -> Anatomy -> Physiology
166
- PR0029CIRCULATION -> Cardiac -> Care
167
- PR0029CIRCULATION -> Continuityof -> Care
168
- PR0029CIRCULATION -> Coping -> Skills
169
- PR0029CIRCULATION -> Dietary -> Management
170
- PR0029CIRCULATION -> Durable -> Medical -> Equipment
171
- PR0029CIRCULATION -> Exercises
172
- PR0029CIRCULATION -> Finances
173
- PR0029CIRCULATION -> Infection -> Precautions
174
- PR0029CIRCULATION -> Laboratory -> Findings
175
- PR0029CIRCULATION -> Medical -> Dental -> Care
176
- PR0029CIRCULATION -> Medication -> Action -> SideEffects
177
- PR0029CIRCULATION -> Medication -> Administration
178
- PR0029CIRCULATION -> Medication -> SetUp
179
- PR0029CIRCULATION -> Mobility -> Transfers
180
- PR0029CIRCULATION -> Nursing -> Care
181
- PR0029CIRCULATION -> Personal -> Hygiene
182
- PR0029CIRCULATION -> Relaxation -> Breathing -> Techniques
183
- PR0029CIRCULATION -> Safety
184
- PR0029CIRCULATION -> Screening -> Procedures
185
- PR0029CIRCULATION -> SignsSymptoms -> MentalEmotional
186
- PR0029CIRCULATION -> SignsSymptoms -> Physical
187
- PR0029CIRCULATION -> Support -> Group
188
- PR0029CIRCULATION -> Support -> System
189
- PR0029CIRCULATION -> Wellness
190
  }
191
  ''')
192
 
 
15
 
16
  st.graphviz_chart('''
17
  digraph {
18
+ Income -> AbleToBuyOnlyNecessities
19
+ Income -> DifficultyBuyingNecessities
20
+ Income -> DifficultyWithMoneyManagement
21
+ Income -> LowNoIncome
22
+ Income -> UninsuredMedicalExpenses
23
  }
24
  ''')
25
 
26
  st.graphviz_chart('''
27
  digraph {
28
+ Income -> Continuityof -> Care
29
+ Income -> Durable -> Medical -> Equipment
30
+ Income -> Finances
31
+ Income -> LegalSystem
32
+ Income -> Medical -> Dental -> Care
33
+ Income -> Medication -> Coordination -> Ordering
34
+ Income -> Other -> Community -> Resources
35
+ Income -> SocialWork -> Counseling -> Care
36
+ Income -> Supplies
37
  }
38
  ''')
39
 
40
  st.graphviz_chart('''
41
  digraph {
42
+ MentalHealth -> Apprehension -> Undefined -> Fear -> Anxious
43
+ MentalHealth -> Attempts -> Suicide -> Homicide
44
+ MentalHealth -> Difficulty -> Managing -> Anger
45
+ MentalHealth -> Difficulty -> Managing -> Stress
46
+ MentalHealth -> Expresses -> Suicidal -> Homicidal -> Thoughts
47
+ MentalHealth -> False -> Beliefs -> Delusions
48
+ MentalHealth -> False -> Perceptions -> Hallucinations -> Illusions
49
+ MentalHealth -> FlatAffect -> LackofEmotion
50
+ MentalHealth -> Irritable -> Agitated -> Aggressive
51
+ MentalHealth -> LossofInterest -> Involvementin -> ActivitiesSelfCare
52
+ MentalHealth -> MoodSwings
53
+ MentalHealth -> Narrowedto -> Scattered -> Attention -> Focus
54
+ MentalHealth -> Purposeless -> Compulsive -> RepetitiveActivity
55
+ MentalHealth -> Sadness -> Hopelessness -> Decreased -> SelfEsteem
56
+ MentalHealth -> Somatic -> Complaints -> Fatigue
57
  }
58
  ''')
59
 
60
  st.graphviz_chart('''
61
  digraph {
62
+ MentalHealth -> Anger -> Management
63
+ MentalHealth -> Behavioral -> Health -> Care
64
+ MentalHealth -> Communication
65
+ MentalHealth -> Continuityof -> Care
66
+ MentalHealth -> Coping -> Skills
67
+ MentalHealth -> Dietary -> Management
68
+ MentalHealth -> Discipline
69
+ MentalHealth -> EndofLife -> Care
70
+ MentalHealth -> Interaction
71
+ MentalHealth -> LegalSystem
72
+ MentalHealth -> Medical -> Dental -> Care
73
+ MentalHealth -> Medication -> ActionSideEffects
74
+ MentalHealth -> Medication -> Administration
75
+ MentalHealth -> Medication -> CoordinationOrdering
76
+ MentalHealth -> Nursing -> Care
77
+ MentalHealth -> Nutritionist -> Care
78
+ MentalHealth -> Other -> Community -> Resources
79
+ MentalHealth -> Relaxation -> Breathing -> Techniques
80
+ MentalHealth -> Rest -> Sleep
81
+ MentalHealth -> Safety
82
+ MentalHealth -> Screening -> Procedures
83
+ MentalHealth -> SignsSymptoms -> MentalEmotional
84
+ MentalHealth -> SignsSymptoms -> Physical
85
+ MentalHealth -> SocialWork -> Counseling -> Care
86
+ MentalHealth -> Stress -> Management
87
+ MentalHealth -> Support -> Group
88
+ MentalHealth -> Support -> System
89
+ MentalHealth -> Wellness
90
  }
91
  ''')
92
 
93
 
94
  st.graphviz_chart('''
95
  digraph {
96
+ Respiration -> Abnormal -> BreathSoundsCrackles
97
+ Respiration -> Abnormal -> IrregularBreathPatterns
98
+ Respiration -> Abnormal -> RespiratoryLaboratoryResults
99
+ Respiration -> Abnormal -> Sputum
100
+ Respiration -> Cough
101
+ Respiration -> Noisy -> RespirationswheezingRalesRhonchi
102
+ Respiration -> Rhinorrhea -> NasalCongestion
103
+ Respiration -> UnabletoBreathe -> Independently
104
  }
105
  ''')
106
 
107
  st.graphviz_chart('''
108
  digraph {
109
+ Respiration -> Anatomy -> Physiology
110
+ Respiration -> Continuityof -> Care
111
+ Respiration -> Coping -> Skills
112
+ Respiration -> Dietary -> Management
113
+ Respiration -> Durable -> Medical -> Equipment
114
+ Respiration -> Education
115
+ Respiration -> EndofLife -> Care
116
+ Respiration -> Environment
117
+ Respiration -> Exercises
118
+ Respiration -> Infection -> Precautions
119
+ Respiration -> Laboratory -> Findings
120
+ Respiration -> Medical -> Dental -> Care
121
+ Respiration -> Medication -> Action -> SideEffects
122
+ Respiration -> Medication -> Administration
123
+ Respiration -> Medication -> Prescription
124
+ Respiration -> Medication -> SetUp
125
+ Respiration -> Mobility -> Transfers
126
+ Respiration -> Nursing -> Care
127
+ Respiration -> Positioning
128
+ Respiration -> Relaxation -> Breathing -> Techniques
129
+ Respiration -> Respiratory -> Care
130
+ Respiration -> Respiratory -> Therapy -> Care
131
+ Respiration -> Safety
132
+ Respiration -> Screening -> Procedures
133
+ Respiration -> SignsSymptoms -> MentalEmotional
134
+ Respiration -> SignsSymptoms -> Physical
135
+ Respiration -> Specimen -> Collection
136
+ Respiration -> Supplies
137
+ Respiration -> Support -> Group
138
+ Respiration -> Support -> System
139
+ Respiration -> Wellness
140
  }
141
  ''')
142
 
143
 
144
  st.graphviz_chart('''
145
  digraph {
146
+ Circulation -> Abnormal -> BloodPressureReading
147
+ Circulation -> Abnormal -> CardiacLaboratoryResults
148
+ Circulation -> Abnormal -> Clotting
149
+ Circulation -> Abnormal -> HeartSoundsMurmurs
150
+ Circulation -> Anginal -> Pain
151
+ Circulation -> Cramping -> Pain -> ofExtremities
152
+ Circulation -> Decreased -> Pulses
153
+ Circulation -> Discoloration -> ofSkinCyanosis
154
+ Circulation -> EdemaSwelling -> inlegsarmsfeet
155
+ Circulation -> ExcessivelyRapid -> HeartRate
156
+ Circulation -> IrregularHeartRate
157
+ Circulation -> SyncopalEpisodes -> Fainting -> Dizziness
158
+ Circulation -> TemperatureChange -> inAffectedArea
159
+ Circulation -> Varicosities
160
  }
161
  ''')
162
 
163
  st.graphviz_chart('''
164
  digraph {
165
+ Circulation -> Anatomy -> Physiology
166
+ Circulation -> Cardiac -> Care
167
+ Circulation -> Continuityof -> Care
168
+ Circulation -> Coping -> Skills
169
+ Circulation -> Dietary -> Management
170
+ Circulation -> Durable -> Medical -> Equipment
171
+ Circulation -> Exercises
172
+ Circulation -> Finances
173
+ Circulation -> Infection -> Precautions
174
+ Circulation -> Laboratory -> Findings
175
+ Circulation -> Medical -> Dental -> Care
176
+ Circulation -> Medication -> Action -> SideEffects
177
+ Circulation -> Medication -> Administration
178
+ Circulation -> Medication -> SetUp
179
+ Circulation -> Mobility -> Transfers
180
+ Circulation -> Nursing -> Care
181
+ Circulation -> Personal -> Hygiene
182
+ Circulation -> Relaxation -> Breathing -> Techniques
183
+ Circulation -> Safety
184
+ Circulation -> Screening -> Procedures
185
+ Circulation -> SignsSymptoms -> MentalEmotional
186
+ Circulation -> SignsSymptoms -> Physical
187
+ Circulation -> Support -> Group
188
+ Circulation -> Support -> System
189
+ Circulation -> Wellness
190
  }
191
  ''')
192