bryanmildort commited on
Commit
c5e5000
·
1 Parent(s): 2d0e2ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -39,9 +39,7 @@ prefix = """[Notes]: 64-year-old with copd (no pft in omr), cad, aaa, htn presen
39
  [Notes]: justin jefferson 39 yo male hx of pvd, dm s/p renal transplant 2130. and ulcers. patient states that he has been nauseated with vomiting and diarrhea for the past 2 weeks. he reports having decreased food intaked and that he has not been able to take or keep his medications down consistently. he states that in the past when he has been hyperglycemic, he has not had nausea and vomiting like this. he also reports sob and doe for the past 4-5 days. he denies orthopnea and pnd. he reports some edema in his legs bilat which is a chronic problem. came to the er today because his wife finally made him after his temperature spiked to 102. patient also has chronic ulcers. his wife helps care for them and has not noticed any increasing erythema 2 days ago when last she changed the dressing. however, in ed, found to have swollen rle with right ulcers some and surrounding erythema concerning for celluliti. in ed found to be hyperglycemic with bs of 420 and ag 24. they treated him with sq insulin rather than an insulin drip because they were concerned about hypoglycemia. ed with q 1-2 hr fingersticks brought ag down to 16 currently. ed concerned about possible cellulitis started on vanco and unsyn for cellulitis. xray of leg did not show osteomyelitis. cxr clear. vascular was consulted and they took a foot cx. podiatry also saw patient. patient was going go to floor when inr came back at 20.0. patient then given ffp x1 unit and vit k. patient admitted from: hospital1 5 er history obtained from patient
40
  [Summary]: justin jefferson is a 39 yo male with a history of t1dm s/p cadoveric renal transplant, chronic rle ulcers, and ivc filter on coumadin, who was admitted with dka in the setting of one week of n/v, diarrhea and fevers.
41
  [Notes]: : this is a 53 y.o F with ms, asthma with 2 days of cough, sob, fever to 102 per husband with increased agitation, ams and s/p unwitnessed fall per husband. in the ed, inital vitals were tm101.6, bp 129/60, hr 88, rr 16, sat 96% on 6l. abg 7.31/44/65. cxr found opacification of the l.lung with ?layering pleural effusion vs. lobar collapse. r.lung with patchy airspace opacity with concern for pna. pt given dose of levofloxacin and ceftriaxone. pt also given nebs and lorazepam. ekg unchanged, head/neck ct negative. per neurology, pt with limited o2 sats, advanced ms, sleep disturbances. upon speaking with pt's family, pt normal waxes and wanes in terms of alertness. has chronic pain. of note, pt admitted and tx for l.sided pna with flagyl/levo. however, abx switched to vanco/azithro/flagyl/cefepime. pt symptoms gradually improved. ros: unable to assess for complete ros as pt with altered ms. patient admitted from: hospital1 1 er history obtained from patient, family / hospital 380 medical records patient unable to provide history: encephalopathy
42
- [Summary]: 53 y.o woman with h.o ms, asthma, chronic pain who presents with sob/cough/ fever s/p fall.
43
- [Notes]: mr. poole is a 42 y.o. m with aids (cd4 65 on 2119-10-31), hepatitis c cirrhosis, recently discharged on 10-14 after a five day admission for abdominal pain, worsening ascites, jaundice and diarrhea, now presents with fever, and abdominal pain. . during his prior admission, he presented with abdominal pain, worsening ascites, jaundice, and diarrhea. ct scan on admission showed ?colitis. stool cultures and cmv were negative. he underwent egd and colonoscopy which were unrevealing. biopsies were negative. he underwent therapeutic paracentesis, removing 3.2 liters of ascites. he was started on immodium for diarrhea, lasix, and aldactone. the patient mentions that 1 week ago he started having diarrhea with dark stools. about 3 days ago, he had worsening abdominal pain and chills. he has been having 3-8 bowel movements per day, which is more than usual even with taking lactulose and january/day (3) 9723. he has had poor po intake over the past 3 days secondary to nausea and vomiting. emesis has been non bloody, non bilious. patient denies any cough, shortness of breath, or chest pain. no brbpr. no dysuria. he does not believe his abdomen is larger than baseline. . in the ed, initial vs: 98.2, 63, 81/41, 20, 100%. he was found to have diffuse abdominal tenderness, and brown, guaiac positive stool. abdominal paracentesis was attempted twice, however was stopped due to superficial bleeding. given inr of 3.3, further attempts were not pursued. hepatology was consulted. initial labs revealed hyponatremia to 126, bun/creat 58/4.4. lft's were elevated including ast 517, alt 174, alk phos 170, and tbil 26.8. lipase was elevated at 70. lactate 2.1. he had a leukocytosis of 11.2 with 71% pmn's. he received levofloxacin 750 mg, vancomycin 1 g empirically for community acquired pneumonia, with flagyl for abdominal coverage, and bactrim. he also received pantoprazole 40mg x1. ct abdomen/pelvis revealed colitis. he received 2l iv fluids. on transfer, vital signs were hr 56 bp 97/43 rr 23 100% on ra. . . currently, the patient has some mild abdominal pain and weakness, but no other complaints. . ros: denies night sweats, headache, vision changes, rhinorrhea, congestion, sore throat, cough, shortness of breath, chest pain, constipation, brbpr, hematochezia, dysuria, hematuria.
44
- [Summary]: mr. white is a 42 year old man with aids and hcv with decompensated cirrhosis who presented on 11-6 with fevers and abdominal pain with hypotension requiring icu admission."""
45
 
