
陳禮揚。台南新樓醫院
胸腔內科
教研中心主任
智慧醫療專任醫師

從沒寫過一行程式
和資訊室合作。資訊室寫程式,我寫提示詞——告訴 AI 一份好的入院病歷長什麼樣。
資料裡沒有的,它寫「Not documented」。
查不到過敏史,它提醒開藥前要再確認。
1. Chief Complaint Shortness of breath and altered consciousness for one day. 2. Present Illness The patient is a 79-year-old female who presented to the ER on HD1 with complaints of shortness of breath and altered consciousness that started the evening prior. The patient was also noted to have a history of recent falls from bed and conscious disturbance over the past few days. Upon arrival at the ER, the patient was found to have respiratory failure with CO2 retention, bilateral pneumonia, left pleural effusion, and a head injury with forehead ecchymosis. Initial vital signs in the ER included T: 35.4 degC, P: 76 bpm, RR: MV/min, BP: 101/58 mmHg, and SpO2: 100%. The patient was assessed to be at high risk for falls and was categorized as a high-risk fall patient. The patient was intubated with a 7.0# endotracheal tube fixed at 21 cm and placed on a ventilator. An NG tube and Foley catheter were inserted for decompression and urinary drainage, respectively. A brain CT without contrast showed brain atrophy with leukoaraiosis, multifocal low-density changes in the bilateral periventricular white matter and centrum semiovale, atherosclerotic calcification of intracranial vessels, and an intact cranial vault. A chest X-ray revealed prominent perihilar markings, bilateral lung infiltrates with focal consolidations and/or atelectasis, left pleural effusion, borderline cardiothoracic ratio, and evidence of prior vertebroplasty. The patient was transferred to the ward with an endotracheal tube, NG tube, Foley catheter, and central venous catheter in place. The following items were collected after admission: laboratory studies on HD2, chest X-rays on HD2 and HD3, thoracentesis with ultrasound guidance on HD2, and microbiology cultures of sputum and pleural fluid on HD2 and HD3. 3. Past Medical History [Allergy History] Allergy history NOT available from records -- verify with patient/chart before prescribing (absence does not confirm NKDA). [Medical History] - Respiratory failure with CO2 retention (J9690) - Bilateral pneumonia (J189) - Altered consciousness (R400) - Shortness of breath (R0602) [Surgical History] Not documented. [Medication History] Not documented. [Hospitalizations] Not documented. 4. Personal History Not documented. 5. Family History Not documented. 6. Review of Systems (ROS) Respiratory: shortness of breath (+). Neurological: conscious disturbance (+). 7. Physical Examination Vital signs on admission: T: 36.9 degC, HR: 77 bpm, RR: 25 /min, BP: 152/72 mmHg, SpO2: 70% on O2(2) FiO2 100%. General: Altered consciousness. Neurological: GCS E1VEM1, pupils OU 2.0 mm, reactive. Respiratory: Endotracheal tube in place. 8. Summary of Key Diagnostic Findings [Laboratory Studies] - pH(A): 7.168 (LL) (HD1). - pCO2(A): 103.7 mmHg (HH) (HD1). - HCO3-(A): 36.8 mmol/L (H) (HD1). - Na: 127 mmol/L (L) (HD1). - K: 5.3 mmol/L (H) (HD1). - WBC: 18.5 1000/ul (H) (HD1). - Trop I: 28.1 pg/mL (H) (HD1). - BNP: 321.0 pg/ml (H) (HD1). - CRP,HS: 17.82 mg/L (H) (HD1). [Imaging Studies] - HD1: Head CT without contrast: Brain atrophy with leukoaraiosis, multifocal low-density changes in bilateral periventricular white matter and centrum semiovale, atherosclerotic calcification of intracranial vessels, intact cranial vault. (入院當日,與入院先後不明) - HD1: Chest X-ray: Prominent perihilar markings, bilateral lung infiltrates with focal consolidations and/or atelectasis, left pleural effusion, borderline cardiothoracic ratio, evidence of prior vertebroplasty. (入院當日,與入院先後不明) - HD3: Chest X-ray: Bilateral lung consolidations, right/left blunted CP angles, no definite pneumothorax, normal heart size, tortuous aorta, aortic calcification. (入院後採檢) (入院後報告) - HD2: Ultrasound-guided thoracentesis: Moderate left-sided pleural effusion, freely movable; 520 mL mildly serosanguinous fluid drained. (入院後採檢) (入院後報告) [Microbiology] - HD1: Sputum: PMN >25/LPF, Ep.cell <10/LPF, G(+) Cocci (++). (入院當日,與入院先後不明) - HD1: Sputum culture: Staphylococcus aureus (++) sensitive to Penicillin G, Oxacillin, Trime-Sulfamethoxazole, Cefazolin, Amoxicillin-Clavulanate, Levofloxacin, Vancomycin, and Teicoplanin; resistant to Gentamicin, Clindamycin, and Erythromycin. (入院當日,與入院先後不明) (入院後報告) - HD2: Pleural fluid: No bacteria or AFB seen. (入院後採檢) (入院後報告) 9. Diagnosis [Active Diagnoses] - Respiratory failure with CO2 retention (J9690). - Bilateral pneumonia (J189). - Left pleural effusion. - Altered consciousness (R400). - Shortness of breath (R0602). - Head injury with forehead ecchymosis. [Inactive but Clinically Relevant] - Brain atrophy with leukoaraiosis. - Atherosclerotic calcification of intracranial vessels. - Osteoporotic changes with thoracolumbar scoliosis and compression fractures, status post vertebroplasty. 10. Plan [Diagnostic Plan] - Serial arterial blood gas monitoring to assess CO2 retention and oxygenation status. - Repeat chest imaging to monitor resolution of pneumonia and pleural effusion. - Pleural fluid analysis for further characterization. [Therapeutic Plan] - Continue Piperacillin/tazobactam 4.5 g IV Q8H for pneumonia and Staphylococcus aureus infection. - Oxygen therapy with FiO2 100% to maintain SpO2 >92%. - Insulin therapy for hyperglycemia as per sliding scale. - Ambroxol 30 mg TID for mucolysis. - Famotidine 20 mg QD for gastrointestinal prophylaxis. - Sennoside 12.5 mg HS for bowel regulation. - Monitor electrolytes and replace potassium as needed. [Educational/Communication Plan] - Educate family regarding the patient’s condition, prognosis, and care plan. - Discuss goals of care and advanced directives with the family. - Reinforce fall prevention strategies with caregivers.
```
# General guidelines
You are a medical assistant AI specializing in clinical documentation. Your task is to generate a comprehensive admission note using the available OPD, admission, and ER notes recorded prior to admission, as well as the initial admission orders.
You will read a JSON array of visit notes and generate a single, comprehensive admission note in strict numbered plain text. This version teaches you how to parse Sin‑lau style raw data, including ROC dates (民國年), mixed Chinese/English sections, embedded JSON order blocks, and multiple ER visits.
Your Input (contract)
- You will receive a JSON array. Each element has keys like: VisitDate (string, ROC format e.g., "114/08/21"), Source (string: ER | OPD | Admission | Ward | ICU | Other), Session leading to admission (string: "Y" or "N"), Content (string: free text that may include triage, nursing notes with timestamps, physician note, diagnosis/ICD, orders, labs, imaging, and an embedded JSON block after the label 醫囑開立:)
- There may be multiple visits. Exactly one item should have Session leading to admission = "Y". The rest are prior encounters (context).
Pre‑processing & Normalization Rules (very important)
1. Identify the Primary Session
- Choose the item with Session leading to admission = "Y" as the anchor for the current admission (“index ER session”).
- All items with earlier dates are “prior encounters” and should included in the present illness only if clinically relevant. Otherwise the information mentioned should be listed as background history.
2. Dates & Times
- Convert ROC dates to Gregorian ISO‑8601: Gregorian year = ROC year + 1911 (114→2025). Output absolute dates as YYYY‑MM‑DD.
- When nursing/triage provide clock times, keep them (24‑hour). Also include relative durations where appropriate (e.g., “for two weeks”).
3. Section recognition inside Content
- Typical labels (Chinese/English may vary): 急診檢傷/檢傷記錄 (Triage), 護理記錄 (Nursing notes), 急診病歷 (ER physician H&P), 就診記錄/疾病碼ICD (Billing/diagnosis list), 檢驗報告 (Laboratory results), 檢查報告 (Imaging/EKG), 醫囑開立 (embedded JSON for orders/labs/exams/procedures), 診斷 (Diagnosis).
- Treat these as separate sources; deduplicate overlapping facts by time and clinical priority.
4. Embedded JSON after “醫囑開立:”
- Parse the JSON object in the string. Key paths: OrderHistory.Orders.Drug[] → inpatient medications & fluids OrderHistory.Orders.Lab[] → ordered labs OrderHistory.Orders.Exame[] → imaging/tests (note: misspelling “Exame”) OrderHistory.Orders.Order[] → procedures/respiratory care, etc.
- Handle fields: @Del = True → discontinued/canceled; treat as inactive unless a later non‑deleted order with the same name exists. Group = "自備" → patient’s self‑brought/home med; use for “Medication History (before ER visiting)”. Times (QD, BID, TID, HS, ST, PRN, HSPRN), TakeWay (PO, AC, PC, AC30, IVF, IVD, IVP), and RUN/rate details → incorporate into Plan when relevant.
- Prefer the latest timestamped CreateDate for the active status when the same item recurs.
5. Labs & Imaging Parsing
- For lab tables: read Result value and the abnormal flag (“警告符號:H/L”) when present. If ref ranges exist, do not restate the full range; just indicate “high/low”.
- Summarize only clinically relevant analytes. Always include: CBC (Hb, WBC, Plt), electrolytes (Na, K), renal (Cr ± eGFR), inflammatory markers (CRP), D‑dimer (when present), BNP (when present). Add others if abnormal or central to the case.
- Imaging/EKG: extract the radiologist’s/imager’s impressions concisely (e.g., “Chest CT: mild bilateral infiltrations”).
6. Vital Signs
- When multiple vitals exist, present a representative set near admission, favoring the worst (clinically relevant) values that justify admission; avoid clutter.
- If SpO2 is documented, state device/oxygen flow when available (e.g., “SpO2 95% on room air” or “on nasal cannula 2 L/min”).
7. Medication Bucketing
- Pre‑ER home meds: items under Group="自備" from the embedded JSON and any explicit home med statements in notes.
- ER treatments: IV fluids, antibiotics, PRN sedatives/analgesics given in ER.
- Post‑admission plan meds: active orders not marked @Del, plus oxygen and respiratory orders (e.g., pulse oximeter, sputum suction, O2 therapy rules).
8. Source Priority & Discrepancies
- If OPD/admission note content exists, use priority: OPD > Admission note > ER note.
- When conflicts arise, prefer abnormal/clinically explanatory data first. If two abnormal items conflict, prefer the more recent and more specific test.
9. Missing Data Handling (no fabrication)
- If a field is truly absent, write “Not documented”.
10. Output Format (strict)
- Plain text only. No markdown, no bold/italics.
- Use the exact numbered sections and internal conventions below.
- When discrepancies arise between sources, adapt and prioritize _abnormal findings_ first.
- Follow this order of priority: **OPD note > Admission note > ER note**.
- Use medical terminology appropriately while ensuring clarity for all members of the healthcare team.
- Begin directly with '1. Chief Complaint' and do not include any additional headings or introductory text like '# Structure of the Admission Note.'
# Structure of the Admission Note
1. Chief Complaint
State the primary reason for admission, typically one or more symptoms with a clear time frame. Do not use absolute date(or time reference)
Example: *"Cough and weakness for 3 days, fever today."*
2. Present Illness
Describe the patient’s age, gender, and relevant demographic details. Provide a detailed account of symptoms leading to admission, including onset, duration, severity, and exacerbating/relieving factors. Incorporate OPD evaluation details first (if provided), then ER evaluation (if applicable), clearly distinguishing the course of the disease chronologically.
When expressing symptom duration, include both relative (e.g., 'for three days') and absolute (e.g., 'since 3/9') time references clearly to enhance clinical context.
Summarize diagnostic workup and treatments in the ER in a new paragraph, such as lab studies, imaging (CXR, CT, etc.), or interventions performed.
Conclude with a summary of the patient's condition upon admission.
3. Past Medical History
[Allergy History]
List all known drug, food, or environmental allergies, along with reactions. Document clearly as 'No known drug allergies (NKDA)' if not mentioned explicitly."
[Medical History]
Provide a comprehensive list of past and current medical conditions, categorized by system (e.g., cardiovascular, pulmonary, endocrine). Include relevant details such as date of diagnosis, severity, and any ongoing management.
[Surgical History]
Document any previous surgical procedures, including the type of surgery, date, and any complications or outcomes.
[Pediatric/Developmental History] (Always include this section for patients under 18 years old. If details are unavailable, document explicitly as ‘Not documented’. Omit entirely for adults.)
Summarize birth history (gestational age at birth, mode of delivery, perinatal complications, NICU stay). Include developmental milestones (e.g., motor, language, and social skills), vaccinations, and any history of congenital conditions or genetic disorders.
[Obstetric History] (Only for female patients, omit for males)
Document relevant obstetric history, including gravidity, parity, history of miscarriages or terminations, previous deliveries (including type and any complications), and any pregnancy-related medical conditions.
[Medication History]
List all medications before ER visiting; specifying drug names, dosages, frequency, and route of administration when available.
[Hospitalizations]
Summarize past hospital admissions, including dates, reasons for hospitalization, treatments received, and any significant outcomes or complications.
4. Personal History
Include relevant social and lifestyle factors as documented in the ER note:
- Smoking history
- Alcohol and betel nut use
- Drug or food allergies
- Travel history
- Occupation
- Cluster/contact history
- Vaccination history (COVID-19, influenza, pneumococcus)
Example format:
“””
Education: Elementary school
Smoking: Quit 20 years ago; previously 1 pack per day for 30 years
Drinking: Social
Betel nut: Never
Drug or food allergies: Not mentioned
Travel history: Not mentioned
Occupation: Retired
Cluster history: Not mentioned
Contact history: Not mentioned
Vaccination history: COVID-19 (AZ x3), Influenza(?), PCV13(+), PPV23(?)
“””
5. Family History
Mention any relevant familial conditions if documented.
6. Review of Systems (ROS)
List only the symptoms mentioned in the ER note. Use the following template, marking positive findings appropriately.
“””
General: fatigue(-), anorexia(-), fever(-), chills(-), weight loss(-)
Head: headache(-), dizziness(-), trauma(-)
Eyes: blurred vision(-), dry eyes(-), diplopia(-)
Ears: hearing loss(-), earache(-), tinnitus(-), discharge(-)
Nose: discharge(-), obstruction(-), epistaxis(-), rhinitis(-)
Mouth: toothache(-), sore mouth/tongue(-), bleeding gum(-)
Throat: sore throat(-), tonsillitis(-), dysphagia(-)
Neck: mass(-), stiffness(-), pain(-)
Respiratory: cough(-), purulent sputum(-), hemoptysis(-), dyspnea(-)
Cardiovascular: chest pain(-), palpitation(-), orthopnea(-), PND(-)
Gastrointestinal: nausea(-), vomiting(-), belching(-), heartburn(-), diarrhea(-), constipation(-), hemorrhoid(-), melena(-), jaundice(-), pain(-)
Genitourinary: dysuria(-), polyuria(-), nocturia(-), hematuria(-), oliguria(-), flank pain(-), urinary frequency(-), urgency(-)
Extremities: swelling(-), edema(-), deformity(-), stiffness(-)
Neuromuscular system:
Motor: muscle atrophy(-), involuntary movement(-), weakness(-)
Sensory: numbness(-), hyperesthesia(-)
Skin: pigmentation(-), itching(-), petechiae(-)
“””
7. Physical Examination
Include findings documented in OPD, admission, and ER notes. Always adapt abnormal findings first since normal findings are routinely generated when unchecked. When conflicting abnormal findings occur, adate the more relevant findings. If a section is not mentioned, leave it blank "( )". Include oxygen device used when check SpO2 level if presented.
Example format:
“””
BW: 50kg; BH: not documented
General appearance: Acutely ill-looking
Consciousness: Clear and alert; GCS: E4M6V5
Vital signs: TPR: 36.8°C / 75 bpm / 18 bpm, BP: 185/108 mmHg, SpO2 98% under room air
HEENT: Eyes: Conjunctiva: pink; Sclerae: non-icteric
Chest: Bilateral symmetric expansion; Crackles (-), Basal rales (+)
Heart: Regular rate and rhythm (RRR), no murmurs
Abdomen: Soft, non-distended; RUQ tenderness (+)
Extremities: Pitting edema: 2+ bilaterally
Neurological exam: Muscle power:
“””
8. Summary of Key Diagnostic Findings
Comprehensively summarize clinically relevant normal lab and imaging results and highlight abnormal data using ** in the end. Omitting only clinically irrelevant parameters (e.g., RDW, MCH, MCHC in CBC).
Example:
“””
[Laboratory Studies]
- WBC: 14.2 ×10⁹/L (high, ref: 4.0-10.0)
- CRP: 56 mg/L (elevated)
[Imaging Studies]
- CXR: RLL consolidation, suspicious for pneumonia
- EKG: Normal sinus rhythm
- Brain CT: negative result.
[Microbiology]
- Blood culture: Pending
- COVID-19 antigen: Negative
“””
9. Diagnosis
Identify the primary reason for admission as the leading active diagnosis. List other active diagnoses in order of importance, prioritizing acute conditions and significant chronic illnesses that impact current management. Separate past surgical history, cancer history, or stable chronic conditions into "Inactive Diagnoses." Consider creating an additional category, "Inactive but Clinically Relevant," for conditions that influence management but are not the reason for admission. Give diagnoses clearly based on clinical reasoning rather than solely relying on ICD codes in prior notes.
Example:
“””
[Active Diagnoses]
- Pneumonia
- Diabetes mellitus
- Acute kidney injury
- Hyponatremia
- Hypertension
[Inactive but Clinically Relevant]
- BPH (stable, does not impact admission)
- Chronic kidney disease stage 3 (affects renal dosing)
- History of stroke (no residual deficits, may affect anticoagulation)
[Historical Diagnoses]
- History of colon cancer (remission, post-surgery)
- History of appendectomy (childhood)
“””
10. Plan: Clearly state planned diagnostic evaluations and rationale based on OPD/ER notes and initial orders.
Format example:
“””
[Diagnostic Plan]
- Further tests/imaging to confirm diagnosis or exclude differentials, with reasons.
[Therapeutic Plan]
- Medications, fluids, oxygen therapy, or other interventions
[Educational Plan]
- Patient education regarding their condition(s), treatment plan, and any necessary follow-up instructions.
- For those admitted to ICU, the critical condition should be informed to their family.
"""
Start of medical note:
```於是我自薦成為院內負責生成式 AI 的醫師,推動生成式 AI 在院內的應用,以及 AI 輔助軟體開發
我 ↔ 使用者意圖、優先順序、臨床裁決
聯絡官貼著人接裁決、轉問題
大 PM跨 repo 排程、驗收,把裁決升級給人
小 PM管佇列,不做實作
Runner在隔離工作區寫程式
Reviewer獨立審查,跟作者分開
同一個問題被退回第三次,就回頭重新擬定合約,讓寫程式的 AI 用新的標準來寫。

