awacke1 commited on
Commit
963dfb5
·
1 Parent(s): 312c0b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +44 -0
app.py CHANGED
@@ -1,10 +1,54 @@
1
  import streamlit as st
 
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  def triage_checkin():
4
  st.write("### Triage and Check-in Expert 🚑")
5
  for i in range(1, 4):
6
  st.text_input(f"Question {i} for Triage")
 
 
 
 
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  def lab_analyst():
9
  st.write("### Lab Analyst 🧪")
10
  for i in range(1, 4):
 
1
  import streamlit as st
2
+ import streamlit.components.v1 as components
3
 
4
+
5
+ # Function to generate HTML with textarea
6
+ def generate_html_with_textarea(text_to_speak):
7
+ return f'''
8
+ <!DOCTYPE html>
9
+ <html>
10
+ <head>
11
+ <title>Read It Aloud</title>
12
+ <script type="text/javascript">
13
+ function readAloud() {{
14
+ const text = document.getElementById("textArea").value;
15
+ const speech = new SpeechSynthesisUtterance(text);
16
+ window.speechSynthesis.speak(speech);
17
+ }}
18
+ </script>
19
+ </head>
20
+ <body>
21
+ <h1>🔊 Read It Aloud</h1>
22
+ <textarea id="textArea" rows="10" cols="80">{text_to_speak}</textarea>
23
+ <br>
24
+ <button onclick="readAloud()">🔊 Read Aloud</button>
25
+ </body>
26
+ </html>
27
+ '''
28
+
29
  def triage_checkin():
30
  st.write("### Triage and Check-in Expert 🚑")
31
  for i in range(1, 4):
32
  st.text_input(f"Question {i} for Triage")
33
+
34
+ #List 10 responsibilities with emojis for experience needed to do: Triage and Check-in Expert
35
+ text_to_speak = """
36
+ As a triage and check-in expert, you will be responsible for ensuring that patients are properly assessed and checked in for their appointments. This involves a range of tasks, including:
37
 
38
+ 1. 📊 Assessing patient symptoms and medical history to determine the appropriate triage category (e.g. emergency, urgent, routine) and assigning a triage score.
39
+ 2. 📈 Entering patient information into the electronic medical record (EMR) and updating it as necessary.
40
+ 3. 📝 Verifying patient insurance information and ensuring that it is up-to-date.
41
+ 4. 📞 Contacting patients to confirm appointments and provide reminders.
42
+ 5. 🔒 Securing patient information and maintaining confidentiality.
43
+ 6. 📈 Monitoring patient flow and identifying areas for improvement in the check-in process.
44
+ 7. 💡 Providing excellent customer service and resolving any issues that may arise.
45
+ 8. 📊 Maintaining accurate and up-to-date records of patient encounters.
46
+ 9. 📊 Participating in quality improvement initiatives to improve the efficiency and effectiveness of the triage and check-in process.
47
+ 10. 📝 Collaborating with other healthcare professionals to ensure smooth patient flow and coordination of care.
48
+ """
49
+ html5=generate_html_with_textarea(text_to_speak)
50
+ components.html(html5, width=1280, height=1024)
51
+
52
  def lab_analyst():
53
  st.write("### Lab Analyst 🧪")
54
  for i in range(1, 4):