radreportparser

Report Class

Class to represent radiology report

RadReport A dataclass representing a radiology report

Section Keyword

Keyword to mark the beginning of section

KeyWord Section Keywords for Radiology Reports.

Extract

Report Extractor

Extract fields from radiology report

extract_all Extract all sections from the radiology report text.
extract_title Extract the title section from the radiology report text.
extract_history Extract the history/indication section from the radiology report text.
extract_technique Extract the technique section from the radiology report text.
extract_comparison Extract the comparison section from the radiology report text.
extract_findings Extract the findings section from the radiology report text.
extract_impression Extract the impression section from the radiology report text.

Section Extractor

Extract text based on section start & end keywords

SectionExtractor Extract sections from text based on start and end keys.