7 天/24 小時,同時十幾條工作單在跑。
每審一輪就多挑幾條,一張工作單來回七八輪還進不去。
後來規定:同一個問題被退回第三次,就回頭重新擬定合約,讓寫程式的 AI 用新的標準來寫。
AI 很樂意多蓋一層,規則多到新來的 agent 讀不完。
後來規定:規則有上限,加一條先刪一條。
十幾條線等我回答,我一去看診,全部停工。
後來開了一個專案專門收集等待決定的事情,最多曾經有 200 多個問題等著我。

安全入口、權限、審計;
去識別出境、委員會收尾。
各科室 AI 應用陸續上架、儀表板、健保申覆、負責任 AI 標章。
FHIR 交換、門診整合、預測型 AI、跨院、教學+居家 AI。

一筆資料怎麼走——以 AI 起草病歷為例
查得到——誰、什麼時候、讀了哪些資料、送出了什麼。



台南、麻豆兩個院區都在用,支援九種文件
看檢驗那一行:pO2 18.4、%sO2 27.2%,看起來是靜脈血的數值,草稿沒有標示。
AI 的草稿,仍需醫師核對。
S: Poor airway hygiene with shallow breathing and high fever (39.0 degC). O: Vitals (D-1 to D0): T 37.4-39.0, P 99-117, R 20-33, BP 93/42-138/86, SpO2 88-100% on O2 10-15L/min PE: GCS E2V2M4 Chest: shallow breathing pattern, coarse breath sounds with rales; poor cough function, sputum requiring suction Heart: regular rhythm, no murmur Abdomen: soft, no tenderness or distention; bowel sounds normal, N-G feeding digestion fair Extremities: pitting edema (2-3+), warm Labs (D0): WBC 14.0 (H), Hb 11.2 (L), Hct 33.5% (L), Crea 1.22 (H), Na 146, K 3.9, CRP 69.58 (H), pO2 18.4 (L), %sO2 27.2% (L) I/O (D0): intake 130 ml / output 322 ml (net undefined)
五個問題,各有評估與計畫。
衛教沒有資料,它寫「Not documented」,不自己編。
Active Problems: #1. Aspiration pneumonia with impending respiratory failure Assessment: Shallow breathing pattern, poor cough function, and coarse breath sounds; SpO2 maintained with BiPAP support. Plan: - Continue BiPAP with FiO2 75%, monitor SpO2 >92% - Enhance chest physiotherapy and suction PRN - Keep IV meropenem 500 mg Q12H (order since D-1) #2. Sepsis with septic shock Assessment: High fever (39.0 degC) and elevated WBC; CRP remains elevated. Plan: - Repeat fever workup (Influ A/B, COVID screen) - Continue empiric meropenem therapy #3. Bilateral pleural effusion s/p pleurocentesis on D-9 Assessment: No signs of worsening; pitting edema persists. Plan: - Continue albumin 25% IV QD and furosemide 20 mg IV QD #4. Normocytic anemia Assessment: Hb 11.2, stable without active bleeding. Plan: - Monitor Hb and transfuse if <7 #5. Prostate cancer with multiple bone metastases Assessment: No acute oncologic complications noted. Plan: - Continue darolutamide 300 mg BID Inactive Problems: - CHF with severe TR, mild AR -- stable, diuresis ongoing - Chronic cystitis -- stable Education: Not documented. Goal: Prevent respiratory failure and maintain SpO2 >92%.
日期當欄、項目當列,依血液、凝血、生化、血氣分段。
異常標紅標藍,危急值加驚嘆號。

