Detention Act Article 31

Where a defendant is injured, falls ill, suffers a major injury, becomes disabled, or dies due to work or occupational training, compensation shall be paid.The aforementioned compensation shall be paid from the Operating Fund. Regulations governing the criteria for determining injury, illness, major injury, and disability, payment amount, application procedures, qualifications of recipient, and other requirements shall be prescribed by the Ministry of Justice.
中文原文 羈押法第31條
被告因作業或職業訓練致受傷、罹病、重傷、失能或死亡者,應發給補償金。
前項補償金由作業基金項下支付;其受傷、罹病、重傷、失能認定基準、發給金額、申請程序、領受人資格及其他應遵行事項之辦法,由法務部定之。

English translation for reference only; the Chinese text prevails. Not legal advice.