awacke1 commited on
Commit
3e53370
Β·
1 Parent(s): 94ca2bb

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +38 -0
app.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Import necessary libraries
2
+ import streamlit as st
3
+ import streamlit.components.v1 as components
4
+
5
+ # Define HTML code for custom styling
6
+ html_code = """
7
+ <style>
8
+ body {
9
+ background-color: orange;
10
+ }
11
+ .sidebar .sidebar-content {
12
+ background-color: blue;
13
+ }
14
+ </style>
15
+ """
16
+
17
+ # Apply the custom styling
18
+ components.html(html_code, height=0)
19
+
20
+ # Define markdown text
21
+ markdown_text = """
22
+ | Document Type | Description | Emoji |
23
+ | :-------------: |:-------------:| :-----:|
24
+ | [Allergies](https://github.com/HL7/C-CDA-Examples/tree/master/Allergies) | Documents relating to a patient's known allergies. | 🀧 |
25
+ | [Care Team](https://github.com/HL7/C-CDA-Examples/tree/master/Care%20Team) | Documentation of a patient's care team, including doctors, nurses, and other healthcare providers. | πŸ‘©β€βš•οΈπŸ‘¨β€βš•οΈ |
26
+ | [Encounters](https://github.com/HL7/C-CDA-Examples/tree/master/Encounters) | Records of a patient's encounters with healthcare providers. | πŸ₯ |
27
+ | [Family History](https://github.com/HL7/C-CDA-Examples/tree/master/Family%20History) | Information about the health of a patient's family, which can be relevant for understanding a patient's health risks. | πŸ‘ͺ |
28
+ | [Functional Status](https://github.com/HL7/C-CDA-Examples/tree/master/Functional%20Status) | Information about a patient's functional status, including any disabilities or impairments. | πŸšΆβ€β™€οΈπŸšΆβ€β™‚οΈ |
29
+ | [Goals](https://github.com/HL7/C-CDA-Examples/tree/master/Goals) | Documentation of a patient's health goals. | 🎯 |
30
+ | [Health Concerns](https://github.com/HL7/C-CDA-Examples/tree/master/Health%20Concerns) | Documents containing information about a patient's health concerns, including any specific issues or conditions the patient is dealing with. | πŸ’” |
31
+ | [Immunizations](https://github.com/HL7/C-CDA-Examples/tree/master/Immunizations) | Records of a patient's immunizations. | πŸ’‰ |
32
+ | [Medications](https://github.com/HL7/C-CDA-Examples/tree/master/Medications) | Documentation of a patient's current and past medications. | πŸ’Š |
33
+ | [Problems](https://github.com/HL7/C-CDA-Examples/tree/master/Problems) | Records of a patient's health problems. | πŸ€’ |
34
+ """
35
+
36
+ # Create a tab interface with the markdown code
37
+ st.sidebar.markdown("## Medical Document Types")
38
+ st.sidebar.markdown(markdown_text)