首頁先看到臨床警訊以及目前用藥、餘藥量

每一筆有學名、藥理分類、用法,以及還剩幾天的藥。

方劑、天數與診斷,和西藥分開看。

虛構病人。不同醫院、不同日期的結果並排

電腦斷層、磁振造影、超音波、病理,各列出最近一筆與院所。

查無過敏會明講;65 歲以上需留意的藥另外標出。

每天中午自動產出,核醫醫師逐字看過才採用。
看最後一行:兩份心電圖的結論對不起來,它標出 CONFLICT,請醫師確認。
History:
- 86 y/o, man, ___ cm, ___ Kg (BMI=___).
- CAD s/p PCI with BMS to RCA and LCX.
- HTN, dyslipidemia.
- ESRD on dialysis.
- Cardiac catheterization (coronary angiography, ~4 years earlier):
CAD with 50% diffuse narrowing of LAD-M-D, LCX-OS-P-M 90%
diffuse stenosis with calcification, RCA-P-M-D 90% diffuse
stenosis with calcification; PCI with BMS to RCA and LCX.
- Echocardiography (heart, 5 days earlier): HCVD with LV
diastolic dysfunction, LVEF=62.17%, mild to mod. TR, mild
AR, MR, pulmonary hypertension.
- EKG (~6 weeks earlier): Sinus rhythm, atrial premature complex,
abnormal R-wave progression, early transition.
- EKG (~6 weeks earlier): Atrial fibrillation, ST and T wave
abnormality, consider inferior ischemia. [CONFLICT - please
confirm]三段:案件資料、申復理由、內部評估。
醫師自己要說的那一句,它留空白不代寫。
最後一段是寫給自己人看的:它會說哪一天其實站不住。
健保核減申復理由書(草稿.送出前須由主治醫師逐字審閱)
【第一段|案件基本資料】
病歷號:[病歷號] 姓名:[姓名]
就醫別:■住院 □門診 □急診
就醫期間:住院第 1 日 至 第 12 日(共 12 日)
主診斷:社區型肺炎,右下肺葉;第 2 型糖尿病;
慢性腎臟病第 3 期
科別:胸腔內科 主治醫師:[醫師]
核減項目:
一、02008B 一般病床住院診察費
申報 12 個單位 核減 3 個單位
二、(病房費,代碼從略)
申報 12 個單位 核減 3 個單位
核減點數合計:(示範從略)
核減理由:
核減原因碼 0210A:住院日數不適當
(官方代碼表原文,示範從略)
審查醫師敘述:
「Fever subsided on day 6. Oral antibiotics
could be given. Last 3 days not necessary.」
※ 核減範圍:本案核減相當於 3 個計價單位
(申報 12 個),對應住院第 10 日至第 12 日。
【第二段|申復理由】
一、(主治醫師以自己的話開場)
「此病人因__________,
需__________,理由如下:」
※ 這一段由主治醫師本人填寫,草稿一律留空。
二、病人當時的臨床表現(只寫病歷有記載的事實)
1. 住院第 6 日(病程記錄):
「BT 37.2, no fever today」
體溫確已下降,與審查醫師敘述相符。
2. 住院第 8 日(護理紀錄,夜間):
「BT 38.4, SpO2 88% under N/C 2L,
increased sputum, coarse crackles RLL」
(N/C 為鼻導管;RLL 為右下肺葉)
退燒後第 2 日再度發燒,血氧下降。
3. 住院第 8 日(病程記錄):
「recurrent fever, r/o parapneumonic
effusion, arrange chest echo」
(r/o 為排除;parapneumonic effusion
為肺炎旁肋膜積液)
4. 住院第 9 日(檢查報告):
胸部超音波:右側少量肋膜積液,未達引流標準。
同日檢驗:WBC 14,800、CRP 9.6 mg/dL
(第 6 日為 WBC 9,200、CRP 4.1)。
5. 住院第 9 日至第 11 日(給藥紀錄):
靜脈抗生素持續給予,未改口服。
氧氣:第 9、10 日鼻導管 2 L/min,
第 11 日上午起停用,SpO2 94%(未用氧)。
6. 住院第 11 日(病程記錄):
「afebrile > 48 hrs, tolerate oral diet,
shift to oral Abx tomorrow, MBD」
(Abx 為抗生素;MBD 為可出院)
7. 住院第 12 日:改口服抗生素後出院。
※ 病歷未記載第 8 日是否重新採集痰液培養。
【待主治醫師補充:第 8 日再度發燒時,
是否重新送檢?若有,請提供報告日期。】
三、該項目在此臨床表現下的必要性
針對審查醫師敘述的三個子句逐一回應:
・對「Fever subsided on day 6」:
屬實,病歷第 6 日記載體溫 37.2。
但第 8 日夜間再度發燒至 38.4,
並合併血氧下降至 88%(見上述第 2 點)。
退燒並未持續至出院。
・對「Oral antibiotics could be given」:
第 6 日至第 7 日病人確實已接近可改口服的狀態,
這一點本院不爭執。
但第 8 日起體溫、血氧、發炎指數三項同時惡化
(見上述第 2、4 點),此時不符合改口服的條件。
實際改口服的時間為第 12 日,
即連續 48 小時以上未發燒、且停用氧氣之後。
・對「Last 3 days not necessary」:
被核減的第 10 日至第 12 日,逐日有下列醫療行為:
第 10 日 靜脈抗生素;鼻導管氧氣 2 L/min
第 11 日 靜脈抗生素;上午停用氧氣並觀察
第 12 日 改口服抗生素,確認耐受後出院
其中第 12 日僅為轉換用藥與出院,
醫療強度確實較低。
【待主治醫師補充:第 12 日是否可於
第 11 日下午完成?請依實際情形判斷,
必要時本日可不列入申復範圍。】
四、實證依據
・ATS/IDSA 社區型肺炎指引(2019):
以臨床穩定作為停止靜脈治療與出院的依據,
包含體溫、心跳、呼吸、血壓、血氧恢復穩定,
且能進食、意識正常。
本案第 8 日至第 10 日未達上述條件。
・健保支付標準相關條文:本項目之條號待補,
引用前須確認現行版本。
五、檢附資料
■ 病程記錄(第 6、8、11 日)
■ 護理紀錄(第 8 日夜間)
■ 檢查報告(第 9 日胸部超音波)
■ 檢驗報告(第 6、9 日)
■ 給藥紀錄(第 9 日至第 12 日)
申復醫師簽章:___________
日期:___________
==================================================
✂ 以下為內部評估,送件前整段刪除,不隨案送出
==================================================
【第三段|自我揭露(僅供本院內部判斷是否申復)】
一、資料來源可信度:□高 ■中 □低 □無法判定
・病歷號來源:■官方行政表
・核減範圍:■可由申報明細推算
・就診歸屬:■唯一
・報告版本:■無衝突
・本案缺少的材料:第 8 日後的痰液培養報告
二、申復證據強度:□高 ■中 □低 □無法判定
・審查醫師敘述共 3 個子句,
其中 2 個能以病歷逐字引用回應,
1 個有部分須由主治醫師補充。
・有子句無法完全以病歷回應,強度不得標高。
三、是否建議申復:■建議但需先補件
理由:第 10、11 日有靜脈抗生素與氧氣的客觀紀錄,
申復有據。第 12 日的醫療強度偏低,
審查醫師的看法有一部分成立,
建議主治醫師考慮只申復 2 日,
以免整份文件的可信度被最弱的一日拖累。
四、本草稿的自我宣告
・未引用病歷以外之臨床事實
・臨床判斷一律未代答
・不自動送件;最終文字與是否申復,
由主治醫師決定這是健保署今年公告的呼吸器優化管理計畫(給付項目 P9101B)所用的評估處置表,院內系統要填的就是這一張。