46
  input_text = st.text_area("Notes:", prompt)
47
  if st.button('Summarize'):
 
39
  [Notes]: justin jefferson 39 yo male hx of pvd, dm s/p renal transplant 2130. and ulcers. patient states that he has been nauseated with vomiting and diarrhea for the past 2 weeks. he reports having decreased food intaked and that he has not been able to take or keep his medications down consistently. he states that in the past when he has been hyperglycemic, he has not had nausea and vomiting like this. he also reports sob and doe for the past 4-5 days. he denies orthopnea and pnd. he reports some edema in his legs bilat which is a chronic problem. came to the er today because his wife finally made him after his temperature spiked to 102. patient also has chronic ulcers. his wife helps care for them and has not noticed any increasing erythema 2 days ago when last she changed the dressing. however, in ed, found to have swollen rle with right ulcers some and surrounding erythema concerning for celluliti. in ed found to be hyperglycemic with bs of 420 and ag 24. they treated him with sq insulin rather than an insulin drip because they were concerned about hypoglycemia. ed with q 1-2 hr fingersticks brought ag down to 16 currently. ed concerned about possible cellulitis started on vanco and unsyn for cellulitis. xray of leg did not show osteomyelitis. cxr clear. vascular was consulted and they took a foot cx. podiatry also saw patient. patient was going go to floor when inr came back at 20.0. patient then given ffp x1 unit and vit k. patient admitted from: hospital1 5 er history obtained from patient
40
  [Summary]: justin jefferson is a 39 yo male with a history of t1dm s/p cadoveric renal transplant, chronic rle ulcers, and ivc filter on coumadin, who was admitted with dka in the setting of one week of n/v, diarrhea and fevers.
41
  [Notes]: : this is a 53 y.o F with ms, asthma with 2 days of cough, sob, fever to 102 per husband with increased agitation, ams and s/p unwitnessed fall per husband. in the ed, inital vitals were tm101.6, bp 129/60, hr 88, rr 16, sat 96% on 6l. abg 7.31/44/65. cxr found opacification of the l.lung with ?layering pleural effusion vs. lobar collapse. r.lung with patchy airspace opacity with concern for pna. pt given dose of levofloxacin and ceftriaxone. pt also given nebs and lorazepam. ekg unchanged, head/neck ct negative. per neurology, pt with limited o2 sats, advanced ms, sleep disturbances. upon speaking with pt's family, pt normal waxes and wanes in terms of alertness. has chronic pain. of note, pt admitted and tx for l.sided pna with flagyl/levo. however, abx switched to vanco/azithro/flagyl/cefepime. pt symptoms gradually improved. ros: unable to assess for complete ros as pt with altered ms. patient admitted from: hospital1 1 er history obtained from patient, family / hospital 380 medical records patient unable to provide history: encephalopathy
42
+ [Summary]: 53 y.o woman with h.o ms, asthma, chronic pain who presents with sob/cough/ fever s/p fall."""
 
 
43
 
44
  input_text = st.text_area("Notes:", prompt)
45
  if st.button('Summarize'):