2026年5月7日 星期四

four score

 def generate_four_score_order(eye, motor, brainstem, respiration):

    """

    生成 FOUR Score 專業醫囑描述

    """

    total = eye + motor + brainstem + respiration

    

    # FOUR 指數各項定義 (人話翻譯)

    summary = f"FOUR Score: E{eye}M{motor}B{brainstem}R{respiration}, Total: {total}/16"

    

    order_text = f"請醫師根據以下數據調整醫囑:\n{summary}\n"

    order_text += "備註:本單位已採用 FOUR Score 進行神經學評估,聽不懂請自行查閱最新重症護理指引。"

    

    return order_text


# 範例:一個插管且腦幹反射尚存的病人

print(generate_four_score_order(eye=2, motor=3, brainstem=4, respiration=2))

沒有留言:

張貼留言

留下你的想法