File size: 2,358 Bytes
3e53370 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# Import necessary libraries
import streamlit as st
import streamlit.components.v1 as components
# Define HTML code for custom styling
html_code = """
<style>
body {
background-color: orange;
}
.sidebar .sidebar-content {
background-color: blue;
}
</style>
"""
# Apply the custom styling
components.html(html_code, height=0)
# Define markdown text
markdown_text = """
| Document Type | Description | Emoji |
| :-------------: |:-------------:| :-----:|
| [Allergies](https://github.com/HL7/C-CDA-Examples/tree/master/Allergies) | Documents relating to a patient's known allergies. | π€§ |
| [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. | π©ββοΈπ¨ββοΈ |
| [Encounters](https://github.com/HL7/C-CDA-Examples/tree/master/Encounters) | Records of a patient's encounters with healthcare providers. | π₯ |
| [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. | πͺ |
| [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. | πΆββοΈπΆββοΈ |
| [Goals](https://github.com/HL7/C-CDA-Examples/tree/master/Goals) | Documentation of a patient's health goals. | π― |
| [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. | π |
| [Immunizations](https://github.com/HL7/C-CDA-Examples/tree/master/Immunizations) | Records of a patient's immunizations. | π |
| [Medications](https://github.com/HL7/C-CDA-Examples/tree/master/Medications) | Documentation of a patient's current and past medications. | π |
| [Problems](https://github.com/HL7/C-CDA-Examples/tree/master/Problems) | Records of a patient's health problems. | π€ |
"""
# Create a tab interface with the markdown code
st.sidebar.markdown("## Medical Document Types")
st.sidebar.markdown(markdown_text)
|