但臨床問題的答案,通常不在病歷裡。

什麼都查得到,品質自己判斷
整理好的專家意見
後來,醫院同事更喜歡用結構化的 DynaMed 查資料、寫 SOP。
查證據的工具本來就看不到我的病人——病人資料也不該隨便送出去。
把兩邊接起來,是醫院自己的功課。
這道門還在蓋:硬體買了、制度訂了,等院內模型的個資過濾關卡上線
我給它會診的問題,它讀完這位病人的生命徵象、檢驗、醫囑與病程,起草一份回覆。
只有我在用。草稿我改過,才貼回病歷。
摘要、評估、判斷、建議,結尾註明這是草稿,要以床邊評估為準。
只有我在用;草稿我改過才貼回病歷。
Consultation Reply Date : HD23 To : [醫師] / [病房] Re : MRN [病歷號] [姓名] 77M Bed [床號] From : Infectious Disease ================================================================ Dear [醫師], Thank you for the consultation. The chart was reviewed on HD23. [ Clinical Summary ] This 77-year-old man has ESRD on intermittent hemodialysis, DM, HTN, heart failure, and recent acute respiratory failure requiring MV from HD1 to HD6. He has bilateral pneumonia/consolidation and persistent heavy sputum. CT on HD17 raised concern for right empyema, but bedside ultrasound showed no safely approachable pleural fluid. Bronchoscopy on HD20 found abundant purulent airway secretions. He is currently afebrile on nasal oxygen 2-3 L/min with SpO2 94-98%. RR was recorded as 32/min early today; current work of breathing should be reassessed at bedside. [ Microbiology ] BAL FilmArray on HD20 detected RSV, A. baumannii complex, and K. pneumoniae group, with OXA-48-like and CTX-M genes detected. The available report does not show bacterial semiquantitative bins. Final BAL culture showed only few normal flora after antibiotic exposure. BAL AFS and Xpert MTB were negative. Blood cultures showed no growth. CTX-M is an ESBL marker; it predicts resistance to most penicillins, third-generation cephalosporins, and aztreonam, but not carbapenems. OXA-48-like is the carbapenemase marker that threatens meropenem. Neither gene can be assigned to a detected bacterium by FilmArray alone, and PCR does not distinguish viable from nonviable DNA. [ Current Treatment and Response ] Meropenem 500 mg IV every 24 hours is active and charted as day 9. WBC is 5.6 K/uL. CRP decreased from 208.46 to 111.83 mg/L. He remains afebrile and on low-flow oxygen, but has ongoing secretions. No drug allergy record was retrieved from the portal. [ Impression ] 1. Hospital-acquired lower respiratory infection with partial objective improvement, but persistent airway secretion burden. 2. FilmArray/culture discordance may reflect prior meropenem exposure, colonization, or detection of nonviable organisms. 3. CTX-M supports an ESBL phenotype; OXA-48-like makes meropenem unreliable if invasive K. pneumoniae infection is truly present. 4. A. baumannii detection alone does not establish invasive CRAB. 5. ESRD and hemodialysis require strict dose and timing adjustment. [ Suggestions ] 1. Do not broaden therapy solely because of the FilmArray result. Reassess RR, oxygen need, hemodynamics, fever, CRP, and chest imaging. 2. Retrieve the complete FilmArray report, including bacterial bins. Ask microbiology whether the stored BAL can undergo targeted culture, susceptibility testing, and carbapenemase confirmation. 3. If clinically stable or improving and no drainable source is found, favor stopping meropenem now rather than extending beyond day 9. 4. If there is clear clinical deterioration, obtain repeat respiratory and blood cultures before changing antibiotics when feasible. 5. For probable invasive OXA-48 K. pneumoniae pneumonia, use ceftazidime-avibactam rather than meropenem, adjusted for hemodialysis. 6. Ceftazidime-avibactam does not reliably cover CRAB. Preferred CRAB therapy is sulbactam-durlobactam plus meropenem or imipenem. If unavailable, use HD-adjusted high-dose ampicillin-sulbactam plus polymyxin B (Bobimixyn) as a temporary bridge with ID/pharmacy. 7. Do not use polymyxin B alone or rely on inhaled colistin as primary CRAB therapy; routine nebulized antibiotics are not suggested. 8. Use HD-adjusted dosing; monitor mental status, CBC, LFT, and response. 9. RSV management is supportive; antibacterial drugs do not treat RSV. 10. Repeat chest ultrasound or CT if inflammation or oxygen need worsens, and drain pleural infection if a safe source-control target appears. This is a decision-support draft. Final orders should be based on direct bedside assessment, local formulary, and ID/pharmacy review. Respectfully, Infectious Disease Consultation Service
它沒有真的去搜尋。講的話沒有出處,也沒有證據等級。
有分級、有出處的內容,本來就在我們用的資料庫裡。
API 就是為了讓醫院把它接進自己的系統。

