bryanmildort commited on
Commit
e818191
·
1 Parent(s): b3da830

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -30
app.py CHANGED
@@ -34,52 +34,39 @@ prompt = """Edie Whelan is a 26 yo female who is here for follow-up following an
34
  PMH: none, Meds: none, Allergies: none, Surgeries: None, Family hx: none
35
  Social: denies caffeine, tobacco, alcohol, and drug use. Is in a monogomous relationship and has sex with condoms"""
36
 
37
- prefix = """[Notes]: 35 yo female, comes in to clinic due to heavy mentrual periods. initiated 5 months ago, her last menstrual period was 6 months ago, she denias any pain while MP. she also details. weight gain of 18 pounds, she has had an unstable diet. she tried to concieve 9 years ago with any success, she has no hayd any misscarragies. she denies any shortness of breath, diaphoresis, head flushing, palpitations, sincope, chills, fever or abdominal pain. pap smear 6 months ago.
38
 
39
- ros: as above
40
 
41
- fh: parents healthy, granmother cervical cancer
42
 
43
- psh: none
44
 
45
- sh: alcohol: beer in ocaciones, tabaco: none, drugs: none
46
 
47
- sexual active, with boyfriend, does no use condoms
48
 
49
- ob gyn: menarche 12 yo , regular cycles until 6 months ago, prolonged to more than a month, took contraceptive pills before (control of mentrual periods)
50
 
51
- allergies: none,
52
 
53
- meds: none
54
 
55
- diet: no strict diet
 
56
 
57
- exercise: none
58
- [Summary]: 35yo F c/o heavy menstrual periods x5mos, weight gain, unstable diet, no conception, no pap smear in 6mos, FH grandmother cervical cancer, SH alcohol, no tabaco, no drugs,
59
- [Notes]: 17 yr Old M comes to clinic with c/o Heart Pounding, which started 2-3 Months. Symptoms comes and goes and last 3-4 min. Pt had 5-6 episodes so far and goes away on its on. Also feeling chest pressure which is in center x 2 days and difficulty in breathing x 2 days. Denies headache, diaphoresis, loss of consciouness, flushing, diarrhea, constipation, hair and skin chages. Diet and Appetite is normal. Pt is on Health plan for diet and eats fruits, veggies and protein meal.
60
 
61
- ROS negative except above
62
 
63
- PMH None Meds Takes addrall from room mate, NKDA
64
 
65
- PSH none Hospital none No trauma
66
 
67
- FH Mother had thyroid condition, Father has heart problem
68
 
69
- SH student, No smoking, ETOH occasional, Recreational drugs Pot one time
70
 
71
- SEX H Active with GF, Use condom and NO STD.
72
- [Summary]: 17yo M c/o heart pounding x2-3mos, chest pressure x2days, difficulty breathing x2days, addrall, FH mother thyroid, father heart, SH student, ETOH occasional, recreational drugs
73
- [Notes]: 67 yo F patient presents to clinic 3 weeks after the death of her son with difficulty falling asleep and waking early in the morning. She has tried ambien to help sleep without success. She also endorses having a sad or depressed mood, decreased energy, decreased interest in things she used to enjoy, and increased appetite. She endorses visual hallucinations of seeing her son at the kitchen table and auditory hallucinations of noise coming from the neighbor. She denies any suicidal or homicidal thoughts, intents, actions, or plans. She reports that she has a good support system with her family and friends.
74
-
75
- ROS: denies HA, vision changes, fever, chills, night sweats, N/V, changes in bowel or bladder habits, chest pain, SOB, or changes in weight.
76
-
77
- PMH: HTN, breast cancer 10 years in remission. Meds: HCTZ, lisinopril, ambrian for sleep. NKDA.
78
-
79
- Sx Hx: lumpectomy, laparotomy for complicated appendicits.
80
-
81
- Mother suffered depression.
82
- [Summary]: 67yo F c/o difficulty sleeping, sad/depressed mood, decreased energy, decreased interest, increased appetite, visual/auditory hallucinations, HTN, breast cancer"""
83
 
