awacke1 commited on
Commit
6a97603
·
1 Parent(s): 82d2f9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +201 -0
app.py CHANGED
@@ -4,6 +4,207 @@ st.set_page_config(layout="wide")
4
 
5
  st.markdown("""
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ## Big Four - Diabetes, Heart Disease, Anxiety & Depression and Muskoskeletal Disorders
8
 
9
  | Costly Condition | Code Type | Code Value | Emoji | Code Description |
 
4
 
5
  st.markdown("""
6
 
7
+ # In Context Learning:
8
+
9
+ | Costly Condition | EDI 278A Request | ADT Message Type | ADT Event | Clinical Document Example |
10
+ |---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------|
11
+ | Diabetes | | | |
12
+ | | | | |
13
+ | Heart Disease | | | |
14
+ | | | | |
15
+ | Anxiety & Depression | | | |
16
+ | | | | |
17
+ | Musculoskeletal Disorders | | | |
18
+ | | | | |
19
+ | Patient Information Update | MSH|^~\&|SendingApp|SendingFac|ReceivingApp|ReceivingFac|20230505120000||ADT^A08^ADT_A01|1234567|P|2.3|||||||||EVN|A08|20230505120000||||PID|1||123456789^^^MRN^MR||DOE^JOHN||20230505120000|M||||||||||||||||||PV1|1||||||||||||||||||| |
20
+ | | PRD|FR|SendingApp|SendingFac||||||| | ADT^A08 | A08 | Updating patient's demographic information |
21
+ | Diabetes | 0028|030| |Initial Claim Request |
22
+ | | CLM|123456789012345|10000| |17|01|Y| |7|Y|Y|Y|Y| | | |20120328| | | |0000000| |0000000|0000000| |
23
+ | Heart Disease | 0081|029| |Treatment Plan Request |
24
+ | | RQ|111111|20181214|20181220|Acme Health Plan|1234 1st Street|Anytown|NC|12345| | | | | | | |
25
+ | Anxiety & Depression | 0160|017| |Referral Request |
26
+ | | REF|1234567890|DOE^JOHN||20220505120000|19730101|M|123 Main St^^Anytown^NC^12345^^^||(555)555-1234|(555)555-5678||123456789|999-99-9999|||||||||| | | ADT^A01 | A01 | Admitting a patient to the hospital for a planned procedure |
27
+ | Musculoskeletal Disorders | 0450|012| |Authorization Request |
28
+ | | PRV|PC|1234 1st Street|Anytown|NC|12345|US|5555555555| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
29
+
30
+
31
+ ## Diabetes Clinical Document (for Teaching Purposes only)
32
+
33
+ Patient: John Doe
34
+ DOB: 01/01/1960
35
+ Diagnosis: Diabetes Mellitus Type 2 (ICD-10 E11.9)
36
+ Medications: Metformin 1000mg PO BID, Insulin glargine 20 units subcutaneous daily
37
+
38
+ Assessment:
39
+ Mr. Doe's blood glucose levels have been well controlled with his current medication regimen. His most recent A1c was 7.0%. He reports occasional mild hypoglycemia.
40
+
41
+ Plan:
42
+ Continue current medication regimen. Educate patient on the signs and symptoms of hypoglycemia and how to treat it. Schedule follow-up appointment in 3 months.
43
+
44
+ Signed: Dr. Jane Smith
45
+
46
+
47
+ ### EDI 278A Request Example
48
+
49
+ | Field | Value |
50
+ |-------|-------|
51
+ | Transaction Code | 278 |
52
+ | Transaction Type | Request |
53
+ | Service Type Code | HST |
54
+ | Service Type | Healthcare Services |
55
+ | Sender ID | 123456 |
56
+ | Receiver ID | 987654 |
57
+ | Patient ID | 123-45-6789 |
58
+ | Patient Name | Doe, John |
59
+ | Diagnosis Code | E11.9 |
60
+ | Diagnosis Description | Type 2 diabetes mellitus without complications |
61
+ | Service Start Date | 2023-05-01 |
62
+ | Service End Date | 2023-05-01 |
63
+ | CPT Code | 99213 |
64
+ | CPT Description | Office/outpatient visit, established patient |
65
+ | CPT Modifier | |
66
+ | CPT Quantity | 1 |
67
+ | CPT Unit Price | 100.00 |
68
+ | CPT Total Price | 100.00 |
69
+ | ICD Code | E11.9 |
70
+ | ICD Description | Type 2 diabetes mellitus without complications |
71
+ | Service Line Control Number | 1 |
72
+
73
+
74
+
75
+
76
+ ## Heart Disease Clinical Document
77
+
78
+ Patient: Jane Smith
79
+ DOB: 05/01/1955
80
+ Diagnosis: Myocardial Infarction (ICD-10 I21.3)
81
+ Medications: Aspirin 81mg PO daily, Metoprolol succinate 25mg PO daily, Atorvastatin 40mg PO daily
82
+
83
+ Assessment:
84
+ Ms. Smith's cardiac function has improved since her myocardial infarction. She has had no chest pain or shortness of breath. Her most recent EKG showed no evidence of ischemia.
85
+
86
+ Plan:
87
+ Continue current medication regimen. Schedule follow-up appointment in 6 months.
88
+
89
+ Signed: Dr. John Doe
90
+
91
+ ### EDI 278A Request Example
92
+
93
+ | Field | Value |
94
+ |-------|-------|
95
+ | Transaction Code | 278 |
96
+ | Transaction Type | Request |
97
+ | Service Type Code | HST |
98
+ | Service Type | Healthcare Services |
99
+ | Sender ID | 123456 |
100
+ | Receiver ID | 987654 |
101
+ | Patient ID | 987-65-4321 |
102
+ | Patient Name | Smith, Jane |
103
+ | Diagnosis Code | I21.3 |
104
+ | Diagnosis Description | ST elevation (STEMI) myocardial infarction of unspecified site |
105
+ | Service Start Date | 2023-05-01 |
106
+ | Service End Date | 2023-05-01 |
107
+ | CPT Code | 99214 |
108
+ | CPT Description | Office/outpatient visit, established patient |
109
+ | CPT Modifier | |
110
+ | CPT Quantity | 1 |
111
+ | CPT Unit Price | 150.00 |
112
+ | CPT Total Price | 150.00 |
113
+ | ICD Code | I21.3 |
114
+ | ICD Description | ST elevation (STEMI) myocardial inf
115
+
116
+ ## Anxiety & Depression Clinical Document
117
+
118
+ Patient: Alice Johnson
119
+ DOB: 06/15/1980
120
+ Diagnosis: Major Depressive Disorder (ICD-10 F32.1)
121
+ Medications: Sertraline 50mg PO daily
122
+
123
+ Assessment:
124
+ Ms. Johnson reports feeling sad and unmotivated. She has trouble sleeping and has lost interest in activities she used to enjoy. She denies any suicidal ideation.
125
+
126
+ Plan:
127
+ Increase sertraline to 100mg PO daily. Schedule follow-up appointment in 2 weeks.
128
+
129
+ Signed: Dr. Sarah Lee
130
+
131
+ ### EDI 278A Request Example
132
+
133
+ | Field | Value |
134
+ |-------|-------|
135
+ | Transaction Code | 278 |
136
+ | Transaction Type | Request |
137
+ | Service Type Code | HST |
138
+ | Service Type | Healthcare Services |
139
+ | Sender ID | 123456 |
140
+ | Receiver ID | 987654 |
141
+ | Patient ID | 456-78-9123 |
142
+ | Patient Name | Johnson, Alice |
143
+ | Diagnosis Code | F32.1 |
144
+ | Diagnosis Description | Major depressive disorder, single episode, moderate |
145
+ | Service Start Date | 2023-05-01 |
146
+ | Service End Date | 2023-05-01 |
147
+ | CPT Code | 90834 |
148
+ | CPT Description | Psychotherapy, 45 minutes with patient |
149
+ | CPT Modifier | |
150
+ | CPT Quantity | 1 |
151
+ | CPT Unit Price | 200.00 |
152
+ | CPT Total Price | 200.00 |
153
+ | ICD Code | F32.1 |
154
+ | ICD Description | Major depressive disorder, single episode, moderate |
155
+ | Service Line Control Number | 1 |
156
+
157
+
158
+ ### Musculoskeletal Disorders Clinical Document
159
+
160
+ Patient: Mark Thompson
161
+ DOB: 02/25/1972
162
+ Diagnosis: Low Back Pain (ICD-10 M54.5)
163
+ Medications: Ibuprofen 400mg PO TID
164
+
165
+ Assessment:
166
+ Mr. Thompson reports chronic low back pain that has been getting worse over the past several months. Physical exam reveals tenderness and limited range of motion in the lumbar spine.
167
+
168
+ Plan:
169
+ Prescribe physical therapy with focus on core strengthening exercises. Schedule follow-up appointment in 4 weeks.
170
+
171
+ Signed: Dr. James Chen
172
+
173
+
174
+ | Field | Value |
175
+ |-------|-------|
176
+ | Transaction Code | 278 |
177
+ | Transaction Type | Request |
178
+ | Service Type Code | HST |
179
+ | Service Type | Healthcare Services |
180
+ | Sender ID | 123456 |
181
+ | Receiver ID | 987654 |
182
+ | Patient ID | 789-01-2345 |
183
+ | Patient Name | Thompson, Mark |
184
+ | Diagnosis Code | M54.5 |
185
+ | Diagnosis Description | Low back pain |
186
+ | Service Start Date | 2023-05-01 |
187
+ | Service End Date | 2023-05-01 |
188
+ | CPT Code | 97110 |
189
+ | CPT Description | Therapeutic exercises |
190
+ | CPT Modifier | |
191
+ | CPT Quantity | 1 |
192
+ | CPT Unit Price | 150.00 |
193
+ | CPT Total Price | 150.00 |
194
+ | ICD Code | M54.5 |
195
+ | ICD Description | Low back pain |
196
+ | Service Line Control Number | 1 |
197
+
198
+
199
+ ADT A01 Admit Transaction Example
200
+
201
+ | Field | Value |
202
+ |-------|-------|
203
+ | MSH | \|HL7\|2.6\|ADT_A01_MESSAGE\|RECEIVER_APPLICATION\|20230505120000\|SECURITY\|ADT_A01\|MSG00001\|P\|2.6\
204
+
205
+
206
+
207
+
208
  ## Big Four - Diabetes, Heart Disease, Anxiety & Depression and Muskoskeletal Disorders
209
 
210
  | Costly Condition | Code Type | Code Value | Emoji | Code Description |