Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,77 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
st.markdown("""
|
| 3 |
|
| 4 |
-
# Example
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
## ADT (Admit/Discharge/Transfer) messages
|
| 7 |
| Patient ID | Name | Admission Date/Time | Discharge Date/Time | Clinical Encounter |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
st.markdown("""
|
| 3 |
|
| 4 |
+
# Example CCD Documents for Standard Templates
|
| 5 |
+
|
| 6 |
+
## 1. π₯ Patient Demographics
|
| 7 |
+
| Attribute | Description |
|
| 8 |
+
|-----------|-------------|
|
| 9 |
+
| Patient ID | Unique identifier for the patient |
|
| 10 |
+
| Name | Full name of the patient |
|
| 11 |
+
| Date of Birth | Birth date of the patient |
|
| 12 |
+
| Sex | Gender of the patient |
|
| 13 |
+
| Address | Residential address of the patient |
|
| 14 |
+
|
| 15 |
+
## 2. π Medications
|
| 16 |
+
| Attribute | Description |
|
| 17 |
+
|-----------|-------------|
|
| 18 |
+
| Medication Name | Name of the medication |
|
| 19 |
+
| Dosage | Dosage of the medication |
|
| 20 |
+
| Frequency | How often the medication is taken |
|
| 21 |
+
| Start Date | When the medication was started |
|
| 22 |
+
| End Date | When the medication was stopped |
|
| 23 |
+
|
| 24 |
+
## 3. π©ββοΈ Encounters
|
| 25 |
+
| Attribute | Description |
|
| 26 |
+
|-----------|-------------|
|
| 27 |
+
| Encounter ID | Unique identifier for the encounter |
|
| 28 |
+
| Encounter Type | Type of encounter (e.g., office visit, hospitalization) |
|
| 29 |
+
| Start Date/Time | When the encounter began |
|
| 30 |
+
| End Date/Time | When the encounter ended |
|
| 31 |
+
| Encounter Provider | Healthcare provider during the encounter |
|
| 32 |
+
|
| 33 |
+
## 4. π¬ Laboratory Results
|
| 34 |
+
| Attribute | Description |
|
| 35 |
+
|-----------|-------------|
|
| 36 |
+
| Test Name | Name of the lab test |
|
| 37 |
+
| Date/Time | When the lab test was performed |
|
| 38 |
+
| Result | Result of the lab test |
|
| 39 |
+
| Normal Range | Normal range for the lab test result |
|
| 40 |
+
|
| 41 |
+
## 5. π Procedures
|
| 42 |
+
| Attribute | Description |
|
| 43 |
+
|-----------|-------------|
|
| 44 |
+
| Procedure Name | Name of the procedure |
|
| 45 |
+
| Date/Time | When the procedure was performed |
|
| 46 |
+
| Performing Provider | Healthcare provider who performed the procedure |
|
| 47 |
+
|
| 48 |
+
## 6. π
Immunizations
|
| 49 |
+
| Attribute | Description |
|
| 50 |
+
|-----------|-------------|
|
| 51 |
+
| Vaccine Name | Name of the vaccine |
|
| 52 |
+
| Administration Date | When the vaccine was administered |
|
| 53 |
+
| Administering Provider | Healthcare provider who administered the vaccine |
|
| 54 |
+
|
| 55 |
+
## 7. π Vital Signs
|
| 56 |
+
| Attribute | Description |
|
| 57 |
+
|-----------|-------------|
|
| 58 |
+
| Vital Sign Type | Type of vital sign (e.g., blood pressure, temperature) |
|
| 59 |
+
| Date/Time | When the vital sign was measured |
|
| 60 |
+
| Value | Value of the vital sign |
|
| 61 |
+
| Unit | Unit of the vital sign value |
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
## 8. π Clinical Notes
|
| 65 |
+
| Attribute | Description |
|
| 66 |
+
|-----------|-------------|
|
| 67 |
+
| Note Type | Type of clinical note (e.g., progress note, discharge summary) |
|
| 68 |
+
| Note Date | When the note was written |
|
| 69 |
+
| Note Author | Healthcare provider who wrote the note |
|
| 70 |
+
| Note Content | Content of the note |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
# Example Messages for inputs of ADT, ORM, SIU, EDI, Procedures, Observations
|
| 75 |
|
| 76 |
## ADT (Admit/Discharge/Transfer) messages
|
| 77 |
| Patient ID | Name | Admission Date/Time | Discharge Date/Time | Clinical Encounter |
|