De-identification

Radiology reports often contain the Protected Health Information (PHI). This module uses Philter to remove PHI from the reports.

Options

Option name

Default

Description

–repl

X

PHI replacement char

Example Usage

$ radtext-deid --repl=X -i /path/to/input.xml -o /path/to/output.xml
from radtext.models.deid import BioCDeidPhilter
processor = BioCDeidPhilter(argv['--repl'])