awacke1's picture
Update app.py
e6bde6b
raw
history blame
8.17 kB
import streamlit as st
# Set the page configuration to use the full width of the screen
st.set_page_config(layout="wide")
CODELICENSING = ("""
1. πŸ“ Simplified Synopsis
* πŸ“„ Ideal Open Source Code Copyright License
* βš–οΈ Navigating Copyright Infringement and Licensing Disagreements
2. πŸ₯ Alternative Healthcare Terminology Options
1. 🌐 International Classification of Diseases (ICD)
* 🏒 Managed by the World Health Organization (WHO)
2. πŸ’Š Systematized Nomenclature of Medicine - Clinical Terms (SNOMED CT)
* 🏒 Managed by SNOMED International
3. πŸ”¬ Logical Observation Identifiers Names and Codes (LOINC)
* 🏒 Managed by the Regenstrief Institute
3. πŸ“š Resources
* 🌐 AMA, WHO, SNOMED International, and Regenstrief Institute Websites
* πŸ“˜ Legal Journals
* 🌐 Wikipedia (verify information with primary and authoritative sources)
4. πŸ’‘ Recommendation
* πŸŽ“ Consult Legal Professionals
* πŸ₯ Consult Healthcare Organizations
* πŸ“š Consult Authoritative Sources for Comprehensive and Current Information
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Open Source Medical Software Resources</title>
</head>
<body>
<h1>Open Source Medical Software Resources</h1>
<ul>
<li><a href="https://en.wikipedia.org/wiki/World_Health_Organization" target="_blank">World Health Organization (WHO)</a></li>
<li><a href="https://en.wikipedia.org/wiki/International_Classification_of_Diseases" target="_blank">International Classification of Diseases (ICD)</a></li>
<li><a href="https://en.wikipedia.org/wiki/SNOMED_CT" target="_blank">Systematized Nomenclature of Medicine - Clinical Terms (SNOMED CT)</a></li>
<li><a href="https://en.wikipedia.org/wiki/LOINC" target="_blank">Logical Observation Identifiers Names and Codes (LOINC)</a></li>
<li><a href="https://en.wikipedia.org/wiki/Regenstrief_Institute" target="_blank">Regenstrief Institute</a></li>
</ul>
<h2>Sample License File</h2>
<pre>
MIT License
Copyright (c) 2023 Aaron Wacker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</pre>
</body>
</html>
import streamlit as st
st.title('Open Source Medical Software Resources')
""")
st.markdown("""
🌐 [World Health Organization (WHO)](https://en.wikipedia.org/wiki/World_Health_Organization)
🌐 [International Classification of Diseases (ICD)](https://en.wikipedia.org/wiki/International_Classification_of_Diseases)
πŸ’Š [Systematized Nomenclature of Medicine - Clinical Terms (SNOMED CT)](https://en.wikipedia.org/wiki/SNOMED_CT)
πŸ”¬ [Logical Observation Identifiers Names and Codes (LOINC)](https://en.wikipedia.org/wiki/LOINC)
🏒 [Regenstrief Institute](https://en.wikipedia.org/wiki/Regenstrief_Institute)
""")
st.header('Sample License File')
#st.code(
st.markdown("""
MIT License
Copyright (c) 2023 Aaron Wacker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
, language='')
""")
import streamlit as st
GALMIO = """
| 🦸 **Story Type** | πŸ“š **Synopsis** | 🎬 **Movie Poster Quotes** |
|-----------------------|-----------------------------------------|-----------------------------|
| 1️⃣ The Referral Enigma | 🀝 A group of Mentats join forces to decipher an ancient riddle | "Wit beyond measure, a story to treasure!" πŸ˜† πŸ“š |
| 2️⃣ The Certificate Caper | πŸ’Ό Mentats unveil a mind-bending mystery with world-shaking consequences | "A thrilling ride with intellects colliding!" πŸ˜‚ 🎒 |
| 3️⃣ The Prescription Puzzlers | πŸ’Š A team of Mentats solves medical conundrums in record time | "A story full of knowledge, without a moment of drudgery!" πŸ˜… πŸ§ͺ |
| 4️⃣ Diagnosis Detectives | πŸ”Ž Mentats uncover the cause of a baffling epidemic | "Science fiction meets a mastermind investigation!" πŸ˜„ πŸ”¬ |
| 5️⃣ The Treatment Team | πŸš‘ A league of Mentats strategizes to save the world from a dire threat | "An action-packed battle of brilliant minds!" 😁 πŸ’₯ |
| 6️⃣ The Surgical Strategists | πŸ₯ Mentats perform high-stakes surgeries to save the day | "A mind-blowing fusion of medical marvels and superhero smarts!" 😊 🩺 |
| 7️⃣ The Clearance Crusaders | πŸƒ Mentats unite to challenge the limits of human potential | "A tale of perseverance, powered by unparalleled intellect!" πŸ˜‹ πŸ† |
| 8️⃣ The Follow-up Fanatics | πŸ“… Mentats devise ingenious solutions to keep history on track | "A mind-twisting journey through time and space!" 😍 πŸš€ |
| 9️⃣ The Disability Defenders | β™Ώ Mentats champion the rights of the disabled in a futuristic utopia | "A heartwarming saga of empathy and enlightenment!" 😌 🌈 |
"""
def display_superhero_stories():
st.title("🌟 Superheroes of the Intellect: Chronicles of the Mentat Minds 🌟")
st.markdown(GALMIO)
# Run the Streamlit UI function
display_superhero_stories()
def generate_letter_menu_ui():
st.markdown("""## Generative AI Letters for Managing Information Overload (GAL-MIO) - πŸ₯ Letter Type Selection""")
# Define the letter types and their corresponding markdown sections
letter_types = {
"1️⃣ Fascinating Referral Letters": FRL,
"2️⃣ Enchanted Medical Certificate Letters": EMCL,
"3️⃣ Bewitching Prescription Letters": BPL,
"4️⃣ Enigmatic Diagnosis Letters": EDL,
"5️⃣ Fantastical Treatment Plan Letters": FTPL,
"6️⃣ Magical Surgery Recommendation Letters": MSRL,
"7️⃣ Miraculous Medical Clearance Letters": MMCL,
"8️⃣ Astonishing Follow-up Appointment Letters": AFAL,
"9️⃣ Extraordinary Disability Support Letters": EDSL,
"πŸ”Ÿ Amazing Health Education Letters": AHEL
}
# Create buttons for each letter type
for letter_type, section in letter_types.items():
if st.button(letter_type):
# Display the selected section of the markdown content
st.markdown(section, unsafe_allow_html=True)
# Run the Streamlit UI function
generate_letter_menu_ui()
st.markdown(GALMIO)