Spaces:
Sleeping
Sleeping
#Patient1 | |
progress_note_1 = """ | |
[Progress Note 20211213] | |
[Problem List] | |
nan | |
[Subjective] | |
Chest discomfort(-) | |
[Objective] | |
ํ์: 146/57 mmHg, ๋งฅ๋ฐ: 69 ํ/min, ํธํก: 14 ํ/min, ์ฒด์จ: 36.2 โ, SPO2: 99 %, | |
[Assessment] | |
#1 3VD, stable angina | |
#2 EGC s.p ESD | |
#3 DM ESRD on HD (์์๊ธ Lt. AVF) | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
[Progress Note 20211214] | |
[Problem List] | |
nan | |
[Subjective] | |
ํํต ์๊ณ ๊ด์ฐฎ์์. | |
[Objective] | |
ํ์: 103/66 mmHg, ๋งฅ๋ฐ: 80 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 37.4 โ | |
[2021-12-14] (โผ)RBC (Qn)[ChemR-I],Blood 2.69 x10^6/uL | |
[2021-12-14] (โผ)Hb (Qn)[ChemR-I],Blood 9.2 g/dl | |
[2021-12-14] (โผ)Hct (Qn)[ChemR-I],Blood 27.6 % | |
[2021-12-14] (โผ)Platelet (Qn)[ChemR-I],Blood 145 x10ยณ/uL | |
[2021-12-14] (โฒ)MCV (Qn)[ChemR-I],Blood 102.6 fl | |
[2021-12-14] (โฒ)MCH (Qn)[ChemR-I],Blood 34.2 pg | |
[2021-12-14] (โฒ)CK (Qn)[ChemR-I],Blood 528 IU/L | |
femoral site hematoma + 5cm | |
๋ ์ปค์ง์ง ์๊ณ ํก์๋๋ ๊ฒฝ๊ณผ์ | |
[Assessment] | |
#1 3VD, stable angina | |
s/p PCI at pmRCA, pmLAD (18.6.18) | |
s/p PCI at LM-pLAD, pLCX-OM (21.12.13) | |
#2 EGC s.p ESD | |
#3 ESRD on HD | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
""" | |
real_discharge_1 = """ | |
[Chief Complaint] | |
nan | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
=========================================================== | |
#1 3VD, stable angina | |
s/p PCI at pmRCA, pmLAD (18.6.18) | |
s/p PCI at LM-pLAD, pLCX-OM (21.12.13) | |
#2 EGC s.p ESD | |
#3 ESRD on HD | |
=========================================================== | |
2018๋ #1 ์๊ฒฌ์ผ๋ก CV OPD๋ฐฉ๋ฌธํ๋ ๋ถ. ๋น์ #2 ์ํ ํ ๊ฒฝ๊ณผ๋ณด๊ณ ์ถํ CAG๊ณ ๋ คํจ. | |
์ดํ f/u loss | |
2021.09.07 CV OPD ๋ฐฉ๋ฌธํ์๊ณ , ์ ์ํ์ฌ CAG์ํ ํ PCI or CABG์ํ ๊ฒฐ์ ํ๊ธฐ๋ก ํจ. | |
2021.12.12 ADM for CAG+ | |
<์ ์๊ฒฝ๊ณผ> | |
2021.12.13 CAG ์ํ: 2 vessel disease & Left Main Disease ๋ก | |
PCI at LM-pLAD, pLCX-OM ์ํ ํ ํด์ํจ | |
PCI(percutaneous coronary intervention) | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
date1 = ['2021-12-13', '2021-12-14'] | |
problem1 = ['nan', 'nan'] | |
subjective1 = ['Chest Discomfort(-)', 'ํํต์๊ณ ๊ด์ฐฎ์์'] | |
objective1 = ['ํ์: 146/57 mmHg, ๋งฅ๋ฐ: 69 ํ/min, ํธํก: 14 ํ/min, ์ฒด์จ: 36.2 โ, SPO2: 99 %', | |
"""ํ์: 103/66 mmHg, ๋งฅ๋ฐ: 80 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 37.4 โ, | |
[2021-12-14] (โผ)RBC (Qn)[ChemR-I],Blood 2.69 x10^6/uL | |
[2021-12-14] (โผ)Hb (Qn)[ChemR-I],Blood 9.2 g/dl | |
[2021-12-14] (โผ)Hct (Qn)[ChemR-I],Blood 27.6 % | |
[2021-12-14] (โผ)Platelet (Qn)[ChemR-I],Blood 145 x10ยณ/uL | |
[2021-12-14] (โฒ)MCV (Qn)[ChemR-I],Blood 102.6 fl | |
[2021-12-14] (โฒ)MCH (Qn)[ChemR-I],Blood 34.2 pg | |
[2021-12-14] (โฒ)CK (Qn)[ChemR-I],Blood 528 IU/L | |
femoral site hematoma + 5cm \n๋ ์ปค์ง์ง ์๊ณ ํก์๋๋ ๊ฒฝ๊ณผ์"""] | |
assessment1 = ["""#1 3VD, stable angina | |
#2 EGC s.p ESD | |
#3 DM ESRD on HD (์์๊ธ Lt. AVF)""", | |
"""#1 3VD, stable angina | |
s/p PCI at pmRCA, pmLAD (18.6.18) | |
s/p PCI at LM-pLAD, pLCX-OM (21.12.13) | |
#2 EGC s.p ESD | |
#3 ESRD on HD"""] | |
goal1 = ['nan', 'nan'] | |
plan1 = ['nan', 'nan'] | |
comment1 = ['nan', 'nan'] | |
inference1 = """ | |
[Chief Complaint] | |
chest discomfort | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1 3VD, stable angina | |
s/p PCI at pmRCA, pmLAD (18.6.18) | |
s/p PCI at LM-pLAD, pLCX-OM (21.12.13) | |
#2 EGC s.p ESD | |
#3 ESRD on HD | |
์๋ณ์ผ๋ก ๋ณธ์ CV, GI, NPH f/u ์ค์ธ ๋ถ์ผ๋ก | |
2021.12.12 3VD์ ๋ํด PCI ์ํด ์ ์ํจ. | |
2021.12.13 PCI at LM-pLAD, pLCX-OM ์ํํจ. | |
2021.12.14 femoral site hematoma + 5cm ํ์ธ๋์ด f/u ์ํํ์๊ณ , ํก์๋๋ ๊ฒฝ๊ณผ๋ก ํด์ํจ. | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์""" | |
#Patient2 | |
date2 = ['2021-02-23', '2021-02-24', '2021-02-25'] | |
problem2 = ['nan', 'nan', 'nan'] | |
subjective2 = ['nan', 'nan', 'nan'] | |
objective2 = [""" | |
์ฒด์ค: 71.9 kg, 2021-02-23 07:21:35 | |
ํ์: 103/47 mmHg, ๋งฅ๋ฐ: 51 ํ/min, ํธํก: 20 ํ/min, ์ฒด์จ: 36.8 โ, SPO2: 95 %, 2021-02-23 08:14:37 | |
""", | |
""" | |
์ฒด์ค: 71.2 kg, 2021-02-24 07:41:16 | |
ํ์: 118/56 mmHg, ๋งฅ๋ฐ: 56 ํ/min, ํธํก: 20 ํ/min, ์ฒด์จ: 36.6 โ, SPO2: 95 %, 2021-02-24 08:10:28 | |
""", | |
""" | |
์ฒด์ค: 71.7 kg, 2021-02-25 06:22:36 | |
ํ์: 126/76 mmHg, ๋งฅ๋ฐ: 51 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, SPO2: 95 %, 2021-02-25 07:08:28 | |
"""] | |
assessment2 = [""" | |
#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์) | |
""", | |
""" | |
#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์) | |
""", | |
"""#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์)""" | |
] | |
goal2 = ['nan', 'nan', 'nan'] | |
plan2 = ['nan', 'nan', 'nan'] | |
comment2 = ['nan', 'nan', 'nan'] | |
progress_note_2 = """ | |
[Progress Note 20210223] | |
[Problem List] | |
nan | |
[Subjective] | |
nan | |
[Objective] | |
์ฒด์ค: 71.9 kg, 2021-02-23 07:21:35 | |
ํ์: 103/47 mmHg, ๋งฅ๋ฐ: 51 ํ/min, ํธํก: 20 ํ/min, ์ฒด์จ: 36.8 โ, SPO2: 95 %, 2021-02-23 08:14:37 | |
[Assessment] | |
#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์) | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
[Progress Note 20210224] | |
[Problem List] | |
nan | |
[Subjective] | |
nan | |
[Objective] | |
์ฒด์ค: 71.2 kg, 2021-02-24 07:41:16 | |
ํ์: 118/56 mmHg, ๋งฅ๋ฐ: 56 ํ/min, ํธํก: 20 ํ/min, ์ฒด์จ: 36.6 โ, SPO2: 95 %, 2021-02-24 08:10:28 | |
[Assessment] | |
#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์) | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
[Progress Note 20210225] | |
[Problem List] | |
nan | |
[Subjective] | |
nan | |
[Objective] | |
์ฒด์ค: 71.7 kg, 2021-02-25 06:22:36 | |
ํ์: 126/76 mmHg, ๋งฅ๋ฐ: 51 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, SPO2: 95 %, 2021-02-25 07:08:28 | |
[Assessment] | |
#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์) | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
""" | |
real_discharge_2 = """ | |
[Chief Complaint] | |
For preop w/u | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์) | |
========================================================== | |
severe MS์ ๋ํด ๋ณธ์์์ PMV ์ํ ํ f/u ์ง์ํ๋ ํ์์ด๋ฉฐ | |
์ฌ๋ถ์ ์ฆ์ ์์ผ๋ f/u TTE์์ severe AR with mild AS ์๊ฒฌ ๋ณด์ฌ | |
21.02.22 ์์ ์ ์น๋ฃ ๊ณ ๋ คํ์ฌ work up ์ํด ์ ์ํจ. | |
21.02.25 mitral valve function์ ๋น๊ต์ ์ํธํ ๊ฒ์ผ๋ก ๋ณด๊ณ AVR๋ง ์ํํ๊ธฐ๋ก ํ์ผ๋ฉฐ | |
์์ ์ํ ์ฌ์ ์ ์์ ์ผ๋ก ํด์ํจ. | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
inference2 = """ | |
[Chief Complaint] | |
for w/u | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. Severe rheumatic MS with mild MR and severe AR with mild AS (2004.01.02) | |
- s/p PMV (2004.2.25) | |
#2. Hypothyroidism (2001) | |
#3. Chronic cholecystitis | |
- s/p LLC (12.07.31) | |
#4. MM tear of Rt. knee (2020.01์) | |
========================================================== | |
์ํ ์๋ณ์ผ๋ก ๋ณธ์ CV f/u ํ์๋ ๋ถ์ผ๋ก | |
2021.02.22 op w/u ์ํด ์ ์ํจ. | |
2021.02.23 TTE/TEE ์ํํจ. | |
2021.02.24 TEE์ severe rheumatic MS, severe AR ์๊ฒฌ์ผ๋ก MVR, AVR ์ํํ๊ธฐ๋ก ํจ. | |
2021.02.25 ํด์ํจ. | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
#Patient3 | |
date3 = ['2021-02-05', '2021-02-06'] | |
problem3 = ['nan', 'nan'] | |
subjective3 = ['nan', '๊ด์ฐฎ์์ ๋ถํธํ ๊ฒ ์์ต๋๋ค.'] | |
objective3 = [ | |
'nan', | |
""" | |
ํ์: 93/62 mmHg, ๋งฅ๋ฐ: 55 ํ/min, ํธํก: 16 ํ/min, ์ฒด์จ: 37.3 โ, SPO2: 98 %, 2021-02-06 07:00:23 | |
"""] | |
assessment3 = ['nan', """ | |
#1. Atrial tachycardia | |
- s/p RFCA(2021.02.05) | |
"""] | |
goal3 = ['nan', 'nan'] | |
plan3 =['nan', 'nan'] | |
comment3 = [""" | |
<Pre-EP note> | |
* Dx | |
# Atrial tachycardia | |
* PMHx | |
# Atrial tachycardia | |
A 32 years old female patient with palpitation was admitted for radiofrequency catheter ablation. Atrial tachycardia was documented on electrocardiogram and was refractory to antiarrhythmic drugs. Echocardiography showed structurally normal heart (left ventricular ejection fraction 63%) without enlarged left atrium (anteroposterior diameter 33 mm). | |
* Med | |
Concor tab [5mg] 1.00 TAB PO DP 1ํ 100์ผ | |
Tambocor tab [50mg] 1.00 TAB PO BP 2ํ 100์ผ | |
* ECG | |
2021.1.15 sinus rhythm, hr 61 bpm, qrs 100ms | |
* Image | |
[ 20201023 - Transthoracic Echocardiography Report ] | |
LVEF 63%, LA 33 mm | |
Normal echocardiography | |
* Lab | |
2021-01-29 WBC (Qn)[ChemR-I],Blood 6.5 x10ยณ/uL | |
2021-01-29 Hb (Qn)[ChemR-I],Blood 13.6 g/dl | |
2021-01-29 Platelet (Qn)[ChemR-I],Blood 236 x10ยณ/uL | |
2021-01-29 PT(INR) (Qn)[ChemR-I],Blood 0.91 INR | |
2021-01-29 (โผ)Creatinine (Qn)[ChemR-I],Blood 0.65 mg/dL | |
2021-01-29 AST(SGOT) (Qn)[ChemR-I],Blood 21 IU/L | |
2021-01-29 ALT(SGPT) (Qn)[ChemR-I],Blood 14 IU/L | |
* Plan | |
AT-RFCA | |
์ฌ๋ฐฉ์ธ๋ ๋์์ ์ ์ ์ ๋ํ์ฌ ์ค๋ช ํจ. | |
- ์ฑ๊ณต์จ 60-70% | |
- ์ฌ์์ 30~40% | |
- ์์ ์๊ฐ 3-6 ์๊ฐ | |
- ๊ตญ์๋ง์ทจ, ์ง์ ์ , ์งํต์ ํฌ์ฌ | |
- ๋ณด์กฐ ํธํก ํ์ํ ์ ์์. | |
- ํฉ๋ณ์ฆ (1-2%): ๋์กธ์ค, ์๊ธ์ฌ์ฅ์์ ๊ฐ๋ฅ์ฑ | |
์ฌ๋ฐฉ-์๋๋๊ณต--> ๋ฐ์ด, ๋์กธ์ฆ, ๊ฐํ ๋ฑ ์ฆ์ -> ์ฌ๋ง๊ฐ๋ฅ์ฑ | |
์ฅ์ด๋์ฅ์ , ํก๊ฒฝ๋ง๋ง๋น, ํ์ ๋งฅ ํ์ฐฉ--> ํธํก๊ณค๋ | |
๊ธฐํ ํฉ๋ณ์ฆ | |
- ์์ ์ค ์ง๋ฅ๋์จ๋์ ํ--> ์ง์ ์ค์ด๋ฏ๋ก ์น์ ํฌํจ ๊ตฌ๊ฐ ๋ด ์์ | |
""", 'nan'] | |
progress_note_3 = """ | |
[Progress Note 20210205] | |
[Problem List] | |
nan | |
[Subjective] | |
nan | |
[Objective] | |
nan | |
[Assessment] | |
nan | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
<Pre-EP note> | |
* Dx | |
# Atrial tachycardia | |
* PMHx | |
# Atrial tachycardia | |
A 32 years old female patient with palpitation was admitted for radiofrequency catheter ablation. Atrial tachycardia was documented on electrocardiogram and was refractory to antiarrhythmic drugs. Echocardiography showed structurally normal heart (left ventricular ejection fraction 63%) without enlarged left atrium (anteroposterior diameter 33 mm). | |
* Med | |
Concor tab [5mg] 1.00 TAB PO DP 1ํ 100์ผ | |
Tambocor tab [50mg] 1.00 TAB PO BP 2ํ 100์ผ | |
* ECG | |
2021.1.15 sinus rhythm, hr 61 bpm, qrs 100ms | |
* Image | |
[ 20201023 - Transthoracic Echocardiography Report ] | |
LVEF 63%, LA 33 mm | |
Normal echocardiography | |
* Lab | |
2021-01-29 WBC (Qn)[ChemR-I],Blood 6.5 x10ยณ/uL | |
2021-01-29 Hb (Qn)[ChemR-I],Blood 13.6 g/dl | |
2021-01-29 Platelet (Qn)[ChemR-I],Blood 236 x10ยณ/uL | |
2021-01-29 PT(INR) (Qn)[ChemR-I],Blood 0.91 INR | |
2021-01-29 (โผ)Creatinine (Qn)[ChemR-I],Blood 0.65 mg/dL | |
2021-01-29 AST(SGOT) (Qn)[ChemR-I],Blood 21 IU/L | |
2021-01-29 ALT(SGPT) (Qn)[ChemR-I],Blood 14 IU/L | |
* Plan | |
AT-RFCA | |
์ฌ๋ฐฉ์ธ๋ ๋์์ ์ ์ ์ ๋ํ์ฌ ์ค๋ช ํจ. | |
- ์ฑ๊ณต์จ 60-70% | |
- ์ฌ์์ 30~40% | |
- ์์ ์๊ฐ 3-6 ์๊ฐ | |
- ๊ตญ์๋ง์ทจ, ์ง์ ์ , ์งํต์ ํฌ์ฌ | |
- ๋ณด์กฐ ํธํก ํ์ํ ์ ์์. | |
- ํฉ๋ณ์ฆ (1-2%): ๋์กธ์ค, ์๊ธ์ฌ์ฅ์์ ๊ฐ๋ฅ์ฑ | |
์ฌ๋ฐฉ-์๋๋๊ณต--> ๋ฐ์ด, ๋์กธ์ฆ, ๊ฐํ ๋ฑ ์ฆ์ -> ์ฌ๋ง๊ฐ๋ฅ์ฑ | |
์ฅ์ด๋์ฅ์ , ํก๊ฒฝ๋ง๋ง๋น, ํ์ ๋งฅ ํ์ฐฉ--> ํธํก๊ณค๋ | |
๊ธฐํ ํฉ๋ณ์ฆ | |
- ์์ ์ค ์ง๋ฅ๋์จ๋์ ํ--> ์ง์ ์ค์ด๋ฏ๋ก ์น์ ํฌํจ ๊ตฌ๊ฐ ๋ด ์์ | |
[Progress Note 20210206] | |
[Problem List] | |
nan | |
[Subjective] | |
๊ด์ฐฎ์์ ๋ถํธํ ๊ฒ ์์ต๋๋ค. | |
[Objective] | |
ํ์: 93/62 mmHg, ๋งฅ๋ฐ: 55 ํ/min, ํธํก: 16 ํ/min, ์ฒด์จ: 37.3 โ, SPO2: 98 %, 2021-02-06 07:00:23 | |
[Assessment] | |
#1. Atrial tachycardia | |
- s/p RFCA(2021.02.05) | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
""" | |
real_discharge_3 = """ | |
[Chief Complaint] | |
Atrial tachycardia | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. Atrial tachycardia | |
- s/p RFCA(2021.02.05) | |
================================== | |
2020.09.25 ์๊ฐ์ ๊ฐ๊ฒฉ palpitation ๋ฐ๋ณต๋์ด ๋ณธ์ CV ์ธ๋ ๋ด์ | |
Concor 5 + flec 50 bid | |
2021.01.15 AAD ๋ณต์ฉ์ค์๋ ์ฆ์ ์ง์๋จ | |
2021.02.05 RFCA ์ํํจ | |
2021.02.05 ๊ฒฝ๊ณผ๊ด์ฐฐ ์ํด ์ ์ | |
2021.02.06 ํน์ดํฉ๋ณ์ฆ ์์ด ํด์, | |
Liquixia 5mg bid ํ ๋ฌ๊ฐ ํฌ์ฝ ์์ ํจ. | |
* RFCA(radiofrequency catheter ablation) | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
inference3 = """ | |
[Chief Complaint] | |
for RFCA | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. Atrial tachycardia | |
- s/p RFCA(2021.02.05) | |
====================================================== | |
์ํ ์๊ธฐ ์งํ์ผ๋ก ๋ณธ์ CV f/u ํ๋ ๋ถ์ผ๋ก | |
2021.02.05 RFCA ์ํ ํ ์ ์ํจ. | |
2021.02.06 ๊ธ์ฑ ํฉ๋ณ์ฆ ์์ด ํด์ํจ. | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
#Patient4 | |
date4 = ['2020-04-21', '2020-04-22'] | |
problem4 = ['nan', 'nan'] | |
subjective4 = ['nan', 'ํด์ํด์.'] | |
objective4 = ["""nan""", | |
"""nan""", | |
] | |
assessment4 = ["""nan""", | |
"""#1. HTN on med | |
#2. PSVT | |
s/p RFCA (2020.04.21)"""] | |
goal4 = ['nan', 'nan'] | |
plan4 = ['nan', 'nan'] | |
comment4 = ["""<Pre-EP note> | |
* Dx paroxysaml supraventricular tachycardia | |
* PMHx | |
#. HTN | |
A 47 years old male patient with palpitation was admitted for radiofrequency catheter ablation. | |
Supraventricular tachycardia was documented on ECG(2018.12.18) and recurred continuously. Echocardiography showed structurally normal heart(left ventricular ejection fraction 73%)with enlarged left atrium (anteroposterior diameter 47mm) | |
* Med 18.12.31 prn verapamil 180mg | |
* ECG | |
18.12.18 PSVT, 153bpm, QRS 106ms | |
19.1.17 PSVT, 162bpm, QRS 100ms | |
19.1.25 PSVT, 172bpm, QRS 98ms | |
20.1.8 PSVT, 160bpm, 110ms* Image | |
TTE(20.1.14) : LVEF 73%, LA 47mm, normal echocardiography | |
* Plan | |
PSVT ์์ ๊ณผ์ ๋ฐ ๊ฒฝ๊ณผ์ ๋ํด ์ค๋ช ํจ | |
10% ์ ๋๋ 1)๋ถ์ ๋งฅ ์ ๋ฐ์๋จ 2) 3D mapping ํ์ ๋ถ์ ๋งฅ ๋ฐ์ 3) ์ ์์ ๋๋ก ๊ทผ์ฒ์์ ๋ฐ์ํ๋ ๋ถ์ ๋งฅ์ผ๋ก ์ธํด ์์ ๋ถ๊ฐํ ๊ฒฝ์ฐ๊ฐ ์์. | |
์์ ์งํํ๊ฒ ๋ ๊ฒฝ์ฐ | |
90% ์ฑ๊ณต | |
10% ์ฌ๋ฐ ๋ฐ ์ฌ์์ ๊ฐ๋ฅ์ฑ | |
์์ฒ ๋ถ์ ์ถํ ํ์ข ๊ฐ์ผ | |
์ ์ ์ ๋๋ก ์์ -> PPM | |
๊ธฐํ ์๊ธฐ์น๋ชปํ ํฉ๋ณ์ฆ ๋ฑ์ผ๋ก ์ธํ ์๊ธ ์์ ๋ฐ ์ฌ๋ง ๊ฐ๋ฅ์ฑ๋ฑ์ ๋ํด ์ค๋ช ํจ.""", 'nan'] | |
progress_note_4 = """ | |
[Progress Note 20200421] | |
[Problem List] | |
nan | |
[Subjective] | |
nan | |
[Objective] | |
nan | |
[Assessment] | |
nan | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
<Pre-EP note> | |
* Dx | |
paroxysaml supraventricular tachycardia | |
* PMHx | |
#. HTN | |
A 47 years old male patient with palpitation was admitted for radiofrequency catheter ablation. | |
Supraventricular tachycardia was documented on ECG(2018.12.18) and recurred continuously. Echocardiography showed structurally normal heart(left ventricular ejection fraction 73%)with enlarged left atrium (anteroposterior diameter 47mm) | |
* Med | |
18.12.31 prn verapamil 180mg | |
* ECG | |
18.12.18 PSVT, 153bpm, QRS 106ms | |
19.1.17 PSVT, 162bpm, QRS 100ms | |
19.1.25 PSVT, 172bpm, QRS 98ms | |
20.1.8 PSVT, 160bpm, 110ms | |
* Image | |
TTE(20.1.14) : LVEF 73%, LA 47mm, normal echocardiography | |
* Plan | |
PSVT ์์ ๊ณผ์ ๋ฐ ๊ฒฝ๊ณผ์ ๋ํด ์ค๋ช ํจ | |
10% ์ ๋๋ 1)๋ถ์ ๋งฅ ์ ๋ฐ์๋จ 2) 3D mapping ํ์ ๋ถ์ ๋งฅ ๋ฐ์ 3) ์ ์์ ๋๋ก ๊ทผ์ฒ์์ ๋ฐ์ํ๋ ๋ถ์ ๋งฅ์ผ๋ก ์ธํด ์์ ๋ถ๊ฐํ ๊ฒฝ์ฐ๊ฐ ์์. | |
์์ ์งํํ๊ฒ ๋ ๊ฒฝ์ฐ | |
90% ์ฑ๊ณต | |
10% ์ฌ๋ฐ ๋ฐ ์ฌ์์ ๊ฐ๋ฅ์ฑ | |
์์ฒ ๋ถ์ ์ถํ ํ์ข ๊ฐ์ผ | |
์ ์ ์ ๋๋ก ์์ -> PPM | |
๊ธฐํ ์๊ธฐ์น๋ชปํ ํฉ๋ณ์ฆ ๋ฑ์ผ๋ก ์ธํ ์๊ธ ์์ ๋ฐ ์ฌ๋ง ๊ฐ๋ฅ์ฑ๋ฑ์ ๋ํด ์ค๋ช ํจ. | |
[Progress Note 20200422] | |
[Problem List] | |
nan | |
[Subjective] | |
ํด์ํด์ | |
[Objective] | |
nan | |
[Assessment] | |
#1. HTN on med | |
#2. PSVT | |
s/p RFCA (2020.04.21) | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
""" | |
real_discharge_4 = """ | |
[Chief Complaint] | |
palpitation | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
============================================== | |
#1. HTN on med | |
#2. PSVT | |
s/p RFCA (2020.04.21) | |
============================================== | |
๋ด์ 4~5๋ ์ ๋ถํฐ ๊ฐํ์ ์ธ palpitation ์์ด r/o PSVT๋ก ์ง๋ฃ๋ฐ์๋ ๊ธฐ์๋ ฅ ์๋ ๋ถ | |
2018.12 ๋ณธ์ ์๊ธ์ค ์ง๋ฃ ํ CV OPD f/u ํ์๊ณ PRN isoptin 180mg ์ฒ๋ฐฉ ๋ฐ์ ์ฆ์ ์์ ๋ ๋ณต์ฉํด์๋ค๊ณ ํจ. | |
2020.01.08 40~50๋ถ ์ ์ ๋ง์๊ณ ๋์ค๋ค๊ฐ palpitation, chest discomfort ๋ฐ์ํ์ฌ ER ๋ด์ํ์๊ณ | |
initial ekg: SVT -> adenosine 6 -> 12mg ํฌ์ฝ ํ sinus conversion | |
prn isoptin ์ฒ๋ฐฉํ์ฌ CV OPD f/u ํ๊ธฐ๋ก ํจ. | |
2020.03.06 ์ธ๋ ๋ฐฉ๋ฌธํ์ฌ ๋น์ผ ์์ ํ ์ ์ํ๊ธฐ๋ก ํจ | |
2020.04.21 RFCA(radiofrequency catheter ablation) ์ํ | |
2020.04.22 ์์ ํ ๊ธ์ฑ ํฉ๋ณ์ฆ ์์ด ํด์ | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planned discharge) | |
""" | |
inference4 = """ | |
[Chief Complaint] | |
for RFCA | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
================================================== | |
#1. HTN on med | |
#2. PSVT | |
s/p RFCA (2020.04.21) | |
================================================== | |
HTN์ผ๋ก ์ฝ๋ฌผ ๋ณต์ฉ์ค์. | |
2018๋ 12์ 18์ผ๋ถํฐ ๊ฐํ์ ์ผ๋ก ๊ฐ์ด๋๊ทผ๊ฑฐ๋ฆผ(1์๊ฐ ์ ๋ ์ง์) ๊ฒฝํ. | |
๊ฐ์ด๋๊ทผ๊ฑฐ๋ฆผ ๋๋ฐ๋์ด ๊ฐ์ธ๋ณ์ ๋ด์ํ์ฌ ๊ฒ์ฌ ์ํํจ. | |
EKG: PSVT(HR 153bpm) ์๊ฒฌ์ผ๋ก ๋ณธ์ ์ง๋ฃ ์ํด์ ๋ด์ํจ. | |
2018๋ 12์ 31์ผ RFCA ๊ถ์ ๋ฐ์์ผ๋ ์์ ๊ฑฐ๋ถํ์ฌ prn verapamil 180mg ์ฒ๋ฐฉ๋ฐ์ ๋ณต์ฉํจ. | |
2019๋ 1์ 8์ผ๋ถํฐ ๊ฐ์ด๋๊ทผ๊ฑฐ๋ฆผ์ ๋น๋ ์ฆ๊ฐํ์ฌ 1์ฃผ์ผ์ 2ํ ์ ๋ ๊ฒฝํ. | |
1์ 8์ผ ๊ฐ์ด๋๊ทผ๊ฑฐ๋ฆผ ๋ฐํ๋์ด ๊ฐ์ธ๋ณ์ ๋ด์ํ์ฌ EKG: PSVT(HR 160bpm) ์๊ฒฌ์ผ๋ก | |
๋ณธ์ ์ง๋ฃ ์ํด์ ๋ด์ํจ. | |
2019๋ 1์ 25์ผ ๊ฐ์ด๋๊ทผ๊ฑฐ๋ฆผ ๋ฐํ๋์ด ๊ฐ์ธ๋ณ์ ๋ด์ํ์ฌ EKG: PSVT(HR 172bpm) ์๊ฒฌ์ผ๋ก | |
๋ณธ์ ์ง๋ฃ ์ํด์ ๋ด์ํจ. | |
2020๋ 1์ 14์ผ TTE: EF 73%, LA 47mm, normal echocardiography | |
2020๋ 4์ 21์ผ RFCA ์ํ ํ ์ ์ํจ. | |
2020๋ 4์ 22์ผ ๊ธ์ฑํฉ๋ณ์ฆ ์์ด ํด์ํจ. | |
RFCA(radiofrequency catheter ablation) | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge)""" | |
#Patient5 | |
date5 = ['2020-02-02', '2020-02-03', '2020-02-04'] | |
problem5 = ['nan', 'nan', 'nan'] | |
subjective5 = ['์์ ์ ํ๊ฒ๋๋ฉด ์ธ์ ์ฏค ํ๋์', '์ง์ ์ธ์ ๊ฐ๋ ๋๋์?', '๊ฒ์ฌํ๊ณ ํด์ํ๋ฉด ๋์ฃ '] | |
objective5 = ["""์ฒด์ค: 53.9 kg, 2020-02-02 07:06:51 | |
ํ์: 115/82 mmHg, ๋งฅ๋ฐ: 71 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, 2020-02-02 07:06:47""", | |
"""์ฒด์ค: 55.55 kg, 2020-02-03 07:38:45 | |
ํ์: 107/72 mmHg, ๋งฅ๋ฐ: 67 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, 2020-02-03 16:45:0""", | |
"""์ฒด์ค: 55 kg, 2020-02-04 07:38:19 | |
ํ์: 111/75 mmHg, ๋งฅ๋ฐ: 69 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, 2020-02-04 08:04:45 | |
[2020-02-03] Transthoracic echocardiography (์ ๋ฐ) | |
1.Bicupsid aortic valve with moderate aortic stenosis | |
2.Ascending aorta aneurysm(54 mm) | |
3.Normal LV size and systolic function | |
;slightly increased transaortic valve Vmax and PG compared with the previous study(2019.11.12)""" | |
] | |
assessment5 = ["""#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm | |
#3. HTN""", | |
"""#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm""", | |
"""#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm | |
#3. HTN"""] | |
goal5 = ['nan', 'nan', 'nan'] | |
plan5 = ['nan', 'nan', 'nan'] | |
comment5 = ["""nan""", 'nan', 'nan'] | |
progress_note_5 = """ | |
[Progress Note 20200202] | |
[Problem List] | |
nan | |
[Subjective] | |
์์ ์ ํ๊ฒ๋๋ฉด ์ธ์ ์ฏค ํ๋์ | |
[Objective] | |
์ฒด์ค: 53.9 kg, 2020-02-02 07:06:51 | |
ํ์: 115/82 mmHg, ๋งฅ๋ฐ: 71 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, 2020-02-02 07:06:47 | |
[Assessment] | |
#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm | |
#3. HTN | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
[Progress Note 20200203] | |
[Problem List] | |
nan | |
[Subjective] | |
์ง์ ์ธ์ ๊ฐ๋ ๋๋์? | |
[Objective] | |
์ฒด์ค: 55.55 kg, 2020-02-03 07:38:45 | |
ํ์: 107/72 mmHg, ๋งฅ๋ฐ: 67 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, 2020-02-03 16:45:07 | |
[2020-02-01] MR,Brain & Head angiography (with enhance)(3.0T) | |
Severe leukoaraiosis and multifocal old lacunes in both cerebral hemispheres. | |
[ 20200203 - Transthoracic Echocardiography Report ] | |
1.Bicupsid aortic valve with moderate aortic stenosis | |
2.Ascending aorta aneurysm(54 mm) | |
3.Normal LV size and systolic function | |
;slightly increased transaortic valve Vmax and PG compared with the previous study(2019.11.12) | |
[Assessment] | |
#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm | |
#3. HTN | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
[Progress Note 20200204] | |
[Problem List] | |
nan | |
[Subjective] | |
๊ฒ์ฌํ๊ณ ํด์ํ๋ฉด ๋์ฃ | |
[Objective] | |
์ฒด์ค: 55 kg, 2020-02-04 07:38:19 | |
ํ์: 111/75 mmHg, ๋งฅ๋ฐ: 69 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.3 โ, 2020-02-04 08:04:45 | |
[2020-02-03] Transthoracic echocardiography (์ ๋ฐ) | |
1.Bicupsid aortic valve with moderate aortic stenosis | |
2.Ascending aorta aneurysm(54 mm) | |
3.Normal LV size and systolic function | |
;slightly increased transaortic valve Vmax and PG compared with the previous study(2019.11.12) | |
[Assessment] | |
#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm | |
#3. HTN | |
[Goal] | |
nan | |
[Plan] | |
nan | |
[Comment] | |
nan | |
""" | |
real_discharge_5 = """ | |
[Chief Complaint] | |
for op w/u | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
========================================================================== | |
#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm | |
#3. HTN | |
========================================================================== | |
2018.10.11 ํ์์์ pleuritis๋ก ์ ์ํ์ฌ ์ํํ ๊ฒ์ฌ์์ aortic aneurysm ํ์ธ๋์ด f/e ์ํด ๋ณธ์ ๋ด์ํจ. | |
Ascending aortic aneurysm : tubular portion 55mm, BAV with moderate AS | |
์ดํ ์ ๊ธฐ์ ์ผ๋ก opd ๋ด์ํ๋ฉฐ ์ฝ์ ์กฐ์ ํจ. | |
2019.11.12 TTE : BAV with moderate AS, flow Vmax 3.4m/s, PG 46/28mmHg, AV area 0.86cm2 | |
2020.02.01 op w/u ์ํด ์ ์ํจ. | |
Hospital course> | |
2020.02.01 MRA : severe leukoaraiosis and multifocal old lacunes in both cerebral hemispheres | |
NR @ ๋๋ณ๋ฐฐ์ risk ๊ฐ์ผ๋ฉฐ ํ์์ ๊ฐ๋ฅํ normotension์ผ๋ก ์ ์ง ํ์ | |
2020.02.03 11์ coronary CT ์ดฌ์ํ์ฌ Aortic dissection CT ์ดฌ์ | |
PFT > normal | |
DNT > #16,17 ๋ํด ๊ตญ์๋ง์ทจ(1:10๋ง epi, lidocaine)ํ์ ์น์ ๋ฐ์น ํ์ํ ์ํ -> ์ฐ๊ณ ์ง ๋ณ์์์ ์งํ | |
CS > 5.18 AVR, ascending aorta replacement ์์ | |
2020.02.04 TEE ํ ํด์ | |
** | |
BAV with moderate AS ๋ฐ Ascending aortic aneurysm ์ ๋ํ์ฌ ์์ w/u ํ ํด์ํ๋ ๋ถ์ผ๋ก | |
5.18 AVR, ascending aorta replacement ์์ ์ ๋๋ค | |
** | |
DNT > #16,17 ๋ํด ๊ตญ์๋ง์ทจ(1:10๋ง epi, lidocaine)ํ์ ์น์ ๋ฐ์น ํ์ํ ์ํ๋ก ์๊ฒฌ์ ์์ฑํ์ต๋๋ค. | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge) | |
""" | |
inference5 = """ | |
[Chief Complaint] | |
for w/u | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
================================================== | |
#1. BAV with moderate AS | |
#2. Ascending aortic aneurysm : tubular portion 55mm | |
#3. HTN | |
================================================== | |
[Brief history] | |
์ํ ์๋ณ์ผ๋ก ๋ณธ์ CV f/u ์ค์ธ ๋ถ์ผ๋ก | |
2019.11.12 ์ํํ TTE ์์ BAV with moderate AS ์๊ฒฌ ๋ณด์ฌ | |
2020.01.31 ์์ w/u ์ํด ์ ์ํจ | |
[Hospital course] | |
2020.02.01 bMR ์ํํจ | |
[ ๊ฒ์ฌ์ผ : 2020.02.01 - ๊ฒฐ๊ณผํ์ ์ผ: 2020.02.03 - MR,Brain & Head angiography (with enhance)(3.0T) ] | |
Severe leukoaraiosis and multifocal old lacunes in both cerebral hemispheres. | |
2020.02.03 TTE, TEE ์ํํจ | |
[ 20200203 - Transthoracic Echocardiography Report ] | |
1.Bicupsid aortic valve with moderate aortic stenosis | |
2.Ascending aorta aneurysm(54 mm) | |
3.Normal LV size and systolic function | |
;slightly increased transaortic valve Vmax and PG compared with the previous study(2019.11.12) | |
[ 2020.02.03 - Transesophageal echocardiography ] | |
Bicuspid aortic valve (coronary cusp fusion) with moderate AS | |
Aortic annulus 29 mm | |
2020.02.04 w/u ๋ง์น๊ณ ํด์ํจ | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge)""" | |
#Patient6-dup5 | |
date6 = ['2021-05-27', '2021-05-28', '2021-05-29'] | |
problem6 = ['nan', 'nan', 'nan'] | |
subjective6 = ['nan', '์ค๋ ์์ ํด์', '์ด์์์ด์'] | |
objective6 = ['nan', """ํ์: 112/74 mmHg, ๋งฅ๋ฐ: 79 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.6 โ, SPO2: 98 %, 2021-05-28 11:05:38 | |
[Intake] ์ด์ญ์ทจ๋:50 ( Parenteral:50 )""", """ํ์: 101/65 mmHg, ๋งฅ๋ฐ: 90 ํ/min, ํธํก: 16 ํ/min, ์ฒด์จ: 36.1 โ, SPO2: 96 %, 2021-05-29 23:33:26 | |
[Output] ์ด๋ฐฐ์ค๋:1 ( Stool:1 ) | |
[2021-05-29] Transthoracic echocardiography (์ ๋ฐ)(Congenital) | |
S/P ASD device closure(Figulla Flex 24 mm) | |
1.No remnant ASD shunt | |
2.Enlarged RV with normal RV function | |
3.Normal LV dimension with normal systolic function"""] | |
assessment6 = ['nan', '[2021-05-28] CV ๊น๋ํฌ atrial septal defect device closure', '[2021-05-28] CV ๊น๋ํฌ atrial septal defect device closure'] | |
goal6 = ['nan', 'nan', 'nan'] | |
plan6 = ['nan', 'nan', 'nan'] | |
comment6 = ["""* ๋์์ ์๋ น ๊ธฐ๋ก ์ํด ์ถ๊ฐ๊ธฐ๋ก ํจ | |
๊ณผ์ ๋ฒํธ: 2013-0246 | |
์ฐ๊ตฌ๋ช : ์ฌ๋ฐฉ ์ค๊ฒฉ ๊ฒฐ์์ฆ์ ๊ฒฝํผ์ ํ์์ ์์ 3์ฐจ์ ๊ฒฝ์๋์ด์ํ ์์์ ํตํ ํ์ ๊ธฐ๊ตฌ ํฌ๊ธฐ ์ธก์ ์ ์ ์ฉ์ฑ (ASD registry) | |
์์์ํ๋์์์๊ฒ ์ ์ฐ๊ตฌ์ ๋ํ ์ค๋ช ๋ฌธ ๋ฐ ๋์์(Version 5.0)๋ฅผ ์์ธํ ์ค๋ช ํ ์ง๋ฌธ์ ๊ธฐํ๋ฅผ ์ ๊ณตํ๊ณ ๋ชจ๋ ์ง๋ฌธ์ ๋ต๋ณํจ. ์ํ๋์์๊ฐ ์ถฉ๋ถํ ์๊ฐํ ์๊ฐ์ ์ ๊ณตํจ. ์ํ๋์์๋ ๊ธ์ผ (2021-05-27) ์๋ฐ์ ์ผ๋ก ๋์์์ ์๋ช ํจ. ๋์์ ์ฌ๋ณธ 1๋ถ๋ฅผ ์ํ๋์์์๊ฒ ์ ๊ณตํจ. """, 'nan', """nan"""] | |
real_discharge_6 = """ | |
[Chief Complaint] | |
for ASD closure | |
[Operation and Procedure] | |
[2021-05-28] CV ๊น๋ํฌ atrial septal defect device closure | |
[Hospital Course] | |
#1. ASD | |
#2. HTN | |
#3. DM | |
#4. HL | |
#5. s/p cholecystectomy (2019.07.09) | |
#6. s/p appendectomy (2019.07.09) | |
#7. s/p TAH (2019.07.09) | |
====================================================== | |
์ํ ์๋ณ์ผ๋ก ๋ณธ์ END, CV f/u ํ๋ ๋ถ์ผ๋ก | |
2021.02.25 TTE์ ASD ์๊ฒฌ์ผ๋ก | |
2021.05.27 ASD closure ์ํด ์ ์ํจ | |
2021.05.28 ASD closure ์ํํจ | |
2021.05.29 TTE์ remnant ASD shunt ์์ ํ์ธํจ | |
2021.05.30 ํด์ํจ | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
inference6 = """ | |
[Chief Complaint] | |
palpitation | |
[Operation and Procedure] | |
[2021-05-28] CV ๊น๋ํฌ atrial septal defect device closure | |
[Hospital Course] | |
#. ASD secondum | |
================ | |
์ํ palpitation ์์ด ํ์์์ ์ํํ TTE์์ ASD ๋ฐ๊ฒฌ๋์ด ๋ณธ์ ๋ด์ํจ. | |
2021.04.09 | |
TTE> | |
1.Secundum ASD with left to right shunt | |
2.Enlarged RV with normal RV function | |
3.Normal LV dimension and systolic function | |
TEE> | |
Secundum ovoid ASD with left to right shunt | |
; potential candidate for percutaneous device closure | |
์๊ธฐ ์๊ฒฌ์ผ๋ก ASD device closure ์ํด ์ ์ํจ. | |
Hospital course> | |
2021.05.28 ASD closure ์ํ | |
2021.05.29 TTE > | |
2021.05.30 ์์ ํ ๊ธ์ฑ ํฉ๋ณ์ฆ ์์ด ํด์ | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
#Patient7-dup9 | |
date7 = ['2020-04-16', '2020-04-17'] | |
problem7 = ['nan', 'nan'] | |
subjective7 = ["""๊ธฐ์นจ์ฝ ์ด์ ๋จน๊ณ ๊ด์ฐฎ์์ก์ด์. | |
ํญ๋ฌธ์ชฝ์ ๋ ๊ฒ ํ ๋ฌ ์ ๋ถํฐ ์์๋๋ฐ ๋ ์ปค์ก์ด์.""", 'ํด์ํฉ๋๋ค'] | |
objective7 = ['ํ์: 100/63 mmHg, ๋งฅ๋ฐ: 74 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.8 โ, 2020-04-16 08:01:33', 'ํ์: 96/66 mmHg, ๋งฅ๋ฐ: 75 ํ/min, ํธํก: 16 ํ/min, ์ฒด์จ: 36.8 โ, 2020-04-17 09:06:03'] | |
assessment7 = [""" | |
#1. DCMP (EF 18%) | |
s/p HTPL (2017/01/03) | |
#2. h/o VF | |
s/p ICD (2014/09) | |
#3. Latent Tbc | |
s/p INH prophylaxis (2016/11 - 2017/11) | |
#4. DM | |
""", """ | |
#1. DCMP (EF 18%) | |
s/p HTPL (2017/01/03) | |
#2. h/o VF | |
s/p ICD (2014/09) | |
#3. Latent Tbc | |
s/p INH prophylaxis (2016/11 - 2017/11) | |
#4. DM | |
"""] | |
goal7 = ['nan', 'nan'] | |
plan7 = ['nan', 'nan'] | |
comment7 = ['nan', 'nan'] | |
real_discharge_7 = """ | |
[Chief Complaint] | |
for CAG IVUS | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
================================================================ | |
#1. DCMP(dilated cardiomyopathy) (EF 18%) | |
s/p HTPL(heart transplantation) (2017/01/03) | |
#2. h/o VF | |
s/p ICD (2014/09) | |
#3. Latent Tbc | |
s/p INH prophylaxis (2016/11 - 2017/11) | |
#4. DM | |
================================================================ | |
Brief History | |
์๊ธฐํ์ ์๋ณ๋ ฅ์ผ๋ก ๋ณธ์ CV, END f/uํ์๋ ๋ถ์ผ๋ก | |
CV opd f/uํ๋ฉฐ ์ฃผ๊ธฐ์ ์ผ๋ก TTE ์ํ, tacrolimus ์ฉ๋ ์กฐ์ ํ์๋ ๋ถ. | |
last TTE : normal (2019.12.19) | |
2020.04.15 CAG, IVUS, TTE ์ํ ์ํด ์ ์ํจ. | |
Hospital Course | |
2020.04.15 HLA class โ ,โ ก ์์ DSA ํ์ธ๋์ง ์์. | |
2020.04.16 CAG, IVUS ์ํํจ. | |
pLAD stenosis, diffuse eccentric plaque thickness 1.27mm ํ์ธ๋๋ 1๋ ์งธ w/u ๊ณผ ๋ณํ ์์. | |
2020.04.17 w/u ์ข ๋ฃ ํ ํด์ํจ. | |
** | |
DCMP s/p HTPL (2017.1.3) ๋ก ๋ณธ์ CV OPD f/u ์ค์ธ ๋ถ์ผ๋ก 3๋ ์งธ w/u ํ ํด์ํ์์ต๋๋ค. | |
๋ฉด์ญ์ต์ ์ tacrobell 0.75mg bid, cellcept 500-250mg bid ์ ์งํ๊ณ ํด์ํฉ๋๋ค. | |
perianal papules r/o wart, r/o skin tag์ ๋ํด DER ์ง๋ฃ ํ Aldara cream, esroban oint ํฌ์ฝ ํ์์ต๋๋ค. | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planned discharge) | |
""" | |
inference7 = """ | |
[Chief Complaint] | |
for w/u | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
================================================== | |
#1. DCMP (EF 18%) | |
s/p HTPL (2017/01/03) | |
#2. h/o VF | |
s/p ICD (2014/09) | |
#3. Latent Tbc | |
s/p INH prophylaxis (2016/11 - 2017/11) | |
#4. DM | |
================================================== | |
[Brief history] | |
์ํ ์๋ณ์ผ๋ก ๋ณธ์ CV f/u ํ๋ ๋ถ์ผ๋ก | |
2017.01.03 HTPL ์ํํ์๊ณ | |
2017.01.04 TTE : normal LV size and systolic function | |
์ดํ OPD f/u ํ์๊ณ | |
2020.04.15 CAG, IVUS, TTE ์ํด ์ ์ํจ. | |
[Hospital course] | |
2020.04.16 CAG : normal CAG | |
IVUS : max plaque thickness 0.8mm | |
TTE : normal LV size and systolic function | |
2020.04.17 ํด์ํจ. | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge) | |
""" | |
#Patient8-dup13 | |
date8 = ['2019-10-14', '2019-10-15', '2019-10-16'] | |
problem8 = ['nan', 'nan', 'nan'] | |
subjective8 = ['nan', 'nan', 'ํด์ํด์'] | |
objective8 = [""" | |
์ฒด์ค: 59.5 kg, 2019-10-14 05:55:43 | |
ํ์: 125/87 mmHg, ๋งฅ๋ฐ: 52 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.6 โ, 2019-10-14 07:30:04 | |
[2019-10-13] EKG | |
Sinus bradycardia | |
Nonspecific ST abnormality | |
Abnormal ECG | |
[2019-10-14] Transthoracic echocardiography (์ ๋ฐ) | |
Normal echocardiography | |
[2019-10-14] (์ธ๋ถ์๋ฃ-ํ๋ ) CT,Abdomen & Pelvis | |
1. No unusual finding. | |
[Assessment] | |
#1. AF | |
#2. HTN | |
#3. Dyslipidemia | |
""", """ | |
์ฒด์ค: 59.1 kg, 2019-10-15 06:28:36 | |
ํ์: 137/90 mmHg, ๋งฅ๋ฐ: 61 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.9 โ, 2019-10-15 08:12:40 | |
""", """ | |
์ฒด์ค: 59.1 kg, 2019-10-16 06:41:48 | |
ํ์: 122/81 mmHg, ๋งฅ๋ฐ: 65 ํ/min, ํธํก: 18 ํ/min, ์ฒด์จ: 36.5 โ, 2019-10-16 07:39:50 | |
[2019-10-14] CT,Coronary artery & Aortic dissection (with enhance) | |
1. Moderate stenosis with noncalcified plaque in mLAD. | |
2. Collapsed stomach with uneven enhancement, r/o gastritis. | |
3. A 0.9-cm nodular thickening of left adrenal gland. | |
--> R/O adenoma or adrenal hyperplasia | |
"""] | |
assessment8 = [""" | |
#1. AF | |
#2. HTN | |
#3. Dyslipidemia | |
""", """ | |
#1. AF | |
#2. HTN | |
#3. Dyslipidemia | |
""", """ | |
#1. AF | |
#2. HTN | |
#3. Dyslipidemia | |
"""] | |
goal8 = ['nan', 'nan', 'nan'] | |
plan8 = ['nan', 'nan', 'nan'] | |
comment8 = ['nan', 'nan', 'nan'] | |
real_discharge_8 = """ | |
[Chief Complaint] | |
palpitation | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. AF --> Mx ํ ํ์ฌ๋ NSR | |
#2. HTN | |
#3. Dyslipidemia | |
#4. LAD moderate stenosis | |
#5. R/O adenoma or adrenal hyperplasia | |
#6. Gastritis | |
============================================================ | |
์๊ธฐ ํ์ 3๋ ์ ๋ถํฐ palpitation ๋ฑ์ ์ฆ์ ํธ์ํ๋ ๋ถ์ผ๋ก | |
ํ์์์ ์นด๋๋ธ 60, ์ฝฉ์ฝ๋ฅด 2.5, ์๋ฆฌํด์ค 5 bid, ๋ฆฌํธ๋ชจ๋ SR 325 bid, ๋ค์ดํฌ๋ก์ง 0.5T, ๋ฆฌํผํ 10mg ํฌ์ฝ ์ค์ด๋ ๋ถ์ | |
2019๋ ๋ค์ด ๋์ฐ๋ฉด ๊ฐ์ด ๋ต๋ตํ ๋๋ ๋ค์๊ณ ํ๋ง ์ญ๋ฅ๋ผ๋ ์๊ธฐ ๋ค์๋ค๊ณ ํจ. | |
2019.08.02 ๋ณธ์ CV opd ๋ด์ํ์๊ณ w/u ์ํด ์ ์ํ๊ธฐ๋ก ํจ. | |
2019.10.13 w/u ์ํด ์ ์ํจ. | |
[ 2019.10.10 - (์ธ๋ถ์๋ฃ-ํ๋ ) CT,Abdomen & Pelvis ] | |
1. No unusual finding. | |
[ 20191014 - Transthoracic Echocardiography Report ] | |
Normal echocardiography | |
[ 2019.10.15 - EGD (์ง์ ) ] | |
Impression : Superficial gastritis | |
Erosive gastritis | |
Atrophic gastritis | |
[ 2019.10.14 - CT,Coronary artery & Aortic dissection (with enhance) ] | |
1. Moderate stenosis with noncalcified plaque in mLAD. | |
2. Collapsed stomach with uneven enhancement, r/o gastritis. | |
3. A 0.9-cm nodular thickening of left adrenal gland. | |
--> R/O adenoma or adrenal hyperplasia | |
[ 2019.10.15 - 24hrs holter monitoring ] | |
Basically normal sinus rhythm | |
Some PACs (4% of total QRS complexes) | |
short run of atrial tachycardia (up to 7 beats at 106 bpm) | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge) | |
""" | |
inference8 = """ | |
[Chief Complaint] | |
for RFCA | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
================================================== | |
#1. AF | |
#2. HTN | |
#3. Dyslipidemia | |
================================================== | |
[Brief history] | |
์๊ธฐํ์ | |
2019.08.01 AF๋ก ๋ณธ์ CV opd ๋ด์ | |
2019.10.13 RFCA ์ํด ์ ์ํจ | |
[Hospital course] | |
2019.10.14 RFCA ์ํํจ | |
2019.10.15 ์์ ํ ๊ธ์ฑ ํฉ๋ณ์ฆ ์์ด ํด์ํจ | |
[Checklist] | |
์ธ๋ถ CT, coronary artery & aortic dissection (with enhance) ๊ฒฐ๊ณผ ํ์ธ ํ | |
adrenal gland nodular thickening์ ๋ํด URO opd f/u ์์ ์ ๋๋ค. | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge) | |
""" | |
#Patient9-dup31 | |
date9 = ['2021-10-29', '2021-10-30'] | |
problem9 = ['nan', 'nan'] | |
subjective9 = ['๊ด์ฐฎ์์', '๊ด์ฐฎ์์'] | |
objective9 = ["""์ฒด์ค: 72.12 kg, | |
ํ์: 116/69 mmHg, ๋งฅ๋ฐ: 76 ํ/min, ํธํก: 14 ํ/min, ์ฒด์จ: 36.5 โ""", """์ฒด์ค: 72.12 kg, | |
ํ์: 116/69 mmHg, ๋งฅ๋ฐ: 76 ํ/min, ํธํก: 14 ํ/min, ์ฒด์จ: 36.5 โ"""] | |
assessment9 = ["""#1. DM ESRD(end stage renal disease) | |
s/p LDKT(2018.02.21) | |
#2. T2 DM(1998), | |
# DM foot, Lt 5th toe | |
s/p debridement and integra apply(2021.06.21) | |
s/p PTA(2021.10? ํ์) | |
# DM foot Rt | |
#3. DM retinopathy | |
B) PDR s/p PRP | |
L) DMVH s/p PPV (2017.03, ์ผ์ฐ๋ณ์) | |
r/o functional NLDO | |
#4. HTN(hypertension) | |
#5. hyperlipidemia | |
# current smoker""", """#1. DM ESRD(end stage renal disease) | |
s/p LDKT(2018.02.21) | |
#2. T2 DM(1998), | |
# DM foot, Lt 5th toe | |
s/p debridement and integra apply(2021.06.21) | |
s/p PTA(2021.10? ํ์) | |
# DM foot Rt | |
#3. DM retinopathy | |
B) PDR s/p PRP | |
L) DMVH s/p PPV (2017.03, ์ผ์ฐ๋ณ์) | |
r/o functional NLDO | |
#4. HTN(hypertension) | |
#5. hyperlipidemia | |
# current smoker"""] | |
goal9 = ['nan', 'nan'] | |
plan9 = ['nan', 'nan'] | |
comment9 = ['nan', 'nan'] | |
real_discharge_9 = """ | |
[Chief Complaint] | |
for PTA | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. DM ESRD(end stage renal disease) | |
s/p LDKT(2018.02.21) | |
#2. T2 DM(1998), | |
# DM foot, Lt 5th toe | |
s/p debridement and integra apply(2021.06.21) | |
s/p PTA(2021.10? ํ์) | |
# DM foot Rt | |
#3. DM retinopathy | |
B) PDR s/p PRP | |
L) DMVH s/p PPV (2017.03, ์ผ์ฐ๋ณ์) | |
r/o functional NLDO | |
#4. HTN(hypertension) | |
#5. hyperlipidemia | |
# current smoker | |
--------------------------------------------------------------------------------------------------------------------- | |
M/61y | |
์ํ ์๋ณ ์๋ ๋ถ์ผ๋ก DM ESRD ๋ก KT ๋ฐ์ ์ ์๋ ๋ถ. | |
2021.06.21 DM foot, Lt 5th toe ๋ก PS์์ debridement and integra apply ํ ํด์ํ์ ์์ผ๋ฉฐ | |
์ดํ opd f/uํ๋ฉฐ ํ์์์ ์ฐ์์น๋ฃ ๋ฐ์์ผ๋ wound healing ์ ๋์ง ์์ | |
์ด์ 9์ ๊ฒฝ Lt. PTA ์ํํ์์ผ๋ pedal artery calcification ์ฌํ๋ฉฐ ์ ๋์ง ์์๋ค๊ณ ํจ. | |
2021.10.28 ์ด์ PAOD management์ํด ๋น ๋ฅธ ์๋ฆฌ๋ก ์ ์ํจ. | |
PTA ์ํ ๋ฐ CV ์ ๊ณผํจ | |
< DM foot > | |
Rt. 1st and 5th toe, ischemic change | |
td (+), color change : demarkation (both toe), discharge (), odor () | |
DP pulse poor, ์์ธก ๋ฐ ์ฐจ๊ฐ์. | |
Lt. 5th toe ischemic change | |
2021.10.28-30 PAOD, Rt ์๋ํด Rt.PTA Rt.PA Rt.ATA~DPA POBA ์ํ | |
Aspirin Xarelto ์ ์งํ๋ฉฐ ํด์. | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
inference9 = """ | |
[Chief Complaint] | |
for w/u | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. DM ESRD(end stage renal disease) | |
s/p LDKT(2018.02.21) | |
#2. T2 DM(1998), | |
# DM foot, Lt 5th toe | |
s/p debridement and integra apply(2021.06.21) | |
s/p PTA(2021.10? ํ์) | |
# DM foot Rt | |
#3. DM retinopathy | |
B) PDR s/p PRP | |
L) DMVH s/p PPV (2017.03, ์ผ์ฐ๋ณ์) | |
r/o functional NLDO | |
#4. HTN(hypertension) | |
#5. hyperlipidemia | |
# current smoker | |
============================================== | |
์ํ ์๊ธฐ ์งํ์ผ๋ก ๋ณธ์ CV, END, NPH f/u ์ค์ธ ๋ถ์ผ๋ก | |
2021.10.28 3๋ ๋ค f/u ์ํด ์ ์ํจ | |
2021.10.29 CAG ์ํํ์๊ณ 1VD ํ์ธ๋จ | |
2021.10.30 ํด์ํจ | |
[Condition at Discharge] | |
ํธ์ ๋จ | |
[Type of Discharge] | |
์ง์ ํด์ | |
""" | |
#Patient10-dup19 | |
date10 = ['2019-06-06', '2019-06-08'] | |
problem10 = ['nan', 'nan'] | |
subjective10 = ['nan', '์ค๋ ํด์ํด์'] | |
objective10 = [""" | |
<Bed side echo> | |
Normal ventricular chamber size and wall thickeness | |
Akinetic motion of mid-basal posterior wall and mildly decreased LV contraction (LVEF โ 50%) | |
normal valvular morphology and function | |
no pericardial effusion | |
F1. ์ ์์ง | |
""", """ | |
์ฒด์ค: 81.85 kg, 2019-06-08 07:15:02 | |
[ 2019.06.06 - Coronary angiography (2nd vessel-) ] | |
* Date : 20190606 | |
* Operator 1 : ๊ฐ๋์ค | |
* Assist 1 : ๊นํ์ค Assist 2 : ์ ์์ง | |
* Nurse : ์ดํ์ง * Technician 1 : ์์ฌ์ค | |
Coronary Angiogram | |
* Femoral, Rt. artery punctureํ์ (7) Fr sheath๋ฅผ ์ฝ์ ํ ํ CAG & PCI ์ ์ํํจ. | |
Coronary anatomy | |
Seg DS Lesion Type Lesion Length Description | |
------------------------------------------------------------------------------------------------- | |
dLCX 99 C Subtotal | |
------------------------------------------------------------------------------------------------- | |
Catheter | |
Vessel Name # Fr. Cath Memo | |
---------------------------------------------------------------------------------------------- | |
Left coronary JL 4 6 diagnostic catheter | |
---------------------------------------------------------------------------------------------- | |
Right coronary JR 4 7 guiding catheter | |
---------------------------------------------------------------------------------------------- | |
Coronary angiographic findings : 1 vessel disease | |
Rec ) | |
PCI | |
PCI | |
* Lesion (dLCX) | |
* Guiding Catheter : JL 4 7Fr | |
guiding catheter Side Hole | |
* PTCA guide wire | |
Device Use Name 1 Name 2 | |
---------------------------------------------------------------------------------- | |
Guide wire ASAHI Sion | |
---------------------------------------------------------------------------------- | |
* PCI device | |
Device Use Primary Device Name Size Leng Pr Dia | |
------------------------------------------------------------------------------------------------------ | |
Balloon Pre-dilatation Emerge 2.5 15 6 2.5 | |
------------------------------------------------------------------------------------------------------ | |
DEB SeQuent Please 2.5 26 7 2.5 | |
------------------------------------------------------------------------------------------------------ | |
PCI Complication Data | |
Successful ( DEB ) at ( dLCX ) | |
* Final Residual Stenosis : < 10 TFG : 3 | |
Successful PCI | |
"""] | |
assessment10 = ['nan',"""#1. STEMI | |
s/p POBA to dLCx (2019.6.6)"""] | |
goal10 = ['nan', 'nan'] | |
plan10 = ['nan', 'Discharge : 2019-06-08'] | |
comment10 = ['nan', 'nan'] | |
real_discharge_10 = """ | |
[Chief Complaint] | |
chest pain (onset : 2HA) | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. STEMI | |
s/p POBA to dLCx (2019.6.6) | |
==================================================================== | |
์ด์ 10PY smoking history ์ธ ์๊ณ ์๋ ๋ณ ์์. | |
๋ด์ 1์ผ ์ 7pm ๊ฒฝ ๋ฒฝ๋ ๋๋ฅด๋ ์ผ ํ๋ ์ค mid-sternum์ผ๋ก์ ์กฐ์ด๋ ์์์ ํํต ์์์. | |
์ฆ์ ์ฝ 5๋ถ ์์๊ณ ์ฐ ํ์ ๊ณง ํธ์ ๋์ด ๊ฒฝ๊ณผ๊ด์ฐฐ ํ์์. | |
๊ธ์ผ ์ค์ 6am ๊ฒฝ ์์ฌ ํ ๊ธธ์ ๊ฑด๋๋ฐ mid-sternum area๋ก์ ์ฅ์ด์ง๋, ์ง๋๋ฅด๋ ์์์ chest pain, NRS 10 ์ ์์ผ๋ฉฐ Lt. | |
arm | |
tingling sense ๋ฐ diaphoresis ๋๋ฐ๋จ. | |
์ฌ๋ฉด์ ํต์ฆ ๋ค์ ํธ์ ๋๊ธด ํ์์ผ๋ NRS 3~4 ์ ์ ๋์ ํต์ฆ ์ง์๋์ด ์๊ธ์ค ๋ด์ํจ. | |
STEMI ํ์ธ๋์ด CAG ์ํ, POBA ์ํ ํ CCU ์ ์คํจ. | |
2019.06.07 ๊ฒฝ๊ณผ ์ํธํ์ฌ GW ์ ๋. | |
2019.6.8 ํด์ํจ | |
์ฌ์ฅ์ฌํ ์ํ์ง ์์ d/c ํ์์ต๋๋ค | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge) | |
""" | |
inference10 = """ | |
[Chief Complaint] | |
chest pain | |
[Operation and Procedure] | |
nan | |
[Hospital Course] | |
#1. STEMI | |
s/p POBA to dLCx (2019.6.6) | |
================================================= | |
2019.6.5 10:30am chest pain ๋ฐ์ํ์ฌ ER ๋ด์ํจ. | |
EKG ์ V2-4 STE ํ์ธ๋จ. | |
STEMI๋ก ์ ์ํ์ฌ PCI ์ํํจ. | |
2019.6.6 dLCx์ POBA ์ํํจ. | |
2019.6.8 ๊ธ์ฑ ํฉ๋ณ์ฆ ์์ด ํด์ํจ. | |
[Condition at Discharge] | |
ํธ์ ๋จ(improved) | |
[Type of Discharge] | |
์ง์ ํด์(planed discharge) | |
""" | |
def btn1_click_1(): | |
return progress_note_1 | |
def btn2_click_1(): | |
return real_discharge_1 | |
def btn3_click_1(): | |
return inference1 | |
def btn1_click_2(): | |
return progress_note_2 | |
def btn2_click_2(): | |
return real_discharge_2 | |
def btn3_click_2(): | |
return inference2 | |
def btn1_click_3(): | |
return progress_note_3 | |
def btn2_click_3(): | |
return real_discharge_3 | |
def btn3_click_3(): | |
return inference3 | |
def btn1_click_4(): | |
return progress_note_4 | |
def btn2_click_4(): | |
return real_discharge_4 | |
def btn3_click_4(): | |
return inference4 | |
def btn1_click_5(): | |
return progress_note_5 | |
def btn2_click_5(): | |
return real_discharge_5 | |
def btn3_click_5(): | |
return inference5 | |
def btn1_click_6(): | |
return progress_note_6 | |
def btn2_click_6(): | |
return real_discharge_6 | |
def btn3_click_6(): | |
return inference6 | |
def btn1_click_7(): | |
return progress_note_7 | |
def btn2_click_7(): | |
return real_discharge_7 | |
def btn3_click_7(): | |
return inference7 | |
def btn1_click_8(): | |
return progress_note_8 | |
def btn2_click_8(): | |
return real_discharge_8 | |
def btn3_click_8(): | |
return inference8 | |
def btn1_click_9(): | |
return progress_note_9 | |
def btn2_click_9(): | |
return real_discharge_9 | |
def btn3_click_9(): | |
return inference9 | |
def btn1_click_10(): | |
return progress_note_10 | |
def btn2_click_10(): | |
return real_discharge_10 | |
def btn3_click_10(): | |
return inference10 | |
import gradio as gr | |
import pandas as pd | |
from datetime import datetime | |
def create_progress_note1() : | |
return pd.DataFrame({ | |
'Date' : date1, | |
'Problem List' : problem1, | |
'Subjective' : subjective1, | |
'Objective' : objective1, | |
'Assessment' : assessment1, | |
'Goal' : goal1, | |
'Plan' : plan1, | |
'Comment' : comment1 | |
}) | |
def create_progress_note2() : | |
return pd.DataFrame({ | |
'Date' : date2, | |
'Problem List' : problem2, | |
'Subjective' : subjective2, | |
'Objective' : objective2, | |
'Assessment' : assessment2, | |
'Goal' : goal2, | |
'Plan' : plan2, | |
'Comment' : comment2 | |
}) | |
def create_progress_note3() : | |
return pd.DataFrame({ | |
'Date' : date3, | |
'Problem List' : problem3, | |
'Subjective' : subjective3, | |
'Objective' : objective3, | |
'Assessment' : assessment3, | |
'Goal' : goal3, | |
'Plan' : plan3, | |
'Comment' : comment3 | |
}) | |
def create_progress_note4() : | |
return pd.DataFrame({ | |
'Date' : date4, | |
'Problem List' : problem4, | |
'Subjective' : subjective4, | |
'Objective' : objective4, | |
'Assessment' : assessment4, | |
'Goal' : goal4, | |
'Plan' : plan4, | |
'Comment' : comment4 | |
}) | |
def create_progress_note5() : | |
return pd.DataFrame({ | |
'Date' : date5, | |
'Problem List' : problem5, | |
'Subjective' : subjective5, | |
'Objective' : objective5, | |
'Assessment' : assessment5, | |
'Goal' : goal5, | |
'Plan' : plan5, | |
'Comment' : comment5 | |
}) | |
def create_progress_note6() : | |
return pd.DataFrame({ | |
'Date' : date6, | |
'Problem List' : problem6, | |
'Subjective' : subjective6, | |
'Objective' : objective6, | |
'Assessment' : assessment6, | |
'Goal' : goal6, | |
'Plan' : plan6, | |
'Comment' : comment6 | |
}) | |
def create_progress_note7() : | |
return pd.DataFrame({ | |
'Date' : date7, | |
'Problem List' : problem7, | |
'Subjective' : subjective7, | |
'Objective' : objective7, | |
'Assessment' : assessment7, | |
'Goal' : goal7, | |
'Plan' : plan7, | |
'Comment' : comment7 | |
}) | |
def create_progress_note8() : | |
return pd.DataFrame({ | |
'Date' : date8, | |
'Problem List' : problem8, | |
'Subjective' : subjective8, | |
'Objective' : objective8, | |
'Assessment' : assessment8, | |
'Goal' : goal8, | |
'Plan' : plan8, | |
'Comment' : comment8 | |
}) | |
def create_progress_note9() : | |
return pd.DataFrame({ | |
'Date' : date9, | |
'Problem List' : problem9, | |
'Subjective' : subjective9, | |
'Objective' : objective9, | |
'Assessment' : assessment9, | |
'Goal' : goal9, | |
'Plan' : plan9, | |
'Comment' : comment9 | |
}) | |
def create_progress_note10() : | |
return pd.DataFrame({ | |
'Date' : date10, | |
'Problem List' : problem10, | |
'Subjective' : subjective10, | |
'Objective' : objective10, | |
'Assessment' : assessment10, | |
'Goal' : goal10, | |
'Plan' : plan10, | |
'Comment' : comment10 | |
}) | |
def generate_discharge_note1(): | |
# This function would implement the actual dataset generation logic | |
return inference1 | |
def generate_discharge_note2(): | |
# This function would implement the actual dataset generation logic | |
return inference2 | |
def generate_discharge_note3(): | |
# This function would implement the actual dataset generation logic | |
return inference3 | |
def generate_discharge_note4(): | |
# This function would implement the actual dataset generation logic | |
return inference4 | |
def generate_discharge_note5(): | |
# This function would implement the actual dataset generation logic | |
return inference5 | |
def generate_discharge_note6(): | |
# This function would implement the actual dataset generation logic | |
return inference6 | |
def generate_discharge_note7(): | |
# This function would implement the actual dataset generation logic | |
return inference7 | |
def generate_discharge_note8(): | |
# This function would implement the actual dataset generation logic | |
return inference8 | |
def generate_discharge_note9(): | |
# This function would implement the actual dataset generation logic | |
return inference9 | |
def generate_discharge_note10(): | |
# This function would implement the actual dataset generation logic | |
return inference10 | |
def create_interface(): | |
# Create sample data | |
progress_note1 = create_progress_note1() | |
progress_note2 = create_progress_note2() | |
progress_note3 = create_progress_note3() | |
progress_note4 = create_progress_note4() | |
progress_note5 = create_progress_note5() | |
progress_note6 = create_progress_note6() | |
progress_note7 = create_progress_note7() | |
progress_note8 = create_progress_note8() | |
progress_note9 = create_progress_note9() | |
progress_note10 = create_progress_note10() | |
with gr.Blocks(title="Enhancing Clinical Efficiency through LLM:Discharge Note Generation for Cardiac Patients") as app: | |
gr.Markdown(""" | |
# Enhancing Clinical Efficiency through LLM:Discharge Note Generation for Cardiac Patients | |
### Generate the Discharge Note for Cardiac Patients using LLM | |
Base Model : [unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit](https://huggingface.co/unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit) | |
""") | |
with gr.Tabs(): | |
with gr.Tab("Patient 1"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note1, | |
headers=list(progress_note1.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_1, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_1, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_1, outputs=output3) | |
with gr.Tab("Patient 2"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note2, | |
headers=list(progress_note2.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_2, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_2, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_2, outputs=output3) | |
with gr.Tab("Patient 3"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note3, | |
headers=list(progress_note3.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_3, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_3, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_3, outputs=output3) | |
with gr.Tab("Patient 4"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note4, | |
headers=list(progress_note4.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_4, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_4, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_4, outputs=output3) | |
with gr.Tab("Patient 5"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note5, | |
headers=list(progress_note5.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_5, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_5, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_5, outputs=output3) | |
with gr.Tab("Patient 6"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note6, | |
headers=list(progress_note6.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_5, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_6, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_6, outputs=output3) | |
with gr.Tab("Patient 7"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note7, | |
headers=list(progress_note7.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_5, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_7, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_7, outputs=output3) | |
with gr.Tab("Patient 8"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note8, | |
headers=list(progress_note8.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_5, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_8, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_8, outputs=output3) | |
with gr.Tab("Patient 9"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note9, | |
headers=list(progress_note9.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_5, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_9, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_9, outputs=output3) | |
with gr.Tab("Patient 10"): | |
with gr.Column(): | |
gr.Markdown("#### Progress note") | |
gr.DataFrame( | |
progress_note10, | |
headers=list(progress_note10.columns), | |
wrap=True | |
) | |
with gr.Row(): | |
# ์ฒซ ๋ฒ์งธ ์ด | |
# with gr.Column(): | |
# btn1 = gr.Button(value="Generate the Progress Note") | |
# output1 = gr.Textbox(label="Whole Progress Note") | |
# btn1.click(fn=btn1_click_5, outputs=output1) | |
# ๋ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn2 = gr.Button(value="Real Discharge Note") | |
output2 = gr.Textbox(label="Real Discharge Note") | |
btn2.click(fn=btn2_click_10, outputs=output2) | |
# ์ธ ๋ฒ์งธ ์ด | |
with gr.Column(): | |
btn3 = gr.Button(value="Generate the Discharge Note") | |
output3 = gr.Textbox(label="Generated Discharge Note") | |
btn3.click(fn=btn3_click_10, outputs=output3) | |
return app | |
# Create and launch the interface | |
demo = create_interface() | |
if __name__ == "__main__": | |
demo.launch() | |