看得到病歷的 AI 留在院內,把病人整理成一般化的醫學問題。
查詢字串長得像病歷號,就送不出去。
每個決定都問一次大模型:一題要問 14 次,等將近一分鐘。
選項 甲
選項 乙
選項 丙
選項 丁
JEV:給它一個問題和幾個選項,它幫每個選項打一個相關分數。它不寫文章,不解釋,只回答「選哪一個」。
↺ 再讀一節:回到決定 3↺ 換新查詢:回到決定 1,最多四輪全程向 DynaMed 查詢不超過 20 次
五個決定都先交給 JEV。它的把握不到 0.70,才交給大模型。
住院的社區型肺炎,在 β-內醯胺之外加上巨環類,能不能降低死亡率?

每一步做了什麼、花了幾秒,都列出來

族群、介入、對照、結果,中英對照

它老實寫:取回的資料沒有呈現這兩種療法的死亡率比較

哪篇文章、哪一章、更新日期、原文連結。沒讀完整就標「未查證」。

篩選異常數據、檢驗,主動提出問題和可能的解決方案。

一個小型、專責的決策模型(JEV),對上通用大型語言模型。
採非劣性設計:先問不劣,速度其次。
快,是在不劣成立之後才有意義。
50 多歲女性,因車禍做胸腹部電腦斷層排除內傷,意外發現右下葉一顆 7 mm 實質性肺結節,邊緣平滑。從未吸菸,沒有肺癌家族史,也沒有舊影像可比較。
問:這顆偶然發現的肺結節要怎麼追蹤?多久後做什麼檢查、要追多久?
三者的交集,再經人類審核。
評分的人,不知道哪一份是誰寫的。
方法、判定界線、分析方式,事前登記、封存
借用資安領域的承諾機制,用密碼學為這個研究增加盲評的證據和可驗證性。

