Detention Act Article 50

To protect the health of defendants or to monitor their physical and mental conditions, a detention center may collect, process, or use the medical records, medical information, and personal information of defendants specified in Paragraph 1 of the preceding article and handle such information properly.To implement actions in the preceding paragraph, a detention center may request authorities (agencies), legal entities, organizations, or individuals to provide relevant information, to which authorities (agencies), legal entities, organizations, or individuals may not refuse without legitimate reasons.Regulations governing the scope, period, procedures, methodology, review, and other requirements for the investigation of defendant health information specified in Paragraph 1 shall be prescribed by the Ministry of Justice.
中文原文 羈押法第50條
為維護被告健康或掌握其身心狀況,看守所得蒐集、處理或利用被告之病歷、醫療及前條第一項之個人資料,以作適當之處置。
前項情形,看守所得請求機關(構)、法人、團體或個人提供相關資料,機關(構)、法人、團體或個人無正當理由不得拒絕。
第一項與被告健康有關資料調查之範圍、期間、程序、方法、審議及其他應遵行事項之辦法,由法務部定之。

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