Prison Act Article 143

Where an inmate dies in prison, the prison shall immediately notify family member or nearest relative and report to the prosecutors office which shall assign a prosecutor to examine the body. Where there are multiple family members or nearest relatives, the prison is only required to notify one such individual.Where the prison has acknowledged that the inmate in the preceding paragraph has appointed a lawyer and the matters delegated to the lawyer have not been completely processed, the lawyer shall also be notified.Under conditions specified in Paragraph 1, the prison shall submit relevant information and report to the supervisory authority.
中文原文 監獄行刑法第143條
受刑人於執行中死亡,監獄應即通知家屬或最近親屬,並逕報檢察署指派檢察官相驗。
家屬或最近親屬有數人者,得僅通知其中一人。
監獄如知前項受刑人有委任律師,且其委任事務尚未處理完畢,亦應通知之。
第一項情形,監獄應檢附相關資料,陳報監督機關。

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