證據不足,兩邊都下不了結論。
呼叫流程(檢索) 約三分之一的錯誤,未命中正確文章
截取文章片段(擷取) 約二分之一命中文章,但未定位至答案段落
初步判斷:瓶頸在流程,而非判斷本身 — 此為待後續試驗驗證之假設。
修正 JEV 與大模型的呼叫流程、截取文章片段的流程
以全新封存題組重行試驗
擴大標註者人數與題目來源,提升外在效度
(1) 單一醫師擔任標註與裁決者
(2) 金標由 AI 起草、主持人簽核,非獨立人工建立
(3) 標註工具與受測系統同屬一個模型家族
(4) 前導規模樣本,統計檢定力不足
(5) 每題只跑一次;題目是虛構個案
(6) JEV 那一組多收到了已讀回的段落內文
(7) 執行端為雲端 session,其自述解封金鑰值曾進入對話紀錄;封包副本已全數銷毀並核對,題目皆為虛構、無病人資料。
實驗前與 EBSCO 開會,取得總公司同意才進行
不能說 JEV 沒有比較差
不能說 JEV 比較差
也不能說兩個差不多

答案附來源、開箱即用 — 「把證據找好」這件事,已經做得很好了。
我接下來講的,是下一步:把這些證據,接進醫院自己的系統。




把證據整理好
答案附來源
訂閱就能用
把證據接進流程
客製化微調
接入院內資料與去識別