84
  input_text = st.text_area("Notes:", prompt)
85
  if st.button('Summarize'):
 
34
  PMH: none, Meds: none, Allergies: none, Surgeries: None, Family hx: none
35
  Social: denies caffeine, tobacco, alcohol, and drug use. Is in a monogomous relationship and has sex with condoms"""
36
 
37
+ prefix = """[Notes]: Ms. Whelan is a 26 yo woman who presents with palpitations, which have recently been occurring more frequently. She reports that she has episodes of 15-30 minutes of heart pounding, which is associated with shortness of breath, nausea, throat tightening, and a hot-to-cold feeling. A couple weeks ago one of these episodes was associated with some transient bilateral finger/hand numbness, which resolved but prompted her to visit the ED. In the last 5 years she has had 3-4 such episodes. However, she has been experiencing them every 2-3 days in the last 3 weeks. The patient notes that she was laid off from work 2 mos ago and is now seeking employment. Denies specific triggers.
38
 
 
39
 
 
40
 
41
+ ROS: Denies fever, weight loss, heat/cold intolerance, changes to skin or hair
42
 
43
+ PMH: No other medical issues
44
 
45
+ MEDs: Not taking any medicines
46
 
47
+ SHx: No caffeine, EtOH, smoking; sexually active with boyfriend, uses condoms
48
 
49
+ FHx: Non-contributory
50
 
 
51
 
52
+ [Summary]: 26 y/o female presents with palpitations, 15-30 minutes of heart pounding, associated with shortness of breath, nausea, throat tightening, and a hot-to-cold feeling, transient bilateral finger/hand numbness, occurring every
53
+ [Notes]: HPI: 67 YO F C/O DIFFICULTY FALLING ASLEEP SINCE HER SON DIES 3 WEEKS AGO. SHE WAKES UP EARLY IN THE MORNING AND SLEEPS FOR 4-5 HOURS EVERY NIGHT WITH SLEEP LATENCY OF ABOUT 1 HOUR EVERY NIGHT. SHE DOESN'T FEEL REFRESHED IN THE MORNING BUT DENIES ANY SNORING DURING SLEEP. SHE ASO FEELS SAD ALL THE TIME, POOR CONCENTRATION, ANHEDONIA, LOW ENERGY BUT DENIES ANY SUICIDAL IDEATION. SHE DENIES ANY TREMORS, HEAT INTOLERANCE OR WEIGHT CHANGES. SHE REPORTS VISUAL HALLUCINATIONS ABOUT HER SON AND AUDITORY HALLUCINATIONS YESTERDAY IRRELEVANT TO THE INCIDENT. NO FEVER, WEAKNESS, NUMBNESS, RASH OR URINARY OR BOWEL CHANGES.
54
 
55
+ ROS: NONE EXCEPT AS ABOVE.
 
 
56
 
57
+ PMH: HTN * 15 YEARS.
58
 
59
+ PSH: NONE.
60
 
61
+ ALL: NKDA.
62
 
63
+ MEDS: HCTZ, LISINOPRIL
64
 
65
+ FH: DEPRESSION IN MOTHER, HTN AND HYPERCHOLERSTEROLEMIA IN FATHER.
66
 
67
+ SSH: MONOGAMOUS WITH HUSBAND, NON SMOKING, OCCASIONAL ETOH 2-3/WEEK, NO ILLICIT DRUG USE.
68
+ [Summary]: 67 y/o female presents with difficulty falling asleep since her son's death 3 weeks ago, wakes up early in the morning and sleeps for 4-5 hours every night with sleep latency of 1 hour, feels sad all the time, poor concentration
69
+ """
 
 
 
 
 
 
 
 
 
70
 
71
  input_text = st.text_area("Notes:", prompt)
72
  if st.button('Summarize'):